Unable to delete overcloud node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Ryan Brady |
Bug Description
Description of problem:
Deleting an overcloud node fails with:
Two objects are equal when all of the attributes are equal, if you want to identify whether two objects are same one with same id, please use is_same_obj() function.
<urlopen error [Errno 2] No such file or directory: '/usr/share/
Version-Release number of selected component (if applicable):
python-
openstack-
How reproducible:
100%
Steps to Reproduce:
1. Deploy overcloud:
source ~/stackrc
export THT=/usr/
openstack overcloud deploy --templates \
-e $THT/environmen
-e $THT/environmen
-e ~/templates/
-e $THT/environmen
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
--control-scale 3 \
--control-flavor controller-
--compute-scale 1 \
--compute-flavor compute-
--ceph-
--ceph-
--ntp-server clock.redhat.com
2. Scale out with additional compute node:
source ~/stackrc
export THT=/usr/
openstack overcloud deploy --templates \
-e $THT/environmen
-e $THT/environmen
-e ~/templates/
-e $THT/environmen
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
--control-scale 3 \
--control-flavor controller-
--compute-scale 2 \
--compute-flavor compute-
--ceph-
--ceph-
--ntp-server clock.redhat.com
3. Delete one compute node:
source ~/stackrc
export THT=/usr/
openstack overcloud node delete --stack overcloud --templates \
-e $THT/environmen
-e $THT/environmen
-e ~/templates/
-e $THT/environmen
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
6fc44adf-
Actual results:
WARNING: openstackclient
deleting nodes [u'6fc44adf-
Two objects are equal when all of the attributes are equal, if you want to identify whether two objects are same one with same id, please use is_same_obj() function.
<urlopen error [Errno 2] No such file or directory: '/usr/share/
Expected results:
The node gets deleted.
tags: | added: workflows |
Changed in tripleo: | |
status: | Confirmed → Triaged |
Changed in tripleo: | |
milestone: | newton-rc2 → ocata-1 |
tags: | added: newton-backport-potential |
Changed in tripleo: | |
milestone: | ocata-1 → newton-rc3 |
Changed in tripleo: | |
assignee: | Ryan Brady (rbrady) → Dougal Matthews (d0ugal) |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → Ryan Brady (rbrady) |
Changed in tripleo: | |
assignee: | Ryan Brady (rbrady) → Dougal Matthews (d0ugal) |
Changed in tripleo: | |
milestone: | newton-rc3 → ocata-1 |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → Ryan Brady (rbrady) |
Changed in tripleo: | |
status: | In Progress → Fix Committed |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
The message:
Two objects are equal when all of the attributes are equal, if you want to identify whether two objects are same one with same id, please use is_same_obj() function.
is strange, but it looks like it's just a warning from python-heatclient:
https:/ /github. com/openstack/ python- heatclient/ blob/master/ heatclient/ openstack/ common/ apiclient/ base.py# L526
I'd gather the failing error is openstack- tripleo- heat-templates/ overcloud- without- mergepy. yaml'>
<urlopen error [Errno 2] No such file or directory: '/usr/share/