← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1117384] Re: Cinder does not fill in Display Name on creation

 

Hi Mike,

Thanks for the insight. Setting my endpoint back to v1 allows the proper
info to be displayed:

+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
|                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 082b4c98-7d3f-4dcb-bf53-8fa78fa4e4a9 | available |     Test     |  1   |     None    |  false   |             |
| 49fda2f6-f2b2-49cf-a269-b3a5a5298777 | available |   test123    |  1   |     None    |  false   |             |
| 8df78d86-2916-4f22-9eb7-9ee51131507f | available |   test123    |  1   |     None    |  false   |             |
| e720aa2d-ff7c-47ba-b141-b5c77940e9e9 | available |     Test     |  1   |     None    |  false   |             |
| f68dfae0-7774-4064-8710-746f3018caf4 | available |     Test     |  1   |     None    |  false   |             |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+


Should we leave this bug as In Progress or Invalid?

Thanks

** Changed in: horizon
       Status: Incomplete => Invalid

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

Title:
  Cinder does not fill in Display Name on creation

Status in Cinder:
  In Progress
Status in OpenStack Dashboard (Horizon):
  Invalid
Status in Openstack Ubuntu Testing:
  New

Bug description:
  When creating a block storage device, Cinder should fill in the
  volume's display name prior to trying to create the volume. Currently:

  cinder create --display-name Test 1
  +----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Property |                                                                                                                                        Value                                                                                                                                        |
  +----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  |    id    |                                                                                                                         3a5d96b3-d134-485a-bc09-30a9d869d9e6                                                                                                                        |
  |  links   | [{u'href': u'http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/3a5d96b3-d134-485a-bc09-30a9d869d9e6', u'rel': u'self'}, {u'href': u'http://10.150.0.55:8776/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/3a5d96b3-d134-485a-bc09-30a9d869d9e6', u'rel': u'bookmark'}] |
  |   name   |                                                                                                                                         Test                                                                                                                                        |
  +----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

  cinder list
  +--------------------------------------+----------+--------------+------+-------------+----------+-------------+
  |                  ID                  |  Status  | Display Name | Size | Volume Type | Bootable | Attached to |
  +--------------------------------------+----------+--------------+------+-------------+----------+-------------+
  | 3a5d96b3-d134-485a-bc09-30a9d869d9e6 | creating |              |  1   |     None    |          |             |
  +--------------------------------------+----------+--------------+------+-------------+----------+-------------+

  
  This causes Horizon to throw an error when browsing to the Volumes page. I'm sure this is a bug on both sides (aka Horizon shouldn't require a name to display a volume). I noticed this when I was having issues with my Cinder storage service, so the Cinder scheduler couldn't create a volume:
  2013-02-06 10:35:25 WARNING cinder.scheduler.manager [req-eb7d7f46-c5ce-490c-b8ff-aab64a2ede02 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Failed to schedule_create_volume: No valid host was found. Is the appropriate service running?

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