Compute Quota Per Zone

Solution In Progress - Updated -

Issue

  • Compute quotas allocated to system default still have plenty of vCPU and MEM, but when compute host under a zone reaches its physical limit, new instance creation is rejected. It should either enable quotas settings for each zone/each compute, or let the system default be applied to each zone.

  • System default set 160 vCPUs and 307200M Mem, but when zone one with one compute host reaches its physical limit, 32 CPU and 62G RAM, new VM launching is rejected due to the following error:

| fault                               | {'code': 500, 'created': '2020-02-24T14:21:18Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n  File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 1333, in schedule_and_build_instances\n    instance_uuids, return_alternates=True)\n  File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 839, in _schedule_instances\n    return_alternates=return_alternates)\n  File "/usr/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n    instance_uuids, return_objects, return_alternates)\n  File "/usr/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n    return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n  File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 181, in call\n    transport_options=self.transport_options)\n  File "/usr/lib/python3.6/site-packages/oslo_messaging/transport.py", line 129, in _send\n    transport_options=transport_options)\n  File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 646, in send\n    transport_options=transport_options)\n  File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 636, in _send\n    raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n  File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 235, in inner\n    return func(*args, **kwargs)\n\n  File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 199, in select_destinations\n    raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} |
  • The following availability zones are available:
[stack@director ~]$ source overcloudrc
(overcloud) [stack@director ~]$ nova availability-zone-list
+----------------------------------------+----------------------------------------+
| Name                                   | Status                                 |
+----------------------------------------+----------------------------------------+
| internal                               | available                              |
| |- overcloud-controller-0.localdomain  |                                        |
| | |- nova-conductor                    | enabled :-) 2020-02-24T14:23:20.000000 |
| | |- nova-scheduler                    | enabled :-) 2020-02-24T14:23:25.000000 |
| zone-1                                 | available                              |
| |- overcloud-compute-0.localdomain |                                        |
| | |- nova-compute                      | enabled :-) 2020-02-24T14:23:22.000000 |
| zone-2                                 | available                              |
| |- overcloud-compute-1.localdomain |                                        |
| | |- nova-compute                      | enabled :-) 2020-02-24T14:23:22.000000 |
+----------------------------------------+----------------------------------------+

Environment

  • Red Hat OpenStack Platform 16.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content