[Openstack] nova assign isntances to cpu pinning

Manuel Sopena Ballesteros manuel.sb at garvan.org.au
Tue Feb 7 00:19:01 UTC 2017


Hi,

I am trying to isolate my instances by cpu socket in order to improve my NUMA hardware performance.

[root at openstack-dev ~(keystone_admin)]# nova aggregate-set-metadata numa pinned=true
Metadata has been successfully updated for aggregate 1.
+----+--------+--------------------+--------+--------------------+
| Id | Name | Availability Zone | Hosts | Metadata            |
+----+--------+--------------------+--------+--------------------+
| 1  | numa   | -                               |             | 'pinned=true'     |
+----+--------+--------------------+--------+--------------------+

I have done the changes on the nova metadata but my admin can't see the instances

[root at openstack-dev ~(keystone_admin)]# nova aggregate-add-host numa 4d4f3c3f-2894-4244-b74c-2c479e296ff8
ERROR (NotFound): Compute host 4d4f3c3f-2894-4244-b74c-2c479e296ff8 could not be found. (HTTP 404) (Request-ID: req-286985d8-d6ce-429e-b234-dd5eac5ad62e)

And the user who has access to those instances does not have privileges to add the hosts

[root at openstack-dev ~(keystone_myuser)]# nova aggregate-add-host numa 4d4f3c3f-2894-4244-b74c-2c479e296ff8
ERROR (Forbidden): Policy doesn't allow os_compute_api:os-aggregates:index to be performed. (HTTP 403) (Request-ID: req-a5687fd4-c00d-4b64-af9e-bd5a82eb99c1)

What would be the recommended way to do this?

Thank you very much

Manuel Sopena Ballesteros | Big data Engineer
Garvan Institute of Medical Research
The Kinghorn Cancer Centre, 370 Victoria Street, Darlinghurst, NSW 2010
T: + 61 (0)2 9355 5760 | F: +61 (0)2 9295 8507 | E: manuel.sb at garvan.org.au<mailto:manuel.sb at garvan.org.au>

NOTICE
Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170207/3b9dabd0/attachment.html>


More information about the Openstack mailing list