computeNode don‘work,IOError: Socket closed
Hi,everyone:
I add a compute node(install ntp&nova-compute only,copy config from controller),use nova-manage service list is ok.
But,when I create a instance in compute node.
It show instance error.
I find error from /var/log/
2012-08-08 10:57:07 ERROR nova.rpc.common [-] Failed to consume message from queue: Socket closed
2012-08-08 10:57:07 TRACE nova.rpc.common Traceback (most recent call last):
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return method(*args, **kwargs)
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return self.connection
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return self.transport.
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return connection.
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return self.wait_
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common chanmap.keys(), allowed_methods, timeout=timeout)
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common channel, method_sig, args, content = read_timeout(
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return self.method_
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common raise m
2012-08-08 10:57:07 TRACE nova.rpc.common IOError: Socket closed
2012-08-08 10:57:07 TRACE nova.rpc.common
2012-08-08 10:57:07 INFO nova.rpc.common [-] Reconnecting to AMQP server on 172.18.32.7:5672
2012-08-08 10:57:07 ERROR nova.rpc.common [-] AMQP server on 172.18.32.7:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2012-08-08 10:57:07 TRACE nova.rpc.common Traceback (most recent call last):
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common self._connect()
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common self.connection
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return self.connection
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common self._connection = self._establish
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common conn = self.transport.
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common connect_
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common super(Connection, self)._
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common self.transport = create_
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common return TCPTransport(host, connect_timeout)
2012-08-08 10:57:07 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 10:57:07 TRACE nova.rpc.common raise socket.error, msg
2012-08-08 10:57:07 TRACE nova.rpc.common error: [Errno 111] ECONNREFUSED
2012-08-08 10:57:07 TRACE nova.rpc.common
2012-08-08 10:57:10 AUDIT nova.service [-] Starting scheduler node (version 2012.1-
2012-08-08 10:57:10 INFO nova.rpc.common [req-5ae8f2f4-
2012-08-08 11:00:11 INFO nova.rpc.common [req-7ef3bced-
2012-08-08 11:16:43 ERROR nova.rpc.common [-] Failed to consume message from queue: Socket closed
2012-08-08 11:16:43 TRACE nova.rpc.common Traceback (most recent call last):
2012-08-08 11:16:43 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 11:16:43 TRACE nova.rpc.common return method(*args, **kwargs)
2012-08-08 11:16:43 TRACE nova.rpc.common File "/usr/lib/
:$
2012-08-08 12:43:21 TRACE nova.rpc.common super(Connection, self)._
2012-08-08 12:43:21 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:43:21 TRACE nova.rpc.common self.transport = create_
2012-08-08 12:43:21 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:43:21 TRACE nova.rpc.common return TCPTransport(host, connect_timeout)
2012-08-08 12:43:21 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:43:21 TRACE nova.rpc.common raise socket.error, msg
2012-08-08 12:43:21 TRACE nova.rpc.common error: [Errno 111] ECONNREFUSED
2012-08-08 12:43:21 TRACE nova.rpc.common
2012-08-08 12:43:24 INFO nova.rpc.common [-] Reconnecting to AMQP server on 172.18.32.7:5672
2012-08-08 12:43:24 INFO nova.rpc.common [-] Connected to AMQP server on 172.18.32.7:5672
2012-08-08 12:44:25 ERROR nova.rpc.common [req-8e9ddc98-
2012-08-08 12:44:25 TRACE nova.rpc.common Traceback (most recent call last):
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return method(*args, **kwargs)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common publisher = cls(self.channel, topic, **kwargs)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common **options)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common self.reconnect(
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common channel=channel, routing_
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common self.declare()
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common self.exchange.
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common nowait=nowait)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return __sync_current(fun, *args, **kwargs)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return spawn(fun, *args, **kwargs).wait()
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return self._exit_
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return hubs.get_
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common return self.greenlet.
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common result = function(*args, **kwargs)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common (40, 11), # Channel.
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common self.channel_id, allowed_methods)
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common self.method_
2012-08-08 12:44:25 TRACE nova.rpc.common File "/usr/lib/
2012-08-08 12:44:25 TRACE nova.rpc.common raise m
2012-08-08 12:44:25 TRACE nova.rpc.common IOError: Socket closed
please help me!
thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- John Garbutt
- Solved:
- Last query:
- Last reply: