yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79853
[Bug 1842989] [NEW] IronicDriver uses instance_id instead of instance_uuid in fields when calling Ironic API
Public bug reported:
Description
===========
IronicDriver should be using fields="instance_uuid" when calling Ironic API via the OpenStack SDK, but instead is using fields="instance_id". The SDK will return a node object with node.instance_id, which lead to the confusion in implementation.
References
==========
[1] https://review.opendev.org/#/c/656027/29/nova/virt/ironic/driver.py@690
[2] https://logs.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001-master/62c604a/logs/undercloud/var/log/containers/nova/nova-compute.log.txt.gz#_2019-09-05_03_24_13_909
[3] https://logs.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-1ctlr_2comp-featureset020-master/2b85de7/logs/undercloud/var/log/extra/errors.txt.txt.gz#_2019-09-05_02_41_26_036
[4] https://github.com/openstack/openstacksdk/blob/master/openstack/baremetal/v1/node.py#L96
** Affects: nova
Importance: Undecided
Assignee: Dustin Cowles (dustincowles)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1842989
Title:
IronicDriver uses instance_id instead of instance_uuid in fields when
calling Ironic API
Status in OpenStack Compute (nova):
In Progress
Bug description:
Description
===========
IronicDriver should be using fields="instance_uuid" when calling Ironic API via the OpenStack SDK, but instead is using fields="instance_id". The SDK will return a node object with node.instance_id, which lead to the confusion in implementation.
References
==========
[1] https://review.opendev.org/#/c/656027/29/nova/virt/ironic/driver.py@690
[2] https://logs.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001-master/62c604a/logs/undercloud/var/log/containers/nova/nova-compute.log.txt.gz#_2019-09-05_03_24_13_909
[3] https://logs.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-1ctlr_2comp-featureset020-master/2b85de7/logs/undercloud/var/log/extra/errors.txt.txt.gz#_2019-09-05_02_41_26_036
[4] https://github.com/openstack/openstacksdk/blob/master/openstack/baremetal/v1/node.py#L96
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1842989/+subscriptions
Follow ups