From af14e9aa700e809d005b49abfe203272740a02f8 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 25 Jun 2018 23:59:18 -0500 Subject: [PATCH] Set force=true when creating the RPC users In order to accommodate the changes we've made in the RPC messaging systems the force flag must be set to `true` when deploying Rocky in an upgrade situation. Without this flag set to true existing users will not have their RPC passwords updated and will result in large scale, obscure, outages across the cloud. Change-Id: I81ec30bb089908dfa25b248dc4fe7463553457ce Signed-off-by: Kevin Carter --- playbooks/common-tasks/oslomsg-notify-vhost-user.yml | 2 +- playbooks/common-tasks/oslomsg-rpc-vhost-user.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/common-tasks/oslomsg-notify-vhost-user.yml b/playbooks/common-tasks/oslomsg-notify-vhost-user.yml index 2994e74149..41255e1673 100644 --- a/playbooks/common-tasks/oslomsg-notify-vhost-user.yml +++ b/playbooks/common-tasks/oslomsg-notify-vhost-user.yml @@ -37,10 +37,10 @@ read_priv: ".*" write_priv: ".*" state: "present" + force: true delegate_to: "{{ groups[oslomsg_notify_host_group][0] }}" no_log: true tags: - common-rabbitmq when: - oslomsg_notify_transport == "rabbit" - diff --git a/playbooks/common-tasks/oslomsg-rpc-vhost-user.yml b/playbooks/common-tasks/oslomsg-rpc-vhost-user.yml index f8a1ee1b3c..19c6744411 100644 --- a/playbooks/common-tasks/oslomsg-rpc-vhost-user.yml +++ b/playbooks/common-tasks/oslomsg-rpc-vhost-user.yml @@ -37,6 +37,7 @@ read_priv: ".*" write_priv: ".*" state: "present" + force: true delegate_to: "{{ groups[oslomsg_rpc_host_group][0] }}" no_log: true tags: