yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78708
[Bug 1831269] [NEW] Resize ignores mem_page_size in new flavor
Public bug reported:
This was originally reported in Bugzilla.
When attempting to resize a instance where the new flavor uses a
different pagesize to the old flavor, the 'NUMATopologyFilter' evaluates
hosts using the original pagesize value rather than the new one.
Steps to Reproduce:
1. Create an instance with 2M hugepage size by setting flavor property: hw:mem_page_size=2048
2. Make sure every other compute node is configured with 1G huge pages
3. Create a new flavor with the property: hw:mem_page_size=1048576
4. Resize the instance as " openstack server resize --flavor <new flavor UUID> <instance UUID>"
Expected results:
Resize operation rebuilds the instance just like cold-migration. It
should be able to apply all aspects of the new flavor.
Actual results:
Resize will fail wit the error message: "Host does not support requested
memory pagesize. Requested: 2048 kB _numa_fit_instance_cell
/usr/lib/python2.7/site-packages/nova/virt/hardware.py:936"
** Affects: nova
Importance: Undecided
Status: New
--
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/1831269
Title:
Resize ignores mem_page_size in new flavor
Status in OpenStack Compute (nova):
New
Bug description:
This was originally reported in Bugzilla.
When attempting to resize a instance where the new flavor uses a
different pagesize to the old flavor, the 'NUMATopologyFilter'
evaluates hosts using the original pagesize value rather than the new
one.
Steps to Reproduce:
1. Create an instance with 2M hugepage size by setting flavor property: hw:mem_page_size=2048
2. Make sure every other compute node is configured with 1G huge pages
3. Create a new flavor with the property: hw:mem_page_size=1048576
4. Resize the instance as " openstack server resize --flavor <new flavor UUID> <instance UUID>"
Expected results:
Resize operation rebuilds the instance just like cold-migration. It
should be able to apply all aspects of the new flavor.
Actual results:
Resize will fail wit the error message: "Host does not support
requested memory pagesize. Requested: 2048 kB _numa_fit_instance_cell
/usr/lib/python2.7/site-packages/nova/virt/hardware.py:936"
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1831269/+subscriptions