← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1879964] [NEW] Invalid value for 'hw:mem_page_size' raises confusing error

 

Public bug reported:

Configure a flavor like so:

  openstack flavor create hugepage  --ram 1024 --disk 10 --vcpus 1 test
  openstack flavor set  hugepage --property hw:mem_page_size=2M test

Attempt to boot an instance. It will fail with the following error
message:

  Invalid memory page size '0' (HTTP 400) (Request-ID: req-
338bf619-3a54-45c5-9c59-ad8c1d425e91)

You wouldn't know from reading it, but this is because the property
should read 'hw:mem_page_size=2MB' (note the extra 'B').

** Affects: nova
     Importance: Low
     Assignee: Stephen Finucane (stephenfinucane)
         Status: In Progress

** Changed in: nova
   Importance: Undecided => Low

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
     Assignee: (unassigned) => Stephen Finucane (stephenfinucane)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1879964

Title:
  Invalid value for 'hw:mem_page_size' raises confusing error

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Configure a flavor like so:

    openstack flavor create hugepage  --ram 1024 --disk 10 --vcpus 1 test
    openstack flavor set  hugepage --property hw:mem_page_size=2M test

  Attempt to boot an instance. It will fail with the following error
  message:

    Invalid memory page size '0' (HTTP 400) (Request-ID: req-
  338bf619-3a54-45c5-9c59-ad8c1d425e91)

  You wouldn't know from reading it, but this is because the property
  should read 'hw:mem_page_size=2MB' (note the extra 'B').

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1879964/+subscriptions


Follow ups