tripleo collectionizing all the things ====================================== collections ----------- * ansible.netcommon (for ipaddr filter) * ansible.posix (for selinux, sysctl, authorized_keys) * community.general (for lvg) * openstack.cloud * containers.podman testing standalone ------------------ note: pip install ansible installs compatibilty layer ``` openstack tripleo deploy ... --output-only sudo dnf install python3-virtualenv virtualenv ansible source ansible/bin/active pip install ansible ipaddr netaddr tenacity cd standalone-ansible-* ansible-playbook -i inventory.yaml deploy_steps_playbook.yaml -vvv ``` using only ansible-base needs more collections ``` openstack tripleo deploy ... --output-only sudo dnf install python3-virtualenv virtualenv ansible-base source ansible-base/bin/active pip install ansible-base ipaddr netaddr tenacity cd standalone-ansible-* ansible-playbook -i inventory.yaml deploy_steps_playbook.yaml -vvv ``` failures -------- ``` File "/usr/share/ansible/plugins/action/tripleo_all_nodes_data.py", line 49, in <module> from ansible.plugins.filter import ipaddr ``` fix: tripleo_all_nodes_data.py tripleo_iptables.py ``` try: from ansible_collections.ansible.netcommon.plugins.filter import ipaddr except ImportError: from ansible.plugins.filter import ipaddr ``` patch: https://review.opendev.org/#/c/760953/ bugs ---- duplicated callback output (tasks duped?) If you have tripleo_dense in both stdout_callback and callback_whitelist, it's duplicating. This is different than the behavior in 2.9 ``` [DEPRECATION WARNING]: 'tripleo_dense' is subclassing DefaultCallback without the corresponding doc_fragment. This feature will be removed from ansible-base in version 2.14. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ``` example: ``` 2020-11-02 21:08:28.549254 | fa163e9e-28be-5fe1-5980-00000000011d | TASK | Overcloud common deploy step tasks 2 2020-11-02 21:08:28.549607 | fa163e9e-28be-5fe1-5980-00000000011d | TASK | Overcloud common deploy step tasks 2 2020-11-02 21:08:28.578104 | fa163e9e-28be-5fe1-5980-00000000011d | OK | Overcloud common deploy step tasks 2 | standalone | result={ "changed": false, "msg": "Use --start-at-task 'Overcloud common deploy step tasks 2' to resume from this task" } 2020-11-02 21:08:28.578782 | fa163e9e-28be-5fe1-5980-00000000011d | TIMING | Overcloud common deploy step tasks 2 | standalone | 1:13:23.714707 | 0.03s 2020-11-02 21:08:28.579021 | fa163e9e-28be-5fe1-5980-00000000011d | OK | Overcloud common deploy step tasks 2 | standalone | result={ "changed": false, "msg": "Use --start-at-task 'Overcloud common deploy step tasks 2' to resume from this task" } 2020-11-02 21:08:28.746592 | fa163e9e-28be-5fe1-5980-00000000011e | TASK | Check if /var/lib/tripleo-config/container-startup-config/step_2 already exists 2020-11-02 21:08:28.746920 | fa163e9e-28be-5fe1-5980-00000000011e | TASK | Check if /var/lib/tripleo-config/container-startup-config/step_2 already exists 2020-11-02 21:08:28.983687 | fa163e9e-28be-5fe1-5980-00000000011e | OK | Check if /var/lib/tripleo-config/container-startup-config/step_2 already exists | standalone 2020-11-02 21:08:28.984881 | fa163e9e-28be-5fe1-5980-00000000011e | TIMING | Check if /var/lib/tripleo-config/container-startup-config/step_2 already exists | standalone | 1:13:24.120804 | 0.24s 2020-11-02 21:08:28.985367 | fa163e9e-28be-5fe1-5980-00000000011e | OK | Check if /var/lib/tripleo-config/container-startup-config/step_2 already exists | standalone 2020-11-02 21:08:29.124104 | fa163e9e-28be-5fe1-5980-00000000011f | TIMING | include_tasks | standalone | 1:13:24.260020 | 0.03s 2020-11-02 21:08:29.227450 | 370ef0fa-0dd8-484f-942d-ac8c3d821974 | INCLUDED | /home/centos/standalone-ansible-j0q2hb73/common_deploy_steps_tasks.yaml | standalone 2020-11-02 21:08:29.227856 | b1444025-aa10-4a6e-b122-c5a18e82b488 | INCLUDED | /home/centos/standalone-ansible-j0q2hb73/common_deploy_steps_tasks.yaml | standalone 2020-11-02 21:08:29.328481 | fa163e9e-28be-5fe1-5980-0000000017dc | TASK | Write the config_step hieradata 2020-11-02 21:08:29.328788 | fa163e9e-28be-5fe1-5980-0000000017dc | TASK | Write the config_step hieradata ```