Downloading the admin-openrc file for the subclouds for DC from the horizon web UI throws error

Bug #1923884 reported by Fernando Theirs
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Fernando Theirs

Bug Description

Brief Description
-----------------

Downloading the admin-openrc file for the subclouds for DC from the horizon web UI throws error

Severity
--------
Minor

Steps to Reproduce
------------------

1)On a DC system, go to horizon UI http://<>:8080, and login

2)Switch to systemcontroller from the top left corner

 3)in the subcloud list, click on the small drop down button of any subcloud under the

 "switch to subcloud region" and click on host detail

4)Once it switches to the subcloud, try to download the openrc file throws the error, attached the error

Expected Behavior
------------------
Openrc file can be downloaded successfully for subclouds

Actual Behavior
----------------
Downloading openrc file throws error

Reproducibility
---------------
100% Reproducible

System Configuration
--------------------
DC_1

Branch/Pull Time/Commit
-----------------------
Master

Last Pass
---------
NA

Timestamp/Logs
--------------
NA

collect logs:

Test Activity
-------------
Testing

Workaround
----------
None

Revision history for this message
Fernando Theirs (ftheirs) wrote :
Changed in starlingx:
assignee: nobody → Fernando Theirs (ftheirs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/gui/+/786343

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gui (master)

Reviewed: https://review.opendev.org/c/starlingx/gui/+/786343
Committed: https://opendev.org/starlingx/gui/commit/c308974419d1174df75a6d573e0f3c5a7d80e2ad
Submitter: "Zuul (22348)"
Branch: master

commit c308974419d1174df75a6d573e0f3c5a7d80e2ad
Author: Fernando Theirs <email address hidden>
Date: Fri Apr 9 14:54:50 2021 -0300

    Download openrc file for subclouds

    This change sets adminURL as secondary endpoint. When trying to
    download openrc file for subcloud-N, it is only allowed to use adminURL
    endpoint. Since publicURL is used by default, it is necessary to go
    to fallback option.

    Closes-Bug: 1923884

    Signed-off-by: Fernando Theirs <email address hidden>
    Change-Id: Ifd0a32a03a458ea99f8589a524e562220a9f0b74

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.gui
Changed in starlingx:
importance: Low → Medium
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Given the duplicate LP (https://bugs.launchpad.net/starlingx/+bug/1886536) was marked as medium/stx.5.0, I am marking this LP the same.

@Fernando, please cherrypick this change to the r/stx.5.0 release branch once it's open for submissions.

Ghada Khalil (gkhalil)
tags: added: stx.5.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gui (r/stx.5.0)

Fix proposed to branch: r/stx.5.0
Review: https://review.opendev.org/c/starlingx/gui/+/786794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gui (r/stx.5.0)

Reviewed: https://review.opendev.org/c/starlingx/gui/+/786794
Committed: https://opendev.org/starlingx/gui/commit/b7bd6ddd7af6c118e37c979689703343ca85631c
Submitter: "Zuul (22348)"
Branch: r/stx.5.0

commit b7bd6ddd7af6c118e37c979689703343ca85631c
Author: Fernando Theirs <email address hidden>
Date: Fri Apr 9 14:54:50 2021 -0300

    Download openrc file for subclouds

    This change sets adminURL as secondary endpoint. When trying to
    download openrc file for subcloud-N, it is only allowed to use adminURL
    endpoint. Since publicURL is used by default, it is necessary to go
    to fallback option.

    Closes-Bug: 1923884

    Signed-off-by: Fernando Theirs <email address hidden>
    Change-Id: Ifd0a32a03a458ea99f8589a524e562220a9f0b74
    (cherry picked from commit c308974419d1174df75a6d573e0f3c5a7d80e2ad)

Ghada Khalil (gkhalil)
tags: added: in-r-stx50
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gui (f/centos8)

Fix proposed to branch: f/centos8
Review: https://review.opendev.org/c/starlingx/gui/+/792252

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gui (f/centos8)
Download full text (16.7 KiB)

Reviewed: https://review.opendev.org/c/starlingx/gui/+/792252
Committed: https://opendev.org/starlingx/gui/commit/63d6de4701a7f21779ad9ea4060fce9ed85bc71f
Submitter: "Zuul (22348)"
Branch: f/centos8

commit e05e1a43531499d94cfb1e538683ee36eea92b43
Author: Teresa Ho <email address hidden>
Date: Thu May 13 23:04:04 2021 -0400

    Do not display primary_reselect if not specified

    If the attribute 'primary_reselect' is not specified, the sysinv API
    will leave it as null and GUI will not display the attribute.

    Closes-Bug: 1928461

    Change-Id: I5b8ef8b29fb7775dde8607bb14cd733015269f82
    Signed-off-by: Teresa Ho <email address hidden>

commit f1a4d30eca91c7a239ebd7479a56fef7870a4b2e
Author: Pablo Bovina <email address hidden>
Date: Fri May 7 16:59:50 2021 -0300

    Display DataNetworks list

    DataNetworks are listed for pci-sriov
    under Create/Edit Interface forms.

    Closes-bug: 1927782
    Signed-off-by: Pablo Bovina <email address hidden>
    Change-Id: If927bb0facdec9e587a13354bef56eca5df08785

commit 7973677a3d7d518c31757b36037373d2c4ac769c
Author: Andre Fernando Zanella Kantek <email address hidden>
Date: Thu May 6 07:32:59 2021 -0400

    In AIO-SX, interface edit rejected with Host administrative unlocked

    It was detected the edit rejection when the user, on an unlocked
    host, tries to convert an ethernet non-SRIOV to an SRIOV-PF
    interface, with the server responding "Host 'controller-0' is
    administrative 'unlocked'".

    This is caused because UpdateInterface.handle() executes first the
    datanetwork assignment and then modifies the interface. Since the
    assignment, on an unlocked host, is only possible for SRIOV
    interfaces, the order of execution matters, we need to have the
    interface modified and then assigned. The correction consists of
    altering the order (first modify then assign) to do the described.

    Tests:
    To ensure the continuous operation of the other types of conversion
    the following combinations were tested (all were done adding the
    interface to a network or datanetwork, depending on the class):

    Unlocked state:
    ethernet/[none,data,pci-pt,platform] to pci-sriov: accepted
    modify parameters of a pci-sriov: rejected
    conversion to other than pci-sriov: rejected

    Locked state:
    all conversions (with network/datanetwork assignment) are accepted

    Closes-Bug: 1925183

    Signed-off-by: Andre Fernando Zanella Kantek <email address hidden>
    Change-Id: Ib124bf7222e07966becbb81198f65f5bc55715ce

commit ddcc4fd3ccb4c02580c71414345993252b089761
Author: Enzo Candotti <email address hidden>
Date: Tue May 4 11:08:57 2021 -0300

    Enable add/edit Worker personality on DC AIO-DX's GUI

    This update is to allow the option to add a new host with Worker
    personality on Distributed Cloud mode.

    Closes-Bug: 1927107

    Signed-off-by: Enzo Candotti <email address hidden>
    Change-Id: Idfed9352c7c6467014a2ed2cf10b70f6b470c28c

commit de43c019c0b7f038d0184d10aab2bf61b6c5e147
Author: Andre Fer...

tags: added: in-f-centos8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.