Users with _member_ or member roles cannot use cinder-volume via Horizon Dashboard

Bug #1797811 reported by Cody
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
High
Unassigned
tripleo
Incomplete
High
Unassigned

Bug Description

Users with _member_ or member roles are unable to use cinder-volume via Horizon Dashboard.

Version:
Queens

Environment:
openstack-dashboard-13.0.2-0.20180913182351.c7dc4b4.el7.noarch
openstack-cinder-12.0.4-0.20181005163903.8b1aa5f.el7.noarch
python2-cinderclient-3.5.0-0.20180211213738.1de605c.el7.centos.noarch
python-cinder-12.0.4-0.20181005163903.8b1aa5f.el7.noarch
puppet-cinder-12.4.1-0.20180831230802.22ee15c.el7.noarch
puppet-horizon-12.4.1-0.20180921011912.0177965.el7.noarch

How reproducible:
Every time. Tested with file, nfs, rbd cinder backends.

Step to reproduce:
1. Assign a user with either _member_ or member role to a project;
2. Log in as the user and switch to the project;
3. Go to Project -> Compute -> Instances, click on "Launch Instance" to get following errors:

  Error: Unable to retrieve the volume snapshots.
  Error: Unable to retrieve the volumes.

(Notice that users are unable to choose volume as a boot source from Source)

4. Go to Project -> Volumes -> Volumes, Click on "Create Volume" to get following errors:

  Error: Unable to retrieve list of volumes.
  Error: Unable to retrieve volume snapshots.

These problems only affect users using Horizon Dashboard. The same users have no issues with cinder-volume service via CLI.

Cody (codylab)
description: updated
Cody (codylab)
description: updated
Cody (codylab)
summary: - Users with _member_ or member roles are unable to use cinder-volume via
- Horizon Dashboard
+ Users with _member_ or member roles cannot use cinder-volume via Horizon
+ Dashboard
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
James Okken (jokken) wrote :

codylab suggested i might have a very similar issue.

On Newton i am using the cinder.volume.drivers.san.hp.hpmsa_fc.HPMSAFCDriver driver for a second volume/cinder backend.

A _member_ user on the command line is creating volumes on the correct storage backend, our HP MSA).

But while in Horizon the _member_ user is creating volumes on the incorrect storage backend (our RBD/CEPH), even though the same MSA volume type as on the command line is being selected

any news on a fix for this I'd love to overlay/dropfile a fix into my Newton environment.

thanks!

Changed in tripleo:
milestone: stein-2 → stein-3
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

Fixed in OSA and release in 18.1.3

Changed in openstack-ansible:
status: New → Fix Released
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
James Okken (jokken) wrote :

sorry for the naive question. if the last comment says "fix released" does that mean there is a fix I can find somewhere? I would like to test this in my environment. thanks!

Revision history for this message
Harald Moeller (h.moeller) wrote :

sorry, but I would have the very same "naive question" ... Thx Harry

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

@James For OSA, this was fixed in release 18.1.3 - so you can use that or anything later.

Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
Revision history for this message
James Okken (jokken) wrote :

could we please have some direction as to where and what the bug and the fix is? is it something that can be applied in place to an working older environment?

Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

@James - Apologies for the delayed response, it took me a while to track this down. I believe that the fix was https://review.opendev.org/#/q/I0f699c9869effc5ccc0d3f79422935975f698134 in OSA. If you're using an older environment than one with that present, you could implement that patch. IIRC it was not applicable to anything Queens and before - it was only a Rocky bug which was fixed in 18.0.3/Rocky and pre-release for Stein.

Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
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.