Bug 1326506 - Obscure message shows up when deleting a node from an upgraded deployment
Summary: Obscure message shows up when deleting a node from an upgraded deployment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Angus Thomas
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 20:36 UTC by Marius Cornea
Modified: 2017-03-02 22:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-02 22:51:07 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marius Cornea 2016-04-12 20:36:40 UTC
Description of problem:
I am trying to delete a compute node from an upgraded 7.3->8 environment and the following message shows up:

stack@instack:~>>> openstack overcloud node delete --stack overcloud --templates ~/templates/my-overcloud-8.0 0bfe74c6-9222-46c4-9c76-963de9d16c31
deleting nodes ['0bfe74c6-9222-46c4-9c76-963de9d16c31'] from stack overcloud

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.


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-kilo-0.8.14-7.el7ost.noarch
heat-cfntools-1.2.8-2.el7.noarch
openstack-heat-common-5.0.1-5.el7ost.noarch
openstack-heat-api-cfn-5.0.1-5.el7ost.noarch
python-heatclient-1.0.0-1.el7ost.noarch
openstack-heat-engine-5.0.1-5.el7ost.noarch
openstack-heat-templates-0-0.8.20150605git.el7ost.noarch
openstack-heat-api-cloudwatch-5.0.1-5.el7ost.noarch
openstack-tripleo-heat-templates-0.8.14-7.el7ost.noarch
openstack-heat-api-5.0.1-5.el7ost.noarch

Actual results:
The following message shows up:

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.

Expected results:
The CLI output should be clean.

Comment 2 John Fulton 2016-07-05 20:54:56 UTC
FWIW: My colleague saw this during compute node removal on a new osp8 install, not one that was upgraded from 7 to 8 before the node was removed. 

Seems to just be a warning from the python-heatclient __eq__ operator:

https://github.com/openstack/python-heatclient/blob/stable/liberty/heatclient/openstack/common/apiclient/base.py#L518-L528

Comment 3 Alex Schultz 2017-03-02 22:51:07 UTC
I checked and this doesn't appear any longer in the newer releases. Since it's just a visual issue, I'm closing as current release.


Note You need to log in before you can comment on or make changes to this bug.