redhat-openstack / openshift-on-openstack

A place to write templates, docs etc. for deploying OpenShift on OpenStack.
Apache License 2.0
136 stars 87 forks source link

Make sure registry volume is not left in /etc/fstab #240

Closed jprovaznik closed 8 years ago

jprovaznik commented 8 years ago

Ansible mount module (used for registry volume setup) saves recs into /etc/fstab. The problem is that this temporary /tmp/registry is saved there too which causes that infra node ends up in an "emergency" mode on reboot. Use of "absent" unmounts and removes the volume from /etc/fstab (albeit ansible doc says it just removes /etc/fstab record).

lebauce commented 8 years ago

Good catch. Thanks.