Ask Your Question
0

Nova+Quantum+Openvswitch, two physical hosts, create VM, error

asked 2012-05-17 08:41:18 -0600

guestly gravatar image

I have two physical hosts, to create Nova+Quantum+Openvswitch. Both of the two hosts are installed all nova services. cc202 is the controller node and cc201 is the compute node. cc202:

nova-manage service list

2012-05-17 16:01:51 DEBUG nova.utils [req-9c491041-a017-4b74-97eb-57325ceb3963 None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" python2.7="" dist-packages="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=5151) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-compute cc202 nova enabled :-) 2012-05-17 08:01:32 nova-network cc202 nova enabled :-) 2012-05-17 08:01:47 nova-scheduler cc202 nova enabled :-) 2012-05-17 08:01:47 nova-consoleauth cc202 nova enabled :-) 2012-05-17 08:01:47 nova-scheduler cc201 nova enabled :-) 2012-05-17 08:01:47 nova-compute cc201 nova enabled :-) 2012-05-17 08:01:50 nova-network cc201 nova enabled :-) 2012-05-17 08:01:47

cc201:

nova-manage service list

2012-05-17 16:02:25 DEBUG nova.utils [req-fd82780f-1ca1-4ca3-9d01-e4c9a14998b4 None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" python2.7="" dist-packages="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=27584) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-compute cc202 nova enabled :-) 2012-05-17 08:02:15 nova-network cc202 nova enabled :-) 2012-05-17 08:02:17 nova-scheduler cc202 nova enabled :-) 2012-05-17 08:02:17 nova-consoleauth cc202 nova enabled :-) 2012-05-17 08:02:17 nova-scheduler cc201 nova enabled :-) 2012-05-17 08:02:17 nova-compute cc201 nova enabled :-) 2012-05-17 08:02:24 nova-network cc201 nova enabled :-) 2012-05-17 08:02:17

is that normal? all services except nova-consoleauth had been double created! And when I created VM on cc202, It wasn't successful.

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2012-05-17 17:15:48 -0600

somikbehera gravatar image

This is not normal, I assume you have followed and incorrect install process. I would check http://docs.openstack.org or devstack.org's instructions on multi-node install.

If devstack is not stable, I would file an issue on devstack.

Thanks, Somik

edit flag offensive delete link more
0

answered 2012-05-17 20:16:52 -0600

med gravatar image

Havent:

I'll reiterate what Somik says, this is NOT a normal configuration.

Take a look at what devstack recommends and understand that your second compute node can be much simpler than the first.

You might also want to refer to the Admin Guide and one of the 3rd party install guides (maybe this one: https://lists.launchpad.net/openstack...

edit flag offensive delete link more
0

answered 2012-05-18 01:21:51 -0600

guestly gravatar image

I just follow this https://lists.launchpad.net/openstack/pdfuNjHGvU5UA.pdf (https://lists.launchpad.net/openstack...) instructions, but has that result :-(

edit flag offensive delete link more
0

answered 2012-05-18 02:07:15 -0600

guestly gravatar image

I replace the nova.conf file with https://lists.launchpad.net/openstack/pdfuNjHGvU5UA.pdf (https://lists.launchpad.net/openstack...) mentioned, and now nova-compute server doesn't work on my second physical host essex-2! nova-compute.log:

2012-05-18 09:53:37 CRITICAL nova [-] Unable to read from monitor: Connection reset by peer 2012-05-18 09:53:37 TRACE nova Traceback (most recent call last): 2012-05-18 09:53:37 TRACE nova File "/usr/bin/nova-compute", line 49, in <module> 2012-05-18 09:53:37 TRACE nova service.wait() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait 2012-05-18 09:53:37 TRACE nova _launcher.wait() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait 2012-05-18 09:53:37 TRACE nova service.wait() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait 2012-05-18 09:53:37 TRACE nova return self._exit_event.wait() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2012-05-18 09:53:37 TRACE nova return hubs.get_hub().switch() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch 2012-05-18 09:53:37 TRACE nova return self.greenlet.switch() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main 2012-05-18 09:53:37 TRACE nova result = function(args, *kwargs) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server 2012-05-18 09:53:37 TRACE nova server.start() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in start 2012-05-18 09:53:37 TRACE nova self.manager.init_host() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 247, in init_host 2012-05-18 09:53:37 TRACE nova self.reboot_instance(context, instance['uuid']) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped 2012-05-18 09:53:37 TRACE nova return f(args, *kw) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in decorated_function 2012-05-18 09:53:37 TRACE nova function(self, context, instance_uuid, args, *kwargs) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function 2012-05-18 09:53:37 TRACE nova sys.exc_info()) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-05-18 09:53:37 TRACE nova self.gen.next() 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function 2012-05-18 09:53:37 TRACE nova return function(self, context, instance_uuid, args, *kwargs) 2012-05-18 09:53:37 TRACE nova File "/usr/lib/python2.7/dist-packages ... (more)

edit flag offensive delete link more
0

answered 2012-05-18 04:48:38 -0600

gongysh gravatar image

kill libvirt and restart it.

edit flag offensive delete link more
0

answered 2012-07-06 01:07:11 -0600

guestly gravatar image

Thanks Somik Behera, that solved my question.

edit flag offensive delete link more

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: 2012-05-17 08:41:18 -0600

Seen: 46 times

Last updated: Jul 06 '12