Skip to content

Commit

Permalink
Call package update via bootstrap playbook
Browse files Browse the repository at this point in the history
Currently tempest tests are failing due to old packages installed on
edpm node.

Recently we have added openstack-k8s-operators#518
to perform DNF update via edpm_bootstrap role.

But bootstrap-openstack-edpm-ipam pod calls bootstrap.yml playbook not
the role that's why update_packages playbook is not called leaving old
packages on the node.

Calling update_packages.yml playbook via bootstrap.yml playbook updates
the packages and fixes the issue.

Signed-off-by: Chandan Kumar <raukadah@gmail.com>
  • Loading branch information
raukadah committed Jan 4, 2024
1 parent 5ead703 commit ea35853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions roles/edpm_bootstrap/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
- name: Import packages tasks
ansible.builtin.import_tasks: packages.yml

- name: Import Package update tasks
ansible.builtin.import_tasks: update_package.yml

- name: Set selinux state
ansible.posix.selinux:
policy: targeted
Expand Down
3 changes: 0 additions & 3 deletions roles/edpm_bootstrap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@

- name: Import bootstrap tasks
ansible.builtin.import_tasks: bootstrap.yml

- name: Import Package update tasks
ansible.builtin.import_tasks: update_package.yml

0 comments on commit ea35853

Please sign in to comment.