Use -L with chown and set crush map tunables when upgrading Ceph
authorGiulio Fidente <gfidente@redhat.com>
Wed, 28 Sep 2016 13:05:14 +0000 (15:05 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 29 Sep 2016 11:35:05 +0000 (13:35 +0200)
commit059307718f4422e0840a90ad40f98947260ac8f1
tree3d8582fdb3341c9054d3a3435b8c994cbbef97bb
parent22decf4276c56b58b41ab6523c9a8da41ddeeab6
Use -L with chown and set crush map tunables when upgrading Ceph

Previously the chown command wasn't traversing symlinks, causing
the new ownership to not be set for some needed files.

This change also ensures the crush map tunables are set to the 'default'
profile after the upgrade.

Finally redirects the output of a pidof to /dev/null to avoid spurious
logging.

Change-Id: Id4865ffff207edfc727d729f9cc04e6e81ad19d8
extraconfig/tasks/major_upgrade_ceph_mon.sh
extraconfig/tasks/major_upgrade_ceph_storage.sh