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

Bug #1799517 reported by Fernando Hernandez Gonzalez on 2018-10-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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


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.


System Configuration

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

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.

Wendy Mitchell (wmitchellwr) wrote :

1G is not a valid value. You will need to use the value 1048576 (for 1G huge pages).
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>

Thanks Wendy, that´s my other issue pls check

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) on 2018-10-27
Changed in starlingx:
assignee: Fernando Hernandez Gonzalez (fhernan2) → Wendy Mitchell (wmitchellwr)
Ken Young (kenyis) on 2019-04-06
tags: added: stx.1.0
removed: stx.2018.10
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments