instance created from volume lack volume info

Bug #1252185 reported by lvdongbing
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Opinion
Wishlist
Unassigned

Bug Description

When Launching Instance "Boot from volume"

Instance launches however instances list doesn't view instance's volume info, and the overview either.

I think user need to know which volume the instance boot from.

Tags: volume
Revision history for this message
chenhaiq (chenhaiq) wrote :

I can see:

Volumes Attached
Attached To
vol2 on vda

In "Instance Details" page/

Revision history for this message
chenhaiq (chenhaiq) wrote :

It is because nova-list and nova-show api does not provide volume information.

"nova show ca3a7f40-8cdb-4928-92c1-e099e90b6c45" cmd actually returns a hard code string "Attempt to boot from volume - no image supplied" if image field is empty. The string is "-" in Horizon when the image field is empty.

I do not think the instance list should contain the volume info, because
1. it requires extra api calls to cinder, which has impact to performance when loading instances list
2. user can see the volume info in "Instance Details" page

Akihiro Motoki (amotoki)
tags: added: volume
Changed in horizon:
importance: Undecided → Wishlist
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Agree with chenhaiq that nova api does not return this information. The 'image' field in 'nova show' only indicates that it was booted from a volume but does not specify which volume.

It is also problematic to try to infer the boot volume by assuming that the boot volume is the only volume mounted or that it is mounted on a particular device (e.g. /dev/vda).

Changed in horizon:
status: New → Opinion
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.