amd64 xenial queens - Unable to locate package linux-image-extra-4.4.0-143-generic

Bug #1821864 reported by Andrew McLeod
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LXD Charm
Fix Released
Undecided
Unassigned

Bug Description

MOSCI deployment

Attempting to deploy lxd charm via this bundle:

https://raw.githubusercontent.com/openstack-charmers/openstack-bundles/master/development/openstack-lxd-xenial-queens/bundle.yaml

on amd64

deploy link http://mosci:8080/job/0.%20Full%20Cloud%20-%20Pipeline/4960/

all lxd units end up in config-changed hook error, e.g.

nova-compute/2 active idle 3 10.245.168.93 Unit is ready
  lxd/2 error idle 10.245.168.93 hook failed: "config-changed"

Due to:

2019-03-27 02:11:12 DEBUG config-changed Reading package lists...
2019-03-27 02:11:12 DEBUG config-changed Building dependency tree...
2019-03-27 02:11:12 DEBUG config-changed Reading state information...
2019-03-27 02:11:13 DEBUG config-changed E: Unable to locate package linux-image-extra-4.4.0-143-generic
2019-03-27 02:11:13 DEBUG config-changed E: Couldn't find any package by glob 'linux-image-extra-4.4.0-143-generic'
2019-03-27 02:11:13 DEBUG config-changed E: Couldn't find any package by regex 'linux-image-extra-4.4.0-143-generic'
2019-03-27 02:11:13 DEBUG config-changed Traceback (most recent call last):
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 173, in <module>
2019-03-27 02:11:13 DEBUG config-changed main()
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 166, in main
2019-03-27 02:11:13 DEBUG config-changed hooks.execute(sys.argv)
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/core/hookenv.py", line 909, in execute
2019-03-27 02:11:13 DEBUG config-changed self._hooks[hook_name]()
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 87, in config_changed
2019-03-27 02:11:13 DEBUG config-changed configure_lxd_host()
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/core/decorators.py", line 40, in _retry_on_exception_inner_2
2019-03-27 02:11:13 DEBUG config-changed return f(*args, **kwargs)
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/lxd_utils.py", line 480, in configure_lxd_host
2019-03-27 02:11:13 DEBUG config-changed fatal=True)
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/fetch/ubuntu.py", line 236, in apt_install
2019-03-27 02:11:13 DEBUG config-changed _run_apt_command(cmd, fatal)
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/fetch/ubuntu.py", line 599, in _run_apt_command
2019-03-27 02:11:13 DEBUG config-changed retry_message="Couldn't acquire DPKG lock")
2019-03-27 02:11:13 DEBUG config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/fetch/ubuntu.py", line 575, in _run_with_retries
2019-03-27 02:11:13 DEBUG config-changed result = subprocess.check_call(cmd, **kwargs)
2019-03-27 02:11:13 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
2019-03-27 02:11:13 DEBUG config-changed raise CalledProcessError(retcode, cmd)
2019-03-27 02:11:13 DEBUG config-changed subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-image-extra-4.4.0-143-generic']' returned non-zero exit status 100
2019-03-27 02:11:13 ERROR juju.worker.uniter.operation runhook.go:132 hook "config-changed" failed: exit status 1

Full crashdump available here:

http://mosci:8080/job/6.%20Full%20Cloud%20-%20Teardown/4070/

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This is fix-released as this issue was fixed in: https://review.opendev.org/#/c/655470/

Quote:

Also fixes issue on xenial where linux-image-extra-* has been renamed to
linux-modules-extra-* from from -4.4.0-145-generic onwards. Otherwise,
the install fails on xenial.

Changed in charm-lxd:
status: New → Fix Released
milestone: none → 19.04
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.