Setting non blocking libvirt flag causes __str__ error on virConnect
Bug #962840 reported by
Devin Carlen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Yun Mao | ||
Essex |
Fix Released
|
High
|
Unassigned |
Bug Description
If you set the --libvirt_
(nova.rpc.amqp): TRACE: AttributeError: virConnect instance has no attribute '__str__'
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return self._obj.__str__()
Changed in nova: | |
status: | Incomplete → Confirmed |
tags: | removed: essex-rc-potential |
Changed in nova: | |
milestone: | none → folsom-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
To post a comment you must log in.
with trunk codes I failed to reproduce it on redhat 6.2: client- 0.9.6-2. el6.x86_ 64 java-devel- 0.4.7-1. el6.noarch python- 0.9.6-2. el6.x86_ 64 0.9.6-2. el6.x86_ 64 java-0. 4.7-1.el6. noarch devel-0. 9.6-2.el6. x86_64
[root@robinlinux ~]# rpm -qa | grep libvirt
libvirt-
libvirt-
libvirt-
libvirt-
libvirt-
libvirt-
[root@robinlinux ~]# python --version
Python 2.6.6
and devstack:
libvirt 0.9.2, python 2.7.2+
my nova.conf is: /var/log/ nova /var/lib/ nova /var/lib/ nova/tmp path=/var/ lib/nova/ instances driver= nova.scheduler. simple. SimpleScheduler flagfile= /etc/nova/ nova.conf 10.10.10. 0/24 extension= nova.api. openstack. compute. contrib. standard_ extensions interface= br100 mysql:/ /nova:nova@ localhost/ nova name_template= instance- %08x base_url=http:// 127.0.0. 1:6080/ vnc_auto. html base_url=http:// 127.0.0. 1:6081/ console listen= 127.0.0. 1 proxyclient_ address= 127.0.0. 1 config= /etc/nova/ api-paste. ini nova.image. glance. GlanceImageServ ice host=127. 0.0.1 host=localhost password= guest api_servers= 127.0.0. 1:9292 type=libvirt nonblocking= true
[DEFAULT]
logdir=
state_path=
lock_path=
instances_
debug=True
scheduler_
dhcpbridge_
fixed_range=
s3_host=127.0.0.1
osapi_compute_
my_ip=127.0.0.1
public_
vlan_interface=eth0
sql_connection=
instance_
novncproxy_
xvpvncproxy_
vncserver_
vncserver_
api_paste_
image_service=
ec2_dmz_
rabbit_
rabbit_
glance_
connection_
libvirt_type=kvm
libvirt_
.....