diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-05-02 12:27:16 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-05-02 12:27:16 +0000 |
commit | bb43710b26ec4241b7cc0a2fede7f6004c148bea (patch) | |
tree | 6f3a9e2514fad40b8cdaf35d7040441085d3bc97 | |
parent | 746c4d264d4f8d441876c9f248493bc3cc9f60fe (diff) | |
parent | 61d1905da47ce742ad9396d834db2ae05a35b520 (diff) |
Merge "Remove deprecated minor update pcs code"
-rwxr-xr-x | extraconfig/tasks/yum_update.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/extraconfig/tasks/yum_update.sh b/extraconfig/tasks/yum_update.sh index 20a5b658..018c9b74 100755 --- a/extraconfig/tasks/yum_update.sh +++ b/extraconfig/tasks/yum_update.sh @@ -60,24 +60,6 @@ if hiera -c /etc/puppet/hiera.yaml service_names | grep -q pacemaker; then pacemaker_status=$(systemctl is-active pacemaker) fi -# Fix the redis/rabbit resource start/stop timeouts. See https://bugs.launchpad.net/tripleo/+bug/1633455 -# and https://bugs.launchpad.net/tripleo/+bug/1634851 -if [[ "$pacemaker_status" == "active" && \ - "$(hiera -c /etc/puppet/hiera.yaml bootstrap_nodeid)" = "$(facter hostname)" ]] ; then - if pcs resource show rabbitmq | grep -E "start.*timeout=100"; then - pcs resource update rabbitmq op start timeout=200s - fi - if pcs resource show rabbitmq | grep -E "stop.*timeout=90"; then - pcs resource update rabbitmq op stop timeout=200s - fi - if pcs resource show redis | grep -E "start.*timeout=120"; then - pcs resource update redis op start timeout=200s - fi - if pcs resource show redis | grep -E "stop.*timeout=120"; then - pcs resource update redis op stop timeout=200s - fi -fi - # special case https://bugs.launchpad.net/tripleo/+bug/1635205 +bug/1669714 special_case_ovs_upgrade_if_needed |