← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1655170] [NEW] the owner of snapshot image from shelved instance should be the same as the instance's.

 

Public bug reported:

Description
=============
the owner of snapshot image from shelved instance should be the same as the instance's.

Steps to reproduce
====================

1. assume we have the following:
1) admin user and admin project
2) demo user and demo project

2. login as demo user
1) create an instance (let's call it demo-instance)
2) logout

3. login as admin user
1) go to "Admin->Instance"
2) shelve "demo-instance"
3) go to "Admin->Images"
4) demo-instance's snapshot is now owned by admin project
5) logout

4. login as demo user again.
1) go to "Images"
2) won't see any snapshot for demo-instance. 
3) go to "Instances"
4) try to unshelve demo-instance

Expected result
=================
the demo-instance shelved by admin user should be unshelved by demo user.

Actual result
=================
Error.

Environment
=================
liberty

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1655170

Title:
  the owner of snapshot image from shelved instance should be the same
  as the instance's.

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  =============
  the owner of snapshot image from shelved instance should be the same as the instance's.

  Steps to reproduce
  ====================

  1. assume we have the following:
  1) admin user and admin project
  2) demo user and demo project

  2. login as demo user
  1) create an instance (let's call it demo-instance)
  2) logout

  3. login as admin user
  1) go to "Admin->Instance"
  2) shelve "demo-instance"
  3) go to "Admin->Images"
  4) demo-instance's snapshot is now owned by admin project
  5) logout

  4. login as demo user again.
  1) go to "Images"
  2) won't see any snapshot for demo-instance. 
  3) go to "Instances"
  4) try to unshelve demo-instance

  Expected result
  =================
  the demo-instance shelved by admin user should be unshelved by demo user.

  Actual result
  =================
  Error.

  Environment
  =================
  liberty

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1655170/+subscriptions