← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1848334] Re: Empty volume list when creating an instance

 

Reviewed:  https://review.opendev.org/688541
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c7e5b64978b916b13dd9491b9a5c89cf36cf4e0c
Submitter: Zuul
Branch:    master

commit c7e5b64978b916b13dd9491b9a5c89cf36cf4e0c
Author: Pedro Martins <phpm13@xxxxxxxxx>
Date:   Mon Oct 14 14:43:09 2019 -0300

    Set up the initial displayed values in all boot-sources
    
    Problem description
    ===================
    
    In the launch instance workflow while creating a virtual machine,  when
    I select the Source tab, most of the time the default boot-source is
    `Image` and everything works just fine. However, some times, the default
    boot-source comes as Volume, due to some race condition (tested and
    reproduced in Chrome 77). In this case, the Available items table is
    empty, even if there are bootable volumes to be attached to the VM. This
    problem happens because the initial state of boot-sources is setting
    only the `displayedAvailable` of the Image source (that is the "default
    source"), instead of setting all the initial `displayedAvailable`
    elements.
    
    Proposal
    ========
    
    The proposal is basically to set up the `displayedAvailable` in
    all boot-sources.
    
    Closes-Bug: #1848334
    
    Change-Id: I1c9399bf3f6c859206c093452c2e637892aa9722


** 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/1848334

Title:
  Empty volume list when creating an instance

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Problem description
  ===================

  In the launch instance workflow while creating a virtual machine,  when
  I select the Source tab, most of the time the default boot-source is
  `Image` and everything works just fine. However, some times, the default
  boot-source comes as Volume, due to some race condition (tested and
  reproduced in Chrome 77). In this case, the Available items table is
  empty, even if there are bootable volumes to be attached to the VM. This
  problem happens because the initial state of boot-sources is setting
  only the `displayedAvailable` of the Image source (that is the "default
  source"), instead of setting all the initial `displayedAvailable`
  elements.

  
  System version
  ==============

  Horizon : 14.0.2 (Rocky)

  
  Proposal
  ========

  The proposal is basically to set up the `displayedAvailable` in
  all boot-sources.

  Pull Request url -> https://review.opendev.org/#/c/688541

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


References