Hello guys,
I am fairly new to Openstack and am building a home lab to experiment with
it at my own pace.

Here's my present setup:

host/hypervisor: vmware workstation 10 (1 xeon 4 cores, 40 GB RAM)
os: Centos 7
openstack realease: Newton

Architecture is fairly simple:

1x Controller node (1 vcpu, 4 GB RAM)
1x Compute node (1   vcpu, 4 GB RAM)

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.

The issue has been confirmed using Horizon as well (instance creation fails
with same errors)


*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*

root@controller1 ~]# openstack server list
+--------------------------------------+----------------------+--------+----------+------------+
| ID                                   | Name                 | Status |
Networks | Image Name |
+--------------------------------------+----------------------+--------+----------+------------+
| 2a100590-6d7c-4d04-aecb-9dc2011252f5 | selfservice-instance | ERROR  |
      | cirros     |

*openstack server show selfservice-instance*
....
fault                                | {u'message': u'No valid host was
found. There are not enough hosts available.', u'code': 500

*nova-scheduler.log*

Filter results: ['RetryFilter: (start: 1, end: 0)']

['RetryFilter: (start: 1, end: 0)']

As for the installation process I followed the openstack official
documentation at

*https://docs.openstack.org/newton/install-guide-rdo/index.html
<https://docs.openstack.org/newton/install-guide-rdo/index.html> *

After a bit of digging I've found that the instance had failed network setup

*/var/log/nova/nova-compute.log*

2018-03-05 11:35:08.939 20920 ERROR nova.compute.manager
[req-b252833b-e6b4-43ac-8d95-5ccec002e74c e35fc188170d4144a9cd4d30f9eab65c
bad15e4bc5714298b275e2f45ec8a6ff - - -] *Instance failed network setup
after 1 attempt(s)*

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

Rabbitmq seems to work fine and communications between controller and
compute nodes work as expected (no logs to prove otherwise found).

Just in case here's the output of 'openstack network list' in case anyone
was wondering whether or not openstack had interfaces to play with.

I am using QEMU with KVM acceleration.

*[root@controller1 etc]# openstack network list*
+--------------------------------------+-------------+--------------------------------------+
| ID                                   | Name        | Subnets
                |
+--------------------------------------+-------------+--------------------------------------+
| 982445b2-deb9-4308-8580-9de20992c4dd | provider    |
ccd0290f-1640-4354-b56d-1a95c8c19ec0 |
| cd37f4c3-7860-4183-8901-deeb48448fe4 | selfservice |
6096dff6-4567-4666-9e10-6dd718514e86 |
+--------------------------------------+-------------+--------------------------------------+

Clues anyone ?

Thanks in advance

Cheers
Andrea
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to