[Bug 1790956] Re: syntax error in manager.py ping_ip_address

Ryan Beisner 1790956 at bugs.launchpad.net
Wed Sep 5 21:03:52 UTC 2018


2018-09-05 20:16:31 DEBUG install Reading package lists...
2018-09-05 20:16:31 DEBUG install Building dependency tree...
2018-09-05 20:16:31 DEBUG install Reading state information...
2018-09-05 20:16:31 DEBUG install genisoimage is already the newest version (9:1.1.11-3ubuntu2).
2018-09-05 20:16:31 DEBUG install python-six is already the newest version (1.11.0-2).
2018-09-05 20:16:31 DEBUG install xfsprogs is already the newest version (4.9.0+nmu1ubuntu2).
2018-09-05 20:16:31 DEBUG install librbd1 is already the newest version (13.2.1+dfsg1-0ubuntu2~cloud0).
2018-09-05 20:16:31 DEBUG install nova-compute is already the newest version (2:18.0.0-0ubuntu3~cloud0).
2018-09-05 20:16:31 DEBUG install nova-compute-lxd is already the newest version (18.0.0~rc1-0ubuntu1~cloud0).
2018-09-05 20:16:31 DEBUG install python-psutil is already the newest version (5.4.6-1build1~cloud0).
2018-09-05 20:16:31 DEBUG install The following package was automatically installed and is no longer required:
2018-09-05 20:16:31 DEBUG install   grub-pc-bin
2018-09-05 20:16:31 DEBUG install Use 'apt autoremove' to remove it.
2018-09-05 20:16:31 DEBUG install 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2018-09-05 20:16:31 DEBUG install 3 not fully installed or removed.
2018-09-05 20:16:31 DEBUG install After this operation, 0 B of additional disk space will be used.
2018-09-05 20:16:31 DEBUG install Setting up python-nova-lxd (18.0.0~rc1-0ubuntu1~cloud0) ...
2018-09-05 20:16:32 DEBUG install   File "/usr/lib/python2.7/dist-packages/nova_lxd_tempest_plugin/tests/scenario/manager.py", line 569
2018-09-05 20:16:32 DEBUG install     result = test_utils.call_until_true(ping, timeout, 1)
2018-09-05 20:16:32 DEBUG install          ^
2018-09-05 20:16:32 DEBUG install SyntaxError: invalid syntax
2018-09-05 20:16:32 DEBUG install
2018-09-05 20:16:32 DEBUG install dpkg: error processing package python-nova-lxd (--configure):
2018-09-05 20:16:32 DEBUG install  installed python-nova-lxd package post-installation script subprocess returned error exit status 101
2018-09-05 20:16:32 DEBUG install dpkg: dependency problems prevent configuration of nova-compute-lxd:
2018-09-05 20:16:32 DEBUG install  nova-compute-lxd depends on python-nova-lxd (= 18.0.0~rc1-0ubuntu1~cloud0) | python3-nova-lxd (= 18.0.0~rc1-0ubuntu1~cloud0); however:
2018-09-05 20:16:32 DEBUG install   Package python-nova-lxd is not configured yet.
2018-09-05 20:16:32 DEBUG install   Package python3-nova-lxd is not installed.
2018-09-05 20:16:32 DEBUG install
2018-09-05 20:16:32 DEBUG install dpkg: error processing package nova-compute-lxd (--configure):
2018-09-05 20:16:32 DEBUG install  dependency problems - leaving unconfigured
2018-09-05 20:16:32 DEBUG install No apport report written because the error message indicates its a followup error from a previous failure.
2018-09-05 20:16:32 DEBUG install dpkg: dependency problems prevent configuration of nova-compute:
2018-09-05 20:16:32 DEBUG install  nova-compute depends on nova-compute-kvm | nova-compute-hypervisor; however:
2018-09-05 20:16:32 DEBUG install   Package nova-compute-kvm is not installed.
2018-09-05 20:16:32 DEBUG install   Package nova-compute-hypervisor is not installed.
2018-09-05 20:16:32 DEBUG install   Package nova-compute-lxd which provides nova-compute-hypervisor is not configured yet.
2018-09-05 20:16:32 DEBUG install
2018-09-05 20:16:32 DEBUG install dpkg: error processing package nova-compute (--configure):
2018-09-05 20:16:32 DEBUG install  dependency problems - leaving unconfigured
2018-09-05 20:16:32 DEBUG install No apport report written because the error message indicates its a followup error from a previous failure.
2018-09-05 20:16:32 DEBUG install Errors were encountered while processing:
2018-09-05 20:16:32 DEBUG install  python-nova-lxd
2018-09-05 20:16:32 DEBUG install  nova-compute-lxd
2018-09-05 20:16:32 DEBUG install  nova-compute
2018-09-05 20:16:33 DEBUG install E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-09-05 20:16:33 DEBUG install Traceback (most recent call last):
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/install.real", line 579, in <module>
2018-09-05 20:16:33 DEBUG install     main()
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/install.real", line 572, in main
2018-09-05 20:16:33 DEBUG install     hooks.execute(sys.argv)
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/charmhelpers/core/hookenv.py", line 847, in execute
2018-09-05 20:16:33 DEBUG install     self._hooks[hook_name]()
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/charmhelpers/contrib/hardening/harden.py", line 79, in _harden_inner2
2018-09-05 20:16:33 DEBUG install     return f(*args, **kwargs)
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/install.real", line 143, in install
2018-09-05 20:16:33 DEBUG install     apt_install(determine_packages(), fatal=True)
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 216, in apt_install
2018-09-05 20:16:33 DEBUG install     _run_apt_command(cmd, fatal)
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 568, in _run_apt_command
2018-09-05 20:16:33 DEBUG install     retry_message="Couldn't acquire DPKG lock")
2018-09-05 20:16:33 DEBUG install   File "/var/lib/juju/agents/unit-nova-compute-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 544, in _run_with_retries
2018-09-05 20:16:33 DEBUG install     result = subprocess.check_call(cmd, **kwargs)
2018-09-05 20:16:33 DEBUG install   File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
2018-09-05 20:16:33 DEBUG install     raise CalledProcessError(retcode, cmd)
2018-09-05 20:16:33 DEBUG install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'nova-compute', 'genisoimage', 'librbd1', 'python-six', 'python-psutil', 'xfsprogs', 'nova-compute-lxd']' returned non-zero exit status 100.
2018-09-05 20:16:33 ERROR juju.worker.uniter.operation runhook.go:115 hook "install" failed: exit status 1
2018-09-05 20:16:33 DEBUG juju.machinelock machinelock.go:180 machine lock released for uniter (run install hook)
2018-09-05 20:16:33 DEBUG juju.worker.uniter.operation executor.go:74 lock released
2018-09-05 20:16:33 INFO juju.worker.uniter resolver.go:111 awaiting error resolution for "install" hook
2018-09-05 20:16:33 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] error: hook failed: "install"
2018-09-05 20:17:21 DEBUG juju.worker.uniter.remotestate watcher.go:530 update status timer triggered
2018-09-05 20:17:21 INFO juju.worker.uniter resolver.go:111 awaiting error resolution for "install" hook

** Also affects: nova-lxd
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova-lxd in Ubuntu.
https://bugs.launchpad.net/bugs/1790956

Title:
  syntax error in manager.py ping_ip_address

Status in nova-lxd:
  New
Status in nova-lxd package in Ubuntu:
  New

Bug description:
  The following commit introduced a syntax error, causing the module
  install and run time errors for nova-lxd Rocky.

  https://github.com/openstack/nova-
  lxd/commit/84a7945bca43205ce2c92cdd34b27da12749d24f

  /nova_lxd_tempest_plugin/tests/scenario/manager.py

  A review is underway to resolve the issue, which will then be tagged
  for release and/or backport as appropriate:

  https://review.openstack.org/#/c/599351

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova-lxd/+bug/1790956/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list