[ironic][xena] problems updating redfish_password for existing node

Wade Albright the.wade.albright at gmail.com
Sat Jul 16 02:26:59 UTC 2022

Hi Lury,

Thanks for the reply. I am not trying to use Ironic to change the BMC
password. I am changing the password directly on the system, independently
of Ironic. Then after that I change the password in Ironic. But it doesn't
seem to update in Ironic and any operations on the node fail with a redfish
authentication error. After restarting the conductor, node operations work

On Fri, Jul 15, 2022 at 6:24 PM Iury Gregory <iurygregory at gmail.com> wrote:

> Hi Wade,
> If I understood correctly, you have a node already deployed and you want
> to change the redfish BMC password via Ironic, this is not possible. Ironic
> uses the credentials to access the machine and execute the necessary to
> provision the machine.
> If you want to change the credentials to access the BMC, you need to
> directly access it and change in the machine, after that you can change
> information in Ironic.
> Em sex., 15 de jul. de 2022 às 22:52, Wade Albright <
> the.wade.albright at gmail.com> escreveu:
>> Hi,
>> I'm hitting a problem when trying to update the redfish_password for an
>> existing node. I'm curious to know if anyone else has encountered this
>> problem. I'm not sure if I'm just doing something wrong or if there is a
>> bug. Or if the problem is unique to my setup.
>> I have a node already added into ironic with all the driver details set,
>> and things are working fine. I am able to run deployments.
>> Now I need to change the redfish password on the host. So I update the
>> password for redfish access on the host, then use an 'openstack baremetal
>> node set <node> --driver-info redfish_password=<newpass>' command to set
>> the new redfish_password.
>> Once this has been done, deployment no longer works. I see redfish
>> authentication errors in the logs and the operation fails. I waited a bit
>> to see if there might just be a delay in updating the password, but after
>> awhile it still didn't work.
>> I restarted the conductor, and after that things work fine again. So it
>> seems like the password is cached or something. Is there a way to force the
>> password to update? I even tried removing the redfish credentials and
>> re-adding them, but that didn't work either. Only a conductor restart seems
>> to make the new password work.
>> We are running Xena, using rpm installation on Oracle Linux 8.5.
>> Thanks in advance for any help with this issue.
> --
> *Att[]'s*
> *Iury Gregory Melo Ferreira *
> *MSc in Computer Science at UFCG*
> *Ironic PTL *
> *Senior Software Engineer at Red Hat Brazil*
> *Social*: https://www.linkedin.com/in/iurygregory
> *E-mail:  iurygregory at gmail.com <iurygregory at gmail.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20220715/418f28ee/attachment.htm>

More information about the openstack-discuss mailing list