yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76610
[Bug 1675791] Re: Instance created by demo user(non-admin), shelved by admin and unshelved by demo user --> ends up in error state
** Also affects: nova/pike
Importance: Undecided
Status: New
** Also affects: nova/rocky
Importance: Undecided
Status: New
** Also affects: nova/queens
Importance: Undecided
Status: New
** Changed in: nova/pike
Status: New => Triaged
** Changed in: nova/queens
Status: New => Triaged
** Changed in: nova/rocky
Status: New => Triaged
** Changed in: nova/pike
Importance: Undecided => Medium
** Changed in: nova/rocky
Importance: Undecided => Medium
** Changed in: nova/queens
Importance: Undecided => Medium
--
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):
In Progress
Status in OpenStack Compute (nova) pike series:
Triaged
Status in OpenStack Compute (nova) queens series:
Triaged
Status in OpenStack Compute (nova) rocky series:
Triaged
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