From 39d1f38c39b450ec56b06c25f844d0068faf6be7 Mon Sep 17 00:00:00 2001 From: "Amy Marrich (spotz)" Date: Tue, 7 Mar 2017 20:53:19 -0600 Subject: [PATCH] DOC - Add note regarding Ansible hostname bug Added a note to the operations guide and a release note for the issue Change-Id: I8cc3d8b3c46de5e99fd5e2aa03a44be36efe28ba Closes-Bug: #1669125 --- .../maintenance-tasks/rabbitmq-maintain.rst | 10 ++++++++++ ...ansible-hostname-bug-rabbitmq-7919f9311d61dcd6.yaml | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 releasenotes/notes/ansible-hostname-bug-rabbitmq-7919f9311d61dcd6.yaml diff --git a/doc/source/draft-operations-guide/maintenance-tasks/rabbitmq-maintain.rst b/doc/source/draft-operations-guide/maintenance-tasks/rabbitmq-maintain.rst index 7b52b8329b..6aa99b1b68 100644 --- a/doc/source/draft-operations-guide/maintenance-tasks/rabbitmq-maintain.rst +++ b/doc/source/draft-operations-guide/maintenance-tasks/rabbitmq-maintain.rst @@ -17,6 +17,16 @@ used. There are alternatives that may work in more restrictive environments. For more details on that setup, see `Inet Configuration `_. + +.. note:: + + There is currently an Ansible bug in regards to ``HOSTNAME``. If + the host ``.bashrc`` holds a var named ``HOSTNAME``, the container where the + ``lxc_container`` module attaches will inherit this var and potentially + set the wrong ``$HOSTNAME``. See + `the Ansible fix `_ which will + be released in Ansible version 2.3. + Create a RabbitMQ cluster ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/releasenotes/notes/ansible-hostname-bug-rabbitmq-7919f9311d61dcd6.yaml b/releasenotes/notes/ansible-hostname-bug-rabbitmq-7919f9311d61dcd6.yaml new file mode 100644 index 0000000000..35ba009653 --- /dev/null +++ b/releasenotes/notes/ansible-hostname-bug-rabbitmq-7919f9311d61dcd6.yaml @@ -0,0 +1,9 @@ +--- +issues: + - | + There is currently an Ansible bug in regards to ``HOSTNAME``. If + the host ``.bashrc`` holds a var named ``HOSTNAME``, the container where the + ``lxc_container`` module attaches will inherit this var and potentially + set the wrong ``$HOSTNAME``. See + `the Ansible fix `_ which will be released + in Ansible version 2.3.