<div dir="ltr">Hello guys, <div>I am fairly new to Openstack and am building a home lab to experiment with it at my own pace.</div><div><br></div><div>Here's my present setup:</div><div><br></div><div>host/hypervisor: vmware workstation 10 (1 xeon 4 cores, 40 GB RAM)</div><div>os: Centos 7</div><div>openstack realease: Newton</div><div><br></div><div>Architecture is fairly simple: </div><div><br></div><div>1x Controller node (1 vcpu, 4 GB RAM) </div><div>1x Compute node (1 

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>vcpu, 4 GB RAM)</span></div><div><br></div><div>After a couple of days of work I now have a working lab but am stuck not being able to create and start basic cirros instance.</div><div><br></div><div>The issue has been confirmed using Horizon as well (instance creation fails with same errors)</div><div><br></div><div><b>root@controller1 nova]# openstack server create --flavor m1.nano --image cirros --nic net-id=cd37f4c3-7860-4183-8901-deeb48448fe4 --security-group default   --key-name mykey selfservice-instance<br></b></div><div><br></div><div><div>root@controller1 ~]# openstack server list</div><div>+--------------------------------------+----------------------+--------+----------+------------+</div><div>| ID                                   | Name                 | Status | Networks | Image Name |</div><div>+--------------------------------------+----------------------+--------+----------+------------+</div><div>| 2a100590-6d7c-4d04-aecb-9dc2011252f5 | selfservice-instance | ERROR  |          | cirros     |</div></div><div><br></div><div><b>openstack server show selfservice-instance</b><br></div><div>....</div><div>fault                                | {u'message': u'No valid host was found. There are not enough hosts available.', u'code': 500<br></div><div><br></div><div><b>nova-scheduler.log</b><br></div><div><br></div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Filter results: ['RetryFilter: (start: 1, end: 0)']<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">['RetryFilter: (start: 1, end: 0)']</div>

</div><div><br></div><div>As for the installation process I followed the openstack official documentation at</div><div><br></div><div><b><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="https://docs.openstack.org/newton/install-guide-rdo/index.html">https://docs.openstack.org/newton/install-guide-rdo/index.html</a></span>

</b><br></div><div><br></div><div>After a bit of digging I've found that the instance had failed network setup</div><div><br></div><div><b>/var/log/nova/nova-compute.log</b><br></div><div><br></div><div><div>2018-03-05 11:35:08.939 20920 ERROR nova.compute.manager [req-b252833b-e6b4-43ac-8d95-5ccec002e74c e35fc188170d4144a9cd4d30f9eab65c bad15e4bc5714298b275e2f45ec8a6ff - - -] <b>Instance failed network setup after 1 attempt(s)</b></div></div><div><br></div><div>Up to this point I reviewed the whole configuration several time with a special focus on nova<>neutron integration but at present I haven't been able to figure out what is going on</div><div><br></div><div>Rabbitmq seems to work fine and communications between controller and compute nodes work as expected (no logs to prove otherwise found).</div><div><br></div><div><div>Just in case here's the output of '<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">openstack network list' in case anyone was wondering whether or not openstack had interfaces to play with. </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>I am using QEMU with KVM acceleration.</div><div><br></div><div><b>[root@controller1 etc]# openstack network list</b><br></div><div>+--------------------------------------+-------------+--------------------------------------+</div><div>| ID                                   | Name        | Subnets                              |</div><div>+--------------------------------------+-------------+--------------------------------------+</div><div>| 982445b2-deb9-4308-8580-9de20992c4dd | provider    | ccd0290f-1640-4354-b56d-1a95c8c19ec0 |</div><div>| cd37f4c3-7860-4183-8901-deeb48448fe4 | selfservice | 6096dff6-4567-4666-9e10-6dd718514e86 |</div><div>+--------------------------------------+-------------+--------------------------------------+</div></div><div><br></div><div>Clues anyone ?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Cheers</div><div>Andrea</div></div>