Boto fails to boot instances with a security group
Bug #1200734 reported by
Koji
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Low
|
Unassigned | ||
ec2-api |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Some of our users are having an issue when booting instances on OpenStack with using Boto. It seems Boto is having an issue with Nova when it assigns a security group at booting instances.
Here's a simple example to make the issue happens.
image = conn.get_
for a in range (20):
image.
Several instances fail to boot with error status.
But the follows is fine.
image = conn.get_
for a in range (20):
image.
Here's the version info.
Nova: 2012.1.
Boto: 2.9.7
Thanks and best regards,
Koji
tags: | added: ec2 network |
Changed in nova: | |
status: | New → Triaged |
Changed in nova: | |
importance: | Undecided → Low |
Changed in ec2-api: | |
status: | New → Incomplete |
Changed in nova: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
I see this error log on the nova-compute.
2013-07-12 14:50:13 ERROR nova.compute. manager [req-33af7629- c8ba-45b4- 83a1-45b9c70afa 77 2655a21658cd4b9 9a14bae40698db0 0b 461884eef90047f bb4eb9ec92f22a1 e3] [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] Instance failed network setup manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] Traceback (most recent call last): manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 584, in _allocate_network manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] requested_ networks= requested_ networks) manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/network/ api.py" , line 178, in allocate_ for_instance manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] 'args': args}) manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ __init_ _.py", line 68, in call manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] return _get_impl( ).call( context, topic, msg, timeout) manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ impl_kombu. py", line 674, in call manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] return rpc_amqp. call(context, topic, msg, timeout, Connection.pool) manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 343, in call manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] rv = list(rv) manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 304, in __iter__ manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] self.done() manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/contextlib. py", line 24, in __exit__ manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] self.gen.next() manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 301, in __iter__ manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] self._iterator. next() manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc/ impl_kombu. py", line 572, in iterconsume manager [instance: e01cea61- 1cdf-4350- 8e8f-3fd1129a57 8f] yield self.ensure( _error_ call...
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.
2013-07-12 14:50:13 TRACE nova.compute.