← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1288230] [NEW] A project shouldn't be deleted when there are instances running

 

Public bug reported:

Description of problem:
currently, a project that has an instance (or instances) can be deleted without even a warning message in the Horizon by a user with an administrative permissions. An active project (meaning a project that has instances running) should have the protection from deletion. If the administrator would like to delete it he should delete the instances first. 

Version-Release number of selected component (if applicable):
openstack-nova-cert-2013.2.2-2.el6ost.noarch
python-novaclient-2.15.0-2.el6ost.noarch
openstack-nova-common-2013.2.2-2.el6ost.noarch
openstack-nova-api-2013.2.2-2.el6ost.noarch
openstack-nova-compute-2013.2.2-2.el6ost.noarch
openstack-nova-conductor-2013.2.2-2.el6ost.noarch
openstack-nova-novncproxy-2013.2.2-2.el6ost.noarch
openstack-nova-scheduler-2013.2.2-2.el6ost.noarch
python-nova-2013.2.2-2.el6ost.noarch
openstack-nova-console-2013.2.2-2.el6ost.noarch
openstack-nova-network-2013.2.2-2.el6ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create an new project.
2. Launch one (or more) instances. 
3. Try to delete the project with the admin.

Actual results:
The instances are still running, but they are accessible only through the admin -> intances tab.

Expected results:
The administrator shouldn't be able to delete the project as long as there are instances running.

** 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/1288230

Title:
  A project shouldn't be deleted when there are instances running

Status in OpenStack Compute (Nova):
  New

Bug description:
  Description of problem:
  currently, a project that has an instance (or instances) can be deleted without even a warning message in the Horizon by a user with an administrative permissions. An active project (meaning a project that has instances running) should have the protection from deletion. If the administrator would like to delete it he should delete the instances first. 

  Version-Release number of selected component (if applicable):
  openstack-nova-cert-2013.2.2-2.el6ost.noarch
  python-novaclient-2.15.0-2.el6ost.noarch
  openstack-nova-common-2013.2.2-2.el6ost.noarch
  openstack-nova-api-2013.2.2-2.el6ost.noarch
  openstack-nova-compute-2013.2.2-2.el6ost.noarch
  openstack-nova-conductor-2013.2.2-2.el6ost.noarch
  openstack-nova-novncproxy-2013.2.2-2.el6ost.noarch
  openstack-nova-scheduler-2013.2.2-2.el6ost.noarch
  python-nova-2013.2.2-2.el6ost.noarch
  openstack-nova-console-2013.2.2-2.el6ost.noarch
  openstack-nova-network-2013.2.2-2.el6ost.noarch

  How reproducible:
  100%

  Steps to Reproduce:
  1. Create an new project.
  2. Launch one (or more) instances. 
  3. Try to delete the project with the admin.

  Actual results:
  The instances are still running, but they are accessible only through the admin -> intances tab.

  Expected results:
  The administrator shouldn't be able to delete the project as long as there are instances running.

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


Follow ups

References