7ad805df1fcb18f00d8848acd5a471355c3a1e52
Go to file
cmart 7ad805df1f Fix kernel post-installation script
`/etc/kernel/postinst.d/nova-kernel-permissions.sh` (introduced to fix Bug #1507915) is supposed to make newly installed kernels readable to the nova user, as kernels on an Ubuntu system are otherwise only readable to the root user [0].
This script didn't work for a few reasons:
- It never ran, because scripts in `/etc/kernel/postinst.d` are called by `run-parts`, and run-parts skips any script with a period in the name [1].
- Its shebang was missing its bang
- If installation of the same kernel is installed more than once (e.g. reinstallation), `dpkg-statoverride` (and the whole kernel installation) would exit with error, complaining about an override already existing [2].
Fixed with these changes respectively:
- Renamed script to remove the period
- Fixed typo in shebang
- Added `--force` flag to `dpkg-statoverride`
[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725
[1] https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/38022
[2] https://bugs.launchpad.net/openstack-manuals/+bug/1275080
Change-Id: I0e130e3c3ecf2171dbdc0e9a809f8066c30d4bc9
Closes-Bug: 1763479
2018年04月12日 14:58:30 -04:00
2018年03月15日 07:37:08 +00:00
2016年08月16日 18:57:21 -04:00
2018年04月12日 14:58:30 -04:00
2018年02月20日 09:39:58 +00:00
2018年02月20日 09:41:13 +00:00
2018年04月12日 14:58:30 -04:00
2018年03月28日 10:15:33 +01:00
2018年04月12日 13:47:30 +01:00
2018年03月27日 18:41:00 +01:00
2017年12月12日 15:15:38 +00:00
2016年09月28日 10:27:39 +01:00
2018年03月03日 12:10:06 +08:00
2018年03月27日 18:41:00 +01:00
2017年03月02日 11:52:00 +00:00
2018年03月15日 07:37:08 +00:00
2018年03月28日 10:15:33 +01:00
2018年01月22日 16:56:15 +00:00

Team and repository tags

image

OpenStack-Ansible nova

Ansible role that installs and configures OpenStack nova and all of its corresponding services.

This role will install the following:
  • nova-api
  • nova-conductor
  • nova-scheduler
  • nova-console
  • nova-compute

Documentation for the project can be found at: https://docs.openstack.org/openstack-ansible-os_nova/latest/

The project home is at: https://launchpad.net/openstack-ansible

Description
Role os_nova for OpenStack-Ansible
Readme 16 MiB
Languages
Jinja 66.8%
Python 30.8%
Shell 2.4%