Comment 2 for bug 1089734

Revision history for this message
Jiajun-xu (jiajun-xu) wrote :

If we upgrade WebOb to 1.2dev, g-api will report following error:

##########
012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/service.py", line 592, in start
2012-12-16 22:47:30 TRACE nova.service self.manager.init_host()
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/api/manager.py", line 43, in init_host
2012-12-16 22:47:30 TRACE nova.service self.network_driver.metadata_accept()
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 545, in metadata_accept
2012-12-16 22:47:30 TRACE nova.service iptables_manager.apply()
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 358, in apply
2012-12-16 22:47:30 TRACE nova.service self._apply()
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 220, in inner
2012-12-16 22:47:30 TRACE nova.service retval = f(*args, **kwargs)
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 378, in _apply
2012-12-16 22:47:30 TRACE nova.service attempts=5)
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 999, in _execute
2012-12-16 22:47:30 TRACE nova.service return utils.execute(*cmd, **kwargs)
2012-12-16 22:47:30 TRACE nova.service File "/opt/stack/nova/nova/utils.py", line 239, in execute
2012-12-16 22:47:30 TRACE nova.service cmd=' '.join(cmd))
2012-12-16 22:47:30 TRACE nova.service ProcessExecutionError: Unexpected error while running command.
2012-12-16 22:47:30 TRACE nova.service Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c -t filter
2012-12-16 22:47:30 TRACE nova.service Exit code: 1
2012-12-16 22:47:30 TRACE nova.service Stdout: ''
2012-12-16 22:47:30 TRACE nova.service Stderr: 'Traceback (most recent call last):\n File "/usr/bin/nova-rootwrap", line 4, in <module>\n from pkg_resources import require; require(\'nova==2013.1\')\n File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2811, in <module>\n parse_requirements(__requires__), Environment()\n File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve\n raise DistributionNotFound(req)\npkg_resources.DistributionNotFound: WebOb==1.0.8\n'
2012-12-16 22:47:30 TRACE nova.service
##########