From 5f791a4b46ddf15c35770af4df58139f15a8c9cf Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 21 Nov 2018 16:05:17 +0000 Subject: [PATCH] Seed hypervisor user bootstrapping skipped Although the 'kayobe seed hypervisor host configure' command executes the kayobe-ansible-user.yml playbook correctly, the playbook does not have the seed-hypervisor group in its host list, so it is a noop. This change fixes that. Change-Id: I30a83a9851345ece061413d3c1751112247425ae Story: 2004401 Task: 28034 --- ansible/kayobe-ansible-user.yml | 4 ++-- .../notes/seed-hypervisor-bootstrap-58bafc1ea0d125bc.yaml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/seed-hypervisor-bootstrap-58bafc1ea0d125bc.yaml diff --git a/ansible/kayobe-ansible-user.yml b/ansible/kayobe-ansible-user.yml index f01c06abf..8b5c6990a 100644 --- a/ansible/kayobe-ansible-user.yml +++ b/ansible/kayobe-ansible-user.yml @@ -7,7 +7,7 @@ # bootstrap process if the account is inaccessible. - name: Determine whether user bootstrapping is required - hosts: seed:overcloud + hosts: seed-hypervisor:seed:overcloud gather_facts: false tags: - kayobe-ansible-user @@ -62,7 +62,7 @@ become: True - name: Verify that the Kayobe Ansible user account is accessible - hosts: seed:overcloud + hosts: seed-hypervisor:seed:overcloud gather_facts: false tags: - kayobe-ansible-user diff --git a/releasenotes/notes/seed-hypervisor-bootstrap-58bafc1ea0d125bc.yaml b/releasenotes/notes/seed-hypervisor-bootstrap-58bafc1ea0d125bc.yaml new file mode 100644 index 000000000..c2d44c707 --- /dev/null +++ b/releasenotes/notes/seed-hypervisor-bootstrap-58bafc1ea0d125bc.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes an issue where the seed hypervisor user bootstrapping is not + performed when executing ``kayobe seed hypervisor host configure``. See + `story 2004401 `__ for + details.