commit c7e5b64978b916b13dd9491b9a5c89cf36cf4e0c
Author: Pedro Martins <email address hidden>
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.
Reviewed: https:/ /review. opendev. org/688541 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=c7e5b64978b 916b13dd9491b9a 5c89cf36cf4e0c
Committed: https:/
Submitter: Zuul
Branch: master
commit c7e5b64978b916b 13dd9491b9a5c89 cf36cf4e0c
Author: Pedro Martins <email address hidden>
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 able` of the Image source (that is the "default able`
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 `displayedAvail
source"), instead of setting all the initial `displayedAvail
elements.
Proposal
========
The proposal is basically to set up the `displayedAvail able` in
all boot-sources.
Closes-Bug: #1848334
Change-Id: I1c9399bf3f6c85 9206c093452c2e6 37892aa9722