← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298509] [NEW] "nova server-group-delete" allows deleting server group with members

 

Public bug reported:

Currently nova will let you do this:

nova server-group-create --policy anti-affinity antiaffinitygroup
nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros0
nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros1
nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros2
nova server-group-delete <group_uuid>

Given that a server group is designed to logically group servers
together, I don't think it makes sense to allow nova to delete a server
group that currently has undeleted members in it.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: compute

** Tags added: compute

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

Title:
  "nova server-group-delete" allows deleting server group with members

Status in OpenStack Compute (Nova):
  New

Bug description:
  Currently nova will let you do this:

  nova server-group-create --policy anti-affinity antiaffinitygroup
  nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros0
  nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros1
  nova boot --flavor=1 --image=cirros-0.3.1-x86_64-uec --hint group=<group_uuid> cirros2
  nova server-group-delete <group_uuid>

  Given that a server group is designed to logically group servers
  together, I don't think it makes sense to allow nova to delete a
  server group that currently has undeleted members in it.

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


Follow ups

References