Can't spawn VM in a certain compute node even though its enabled and has resources
Issue
- Can't spawn VM in a certain compute node even though its enabled and has resources
- When spawning an instance "No Valid Host" error is seen in horizon.
- nova-compute.log
40cf-bc7d-aa07e9966b07] Starting instance...
2016-02-24 03:08:06.953 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Attempting claim: memory 65536 MB, disk 160 GB, VCPUs 24
2016-02-24 03:08:06.954 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Total memory: 193235 MB, used: 107008.00 MB
2016-02-24 03:08:06.954 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] memory limit: 193235.00 MB, free: 86227.00 MB
2016-02-24 03:08:06.955 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Total disk: 1505 GB, used: 560.00 GB
2016-02-24 03:08:06.955 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] disk limit not specified, defaulting to unlimited
2016-02-24 03:08:06.956 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Total CPUs: 40 VCPUs, used: 28.00 VCPUs
2016-02-24 03:08:06.956 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] CPUs limit: 80.00 VCPUs, free: 52.00 VCPUs
2016-02-24 03:08:06.957 4943 AUDIT nova.compute.claims [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Claim successful
2016-02-24 03:08:07.363 4943 INFO nova.virt.libvirt.driver [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Creating image
2016-02-24 03:08:07.792 4943 ERROR nova.compute.manager [req-fa67aef4-3e1e-431c-914f-7b9d9650f6b6 30293781ada04264824c48be20dfa887 0a866d0a15154cab9a21e025390a4599] [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Instance failed to spawn
2016-02-24 03:08:07.792 4943 TRACE nova.compute.manager [instance: 5554a8cc-2a21-40cf-bc7d-aa07e9966b07] Traceback (most recent call last):
- glance-api.log
File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (OperationalError) (1045, "Access denied for user 'glance'@'controller-node' (using password: YES)") None None
Environment
- Red Hat OpenStack 5.0 on RHEL 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.