Ask Your Question
0

The server has either erred or is incapable of performing the requested operation when launch instance on virtual machine.

asked 2015-03-17 04:50:58 -0500

Vincent.Wang gravatar image

updated 2015-03-18 21:39:25 -0500

I set up an openstack system, with one controller node, one network node, one compute node, one block node. But all the nodes are virtual machine. I setup this system follow the latest guide of Juno version on CentOS 7.0. Everything goes well but report this error when launch an instance. I open the debug log of nova module, and get some trace information:

...

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 48, in wrapped

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 405, in validate_networks

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     requested_networks)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 245, in validate_networks

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     return self.client.call(ctxt, 'validate_networks', networks=networks)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in call

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     return self.prepare().call(ctxt, method, **kwargs)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     retry=self.retry)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     timeout=timeout, retry=retry)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-

packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     retry=retry)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-

packages/oslo/messaging/_drivers/amqpdriver.py", line 397, in _send

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     result = self._waiter.wait(msg_id, timeout)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-

packages/oslo/messaging/_drivers/amqpdriver.py", line 285, in wait

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     reply, ending = self._poll_connection(msg_id, timeout)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-

packages/oslo/messaging/_drivers/amqpdriver.py", line 235, in _poll_connection

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack     % msg_id)

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID 7dba16118d384aa6b16f344c7c6578c8

2015-03-16 06:00:58.449 30700 TRACE nova.api.openstack

2015-03-16 06:00:58.453 30700 INFO nova.api.openstack ...
(more)
edit retag flag offensive close merge delete

Comments

Run on Controller:-

systemctl status rabbitmq-server
dbaxps gravatar imagedbaxps ( 2015-03-17 08:40:24 -0500 )edit

Then on Controller

. keystonerc_admin
openstack-status
dbaxps gravatar imagedbaxps ( 2015-03-17 08:44:29 -0500 )edit

Thanks for your reply. For the characters limit, I only list the inactive items: openstack-nova-compute openstack-nova-network neutron-dhcp-agent neutron-l3-agent neutron-metadata-agent neutron-lbaas-agent openstack-cinder-volume openstack-cinder-backup Could you tell me which one should up and how?

Vincent.Wang gravatar imageVincent.Wang ( 2015-03-17 21:41:11 -0500 )edit

@Vincent,please, add update to your question. It's not forbidden. You may make thing much easier for me formatting text via highlighting with button "101010". Please, add info exactly as I requested, discussion with comments limit is not effective. I will answer using answer field.

dbaxps gravatar imagedbaxps ( 2015-03-18 00:39:17 -0500 )edit

I believe you have problem with AMQP broker - service rabbitmq-server, that is why I am requesting it's status.

dbaxps gravatar imagedbaxps ( 2015-03-18 00:41:27 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-19 01:10:37 -0500

dbaxps gravatar image

Using as comment

Activating nova-network causes switching to old style legacy networking.
Nova-network showld be disabled and neutron services enabled 
neutron-dhcp-agent: inactive (disabled on boot)
neutron-l3-agent: inactive (disabled on boot)
neutron-metadata-agent: inactive (disabled on boot)
Network will provided by neutron in this case.

I also noticed :-

mysqld: inactive (disabled on boot)

mysqld service should be running, otherwise system won't work.

edit flag offensive delete link more

Comments

Hi dbaxps Do you mean I need enable neutron-dhcp-agent,neutron-l3-agent,neutron-metadata-agent And also mysqld. Thanks

Vincent.Wang gravatar imageVincent.Wang ( 2015-03-20 01:27:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-17 04:50:58 -0500

Seen: 702 times

Last updated: Mar 19 '15