server create problems in boot-from-volume

Bug #1383338 reported by Dean Troyer on 2014-10-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Dean Troyer

Bug Description

A boot-from-volume via 'server create' has a couple of problems: --image is required; and the volume mapping must be an id not a name.

Dean Troyer (dtroyer) wrote :

I think the UI here needs to be rethought, it was copied from the nova command. --image is used to specify a Glance image, --volume should be used to specify a Cinder volume. The mapping is still required, maybe it can be inferred for the boot volume?

Changed in python-openstackclient:
importance: Undecided → Medium
Dean Troyer (dtroyer) on 2014-10-20
Changed in python-openstackclient:
status: New → Triaged
Dean Troyer (dtroyer) wrote :
Changed in python-openstackclient:
milestone: none → m6
status: Triaged → In Progress

Submitter: Jenkins
Branch: master

commit 2c9d263611190996d64e35bc74a8575aeb25ed3e
Author: Dean Troyer <email address hidden>
Date: Mon Oct 20 11:43:29 2014 -0500

    Fix server create for boot-from-volume

    * server create required --image even when booting the server from a
      volume. Change options to require either --image or --volume to
      specify the server boot disk. Using --volume currently uses device
      'vda' for the block mapping and ignores any other block mappings
      given in --block-device-mapping.
    * server create and server show are both affected by bug 1378842 where
      an excepion was thrown when no image ID was present in the returned
      server object, which is the case for a server booted from a volume.
    * Fix the remaining assertEqual() order problems in

    Closes-Bug: 1378842
    Closes-Bug: 1383338
    Change-Id: I5daebf4e50a765d4920088dfead95b6295af6a4d

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer) on 2014-11-14
Changed in python-openstackclient:
assignee: nobody → Dean Troyer (dtroyer)
Dean Troyer (dtroyer) on 2014-12-04
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers