Pre-install script does not fail on error in install hook
Bug #1815243 reported by
Ryan Beisner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
High
|
Unassigned | ||
Ceph OSD Charm |
Fix Released
|
High
|
Unassigned | ||
Ceph RADOS Gateway Charm |
Fix Released
|
High
|
Unassigned | ||
LXD Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Ceilometer Agent Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Ceilometer Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Ceph-FS Charm |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Cinder Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Cinder-Ceph charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Dashboard Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Glance Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Glance-Simplestreams-Sync Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack HA Cluster Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Heat Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Keystone Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Nova Compute Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Nova Compute Proxy Charm |
Won't Fix
|
Wishlist
|
Unassigned | ||
OpenStack Percona Cluster Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack RabbitMQ Server Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Swift Proxy Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Swift Storage Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Tempest Charm (Deprecated) |
In Progress
|
Low
|
Unassigned |
Bug Description
The pre-install operations may fail, yet that failure is not elevated to the user. This masks the failure and makes early package install issues difficult to troubleshoot.
If the basic pre-install script fails, the charm should not proceed to later hooks as the requirements may not be met.
Hashbangs for bash should specify -e (errexit) on all of the pre-install bash scripts.
Changed in charm-ceph-fs: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-ceph-mon: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-ceph-osd: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-ceph-radosgw: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-ceph-fs: | |
status: | New → In Progress |
Changed in charm-ceph-mon: | |
status: | New → In Progress |
Changed in charm-ceph-osd: | |
status: | New → In Progress |
Changed in charm-ceph-radosgw: | |
status: | New → In Progress |
Changed in charm-ceph-fs: | |
importance: | Undecided → High |
Changed in charm-ceph-mon: | |
importance: | Undecided → High |
Changed in charm-ceph-osd: | |
importance: | Undecided → High |
Changed in charm-ceph-radosgw: | |
importance: | Undecided → High |
Changed in charm-ceph-fs: | |
milestone: | none → 19.04 |
Changed in charm-ceph-mon: | |
milestone: | none → 19.04 |
Changed in charm-ceph-osd: | |
milestone: | none → 19.04 |
Changed in charm-ceph-radosgw: | |
milestone: | none → 19.04 |
summary: |
- charm-ceph-radosgw + Pre-install hook does not fail on error |
summary: |
- Pre-install hook does not fail on error + Pre-install script does not fail on error in install hook |
Changed in charm-swift-proxy: | |
status: | New → In Progress |
Changed in charm-swift-storage: | |
status: | New → In Progress |
Changed in charm-swift-proxy: | |
importance: | Undecided → Medium |
Changed in charm-swift-storage: | |
importance: | Undecided → Medium |
Changed in charm-swift-proxy: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-swift-storage: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-swift-proxy: | |
milestone: | none → 19.04 |
Changed in charm-swift-storage: | |
milestone: | none → 19.04 |
Changed in charm-ceilometer: | |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
assignee: | nobody → Ryan Beisner (1chb1n) |
Changed in charm-ceilometer-agent: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-cinder: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-cinder-ceph: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-glance: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-glance-simplestreams-sync: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-heat: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-ceph-fs: | |
importance: | High → Undecided |
milestone: | 19.04 → none |
status: | In Progress → Invalid |
Changed in charm-nova-compute-proxy: | |
importance: | Undecided → Wishlist |
status: | New → Won't Fix |
Changed in charm-lxd: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-tempest: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Low |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-hacluster: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-keystone: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → High |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-nova-compute: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-openstack-dashboard: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → Medium |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-percona-cluster: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → High |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-rabbitmq-server: | |
assignee: | nobody → Ryan Beisner (1chb1n) |
importance: | Undecided → High |
milestone: | none → 19.04 |
status: | New → In Progress |
Changed in charm-ceph-radosgw: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
Changed in charm-keystone: | |
status: | Fix Committed → Fix Released |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
Changed in charm-percona-cluster: | |
status: | Fix Committed → Fix Released |
Changed in charm-swift-proxy: | |
status: | Fix Committed → Fix Released |
Changed in charm-swift-storage: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
Changed in charm-cinder-ceph: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceilometer-agent: | |
status: | Fix Committed → Fix Released |
Changed in charm-heat: | |
status: | Fix Committed → Fix Released |
Changed in charm-glance: | |
status: | Fix Committed → Fix Released |
Changed in charm-glance-simplestreams-sync: | |
status: | Fix Committed → Fix Released |
Changed in charm-lxd: | |
status: | Fix Committed → Fix Released |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
Changed in charm-nova-compute: | |
status: | Fix Committed → Fix Released |
Changed in charm-hacluster: | |
status: | Fix Committed → Fix Released |
Changed in charm-openstack-dashboard: | |
status: | Fix Committed → Fix Released |
Changed in charm-tempest: | |
milestone: | 19.04 → 19.07 |
Changed in charm-tempest: | |
milestone: | 19.07 → 19.10 |
Changed in charm-tempest: | |
milestone: | 19.10 → 20.01 |
Changed in charm-tempest: | |
milestone: | 20.01 → 20.05 |
Changed in charm-tempest: | |
milestone: | 20.05 → 20.08 |
Changed in charm-tempest: | |
milestone: | 20.08 → none |
Changed in charm-tempest: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-swift-storage: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-swift-proxy: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-rabbitmq-server: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-percona-cluster: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-nova-compute: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-nova-cloud-controller: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-lxd: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-keystone: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-heat: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-hacluster: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-glance-simplestreams-sync: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-glance: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-openstack-dashboard: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-cinder-ceph: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-cinder: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceph-fs: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceilometer: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceilometer-agent: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceph-radosgw: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceph-osd: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
Changed in charm-ceph-mon: | |
assignee: | Ryan Beisner (1chb1n) → nobody |
To post a comment you must log in.
Reviews: /review. openstack. org/#/q/ topic:bug/ 1815243+ (status: open+OR+ status: merged)
https:/
Related bug as an example of what we are making more visible: /bugs.launchpad .net/juju/ +bug/1815231
https:/