← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1608565] Re: Horizon ignores instance snapshot as pre-selected source image

 

Reviewed:  https://review.openstack.org/600399
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=87f5e21b03bdb9a1a09a587f2a3176cc094529b8
Submitter: Zuul
Branch:    master

commit 87f5e21b03bdb9a1a09a587f2a3176cc094529b8
Author: David Gutman <david.gutman@xxxxxxxxxxxxxxx>
Date:   Thu Sep 6 11:33:09 2018 +0200

    Select correct boot source when launching instance from different sources
    
    When launching instance from snapshot, volume or volume snapshot,
    the selected boot source was always image.
    This was due to a reset to image boot source when receiving "change allowed boot
    sources" event.
    From now:
     - The "change allowed boot source" event does not flush a preselection
    if the preselection boot source type is in the allowed sources.
     - Set the bootsource with preselection update correctly the form for each
    different type of boot source.
    
    Change-Id: I6907652731fa89b303d997fe2e3c331a68f085b6
    Closes-bug: #1608565


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1608565

Title:
  Horizon ignores instance snapshot as pre-selected source image

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Description of problem:
  When launching an instance from an instance snapshot via Horizon images overview (Button "Launch") the resulting "Launch instance"-dialog ignores the selected image, the source has to be selected again. This only affects "Instance Snapshot" as source type, the other source types (Image, Volume, Volume Snapshot) are accepted.

  Versions:
  OpenStack Mitaka on openSUSE_Leap_42.1
  openstack-dashboard-9.0.2~a0~dev22-1.1.noarch

  How reproducible:
  Every time

  Steps to Reproduce:
  1. Create a snapshot from a running instance.
  2. From the images overview (http://control/project/images/) click on the new image (instance snapshot).

  Actual result:
  In the "Launch Instance"-dialog no image is selected in the "Source" tab and it's marked with an asterisk, an image has to be selected (again).

  Expected result:
  The form field in "Source" should be pre-allocated by the instance snapshot and "Source" should not be marked by an asterisk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1608565/+subscriptions


References