2015-09-24 13:43:41 |
Rui Chen |
bug |
|
|
added bug |
2015-09-24 13:44:32 |
Rui Chen |
oslo-incubator: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-11-15 01:23:22 |
Davanum Srinivas (DIMS) |
oslo-incubator: status |
New |
Won't Fix |
|
2015-11-28 06:52:00 |
Rui Chen |
description |
the __eq__ of apiclient.base.Resource will return True, if the two objects have same id, even if they have different other attributes value.
The behavior is weird and don't match the semantics of object equal. The objects that have different value should be different objects.
Think about the following case:
I have an application, it will query a nova instance in fixed interval by using novaclient, and check whether some changes occur on the instance, like: status, fixed-ip and so on. I can't use obj1 == obj2 to check, because even if the instance's status is changed from ACTIVE to PAUSED, the result still is True. |
the __eq__ of apiclient.base.Resource will return True, if the two objects have same id, even if they have different other attributes value.
The behavior is weird and don't match the semantics of object equal. The objects that have different value should be different objects.
Think about the following case:
I have an application, it will query a nova instance in fixed interval by using novaclient, and check whether some changes occur on the instance, like: status, fixed-ip and so on. I can't use obj1 == obj2 to check, because even if the instance's status is changed from ACTIVE to PAUSED, the result still is True.
I found this issue when I'm working on a Congress BP.
Congress nova driver will query nova instances in fixed interval by using novaclient, and check whether some changes occur on the instance, like: status, fixed-ip and so on. I can't use obj1 == obj2 to check, because even if the instance's status is changed from ACTIVE to PAUSED, the result still is True. |
|
2015-11-28 07:40:43 |
Rui Chen |
bug task added |
|
python-novaclient |
|
2015-11-28 07:41:06 |
Rui Chen |
python-novaclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-11-28 07:53:54 |
OpenStack Infra |
python-novaclient: status |
New |
In Progress |
|
2015-11-28 07:57:48 |
Rui Chen |
bug task added |
|
python-cinderclient |
|
2015-11-28 07:57:57 |
Rui Chen |
python-cinderclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-11-28 08:09:03 |
OpenStack Infra |
python-cinderclient: status |
New |
In Progress |
|
2015-11-28 09:28:37 |
Rui Chen |
bug task added |
|
python-ceilometerclient |
|
2015-11-28 09:28:57 |
Rui Chen |
python-ceilometerclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-11-28 10:10:34 |
OpenStack Infra |
python-ceilometerclient: status |
New |
In Progress |
|
2015-11-30 03:54:11 |
Rui Chen |
bug task added |
|
python-glanceclient |
|
2015-11-30 03:54:29 |
Rui Chen |
python-glanceclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-12-01 12:04:05 |
Rui Chen |
bug task added |
|
python-heatclient |
|
2015-12-01 12:04:25 |
Rui Chen |
python-heatclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-12-01 12:04:33 |
Rui Chen |
python-glanceclient: status |
New |
In Progress |
|
2015-12-01 12:18:52 |
OpenStack Infra |
python-heatclient: status |
New |
In Progress |
|
2015-12-01 12:22:11 |
Rui Chen |
bug task added |
|
python-ironicclient |
|
2015-12-01 12:22:27 |
Rui Chen |
python-ironicclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-12-01 12:27:20 |
OpenStack Infra |
python-ironicclient: status |
New |
In Progress |
|
2015-12-01 12:28:56 |
Rui Chen |
bug task added |
|
python-keystoneclient |
|
2015-12-01 12:29:13 |
Rui Chen |
python-keystoneclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-12-01 12:35:03 |
OpenStack Infra |
python-keystoneclient: status |
New |
In Progress |
|
2015-12-01 12:37:29 |
Rui Chen |
bug task added |
|
python-muranoclient |
|
2015-12-01 12:37:46 |
Rui Chen |
python-muranoclient: assignee |
|
Rui Chen (kiwik-chenrui) |
|
2015-12-02 03:43:55 |
OpenStack Infra |
python-ceilometerclient: status |
In Progress |
Fix Committed |
|
2015-12-02 07:13:01 |
OpenStack Infra |
python-muranoclient: status |
New |
In Progress |
|
2015-12-02 09:47:22 |
Dmitry Tantsur |
python-ironicclient: importance |
Undecided |
Low |
|
2015-12-04 23:43:35 |
OpenStack Infra |
python-glanceclient: status |
In Progress |
Fix Committed |
|
2015-12-07 08:58:42 |
OpenStack Infra |
python-muranoclient: assignee |
Rui Chen (kiwik-chenrui) |
Ekaterina Chernova (efedorova) |
|
2015-12-09 06:45:18 |
OpenStack Infra |
python-muranoclient: assignee |
Ekaterina Chernova (efedorova) |
Rui Chen (kiwik-chenrui) |
|
2015-12-09 08:58:02 |
Stan Lagun |
python-muranoclient: milestone |
|
0.8.1 |
|
2015-12-09 09:26:55 |
OpenStack Infra |
python-muranoclient: status |
In Progress |
Fix Released |
|
2015-12-17 12:05:55 |
OpenStack Infra |
python-heatclient: status |
In Progress |
Fix Released |
|
2016-01-06 22:26:39 |
OpenStack Infra |
python-keystoneclient: status |
In Progress |
Fix Released |
|
2016-01-13 21:05:48 |
gordon chung |
python-ceilometerclient: status |
Fix Committed |
Fix Released |
|
2016-01-15 01:12:18 |
OpenStack Infra |
tags |
|
in-stable-liberty |
|
2016-03-03 00:13:31 |
OpenStack Infra |
python-cinderclient: status |
In Progress |
Fix Released |
|
2016-03-03 06:26:21 |
OpenStack Infra |
python-ironicclient: status |
In Progress |
Fix Released |
|
2021-06-23 15:27:27 |
Cyril Roelandt |
python-glanceclient: status |
Fix Committed |
Fix Released |
|