How to modify staging-ovirt parameters
Hello, I have a test lab with Queens on CentOS 7 deployed with TripleO, that I use sometimes to mimic an OSP 13 environment. The Openstack nodes are oVirt VMS. I moved these VMs from one oVirt infrastructure to another one. The Openstack environment starts and operates without problems (3 controllers, 2 computes and 3 cephs), but I don't know how to modify the staging-ovirt parameters. At oVirt side I re-created as before a user ostackpm@internal with sufficient power and I also set the same password. But the ip address of the engine cannot be the same. When I deployed the environment I put all the parameters inside the instackenv.json file to do introspection and deploy. Where are they put on undercloud? Is there a way to update them? Perhaps some database entries or other kind of repos where I can update the ip? Thanks in advance, Gianluca
Greetings, The parameters get stored in ironic. You can use the "openstack baremetal node set" command to set new parameters into the driver_info field. Specifically it seems like you only need to update the address, so you'll just want to examine the driver_info field contents to see which value you need to update. You can do this with "openstack baremetal node show <uuid>". Hope that helps, -Julia On Tue, Apr 6, 2021 at 8:10 AM Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
Hello, I have a test lab with Queens on CentOS 7 deployed with TripleO, that I use sometimes to mimic an OSP 13 environment. The Openstack nodes are oVirt VMS. I moved these VMs from one oVirt infrastructure to another one. The Openstack environment starts and operates without problems (3 controllers, 2 computes and 3 cephs), but I don't know how to modify the staging-ovirt parameters. At oVirt side I re-created as before a user ostackpm@internal with sufficient power and I also set the same password. But the ip address of the engine cannot be the same.
When I deployed the environment I put all the parameters inside the instackenv.json file to do introspection and deploy.
Where are they put on undercloud? Is there a way to update them? Perhaps some database entries or other kind of repos where I can update the ip? Thanks in advance, Gianluca
On Tue, Apr 6, 2021 at 6:26 PM Julia Kreger <juliaashleykreger@gmail.com> wrote:
Greetings,
The parameters get stored in ironic. You can use the "openstack baremetal node set" command to set new parameters into the driver_info field. Specifically it seems like you only need to update the address, so you'll just want to examine the driver_info field contents to see which value you need to update. You can do this with "openstack baremetal node show <uuid>".
Hope that helps,
-Julia
Thanks Julia, it worked setting the new ip and I was able to run openstack baremetal node power off ostack-compute1 and the corresponding VM in oVirt was correctly powered off using the user and the driver. Gianluca
participants (2)
-
Gianluca Cecchi
-
Julia Kreger