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
2018-09-05 20:16:31 DEBUG install Reading package lists... 11-3ubuntu2) . nmu1ubuntu2) . dfsg1-0ubuntu2~ cloud0) . 0-0ubuntu3~ cloud0) . rc1-0ubuntu1~ cloud0) . 1build1~ cloud0) . rc1-0ubuntu1~ cloud0) ... python2. 7/dist- packages/ nova_lxd_ tempest_ plugin/ tests/scenario/ manager. py", line 569 call_until_ true(ping, timeout, 1) rc1-0ubuntu1~ cloud0) | python3-nova-lxd (= 18.0.0~ rc1-0ubuntu1~ cloud0) ; however: hypervisor; however: hypervisor is not installed. hypervisor is not configured yet. juju/agents/ unit-nova- compute- 0/charm/ hooks/install. real", line 579, in <module> juju/agents/ unit-nova- compute- 0/charm/ hooks/install. real", line 572, in main sys.argv) juju/agents/ unit-nova- compute- 0/charm/ hooks/charmhelp ers/core/ hookenv. py", line 847, in execute hook_name] () juju/agents/ unit-nova- compute- 0/charm/ hooks/charmhelp ers/contrib/ hardening/ harden. py", line 79, in _harden_inner2 juju/agents/ unit-nova- compute- 0/charm/ hooks/install. real", line 143, in install determine_ packages( ), fatal=True) juju/agents/ unit-nova- compute- 0/charm/ hooks/charmhelp ers/fetch/ ubuntu. py", line 216, in apt_install command( cmd, fatal) juju/agents/ unit-nova- compute- 0/charm/ hooks/charmhelp ers/fetch/ ubuntu. py", line 568, in _run_apt_command "Couldn' t acquire DPKG lock") juju/agents/ unit-nova- compute- 0/charm/ hooks/charmhelp ers/fetch/ ubuntu. py", line 544, in _run_with_retries check_call( cmd, **kwargs) python3. 6/subprocess. py", line 291, in check_call ror(retcode, cmd) CalledProcessEr ror: 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. uniter. operation runhook.go:115 hook "install" failed: exit status 1 uniter. operation executor.go:74 lock released uniter. remotestate watcher.go:530 update status timer triggered
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.
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+
2018-09-05 20:16:31 DEBUG install librbd1 is already the newest version (13.2.1+
2018-09-05 20:16:31 DEBUG install nova-compute is already the newest version (2:18.0.
2018-09-05 20:16:31 DEBUG install nova-compute-lxd is already the newest version (18.0.0~
2018-09-05 20:16:31 DEBUG install python-psutil is already the newest version (5.4.6-
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~
2018-09-05 20:16:32 DEBUG install File "/usr/lib/
2018-09-05 20:16:32 DEBUG install result = test_utils.
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~
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-
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-
2018-09-05 20:16:32 DEBUG install Package nova-compute-lxd which provides nova-compute-
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/
2018-09-05 20:16:33 DEBUG install main()
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install hooks.execute(
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install self._hooks[
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install return f(*args, **kwargs)
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install apt_install(
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install _run_apt_
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install retry_message=
2018-09-05 20:16:33 DEBUG install File "/var/lib/
2018-09-05 20:16:33 DEBUG install result = subprocess.
2018-09-05 20:16:33 DEBUG install File "/usr/lib/
2018-09-05 20:16:33 DEBUG install raise CalledProcessEr
2018-09-05 20:16:33 DEBUG install subprocess.
2018-09-05 20:16:33 ERROR juju.worker.
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.
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.
2018-09-05 20:17:21 INFO juju.worker.uniter resolver.go:111 awaiting error resolution for "install" hook