← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1664799] Re: a wrong way of useing dictionary in servicegroup/drivers/mc.py

 

Doesn't look like the master version has this problem. 
Which version are you using ?

Can't even find the problem in stable/mitaka :
https://github.com/openstack/nova/blob/stable/mitaka/nova/servicegroup/drivers/mc.py

If the problem is not present in a supported release (Mitaka and younger
releases), then it's not an upstream bugfix.


** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1664799

Title:
  a wrong way of useing dictionary in servicegroup/drivers/mc.py

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  File "/nova/servicegroup/drivers/mc.py", line 76, in is_up
      % (elapsed,last_heartbeat, service_ref.id, key, timeutils.utcnow()))

  AttributeError: ReadOnlyDict service_ref has no attribute 'id',the
  right way should be service_ref.get('id').

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1664799/+subscriptions


References