← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1087735] Re: Attaching volume fails if keystone has multiple endpoints of Cinder

 

** Changed in: cloud-archive
       Status: New => Fix Released

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

Title:
  Attaching volume fails if keystone has multiple endpoints of Cinder

Status in Cinder:
  Opinion
Status in Ubuntu Cloud Archive:
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Cinder fails to attach a volume to an instance if multiple endpoints of Cinder are configured in Keystone and 
  the endpoints are unique to a region.

  Pre-config: Create a Cinder endpoint for two different regions (say,
  RegionOne and RegionTwo) in Keystone

  Create a volume and try to attach it to an instance fails with the
  following error:

  AmbiguousEndpoints: [{u'adminURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009',
  u'region': u'RegionOne', u'internalURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009',
  'serviceName': u'cinder', u'id': u'1ebcb30a728948a29e594cdabe1d3ca5',
  u'publicURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009'},
  {u'adminURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009',
  u'region': u'RegionTwo', u'internalURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009',
  'serviceName': u'cinder', u'id': u'6f17a81430cb4409af0026d543d362f7',
  u'publicURL':
  u'http://10.2.3.102:8776/v1/4f272085adb34eef8a8b6e61e15f5009'}]

  Nova API Log snip: http://paste.openstack.org/show/27572/

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