[IBP] idempotency in cloud-init boothooks broken
Bug #1420396 reported by
Alexander Gordeev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Alexander Gordeev | ||
5.1.x |
Invalid
|
Undecided
|
Unassigned | ||
6.0.x |
Fix Released
|
Critical
|
Alexander Gordeev |
Bug Description
Boothooks should be rewritten to handle pipes correctly.
Bad example:
cloud-init-per instance conntrack_max echo "net.nf_
it will clean /etc/sysctl.conf on every next boot.
should be converted to something like
cloud-init-per instance conntrack_max /bin/sh -c 'echo "net.nf_
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/154949
Review: https:/