Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1162961

Summary: [RFE][horizon]: Add Bootable flag to Create and Edit Volume Panels
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: aortega, athomas, ddomingo, markmc, mrunge, nbarcet, yeylon
Target Milestone: Upstream M2Keywords: FutureFeature, OtherQA
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/horizon/+spec/volume-bootable-flag
Whiteboard: upstream_milestone_kilo-2 upstream_definition_approved upstream_status_implemented
Fixed In Version: python-django-horizon-2015.1.0-9.el7ost Doc Type: Enhancement
Doc Text:
You can now flag a volume as 'Bootable' through the dashboard.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:15:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-11-12 05:05:32 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/volume-bootable-flag.

Description:

Add a "Bootable" checkbox to the "Project -> Volumes" create and edit panels.

Motivation:
This will expose the current Cinder CLI command "cinder set-bootable" in the Horizon UI.

$ cinder help set-bootable
usage: cinder set-bootable <volume> <True|true|False|false>

Update bootable status of a volume.

Positional arguments:
  <volume>                             ID of the volume to update.
  <True|true|False|false>   Flag to indicate whether volume is bootable.

UX:
1) Need to add a new "Bootable" checkbox to the "Project -> Volumes" "Create Volume" dialog.  It will be shown/hidden and set to a default value based on the following:

Volume Source = "Image" - checkbox will be hidden. Created volume will be bootable.
Volume Source = "No source, empty volume" - checkbox will be shown and set to false.
Volume Source = "Volume" - checkbox will be shown and will be set to the "bootable" state of the selected source volume.

In the case of creating a volume from an "image", the "cinder create" volume command will automatically make the volume bootable.
In the case of creating a volume from no source, if the user checks the "Bootable" flag, an additional "cinder set-bootable" call will be made.
In the case of creating a volume from a source volume, an additional "cinder set-bootable" call will be made IF the new volume will have a different bootable state than that of the source volume.

2) Need to add a new "Bootable" checkbox to the "Project -> Volumes" "Edit Volume" dialog.  It will be initially set to the current bootable state of the volume.

Outside Dependencies:
N/A

Requirements Update Required:
N/A

Doc Impact:
N/A

Specification URL (additional information):

None

Comment 6 errata-xmlrpc 2015-08-05 13:15:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548