Nova undefine secret | openstack | wallaby

Sean Mooney smooney at redhat.com
Tue Mar 28 11:30:29 UTC 2023


On Tue, 2023-03-28 at 06:24 +0530, Swogat Pradhan wrote:
> Update podman logs:
> [root at dcn01-hci-1 ~]# podman logs 3e5e6c1a7864
> ------------------------------------------------
> Initializing virsh secrets for: dcn01:openstack
> --------
> Initializing the virsh secret for 'dcn01' cluster
> (cec7cdfd-3667-57f1-afaf-5dfca9b0e975) 'openstack' client
> The /etc/nova/secret.xml file already exists
> error: Failed to set attributes from /etc/nova/secret.xml
> error: internal error: a secret with UUID
> bd136bb0-fd78-5429-ab80-80b8c571d821 already defined for use with
> client.openstack secret

you jsut do "virsh secret-undefine <uuid>"

> 
> 
> On Tue, Mar 28, 2023 at 6:19 AM Swogat Pradhan <swogatpradhan22 at gmail.com>
> wrote:
> 
> > Hi,
> > For some reason, i had to redeploy ceph for my hci nodes and then found
> > that the deployment command is giving out the following error:
> > 2023-03-28 01:49:46.709605 |                                      |
> >  WARNING | ERROR: Can't run container nova_libvirt_init_secret
> > stderr: error: Failed to set attributes from /etc/nova/secret.xml
> > error: internal error: a secret with UUID
> > bd136bb0-fd78-5429-ab80-80b8c571d821 already defined for use with
> > client.openstack secret
> > 2023-03-28 01:49:46.711176 | 48d539a1-1679-623b-0af7-000000004b45 |
> >  FATAL | Create containers managed by Podman for
> > /var/lib/tripleo-config/container-startup-config/step_4 | dcn01-hci-0 |
> > error={"changed": false, "msg": "Failed containers:
> > nova_libvirt_init_secret"}
> > 
> > Can you please tell me how I can undefine the existing secret?
> > 
> > With regards,
> > Swogat Pradhan
> > 




More information about the openstack-discuss mailing list