Bug 1326506

Summary: Obscure message shows up when deleting a node from an upgraded deployment
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED CURRENTRELEASE QA Contact: Arik Chernetsky <achernet>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: aschultz, dbecker, johfulto, mburns, morazi, pkonst+RHBZ, rhel-osp-director-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-02 22:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.