Merge "do not create radosgw region map in post-deploy"

This commit is contained in:
Jenkins 2014-03-26 17:32:34 +00:00 committed by Gerrit Code Review
commit 2aba323f3a
1 changed files with 1 additions and 4 deletions

View File

@ -25,9 +25,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"," ")
@ -44,4 +41,4 @@ module Astute
Astute.logger.info "#{context.task_id}: Finish restarting radosgw on controller nodes"
end #process
end #class
end
end