← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 883328] Re: get_glance_client throws UnboundLocalError

 

** No longer affects: openstack-qa

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

Title:
  get_glance_client throws UnboundLocalError

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) essex series:
  Fix Released

Bug description:
  get_glance_client throws UnboundLocalError when image_href is refs.

  UnboundLocalError: local variable 'glance_host' referenced before
  assignment

  https://github.com/openstack/nova/blob/stable/diablo/nova/image/glance.py#L90

  In this line, the variables is host, port 
  https://github.com/openstack/nova/blob/stable/diablo/nova/image/glance.py#L110

  but glance_host, glance_port variable is used
  https://github.com/openstack/nova/blob/stable/diablo/nova/image/glance.py#L113

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