Adding additional node to instackenv.json and running "openstack baremetal import instackenv.json" causes all the existing nodes to lose their existing profile
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| tripleo |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
openstack-ironic: adding additional node to instackenv.json and running "openstack baremetal import --json instackenv.json" causes all the existing nodes to lose their tag to existing profile.
Environment:
Steps to reproduce:
1. Deploy overcloud with:
openstack overcloud deploy --debug \
--templates \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
--neutron-
--neutron-
--control-scale 3 \
--control-flavor controller-
--compute-flavor compute-
--ceph-
--ceph-
-e /usr/share/
-e /home/stack/
-e /home/stack/
-e /usr/share/
-e /home/stack/
-e /home/stack/
#Note the used flavors
2. Add additional node to instackenv.json
3. Run "openstack baremetal import --json instackenv.json"
4. Run "openstack baremetal configure boot
5. Attempt to scale compute with:
openstack overcloud deploy --debug \
--templates \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
--neutron-
--neutron-
--control-scale 3 \
--control-flavor controller-
--compute-flavor compute-
--ceph-
--ceph-
-e /usr/share/
-e /home/stack/
-e /home/stack/
-e /usr/share/
-e /home/stack/
-e /home/stack/
Result:
Error: only 0 of 3 requested ironic nodes are tagged to profile controller-
Recommendation: tag more nodes using ironic node-update <NODE ID> replace properties/
There are 7 ironic nodes with no profile that will not be used: b49e5645-
Run ironic node-show on any of the existing nodes - you'll see that none of the nodes has tag to profile.
Workaround, manually set the tag to profile with:
ironic node-update <NODE ID> replace properties/
| Changed in tripleo: | |
| assignee: | Miles Gould (mgould) → nobody |

Upstreamified version of https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1379815.