Unable to update application memory using GUI when vswitch type is set to none

Bug #1826414 reported by Tao Liu
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Austin Sun

Bug Description

Brief Description
-----------------
When modify the application memory setting using GUI with the vswitch type set to none , an error message window popped up unless the user enters a number greater than 0 in the #of vSwitch 1G Hugepages Node fields.

System will not allocate the default huge pages for vswitch when the vswitch type is set to none and the #of vSwitch 1G Hugepages Node fields should be hidden in Update Memory Allocation form.

Severity
--------
Major

Steps to Reproduce
------------------
1.configure a AIO-SX system with the vswitch_type set to none
2 login Horizon dashboard as 'admin'
3 lock the node to modify the memory
4. select page Admin -> Inventory -> Memory -> Update Memory
    a. reduce 512 from the number of 2M-page
    b. add 1 1G-page
   Save the changes

Expected Behavior
------------------
# of vSwitch 1G Hugepages Node fields should be hidden when the vswitch type is set to none. The application memory allocation should be accepted without any errors.

Actual Behavior
----------------
An error message popped up unless the user enters a non-zero value for vswitch huge pages.

Reproducibility
---------------
yes

System Configuration
--------------------
AIO-SX and Multi-node system

Branch/Pull Time/Commit
-----------------------
f/stein as of 2019-04-24

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

Revision history for this message
Frank Miller (sensfan22) wrote :

Marking release gating; as this is related to huge pages assigning to Austin to start.

Changed in starlingx:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Austin Sun (sunausti)
tags: added: stx.2.0 stx.retestneeded
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/657733

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

Reviewed: https://review.opendev.org/657733
Committed: https://git.openstack.org/cgit/starlingx/gui/commit/?id=9ae249e019ea1762365c7016eeb447f916be6665
Submitter: Zuul
Branch: master

commit 9ae249e019ea1762365c7016eeb447f916be6665
Author: Sun Austin <email address hidden>
Date: Tue May 7 15:25:48 2019 +0800

    Not show vswitch HP field if vswitch type is none

    Change-Id: I38529e3d90034d5525f39bd5610f81e6cbd3edcb
    Closes-Bug: 1826414
    Signed-off-by: Sun Austin <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Wendy Mitchell (wmitchellwr) wrote :

2019-11-11_20-00-00

tags: removed: stx.2.0 stx.retestneeded
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Restoring the release tag which was removed by mistake

tags: added: stx.2.0 stx.gui
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.