<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have a new Openstack cloud running in our lab, but I am unable to launch instances. This is Ocata running on Ubuntu 16.04.2
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Here are the errors I am getting when trying to launch an instance:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">On my controller node in log file /var/log/nova/nova-conductor.log<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager [req-a9beeb33-9454-47a2-96e2-908d5b1e4c46 b07949d8ae7144049851c7abb39ac6db 4fd0307bf4b74c5a8718b180c24c7cff - - -] Failed to schedule instances<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 866, in schedule_and_build_instances<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager request_specs[0].to_legacy_filter_properties_dict())<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 597, in _schedule_instances<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager hosts = self.scheduler_client.select_destinations(context, spec_obj)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 371, in wrapped<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return func(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return self.queryclient.select_destinations(context, spec_obj)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return getattr(self.instance, __name)(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return self.scheduler_rpcapi.select_destinations(context, spec_obj)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 129, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', **msg_args)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager retry=self.retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager timeout=timeout, retry=retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager retry=retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 449, in _send<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager raise result<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. There are not enough hosts available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 218, in inner<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager return func(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 98, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager dests = self.driver.select_destinations(ctxt, spec_obj)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager raise exception.NoValidHost(reason=reason)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager NoValidHost: No valid host was found. There are not enough hosts available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.656 2654 ERROR nova.conductor.manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:33.686 2654 DEBUG oslo_db.sqlalchemy.engines [req-a9beeb33-9454-47a2-96e2-908d5b1e4c46 b07949d8ae7144049851c7abb39ac6db 4fd0307bf4b74c5a8718b180c24c7cff - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
_check_effective_sql_mode /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:261<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-05-17 16:48:36.013 2654 WARNING nova.scheduler.utils [req-a9beeb33-9454-47a2-96e2-908d5b1e4c46 b07949d8ae7144049851c7abb39ac6db 4fd0307bf4b74c5a8718b180c24c7cff - - -] Failed to compute_task_build_instances:
No valid host was found. There are not enough hosts available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">The hypervisor is up:<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt">root@gvicopnstk01:/var/log/nova# openstack hypervisor list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+----+---------------------+-----------------+-----------------+-------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+----+---------------------+-----------------+-----------------+-------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 1 | gvicopnstk02 | QEMU | 192.168.241.115 | up |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Services are up:<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt">root@gvicopnstk01:/var/log/nova# openstack compute service list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+----+------------------+--------------+----------+---------+-------+----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| ID | Binary | Host | Zone | Status | State | Updated At |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+----+------------------+--------------+----------+---------+-------+----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 6 | nova-consoleauth | gvicopnstk01 | internal | enabled | up | 2017-05-17T21:07:00.000000 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 7 | nova-scheduler | gvicopnstk01 | internal | enabled | up | 2017-05-17T21:07:00.000000 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 9 | nova-conductor | gvicopnstk01 | internal | enabled | up | 2017-05-17T21:07:00.000000 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 24 | nova-compute | gvicopnstk02 | nova | enabled | up | 2017-05-17T21:07:07.000000 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I absolutely cannot figure out. It’s acting like there are no valid compute nodes available, but all the Openstack commands are coming back as status is up and running.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt">Andrew Wojnarek | Sr. Systems Engineer | ATS Group, LLC<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt">mobile 717.856.6901 | <a href="mailto:andy.wojnarek@TheATSGroup.com"><span style="color:#0000E9">andy.wojnarek@TheATSGroup.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="http://galileosuite.com/blog/"><b><span style="font-size:7.0pt;font-family:Verdana;color:#6B006D">Galileo Performance Explorer Blog</span></b></a></span><b><span style="font-size:7.0pt;font-family:Verdana;color:#535187"> Offers
Deep Insights for Server/Storage Systems</span></b><o:p></o:p></p>
</div>
</body>
</html>