setup-hosts.yml failing with "No package matching 'linux-image-extra-4.15.0-29-generic' is available"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Jean-Philippe Evrard |
Bug Description
When I execute openstack-ansible -v setup-hosts.yml, it is failing with following errors:
fatal: [infra1]: FAILED! => {"attempts": 5, "changed": false, "failed": true, "msg": "No package matching 'linux-
fatal: [compute2]: FAILED! => {"attempts": 5, "changed": false, "failed": true, "msg": "No package matching 'linux-
fatal: [compute1]: FAILED! => {"attempts": 5, "changed": false, "failed": true, "msg": "No package matching 'linux-
Target Host OS version:
-------
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
# uname -a
Linux osa1 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
OSA Version:
------------
# pwd
/opt/openstack-
# git status
HEAD detached at 16.0.13
From the discussions on IRC form, got to know that hwe kernels don't seem to provide the 'linux-image-extra' package and OSA is tying to install the same for Ubuntu HWE kernels.
description: | updated |
Changed in openstack-ansible: | |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/585376 /git.openstack. org/cgit/ openstack/ openstack- ansible- openstack_ hosts/commit/ ?id=8c46d189889 987148d6f6906ef 2ea66c17f69bed
Committed: https:/
Submitter: Zuul
Branch: master
commit 8c46d1898899871 48d6f6906ef2ea6 6c17f69bed
Author: Jean-Philippe Evrard <email address hidden>
Date: Tue Jul 24 16:21:34 2018 +0200
Do not install linux-image-extra by default
In Ubuntu 14.04, the kernel shipped was lightweight, and some image-extra.
extra features like using vhost_net, required the package
linux-
In Ubuntu 16.04 and above, this is not the case anymore,
as many kernel packages ship with extra features.
vhost_net is generally shipped with the kernel package nowadays image-extra into our roles.
and was the only one documented for the addition of the
linux-
Change-Id: I579484ccefe0f2 9c40f8fed4b2d1b 73aaeb917b1
Closes-Bug: 1783342