Cannot find volume with --block-device-mapping of "openstack server create" if using ID with colons

Bug #1514394 reported by xiexs
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
xiexs

Bug Description

OSC cannot filter a right volume_id, while the the map device with following format:
dev_name=<id>:<type>:<size(GB)>:<delete_on_terminate>

For instance:
$ openstack server create --flavor 1 --image a4de86d3-792f-4a23-b157-45fe71ff7437 --block-device-mapping vda=4bdca3de-2bae-411a-b865-8f4039dd522b:::0 xiexs_volume_server_2
No volume with a name or ID of '4bdca3de-2bae-411a-b865-8f4039dd522b:::0' exists.

xiexs (xiexs)
Changed in python-openstackclient:
assignee: nobody → xiexs (xiexs)
Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/243037
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=8b23c2690c90a6cafc58f8a72f04c8e33234ce37
Submitter: Jenkins
Branch: master

commit 8b23c2690c90a6cafc58f8a72f04c8e33234ce37
Author: xiexs <email address hidden>
Date: Tue Nov 10 02:39:28 2015 -0500

    Split the vol_id from a dev mapping

    Add a split into the dev mapping to get the right vol_id.

    Change-Id: I1a7bf6351491b1321c5ca0fa4a27f29825400eaf
    Closes-Bug: #1514394

Changed in python-openstackclient:
status: In Progress → Fix Committed
summary: - Cannot find volume while --block-device-mapping of "openstack server
- create" is specified
+ Cannot find volume with --block-device-mapping of "openstack server
+ create" if using ID with colons
Changed in python-openstackclient:
importance: Undecided → Medium
Changed in python-openstackclient:
milestone: none → 1.9.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.