Aggregation (bonding) of platform interfaces to ports that have an interface class of none is not working from Horizon

Bug #2021893 reported by Agustin Carranza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Agustin Carranza

Bug Description

Brief Description
-----------------
Aggregation (bonding) of platform interfaces to ports that have an interface class of none is not working from Horizon.
However, same operation are happening from CLI.

Working scenario from CLI:
system host-if-add -c platform --aemode active_standby controller-0 bond0 ae en01 en02
where en01 en02 are interfaces are of class type none

Severity
--------
Minor: System/Feature is usable with minor issue

Steps to Reproduce
------------------
* Log in to Starlingx dashboard, navigate to a Host Detail.
* Go to to the interface tab and click the 'Create Interface'
  button.
* Select a compatible configuration and make sure to check an
  interface from the 'Interfaces' list.

Expected Behavior
------------------
Interface is created successfully.

Actual Behavior
----------------
Interface is not created and a UUID is shown as error message.

Reproducibility
---------------
100% reproducible,

System Configuration
--------------------
AIO-SX, stx9.0

Branch/Pull Time/Commit
-----------------------
master branch

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Developer testing

Workaround
----------
Use CLI.

Changed in starlingx:
assignee: nobody → Agustin Carranza (acarranz)
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/+/884769

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/+/884769
Committed: https://opendev.org/starlingx/gui/commit/da087c7f041985e5d270712adf1d6bc1eda7be32
Submitter: "Zuul (22348)"
Branch: master

commit da087c7f041985e5d270712adf1d6bc1eda7be32
Author: Agustin Carranza <email address hidden>
Date: Tue May 30 15:19:48 2023 -0300

    Change 'uses' parameter from UUID to iface name

    When creating a new interface, it can be selected a collection of
    'used' interfaces by the new one.
    This functionality makes use of the sysinv API in which the parameter
    of such interfaces is required to be specified by the names of the
    interfaces and not by the UUID.

    This change looks for the names and replace the UUID for every
    selected interface.

    Test plan
    PASS: * Log in to Starlingx dashboard, navigate to a Host Detail.
          * Go to to the interface tab and click the 'Create Interface'
            button.
          * Select a compatible configuration and make sure to check an
            interface from the 'Interfaces' list.
          * The interface is created successfully.

    Closes-bug: 2021893

    Signed-off-by: Agustin Carranza <email address hidden>
    Change-Id: I1242f05a936ff3d69f28cc6ff0ea65fe53ffc4b5

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.gui
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.