nova-network not working with python-lockfile version 0.9.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried using the latest version of python-lockfile (0.9.1), but there's a problem in nova/utils.py...
---snip---
2011-04-18 16:46:11,715 AUDIT nova [-] Starting network node (version 2011.3-
2011-04-18 16:46:11,730 DEBUG nova.utils [-] Attempting to grab semaphore "iptables" for method "apply"... from (pid=26289) inner /usr/lib64/
2011-04-18 16:46:11,730 DEBUG nova.utils [-] Attempting to grab file lock "iptables" for method "apply"... from (pid=26289) inner /usr/lib64/
2011-04-18 16:46:11,731 CRITICAL nova [-] unsupported operand type(s) for &: 'NoneType' and 'int'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: service.serve()
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: x.start()
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: self.manager.
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: super(FlatDHCPM
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: self.driver.
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: iptables_
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: lock = lockfile.
(nova): TRACE: File "/usr/lib64/
(nova): TRACE: self.tname = "-%x" % (ident & 0xffffffff)
(nova): TRACE: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
(nova): TRACE:
---snap---
yes, this is a bug in python-lockfile (see http:// code.google. com/p/pylockfil e/issues/ detail? id=8#c6) but we specify using version 0.8 in the tools/pip-requires file so it's not our problem (AFAIK).