changing flavor details on running instances will result in errors popping up for users

Bug #1441523 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Lin Hua Cheng
Juno
Fix Released
Medium
Matthias Runge

Bug Description

1. Install/use and all-in-one w/ demo project
2. As admin, create a flavor and assign to the demo project
3. Log out as admin and log in as demo (must not have admin privs)
4. As demo, launch an instance on this flavor in the demo project
5. Log out as demo and log in as admin
6. As admin, change the amount of RAM for the flavor
7. Log out as admin, log in as demo
8. Check the instances page and size should show "Not available" and there should be an error in the upper right saying "Error: Unable to retrieve instance size information."

The error is only shown for non-admin users.

what happens here:
when editing flavors, nova silently deletes the old flavor, creating a new one. running instances are not touched. the old flavor is marked as deleted, and normal users can not get specifics of that flavor any more.

Revision history for this message
Matthias Runge (mrunge) wrote :

it looks like https://bugs.launchpad.net/horizon/+bug/1366166 was not fixed properly.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/171537

Changed in horizon:
assignee: nobody → Matthias Runge (mrunge)
status: New → In Progress
Matthias Runge (mrunge)
Changed in horizon:
milestone: none → kilo-rc1
importance: Undecided → Medium
Changed in horizon:
assignee: Matthias Runge (mrunge) → Lin Hua Cheng (lin-hua-cheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/171537
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8c8b130722e3b834fa3f334164c833e0b21f2c82
Submitter: Jenkins
Branch: master

commit 8c8b130722e3b834fa3f334164c833e0b21f2c82
Author: Matthias Runge <email address hidden>
Date: Wed Apr 8 11:35:11 2015 +0200

    Silently drop access to non-existent flavours

    Although not ideal, users are merely confused, when an error
    message pops up, but everything works.

    Change-Id: I765a8ba361e47e5a0af91328865db2515e51606a
    Closes-bug: #1441523

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/172826

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/juno)

Reviewed: https://review.openstack.org/172826
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2433dbbaa33e38be3ff29dfef1f9dd3f4558f8e5
Submitter: Jenkins
Branch: stable/juno

commit 2433dbbaa33e38be3ff29dfef1f9dd3f4558f8e5
Author: Matthias Runge <email address hidden>
Date: Wed Apr 8 11:35:11 2015 +0200

    Silently drop access to non-existent flavours

    Although not ideal, users are merely confused, when an error
    message pops up, but everything works.

    Change-Id: I765a8ba361e47e5a0af91328865db2515e51606a
    Closes-bug: #1441523
    (cherry picked from commit 8c8b130722e3b834fa3f334164c833e0b21f2c82)

tags: added: in-stable-juno
Alan Pevec (apevec)
tags: removed: in-stable-juno
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.