yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81021
[Bug 1675791] Re: Instance created by demo user(non-admin), shelved by admin and unshelved by demo user --> ends up in error state
** Changed in: nova/pike
Status: Triaged => Won't Fix
** Changed in: nova/queens
Status: In Progress => Won't Fix
--
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/1675791
Title:
Instance created by demo user(non-admin), shelved by admin and
unshelved by demo user --> ends up in error state
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) pike series:
Won't Fix
Status in OpenStack Compute (nova) queens series:
Won't Fix
Status in OpenStack Compute (nova) rocky series:
Fix Committed
Bug description:
Steps to reproduce
===========
1) Login as demo user and create an instance.
2) Login as a admin user navigate to admin panel and shelve the instance (as admin user is able shelve any instance).
3) Login as demo user and try to unshelve the instance shelved by admin user.
Expected : instance should be unshelved
Actual : instance is not shelved but is went to error state.
Concerns
===========
There are two conditions here 1.If this scenarios is not valid admin user should not have an option to shelve the instance , this option should be removed .
2.If this is a valid flow , instance should be unsheleved by the demo user. During the shelve process a snap shot will be created in the instance panel and it will be removed automatically when instance is unshelved. But when admin user is trying to shelve instance a snapshot is created under admin projects instead of demo project . This may be the reason for unshelve failure
Admin user is able to unsheleve an instance shelved by demo user as he is seeing both snapshots.
Environment
===========
Reproduced it with pure stable/Newton in devstack environment
Also reproduced it with Liberty.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1675791/+subscriptions
References