Public bug reported:

When configuring ImagePropsWeigher, the weight value is always equal to
0 even if existing instances have the same requested image properties.

This is due to the fact that
https://github.com/openstack/nova/blob/b99a882366251f88d145e27312b94692e0b2266f/nova/scheduler/weights/image_props.py#L80C15-L80C28
is unable to access the cell database as there is no cell context
target.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/2125935

Title:
  ImageProps weigher is not able to find the existing image properties

Status in OpenStack Compute (nova):
  New

Bug description:
  When configuring ImagePropsWeigher, the weight value is always equal
  to 0 even if existing instances have the same requested image
  properties.

  This is due to the fact that
  
https://github.com/openstack/nova/blob/b99a882366251f88d145e27312b94692e0b2266f/nova/scheduler/weights/image_props.py#L80C15-L80C28
  is unable to access the cell database as there is no cell context
  target.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to