do not create radosgw region map in post-deploy

RadosGW region map may intermittently get corrupted when it is created
during post-deployment, leading to RadosGW being unable to start.

Change-Id: I9587b983ad50d74d22eb157b5d98a6f709e58b23
Related-bug: #1287166
This commit is contained in:
Dmitry Borodaenko 2014-03-31 11:33:09 -07:00
parent 5bcacc84cd
commit 55df06b2e8
1 changed files with 0 additions and 3 deletions

View File

@ -290,9 +290,6 @@ module Astute
cmd = <<-RESTART_RADOSGW
(test -f /etc/init.d/ceph-radosgw && /etc/init.d/ceph-radosgw restart) ||
(test -f /etc/init.d/radosgw && /etc/init.d/radosgw restart);
radosgw-admin region-map get > /dev/null || radosgw-admin region-map update > /dev/null;
(test -f /etc/init.d/ceph-radosgw && /etc/init.d/ceph-radosgw restart) ||
(test -f /etc/init.d/radosgw && /etc/init.d/radosgw restart);
RESTART_RADOSGW
cmd.tr!("\n"," ")