Horizon should support specifying the block devices(/dev/sd*) name to attach to the instance

Bug #1489227 reported by Sibiao Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Opinion
Wishlist
Unassigned

Bug Description

Dashboard (Horizon) also should support that the same with nova bug: https://bugs.launchpad.net/nova/+bug/1489226

nova and horizon dashboard should support that specify the block devices(e.g. /dev/sd*) to attach to an instance. Users can type the block devices(e.g. /dev/sd*) to attach to the instance and the instance can map the block devices(e.g. /dev/sd*) with a symlink(e.g. /dev/sd* -> ../../xvd*), and the horizon dashboard can display this symlink relation to users.
 e.g.:
 Instance: /dev/sd* -> ../../xvd*
 Dashboard: /dev/sd* ---- vol-xxxxxx ---- /dev/xvd*

While Amazon EC2 has supported this function very well.

In the EC2 Attach Volume dialog box, start typing the name or ID of the instance to attach the volume to in the Instance box, and select it from the list of suggestion options (only instances in the same Availability Zone as the volume are displayed).

Device names like /dev/sdh and xvdh are used by Amazon EC2 to describe block devices, the block device mapping is used by Amazon EC2 to specify the block devices to attach to an EC2 instance.

Please refer to the following picture for detail.
http://www.bogotobogo.com/DevOps/AWS/images/AttachingVolume/AttachVolumeMenu.png
http://www.bogotobogo.com/DevOps/AWS/images/AttachingVolume/AttachVolumeDialog.png
http://www.bogotobogo.com/DevOps/AWS/images/AttachingVolume/bogo-ami_Instance_with_new_volume.png

Best Regards,
Sibiao Luo

Sibiao Luo (sibiaoluo)
summary: - specify the block devices(/dev/sd*) to attach to an instance
+ Horizon should support specifying the block devices(/dev/sd*) to attach
+ to an instance
summary: - Horizon should support specifying the block devices(/dev/sd*) to attach
- to an instance
+ Horizon should support specifying the block devices(/dev/sd*) name to
+ attach to the instance
description: updated
description: updated
Sibiao Luo (sibiaoluo)
description: updated
Revision history for this message
Justin Pomeroy (jpomero) wrote :

I believe this already exists, unless I misunderstand the problem. You need to update the 'can_set_mount_point' attribute of the OPENSTACK_HYPERVISOR_FEATURES setting. With that set to True you should be able to set the device. See attached screenshot.

Revision history for this message
Sibiao Luo (sibiaoluo) wrote :

No, you did not get my meaning, and maybe your openstack version is not the latest, horizon has disable it in latest version indeed, thanks.

This problem is about that users can type the block devices(e.g. /dev/sd*) to attach to the instance and the instance can map the block devices(e.g. /dev/sd*) with a symlink(e.g. /dev/sd* -> ../../xvd*) in guest, and the horizon dashboard can display this symlink relation to users. This can help users to see which disk in guest was he plugged in dashboard and can discriminate them effectively.

Best Regards,
Sibiao Luo

Changed in horizon:
status: New → Opinion
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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