← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262038] Re: There is the delete_on_termination option for attaching volume when creating a server but not for an existing server

 

This wishlist bug has been open a year without any activity. I'm going
to move it to "Opinion / Wishlist", which is an easily-obtainable queue
of older requests that have come on.

** Changed in: nova
       Status: Confirmed => Opinion

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

Title:
  There is the delete_on_termination option for attaching volume when
  creating a server but not for an existing server

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  There is the delete_on_termination option for attaching volume when
  creating a server but not for an existing server. So when delete the
  server may be two cases although the delete_on_termination option is
  true, one the attached volume can be deleted, the other is not.

  Attach a volume when creating a server, the API contains 'block_device_mapping', such as:
  "block_device_mapping": [
              {
                  "volume_id": "<VOLUME_ID>",
                  "device_name": "/dev/vdc",
                  "delete_on_termination": "true"
              }
  ]

  It can contain 'delete_on_termination' option.

  But attach a volume to existing server, there is no option 'delete_on_termination', the POST data likes:
  {
      "volumeAttachment":{
      "volumeId":"<VOLUME_ID>",
      "device":"/dev/sdb"
      }
  }

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


References