os-refresh-config install scripts run too early
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Jon-Paul Sullivan |
Bug Description
Hi,
os-refresh-config depends on pip-and-virtualenv and expect it to be installed before. This to be able to run virtualenv.
expand_
'base',
'boot-stack',
'cache-url',
'dib-
'dkms',
'dpkg',
'glance',
'heat',
'heat-api',
'heat-engine',
'iptables',
'keystone',
'mysql',
'network-
'neutron',
'neutron-
'neutron-
'neutron-
'nova',
'nova-api',
'openstack
'os-
'os-
'os-
'os-
'pip-
'source-
'ubuntu',
'use-
'vm'
I used the following command:
disk-image-create -o bootstrap vm boot-stack ubuntu
Changed in diskimage-builder: | |
status: | New → Incomplete |
Changed in tripleo: | |
assignee: | nobody → James Polley (tchaypo) |
status: | Triaged → In Progress |
Changed in tripleo: | |
assignee: | James Polley (tchaypo) → Jon-Paul Sullivan (jonpaul-sullivan) |
No order is ever implied, the README.md states:
### Dependencies ###
Each element has a file named element-deps: a plain text, newline separated list of elements which will be added to the list of elements built into the image at image creation time.
Ordering is only achieved through lexically sorting scripts in the hook directories.
The bug, therefore, is in tripleo- image-elements/ elements/ os-refresh- config/ install. d/01-os- refresh- config. It should be renamed to 10-os-refresh- config, which would put it well after pip-and- virtualenv' s 01-pip- and-virtualenv.