nova-compute: can't spawn new instances after restarting RabbitMQ
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Sandy Walsh |
Bug Description
I restarted rabbitmq server and afterwards several services are not reconnecting to the server (nova-compute, nova-api).
nova-scheduler reconnects successfully:
2011-02-14 16:54:46,144 ERROR nova.rpc [-] Reconnected to queue
but other services (I checked nova-compute and nova-api) aren't reconnecting.
i tried spawning a new instance without success (only getting an unknown error..):
# euca-run-instances ami-3x776h8w -t m1.tiny
UnknownError: An unknown error has occurred. Please try your request again.
nova-api, nova-scheduler are not reconnecting:
2011-02-14 16:54:40,786 ERROR nova.rpc [-] Failed to fetch message from queue
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: super(Consumer, self).fetch(no_ack, auto_ack, enable_callbacks)
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: message = self.backend.
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: raw_message = self.channel.
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: (60, 72), # Channel.
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: self.channel_id, allowed_methods)
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: self.wait()
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: return amqp_method(self, args)
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: self._x_close_ok()
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: self._send_
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: method_sig, args, content)
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: self.dest.
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: frame_type, channel, size, payload, 0xce))
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: tail = self.send(data, flags)
(nova.rpc): TRACE: File "/usr/lib64/
(nova.rpc): TRACE: total_sent += fd.send(
(nova.rpc): TRACE: error: [Errno 32] Broken pipe
(nova.rpc): TRACE:
Related branches
- termie (community): Approve
- Josh Kearney (community): Approve
-
Diff: 32 lines (+10/-3)1 file modifiednova/rpc.py (+10/-3)
- Devin Carlen (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 12 lines (+0/-2)1 file modifiednova/rpc.py (+0/-2)
Changed in nova: | |
assignee: | nobody → Sandy Walsh (sandy-walsh) |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
status: | Incomplete → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
after restarting nova-compute and nova-api i can spawn new instances, but i think they should reconnect to the queue automatically...
# euca-run-instances ami-3x776h8w -t m1.tiny
RESERVATION r-7x789omn testing default
INSTANCE i-0000000d ami-3x776h8w scheduling None (testing, None) 2011-02-14 17:03:07 None None