Fixes the Ceph upgrade scripts
authorGiulio Fidente <gfidente@redhat.com>
Thu, 15 Sep 2016 13:31:39 +0000 (15:31 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 16 Sep 2016 11:14:46 +0000 (11:14 +0000)
commitb3635f82fec18b2bc3e324db1ccba20e6d8f761f
tree6b0b05cc6d7aa03ebff4838c136e4e9846f22906
parent89f9a3f2e0274169f305a503f642867ef14244e1
Fixes the Ceph upgrade scripts

The Ceph upgrade scripts was failing on the following:

1. a syntax error in an if condition
2. an attempt to read a possibly unbound variable
3. an attempt to chown a directory which might not exist

this change aims at fixing all of the above.

Closes-Bug: 1623942
Change-Id: I9e9d63d4ab7626893aaf2a25dccfcafbb97ccbdf
extraconfig/tasks/major_upgrade_ceph_mon.sh
extraconfig/tasks/major_upgrade_ceph_storage.sh