Manual creation of Volume Type Extra Spec raises error

Bug #1415497 reported by Kyrylo Romanenko
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

A. Manual creation of Volume Type Extra Spec raises error

Steps:

1) Login to Horizon as admin
2) Navigate to Admin->System->Volumes
3) Create Volume Type
4) Click "View Extra Specs" button
5) Click "Create"
6) Fill "Key" and "Value" fields, Click "Create"
Have error page like that:
"Not Found
The requested URL /admin/volumes/volume_types/6b82f24a-8287-4474-9216-cd6976a85a67/extras/ was not found on this server."
(see attached screenshot )

7) Navigate back to "Volume Type Extra Specs" page, see that Extra Spec was created.
Expected not to get any errors.

Browser Console:

Remote Address:172.16.0.2:80
Request URL:http://172.16.0.2/admin/volumes/volume_types/6b82f24a-8287-4474-9216-cd6976a85a67/extras/
Request Method:GET
Status Code:404 Not Found

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /admin/volumes/volume_types/6b82f24a-8287-4474-9216-cd6976a85a67/extras/ was not found on this server.</p>
</body></html>

Environments:

A) Remote deployment
Fuel 6.0 Juno on Ubuntu 12.04.4, 2014.2-6.0
5 nodes: 3 Controller+CephOSD; 2 Computes
Tempest deployed with MOS-Scale

B) Local on VirtualBox
Fuel 6.1 build: fuel-6.1-81-2015-01-27_11-30-12.iso on VirtualBox
Ubuntu 12.04.4, 2014.2-6.1:
3 nodes: 1 Controller, 1 Compute, 1 Ceph-OSD
Tempest deployed with MOS-Scale

Issue appears to be related to this one: https://bugs.launchpad.net/mos/+bug/1415501

Tags: volume
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
description: updated
tags: added: ceph cinder tempest
description: updated
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

I am not able to reproduce this. It sounds like cinder may be having some kind of error. Can you verify that you can perform these operations succesfully at the cinder command line (cinder type-create, cinder extra-specs-list)? It would be helpful to also look in the cinder log file (c-api) for errors.

Changed in horizon:
status: New → Incomplete
tags: removed: ceph cinder tempest
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
Download full text (4.5 KiB)

It works over CLI:

root@node-1:~# cinder extra-specs-list
+----+------+-------------+
| ID | Name | extra_specs |
+----+------+-------------+
+----+------+-------------+
root@node-1:~# cinder type-create LOLTYPE
+--------------------------------------+---------+
| ID | Name |
+--------------------------------------+---------+
| eac4fa18-b7d1-43b2-9cfd-4d330155c45d | LOLTYPE |
+--------------------------------------+---------+
root@node-1:~# cinder type-create ANOTHERLOLTYPE
+--------------------------------------+----------------+
| ID | Name |
+--------------------------------------+----------------+
| 9908a8f9-40f2-49b6-8756-8a835a5e47e1 | ANOTHERLOLTYPE |
+--------------------------------------+----------------+
root@node-1:~# cinder extra-specs-list

+--------------------------------------+----------------+-------------+
| ID | Name | extra_specs |
+--------------------------------------+----------------+-------------+
| 9908a8f9-40f2-49b6-8756-8a835a5e47e1 | ANOTHERLOLTYPE | {} |
| eac4fa18-b7d1-43b2-9cfd-4d330155c45d | LOLTYPE | {} |
+--------------------------------------+----------------+-------------+

root@node-1:~# cinder type-key LOLTYPE set somevery=extraspec
root@node-1:~# cinder extra-specs-list
+--------------------------------------+----------------+-----------------------------+
| ID | Name | extra_specs |
+--------------------------------------+----------------+-----------------------------+
| 9908a8f9-40f2-49b6-8756-8a835a5e47e1 | ANOTHERLOLTYPE | {} |
| eac4fa18-b7d1-43b2-9cfd-4d330155c45d | LOLTYPE | {u'somevery': u'extraspec'} |
+--------------------------------------+----------------+-----------------------------+
root@node-1:~# cinder type-key ANOTHERLOLTYPE set somevery=extraspec
root@node-1:~# cinder extra-specs-list
+--------------------------------------+----------------+-----------------------------+
| ID | Name | extra_specs |
+--------------------------------------+----------------+-----------------------------+
| 9908a8f9-40f2-49b6-8756-8a835a5e47e1 | ANOTHERLOLTYPE | {u'somevery': u'extraspec'} |
| eac4fa18-b7d1-43b2-9cfd-4d330155c45d | LOLTYPE | {u'somevery': u'extraspec'} |
+--------------------------------------+----------------+-----------------------------+
root@node-1:~# cinder type-key LOLTYPE set onemore=extraspec
root@node-1:~# cinder extra-specs-list
+--------------------------------------+----------------+-------------------------------------------------------+
| ID | Name | extra_specs |
+--------------------------------------+----------------+-------------------------------------------------------+
| 9908a8f9-40f2-49b6-8756-8a835a5e47e1 | ANOTHERLOLTYPE | {u'somevery': u'extraspec'} |
| eac4fa18-b7d1-43b2-9cfd-4d330155c45d | LOLTYPE | {u'onemore': u'extraspec', u'somevery': ...

Read more...

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Screenshots added

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Updates:
i reproduced this issue on Horizon from Fuel 6.1 build: fuel-6.1-83-2015-01-29_12-13-01 in configuration under Ubuntu with Cinder+LVM.
It looks to be independent of Cinder back-end, just Horizon`s issue.

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

There is no reproduction of this issue on Devstack, therefore it must be issue of Horizon in MOS.

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

I would suggest you report a bug with Mirantis

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

I believe the proper location is https://bugs.launchpad.net/mos . Closing this bug.

Changed in horizon:
status: Incomplete → Invalid
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Gary, you are right. Thank you for help :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.