"hw:mem_page_size=1GB" Metadata can not be assigned to a flavors with cli commands

Bug #1799517 reported by Fernando Hernandez Gonzalez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Invalid
Low
Wendy Mitchell

Bug Description

Brief Description
-----------------
"hw:mem_page_size=1GB" Metadata can not be assigned to a flavors with cli commands by typing
   $ openstack flavor set m1.medium --property hw:mem_page_size=1GB

Severity
--------
Minor

Steps to Reproduce
------------------
Create a flavor.
Once created type following command to change mem_page_size.
   $ openstack flavor set m1.medium --property hw:mem_page_size=1GB

Expected Behavior
------------------
Able to set hw:mem_page_size=1GB property.

Actual Behavior
----------------
No hw:mem_page_size=1GB property set.

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

System Configuration
--------------------

Virtual External Storage + 2 controllers + 2 computes + 2 storage

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :
Revision history for this message
Frank Miller (sensfan22) wrote :

There is not enough info in this report to understand the issue.
What is failing? You report "No hw:mem_page_size=1GB property set." Does this mean the CLI command fails? Or does the VM launch fail when attempting to launch a VM using the modified mem_page_size in the flavor?
The attached jpg does not show the error.

Revision history for this message
Wendy Mitchell (wmitchellwr) wrote :

1G is not a valid value. You will need to use the value 1048576 (for 1G huge pages).
ie.
openstack flavor set m1.medium --property hw:mem_page_size=1048576

Note: In order to use this flavor, you will need to confirm that your host has 1G available
system host-memory-show <host> <processor>

Revision history for this message
Fernando Hernandez Gonzalez (fhernan2) wrote :

Thanks Wendy, that´s my other issue pls check
https://bugs.launchpad.net/starlingx/+bug/1799539"

Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as Invalid given on input provided by Wendy Mitchell. The wrong value is specified in the VM flavor.

tags: added: stx.distro.openstack
Changed in starlingx:
importance: Undecided → Low
status: New → Invalid
assignee: nobody → Fernando Hernandez Gonzalez (fhernan2)
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: Fernando Hernandez Gonzalez (fhernan2) → Wendy Mitchell (wmitchellwr)
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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