← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Removing Nova from this bug. As has been expressed this is true of
anything in OpenStack.

It's fine for Horizon to warn/block project deletion on these cases. At
some level keystone is going to let you do the delete. The theory from
Tokyo was that OSC should have a cleanup project plugin

** Changed in: nova
       Status: Confirmed => 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/1288230

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

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in OpenStack Compute (nova):
  Won't Fix

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/horizon/+bug/1288230/+subscriptions


References