[SRU] Files missing from package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Corey Bryant | ||
Mitaka |
Fix Released
|
Undecided
|
Corey Bryant | ||
Newton |
Fix Released
|
Undecided
|
Corey Bryant | ||
mistral (Ubuntu) |
Fix Released
|
Undecided
|
Corey Bryant | ||
Xenial |
Fix Released
|
Undecided
|
Corey Bryant | ||
Yakkety |
Fix Released
|
Undecided
|
Corey Bryant |
Bug Description
[Description]
After the package is installed some of the files that support the initialisation of the database seem to missing. As does the policy.json.
The files that are missing:
/usr/lib/
/usr/lib/
/etc/mistral/
Without the DB files the schema initialisation fails:
# mistral-db-manage --config-file /etc/mistral/
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
CONF.
File "/usr/lib/
action_
File "/usr/lib/
register_
File "/usr/lib/
_register_
File "/usr/lib/
actions = generator.
File "/usr/lib/
mapping = get_mapping()
File "/usr/lib/
MAPPING_
IOError: [Errno 2] No such file or directory: '/usr/lib/
And without the policy.json clients cannot authorise.
[Test Case]
Reproduce db issue:
lxc launch ubuntu-
lxc exec <container-name> bash
apt update
apt install mistral-api
mistral-db-manage --config-file /etc/mistral/
[Regression Potential]
Very little as the fix just updates the package to install the missing json files.
Changed in cloud-archive: | |
status: | New → In Progress |
Changed in mistral (Ubuntu): | |
status: | New → In Progress |
Changed in mistral (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in cloud-archive: | |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in mistral (Ubuntu Xenial): | |
assignee: | nobody → Corey Bryant (corey.bryant) |
summary: |
- Files missing from package + [SRU] Files missing from package |
Changed in mistral (Ubuntu): | |
assignee: | nobody → Corey Bryant (corey.bryant) |
description: | updated |
description: | updated |
Changed in mistral (Ubuntu Yakkety): | |
assignee: | nobody → Corey Bryant (corey.bryant) |
status: | New → In Progress |
tags: |
added: verification-done verification-mitaka-done removed: verification-mitaka-needed verification-needed |
Changed in cloud-archive: | |
status: | In Progress → Fix Committed |
Package updates have been uploaded to zesty, yakkety, and xenial review queues. Note: policy.json did not exist in mistral 2.0.0 (xenial).
Also contributed patch back to Debian: https:/ /review. openstack. org/#/c/ 388083/