Can not start instance - Liberty - CentOS7

asked 2016-02-26 12:08:49 -0600

Vladislav gravatar image

updated 2016-02-26 12:09:55 -0600

Dear collegues,

I am trying to start instance.

System requirements:

> cat /etc/*-release CentOS Linux
> release 7.2.1511 (Core) NAME="CentOS
> Linux" VERSION="7 (Core)" ID="centos"
> ID_LIKE="rhel fedora" VERSION_ID="7"
> PRETTY_NAME="CentOS Linux 7 (Core)"
> ANSI_COLOR="0;31"
> CPE_NAME="cpe:/o:centos:centos:7"
> HOME_URL="https://www.centos.org/"
> BUG_REPORT_URL="https://bugs.centos.org/"
> 
> CENTOS_MANTISBT_PROJECT="CentOS-7"
> CENTOS_MANTISBT_PROJECT_VERSION="7"
> REDHAT_SUPPORT_PRODUCT="centos"
> REDHAT_SUPPORT_PRODUCT_VERSION="7"
> 
> CentOS Linux release 7.2.1511 (Core)
> CentOS Linux release 7.2.1511 (Core)

nova --version
2.30.1

rpm -qa | grep openstack
openstack-packstack-7.0.0-0.10.dev1682.g42b3426.el7.noarch
python-openstackclient-1.7.2-1.el7.noarch
openstack-selinux-0.6.41-1.el7.noarch
openstack-nova-common-12.0.1-1.el7.noarch
openstack-neutron-7.0.1-1.el7.noarch
openstack-nova-novncproxy-12.0.1-1.el7.noarch
openstack-packstack-puppet-7.0.0-0.10.dev1682.g42b3426.el7.noarch
openstack-nova-compute-12.0.1-1.el7.noarch
openstack-nova-conductor-12.0.1-1.el7.noarch
openstack-nova-console-12.0.1-1.el7.noarch
openstack-neutron-linuxbridge-7.0.1-1.el7.noarch
openstack-puppet-modules-7.0.1-1.el7.noarch
openstack-neutron-ml2-7.0.1-1.el7.noarch
openstack-keystone-8.0.1-1.el7.noarch
openstack-utils-2015.2-1.el7.noarch
openstack-nova-cert-12.0.1-1.el7.noarch
openstack-nova-scheduler-12.0.1-1.el7.noarch
centos-release-openstack-liberty-1-4.el7.noarch
openstack-dashboard-8.0.0-1.el7.noarch
openstack-nova-api-12.0.1-1.el7.noarch
openstack-neutron-common-7.0.1-1.el7.noarch
openstack-glance-11.0.1-2.el7.noarch
python2-django-openstack-auth-2.0.1-1.el7.noarch

When trying to start instance through Horizon it fails with error:

Error: Failed to perform requested operation on instance "test-instance", the instance has an error status: Please try again later [Error: Build of instance baa0ef0e-83a7-442e-90f2-632a803f0e01 aborted: Could not clean up failed build, not rescheduling].

When trying to start via CLI:

nova --debug boot --flavor m1.medium --image cirros --nic net-id=256eea0b-06fe-49a0-880d-6ecc8afeff5a --security-group default --key-name vladf public-instance

In nova-compute.log I get strange errors:

2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager Traceback (most recent call last):
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1564, in _allocate_network_async
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager     dhcp_options=dhcp_options)
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 620, in allocate_for_instance
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager     get_client(context, admin=True))
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager     return self.get_access(session).auth_token
2016-02-26 14:49:04.335 12349 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-02-26 14:49:04.335 12349 ERROR nova.compute ...
(more)
edit retag flag offensive close merge delete

Comments

Run as admin (i.e. source keystonerc_admin) on Controller :-

# neutron agent-list
# nova service-list
# nova hypervisor-list
dbaxps gravatar imagedbaxps ( 2016-02-26 13:10:57 -0600 )edit