Public bug reported: 011-12-21 15:45:40,643 DEBUG nova.utils [-] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:40,880 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=9454) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:525 2011-12-21 15:45:41,034 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab semaphore "get_dhcp" for method "_get_dhcp_ip"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:750 2011-12-21 15:45:41,035 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got semaphore "get_dhcp" for method "_get_dhcp_ip"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:754 2011-12-21 15:45:41,036 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab semaphore "ensure_bridge" for method "ensure_bridge"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:750 2011-12-21 15:45:41,036 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got semaphore "ensure_bridge" for method "ensure_bridge"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:754 2011-12-21 15:45:41,036 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab file lock "ensure_bridge" for method "ensure_bridge"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:758 2011-12-21 15:45:41,037 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got file lock "ensure_bridge" for method "ensure_bridge"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:769 2011-12-21 15:45:41,037 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): ip link show dev br100 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,044 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab semaphore "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:750 2011-12-21 15:45:41,045 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got semaphore "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:754 2011-12-21 15:45:41,045 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab file lock "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:758 2011-12-21 15:45:41,046 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got file lock "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:769 2011-12-21 15:45:41,046 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-save -t filter from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,072 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,093 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-save -t nat from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,122 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,142 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo ip addr show dev br100 scope global from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,161 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab semaphore "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:750 2011-12-21 15:45:41,162 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got semaphore "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:754 2011-12-21 15:45:41,162 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Attempting to grab file lock "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:758 2011-12-21 15:45:41,163 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Got file lock "iptables" for method "apply"... from (pid=9454) inner /usr/lib/python2.7/dist-packages/nova/utils.py:769 2011-12-21 15:45:41,163 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-save -t filter from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,192 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,455 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:41,456 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] ['sudo', 'iptables-restore'] failed. Retrying. from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:228 2011-12-21 15:45:41,707 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:41,730 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:41,732 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] ['sudo', 'iptables-restore'] failed. Retrying. from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:228 2011-12-21 15:45:42,503 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:42,528 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:42,529 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] ['sudo', 'iptables-restore'] failed. Retrying. from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:228 2011-12-21 15:45:43,662 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:43,694 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:43,695 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] ['sudo', 'iptables-restore'] failed. Retrying. from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:228 2011-12-21 15:45:44,187 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Running cmd (subprocess): sudo iptables-restore from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:198 2011-12-21 15:45:44,211 DEBUG nova.utils [4936e489-01e4-44c1-a588-8ffaacfde3fe None None] Result was 2 from (pid=9454) execute /usr/lib/python2.7/dist-packages/nova/utils.py:214 2011-12-21 15:45:44,228 CRITICAL nova [-] Unexpected error while running command. Command: sudo iptables-restore Exit code: 2 Stdout: '' Stderr: "iptables-restore v1.4.12: host/network `None' not found\nError occurred at line: 23\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n" (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-network", line 49, in <module> (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 393, in wait (nova): TRACE: _launcher.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 113, in wait (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait (nova): TRACE: return self._exit_event.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main (nova): TRACE: result = function(*args, **kwargs) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 83, in run_server (nova): TRACE: server.start() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 143, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1233, in init_host (nova): TRACE: NetworkManager.init_host(self) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 509, in init_host (nova): TRACE: self._setup_network(ctxt, network) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1323, in _setup_network (nova): TRACE: network_ref['vpn_private_address']) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 462, in ensure_vpn_forward (nova): TRACE: iptables_manager.apply() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 770, in inner (nova): TRACE: retval = f(*args, **kwargs) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 315, in apply (nova): TRACE: attempts=5) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 783, in _execute (nova): TRACE: return utils.execute(*cmd, **kwargs) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 222, in execute (nova): TRACE: cmd=' '.join(cmd)) (nova): TRACE: ProcessExecutionError: Unexpected error while running command. (nova): TRACE: Command: sudo iptables-restore (nova): TRACE: Exit code: 2 (nova): TRACE: Stdout: '' (nova): TRACE: Stderr: "iptables-restore v1.4.12: host/network `None' not found\nError occurred at line: 23\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n" (nova): TRACE:
ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nova-network 2012.1~e2-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5 Uname: Linux 3.2.0-5-generic x86_64 ApportVersion: 1.90-0ubuntu1 Architecture: amd64 Date: Wed Dec 21 15:47:47 2011 InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111218.1) NovaConf: Error: [Errno 13] Permission denied: '/etc/nova/nova.conf' PackageArchitecture: all ProcEnviron: LANGUAGE=en_US:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nova UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nova (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/907197 Title: ip address can't be injected into the instance when using lxc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907197/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs