Network Worker crashes on start with Eventlet Error
This bug report was converted into a question: question #146545: Network Worker crashes on start with Eventlet Error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running trunk of nova, I get this traceback immediately on starting the network worker:
2011-02-15 21:39:18,111 CRITICAL nova.root [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:4>', mode 'wb' at 0x248db00>
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "bin/nova-network", line 44, in <module>
(nova.root): TRACE: service.serve()
(nova.root): TRACE: File "/root/
(nova.root): TRACE: x.start()
(nova.root): TRACE: File "/root/
(nova.root): TRACE: self.manager.
(nova.root): TRACE: File "/root/
(nova.root): TRACE: super(VlanManager, self).init_host()
(nova.root): TRACE: File "/root/
(nova.root): TRACE: self.driver.
(nova.root): TRACE: File "/root/
(nova.root): TRACE: check_exit_
(nova.root): TRACE: File "/root/
(nova.root): TRACE: return utils.execute(cmd, *args, **kwargs)
(nova.root): TRACE: File "/root/
(nova.root): TRACE: stdout=
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: wrapped_pipe = greenio.
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: raise TypeError('f(ile) should be int, str, unicode or file, not %r' % f)
(nova.root): TRACE: TypeError: f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:4>', mode 'wb' at 0x248db00>
(nova.root): TRACE:
It appears to have been introduced in rev 674.
http://
Changed in nova: | |
status: | New → Invalid |
You need the new eventlet package from the ppa
On Feb 15, 2011, at 7:38 PM, Antony Messerli wrote:
> Public bug reported: openstack/ blah/nova/ nova/service. py", line 231, in serve openstack/ blah/nova/ nova/service. py", line 81, in start init_host( ) openstack/ blah/nova/ nova/network/ manager. py", line 470, in init_host openstack/ blah/nova/ nova/network/ manager. py", line 124, in init_host init_host( ) openstack/ blah/nova/ nova/network/ linux_net. py", line 118, in init_host code=False) openstack/ blah/nova/ nova/network/ linux_net. py", line 383, in _execute openstack/ blah/nova/ nova/utils. py", line 133, in execute subprocess. PIPE, stderr= subprocess. PIPE, env=env) lib/python2. 6/dist- packages/ eventlet- 0.9.14- py2.6.egg/ eventlet/ green/subproces s.py", line 31, in __init__ GreenPipe( pipe, pipe.mode, bufsize) lib/python2. 6/dist- packages/ eventlet- 0.9.14- py2.6.egg/ eventlet/ greenio. py", line 386, in __init__ bazaar. launchpad. net/~hudson- openstack/ nova/trunk/ revision/ 674 /bugs.launchpad .net/bugs/ 719765
>
> Running trunk of nova, I get this traceback immediately on starting the network worker:
> 2011-02-15 21:39:18,111 CRITICAL nova.root [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:4>', mode 'wb' at 0x248db00>
> (nova.root): TRACE: Traceback (most recent call last):
> (nova.root): TRACE: File "bin/nova-network", line 44, in <module>
> (nova.root): TRACE: service.serve()
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: x.start()
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: self.manager.
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: super(VlanManager, self).init_host()
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: self.driver.
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: check_exit_
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: return utils.execute(cmd, *args, **kwargs)
> (nova.root): TRACE: File "/root/
> (nova.root): TRACE: stdout=
> (nova.root): TRACE: File "/usr/local/
> (nova.root): TRACE: wrapped_pipe = greenio.
> (nova.root): TRACE: File "/usr/local/
> (nova.root): TRACE: raise TypeError('f(ile) should be int, str, unicode or file, not %r' % f)
> (nova.root): TRACE: TypeError: f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:4>', mode 'wb' at 0x248db00>
> (nova.root): TRACE:
>
> It appears to have been introduced in rev 674.
>
> http://
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https:/
>
> Title:
> Network Worker crashes on start with Eventlet Error
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> Running trunk of nova, I get this traceback immediately on starting the network worker:
> 2011-02-15 21:39:18,111 CRITICAL nova.root [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:4>', mode 'wb' at 0x248db00>
> (nova.root): TRACE: Traceback (most recent call last):
> (nova.root): TRACE: File "bin/nova-network", line 44, in <module>
> (nova.root): TRACE: service.serve()
> (nova.roo...