From e4ffb047c0df54ec77685055b3b780709bb033b8 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 6 Oct 2023 17:59:08 +0200 Subject: [PATCH] Run nova_db_post_setup from playbook directly Due to some bugs delegation of tasks from compute to conductor hosts does not work in real life. Due to that task import was moved to the playbook level using role import in combination with tasks_from. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/897570 Change-Id: I777b1c90f57c805bc0a8593b5a5c7e63e43c4cd8 --- tasks/main.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index c6731f0c..49fc2d8f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -339,16 +339,3 @@ compute_host_to_wait_for: "{{ ansible_facts['nodename'] }}" tags: - nova-config - -# We have to delegate this back to the conductor -# because the compute hosts do not have access to -# the database connection string and therefore -# cannot run nova-manage. -- name: Importing nova_db_post_setup tasks - import_tasks: nova_db_post_setup.yml - delegate_to: "{{ nova_conductor_setup_host }}" - run_once: true - when: - - "nova_services['nova-compute']['group'] in group_names" - tags: - - nova-config

AltStyle によって変換されたページ (->オリジナル) /