Failure to log warning when injection fails results in instance failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I failed to run instance when network_manager was FlatManager. The related log and version info was as followings.
nova-compute.log:
2011-03-11 14:13:51,326 DEBUG nova.utils [-] execution result: 1 from (pid=12476) execute /usr/lib/
2011-03-11 14:13:51,326 DEBUG nova.utils [-] execute command (subprocess): sudo umount /dev/nbd15 from (pid=12476) execute /usr/lib/
2011-03-11 14:13:53,015 DEBUG nova.utils [-] execute command (subprocess): rmdir /tmp/tmphKFfeW from (pid=12476) execute /usr/lib/
2011-03-11 14:13:53,068 DEBUG nova.utils [-] execute command (subprocess): sudo qemu-nbd -d /dev/nbd15 from (pid=12476) execute /usr/lib/
2011-03-11 14:13:53,178 ERROR nova.exception [-] Excpetion not caught
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: self._create_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: ' data into image %(img_id)s (%(e)s)') % locals())
(nova.exception): TRACE: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-25: ordinal not in range(128)
(nova.exception): TRACE:
2011-03-11 14:13:53,199 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
Version of nova-compute: 2011.2~
Contents of nova.conf:
--sql_connectio
--s3_host=ubuntu7
--rabbit_
--cc_host=
--ec2_url=http://
--daemonize=1
--dhcpbridge_
--dhcpbridge=
--FAKE_
--ca_path=
--keys_
--networks_
--instances_
--images_
--buckets_
--libvirt_type=kvm
--network_
--vlan_
--logdir=
--verbose
--volume_
--fixed_
--network_size=64
--lock_
summary: |
- Failed to run instance if network_manager was FlatManager + Failure to log warning when injection fails results in instance failure |
data injection is failing (probably due to the image you're using), which should just result in a warning message... but the warning log attempt fails with a real error.