Empty volume list when creating an instance

Bug #1848334 reported by Pedro Henrique Pereira Martins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Pedro Henrique Pereira Martins

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

Changed in horizon:
assignee: nobody → Pedro Henrique Pereira Martins (pedrohpmartins)
status: New → In Progress
description: updated
Revision history for this message
Heinz Leiser (der-heinz) wrote :

I reproduced the bug on Chrom Version 77.0.3865.90 (Official Build) (32-bit) several times.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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 <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.

    Closes-Bug: #1848334

    Change-Id: I1c9399bf3f6c859206c093452c2e637892aa9722

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 18.1.0

This issue was fixed in the openstack/horizon 18.1.0 release.

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.