root@ubuntu-offline-precheck:~# mkdir change_107983/ root@ubuntu-offline-precheck:~# cd change_107983/ root@ubuntu-offline-precheck:~/change_107983# ls root@ubuntu-offline-precheck:~/change_107983# git init Initialized empty Git repository in /root/change_107983/.git/ root@ubuntu-offline-precheck:~/change_107983# git pull "https://gerrit.onap.org/r/oom/offline-installer" refs/changes/83/107983/1 remote: Counting objects: 13, done remote: Finding sources: 100% (4922/4922) remote: Total 4922 (delta 2853), reused 4919 (delta 2853) Receiving objects: 100% (4922/4922), 1.08 MiB | 367.00 KiB/s, done. Resolving deltas: 100% (2853/2853), done. From https://gerrit.onap.org/r/oom/offline-installer * branch refs/changes/83/107983/1 -> FETCH_HEAD root@ubuntu-offline-precheck:~/change_107983# ./offline-installer-review.sh ---------- ONAP OFFLINE INSTALLER - CHANGE VERIFICATION START ---------- apt: no process found apt-get: no process found WARNING: apt does not have a stable CLI interface. Use with caution in scripts. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. NO ANSIBLE ROLE TESTS REQUIRED Build all pre-build images Install Molecule with virtualenv Activated virtual env in /root/molecule_venv molecule, version 2.20.0 --> Validating schema /root/change_107983/ansible/test/play-infrastructure/molecule/default/molecule.yml. Validation completed successfully. --> Test matrix └── default ├── lint ├── cleanup ├── destroy ├── dependency ├── syntax ├── create ├── prepare ├── converge ├── side_effect ├── verify ├── cleanup └── destroy --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'lint' --> Executing Yamllint on files found in /root/change_107983/ansible/test/play-infrastructure/... Lint completed successfully. --> Executing Flake8 on files found in /root/change_107983/ansible/test/play-infrastructure/molecule/default/tests/... Lint completed successfully. --> Executing Ansible Lint on /root/change_107983/ansible/test/play-infrastructure/molecule/default/playbook.yml... Lint completed successfully. --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'cleanup' PLAY [Cleanup] ***************************************************************** TASK [Gathering Facts] ********************************************************* fatal: [infrastructure-server]: UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1590058479.995483-222631689634104 `\" && echo ansible-tmp-1590058479.995483-222631689634104=\"` echo ~/.ansible/tmp/ansible-tmp-1590058479.995483-222631689634104 `\" ), exited with result 1", "skip_reason": "Host infrastructure-server is unreachable", "unreachable": true} TASK [cleanup-nginx : Remove saved nginx docker image] ************************* ok: [infrastructure-server -> localhost] TASK [cleanup-nexus : Remove saved docker images] ****************************** ok: [infrastructure-server -> localhost] => (item={'name': 'sonatype/nexus3:3.15.2', 'archive_path': '/tmp/nexus.tar', 'dest': '/offline_data/docker_images_infra/sonatype_nexus3_3.15.2.tar'}) ok: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/busybox', 'tag': 'latest', 'archive_path': '/tmp/busybox.tar', 'dest': '/runtime_images_source_dir/busybox.tar'}) ok: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/library/alpine', 'archive_path': '/tmp/alpine.tar', 'dest': '/runtime_images_source_dir/alpine.tar'}) TASK [cleanup-dns : Remove saved dnsmasq image] ******************************** ok: [infrastructure-server -> localhost] TASK [cleanup-vncserver : Remove saved vncserver docker image] ***************** ok: [infrastructure-server -> localhost] PLAY RECAP ********************************************************************* infrastructure-server : ok=4 changed=0 unreachable=1 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Delete docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=2 unreachable=0 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'dependency' Skipping, missing the requirements file. --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'syntax' playbook: /root/change_107983/ansible/test/play-infrastructure/molecule/default/playbook.yml --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'create' PLAY [Create] ****************************************************************** TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create Dockerfiles from image names] ************************************* skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Build an Ansible compatible image] *************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] TASK [Determine the CMD directives] ******************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create molecule instance(s)] ********************************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) creation to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'prepare' PLAY [Prepare infra] *********************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [prepare-package-repository : Add Docker-CE repo] ************************* changed: [infrastructure-server] TASK [prepare-package-repository : Install createrepo] ************************* changed: [infrastructure-server] TASK [prepare-package-repository : Ensure /opt/onap/pkg/rpm exists] ************ changed: [infrastructure-server] TASK [prepare-package-repository : Download rpm packages] ********************** changed: [infrastructure-server] TASK [prepare-package-repository : Index repository] *************************** changed: [infrastructure-server] TASK [prepare-chrony : Install required packages] ****************************** changed: [infrastructure-server] => (item=chrony) ok: [infrastructure-server] => (item=tzdata) TASK [prepare-vncserver : Create needed dirs for vncserver role] *************** changed: [infrastructure-server] => (item=/opt/onap/offline_data/docker_images_infra) TASK [prepare-vncserver : Download and archive vncserver docker image for the vncserver role to use] *** changed: [infrastructure-server -> localhost] TASK [prepare-vncserver : Copy vnc server image to node] *********************** changed: [infrastructure-server] TASK [prepare-nginx : Create needed dirs for nginx role] *********************** changed: [infrastructure-server] => (item=/opt/onap/offline_data/docker_images_infra) TASK [prepare-nginx : Build nginx docker image] ******************************** ok: [infrastructure-server -> localhost] TASK [prepare-nginx : Archive nginx docker image for the nginx role to use] **** changed: [infrastructure-server -> localhost] TASK [prepare-nginx : Copy nginx image to node] ******************************** changed: [infrastructure-server] TASK [prepare-nexus : Add nexus simulation hosts to /etc/hosts] **************** changed: [infrastructure-server] TASK [prepare-nexus : Create needed dirs for nexus role] *********************** changed: [infrastructure-server] => (item=/opt/onap/nexus_data) changed: [infrastructure-server] => (item=/opt/onap/offline_data/docker_images_infra) changed: [infrastructure-server] => (item=/opt/onap/runtime_images_source_dir) TASK [prepare-nexus : Download and archive docker images for the nexus role to use] *** changed: [infrastructure-server -> localhost] => (item={'name': 'sonatype/nexus3:3.15.2', 'archive_path': '/tmp/nexus.tar', 'dest': '/opt/onap/offline_data/docker_images_infra/sonatype_nexus3_3.15.2.tar'}) changed: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/busybox', 'tag': 'latest', 'archive_path': '/tmp/busybox.tar', 'dest': '/opt/onap/runtime_images_source_dir/busybox.tar'}) changed: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/library/alpine', 'archive_path': '/tmp/alpine.tar', 'dest': '/opt/onap/runtime_images_source_dir/alpine.tar'}) TASK [prepare-nexus : Copy docker images to node] ****************************** changed: [infrastructure-server] => (item={'name': 'sonatype/nexus3:3.15.2', 'archive_path': '/tmp/nexus.tar', 'dest': '/opt/onap/offline_data/docker_images_infra/sonatype_nexus3_3.15.2.tar'}) changed: [infrastructure-server] => (item={'name': 'nexus3.onap.org:10001/busybox', 'tag': 'latest', 'archive_path': '/tmp/busybox.tar', 'dest': '/opt/onap/runtime_images_source_dir/busybox.tar'}) changed: [infrastructure-server] => (item={'name': 'nexus3.onap.org:10001/library/alpine', 'archive_path': '/tmp/alpine.tar', 'dest': '/opt/onap/runtime_images_source_dir/alpine.tar'}) TASK [prepare-dns : Create needed dirs for dns role] *************************** changed: [infrastructure-server] => (item=/opt/onap/cfg) changed: [infrastructure-server] => (item=/opt/onap/offline_data/docker_images_infra) TASK [prepare-dns : Download and archive dnsmasq docker image for the dns role to use] *** changed: [infrastructure-server -> localhost] TASK [prepare-dns : Copy dnsmasq image to node] ******************************** changed: [infrastructure-server] TASK [prepare-firewall : Install firewall] ************************************* changed: [infrastructure-server] TASK [prepare-firewall : Start and enable firewall] **************************** changed: [infrastructure-server] PLAY [Prepare kubernetes] ****************************************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] TASK [prepare-chrony : Install required packages] ****************************** changed: [kubernetes-node-1] => (item=chrony) ok: [kubernetes-node-1] => (item=tzdata) TASK [prepare-firewall : Install firewall] ************************************* changed: [kubernetes-node-1] TASK [prepare-firewall : Start and enable firewall] **************************** changed: [kubernetes-node-1] PLAY RECAP ********************************************************************* infrastructure-server : ok=23 changed=21 unreachable=0 failed=0 kubernetes-node-1 : ok=4 changed=3 unreachable=0 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'converge' PLAY [Common setup for all hosts] ********************************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] TASK [Set cluster_ip variable] ************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] TASK [Include variables] ******************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] PLAY [Perform common environment setup for nodes] ****************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] TASK [package-repository : Disable DNS management in Network Manager] ********** changed: [kubernetes-node-1] changed: [infrastructure-server] TASK [package-repository : Setup resolv.conf for node to find package repository by name from infra] *** changed: [infrastructure-server] changed: [kubernetes-node-1] TASK [package-repository : Find repo files names] ****************************** ok: [infrastructure-server] ok: [kubernetes-node-1] TASK [package-repository : Get all defined offline repo names] ***************** ok: [infrastructure-server] ok: [kubernetes-node-1] TASK [package-repository : Backup repo files] ********************************** changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521292, 'isgid': False, 'size': 630, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Media.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521292, 'isgid': False, 'size': 630, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Media.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521293, 'isgid': False, 'size': 1331, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Sources.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521293, 'isgid': False, 'size': 1331, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Sources.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521297, 'isgid': False, 'size': 7577, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Vault.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521297, 'isgid': False, 'size': 7577, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Vault.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521291, 'isgid': False, 'size': 649, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Debuginfo.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521291, 'isgid': False, 'size': 649, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Debuginfo.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521261, 'isgid': False, 'size': 1309, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-CR.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521261, 'isgid': False, 'size': 1309, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-CR.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521301, 'isgid': False, 'size': 314, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-fasttrack.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521301, 'isgid': False, 'size': 314, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-fasttrack.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521260, 'isgid': False, 'size': 1664, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Base.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521260, 'isgid': False, 'size': 1664, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Base.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1590058525.7999501, 'inode': 1292490, 'isgid': False, 'size': 174, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/docker-ce.repo', 'xusr': False, 'atime': 1590058527.7119696, 'isdir': False, 'ctime': 1590058525.7999501, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522269, 'isgid': False, 'size': 951, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522269, 'isgid': False, 'size': 951, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522268, 'isgid': False, 'size': 1050, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel-testing.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522268, 'isgid': False, 'size': 1050, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel-testing.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521302, 'isgid': False, 'size': 616, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-x86_64-kernel.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521302, 'isgid': False, 'size': 616, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-x86_64-kernel.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) TASK [package-repository : Remove disabled repo files] ************************* changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521292, 'isgid': False, 'size': 630, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Media.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521292, 'isgid': False, 'size': 630, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Media.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521293, 'isgid': False, 'size': 1331, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Sources.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521293, 'isgid': False, 'size': 1331, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Sources.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521297, 'isgid': False, 'size': 7577, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Vault.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521297, 'isgid': False, 'size': 7577, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Vault.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521291, 'isgid': False, 'size': 649, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Debuginfo.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521291, 'isgid': False, 'size': 649, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Debuginfo.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521261, 'isgid': False, 'size': 1309, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-CR.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521261, 'isgid': False, 'size': 1309, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-CR.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521301, 'isgid': False, 'size': 314, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-fasttrack.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521301, 'isgid': False, 'size': 314, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-fasttrack.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521260, 'isgid': False, 'size': 1664, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Base.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521260, 'isgid': False, 'size': 1664, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-Base.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.90883, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1590058525.7999501, 'inode': 1292490, 'isgid': False, 'size': 174, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/docker-ce.repo', 'xusr': False, 'atime': 1590058527.7119696, 'isdir': False, 'ctime': 1590058525.7999501, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522269, 'isgid': False, 'size': 951, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522269, 'isgid': False, 'size': 951, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522268, 'isgid': False, 'size': 1050, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel-testing.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1506966248.0, 'inode': 522268, 'isgid': False, 'size': 1050, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/epel-testing.repo', 'xusr': False, 'atime': 1506966248.0, 'isdir': False, 'ctime': 1589894424.4013202, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [kubernetes-node-1] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521302, 'isgid': False, 'size': 616, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-x86_64-kernel.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 65, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) changed: [infrastructure-server] => (item={'uid': 0, 'woth': False, 'mtime': 1586296872.0, 'inode': 521302, 'isgid': False, 'size': 616, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/yum.repos.d/CentOS-x86_64-kernel.repo', 'xusr': False, 'atime': 1586296872.0, 'isdir': False, 'ctime': 1589894403.9128299, 'isblk': False, 'xgrp': False, 'dev': 51, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) TASK [package-repository : include_tasks] ************************************** included: /root/change_107983/ansible/roles/package-repository/tasks/RedHat.yml for infrastructure-server, kubernetes-node-1 TASK [package-repository : Add application offline package repository] ********* changed: [kubernetes-node-1] => (item={'name': 'onap', 'file': 'onap', 'description': 'ONAP offline repository', 'baseurl': 'http://repo.infra-server/rpm', 'gpgcheck': False, 'enabled': True}) changed: [infrastructure-server] => (item={'name': 'onap', 'file': 'onap', 'description': 'ONAP offline repository', 'baseurl': 'file:///opt/onap/pkg/rpm', 'gpgcheck': False, 'enabled': True}) TASK [firewall : include_tasks] ************************************************ included: /root/change_107983/ansible/roles/firewall/tasks/firewall-disable.yml for infrastructure-server, kubernetes-node-1 TASK [firewall : Get installed packages list] ********************************** ok: [infrastructure-server] ok: [kubernetes-node-1] TASK [firewall : Stop and disable default OS firewall if exists] *************** changed: [kubernetes-node-1] changed: [infrastructure-server] TASK [firewall : Flush iptables] *********************************************** ok: [kubernetes-node-1] ok: [infrastructure-server] RUNNING HANDLER [package-repository : Restart NetworkManager] ****************** skipping: [kubernetes-node-1] skipping: [infrastructure-server] PLAY [Setup infrastructure servers] ******************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [package-repository-check : include_tasks] ******************************** included: /root/change_107983/ansible/roles/package-repository-check/tasks/RedHat.yml for infrastructure-server TASK [package-repository-check : Clean yum cache] ****************************** changed: [infrastructure-server] TASK [package-repository-check : Update yum cache] ***************************** ok: [infrastructure-server] TASK [certificates : Create certificates directory certs to current dir] ******* changed: [infrastructure-server -> localhost] TASK [certificates : Generate root CA private key] ***************************** changed: [infrastructure-server -> localhost] TASK [certificates : Generate an OpenSSL CSR.] ********************************* changed: [infrastructure-server -> localhost] TASK [certificates : Generate root CA certificate] ***************************** changed: [infrastructure-server -> localhost] TASK [certificates : Generate private Nexus key] ******************************* changed: [infrastructure-server -> localhost] TASK [certificates : Generate Nexus CSR (certificate signing request)] ********* changed: [infrastructure-server -> localhost] TASK [certificates : Sign Nexus certificate] *********************************** changed: [infrastructure-server -> localhost] TASK [certificates : Upload certificates to infrastructure server] ************* changed: [infrastructure-server] TASK [certificates : Copy root certificate] ************************************ changed: [infrastructure-server] TASK [docker : Install docker] ************************************************* changed: [infrastructure-server] TASK [docker : Install required packages] ************************************** ok: [infrastructure-server] => (item=python-docker-py) changed: [infrastructure-server] => (item=python-jsonpointer) TASK [docker : Ensure /etc/docker exists] ************************************** changed: [infrastructure-server] TASK [docker : Setup docker container logging settings] ************************ changed: [infrastructure-server] TASK [docker : Setup docker dns settings] ************************************** changed: [infrastructure-server] RUNNING HANDLER [certificates : Extract root certificate] ********************** changed: [infrastructure-server] RUNNING HANDLER [docker : Stopping docker systemd service] ********************* changed: [infrastructure-server] RUNNING HANDLER [docker : Ensure docker.sock cleaned properly] ***************** ok: [infrastructure-server] RUNNING HANDLER [docker : Starting docker systemd service] ********************* changed: [infrastructure-server] TASK [docker : Ensure docker is started] *************************************** ok: [infrastructure-server] TASK [dns : Ensure cfg directory exist] **************************************** ok: [infrastructure-server] TASK [dns : Stop systemd-resolved daemon - Ubuntu] ***************************** skipping: [infrastructure-server] TASK [dns : Create simulated hostnames file] *********************************** changed: [infrastructure-server] TASK [dns : Load dns server container] ***************************************** changed: [infrastructure-server] TASK [dns : Enumerate running containers] ************************************** ok: [infrastructure-server] TASK [dns : Ensure dns container is running] *********************************** changed: [infrastructure-server] RUNNING HANDLER [dns : Run dns server container] ******************************* changed: [infrastructure-server] TASK [vncserver : Load VNC server image] *************************************** changed: [infrastructure-server] TASK [vncserver : Start VNC server container] ********************************** changed: [infrastructure-server] TASK [nginx : Create configuration directory] ********************************** ok: [infrastructure-server] TASK [nginx : Upload configuration to server] ********************************** changed: [infrastructure-server] TASK [nginx : Load nginx server image] ***************************************** changed: [infrastructure-server] TASK [nginx : Create nexus network] ******************************************** changed: [infrastructure-server] TASK [nginx : Start nginx server container] ************************************ changed: [infrastructure-server] TASK [chrony : Install Chrony - Ubuntu] **************************************** skipping: [infrastructure-server] TASK [chrony : Check if server mode] ******************************************* ok: [infrastructure-server] TASK [chrony : Check if client mode] ******************************************* skipping: [infrastructure-server] TASK [chrony : Upload chronyd server configuration] **************************** changed: [infrastructure-server] TASK [chrony : Ensure chronyd is enabled/running] ****************************** changed: [infrastructure-server] TASK [chrony : Setup timezone] ************************************************* changed: [infrastructure-server] TASK [nexus : include_tasks] *************************************************** included: /root/change_107983/ansible/roles/nexus/tasks/install.yml for infrastructure-server TASK [nexus : Change ownership of nexus_data] ********************************** changed: [infrastructure-server] TASK [nexus : Load nexus image] ************************************************ changed: [infrastructure-server] TASK [nexus : Create nexus network] ******************************************** ok: [infrastructure-server] TASK [nexus : Start nexus server container] ************************************ changed: [infrastructure-server] TASK [nexus : Wait for nexus to come up] *************************************** FAILED - RETRYING: Wait for nexus to come up (60 retries left). FAILED - RETRYING: Wait for nexus to come up (59 retries left). FAILED - RETRYING: Wait for nexus to come up (58 retries left). FAILED - RETRYING: Wait for nexus to come up (57 retries left). ok: [infrastructure-server] TASK [nexus : include_tasks] *************************************************** included: /root/change_107983/ansible/roles/nexus/tasks/configure.yml for infrastructure-server TASK [nexus : check if the configuration script is uploaded] ******************* ok: [infrastructure-server] TASK [nexus : upload the configuration script] ********************************* ok: [infrastructure-server] TASK [nexus : execute configuration script] ************************************ ok: [infrastructure-server] TASK [nexus : include_tasks] *************************************************** included: /root/change_107983/ansible/roles/nexus/tasks/runtime-populate.yml for infrastructure-server TASK [nexus : Find images to be inserted into nexus in runtime] **************** ok: [infrastructure-server] TASK [nexus : include] ********************************************************* included: /root/change_107983/ansible/roles/nexus/tasks/insert-images.yml for infrastructure-server => (item={'uid': 0, 'woth': False, 'mtime': 1590058646.301204, 'inode': 523955, 'isgid': False, 'size': 5888000, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/opt/onap/runtime_images_source_dir/alpine.tar', 'xusr': False, 'atime': 1590058647.041212, 'isdir': False, 'ctime': 1590058647.0852127, 'isblk': False, 'xgrp': False, 'dev': 64513, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) included: /root/change_107983/ansible/roles/nexus/tasks/insert-images.yml for infrastructure-server => (item={'uid': 0, 'woth': False, 'mtime': 1590058644.377183, 'inode': 523954, 'isgid': False, 'size': 1446400, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/opt/onap/runtime_images_source_dir/busybox.tar', 'xusr': False, 'atime': 1590058645.053191, 'isdir': False, 'ctime': 1590058645.0651913, 'isblk': False, 'xgrp': False, 'dev': 64513, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False}) TASK [nexus : Register component name for docker login/load] ******************* ok: [infrastructure-server] TASK [nexus : Docker login] **************************************************** changed: [infrastructure-server] TASK [nexus : Load and push component alpine] ********************************** ok: [infrastructure-server] TASK [nexus : Register component name for docker login/load] ******************* ok: [infrastructure-server] TASK [nexus : Docker login] **************************************************** ok: [infrastructure-server] TASK [nexus : Load and push component busybox] ********************************* ok: [infrastructure-server] RUNNING HANDLER [chrony : Restart chronyd] ************************************* changed: [infrastructure-server] PLAY [Setup base for Kubernetes nodes] ***************************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] TASK [package-repository-check : include_tasks] ******************************** included: /root/change_107983/ansible/roles/package-repository-check/tasks/RedHat.yml for kubernetes-node-1 TASK [package-repository-check : Clean yum cache] ****************************** changed: [kubernetes-node-1] TASK [package-repository-check : Update yum cache] ***************************** ok: [kubernetes-node-1] TASK [chrony : Install Chrony - Ubuntu] **************************************** skipping: [kubernetes-node-1] TASK [chrony : Check if server mode] ******************************************* skipping: [kubernetes-node-1] TASK [chrony : Check if client mode] ******************************************* ok: [kubernetes-node-1] TASK [chrony : Upload chronyd client configuration] **************************** changed: [kubernetes-node-1] TASK [chrony : Ensure chronyd is enabled/running] ****************************** changed: [kubernetes-node-1] TASK [chrony : Setup timezone] ************************************************* changed: [kubernetes-node-1] TASK [docker : Install docker] ************************************************* changed: [kubernetes-node-1] TASK [docker : Install required packages] ************************************** ok: [kubernetes-node-1] => (item=python-docker-py) changed: [kubernetes-node-1] => (item=python-jsonpointer) TASK [docker : Ensure /etc/docker exists] ************************************** changed: [kubernetes-node-1] TASK [docker : Setup docker container logging settings] ************************ changed: [kubernetes-node-1] TASK [docker : Setup docker dns settings] ************************************** changed: [kubernetes-node-1] RUNNING HANDLER [chrony : Restart chronyd] ************************************* changed: [kubernetes-node-1] RUNNING HANDLER [docker : Stopping docker systemd service] ********************* changed: [kubernetes-node-1] RUNNING HANDLER [docker : Ensure docker.sock cleaned properly] ***************** ok: [kubernetes-node-1] RUNNING HANDLER [docker : Starting docker systemd service] ********************* changed: [kubernetes-node-1] TASK [docker : Ensure docker is started] *************************************** ok: [kubernetes-node-1] TASK [include_role : certificates] ********************************************* TASK [certificates : Copy root certificate] ************************************ changed: [kubernetes-node-1] RUNNING HANDLER [certificates : Extract root certificate] ********************** changed: [kubernetes-node-1] RUNNING HANDLER [docker : Stopping docker systemd service] ********************* changed: [kubernetes-node-1] RUNNING HANDLER [docker : Ensure docker.sock cleaned properly] ***************** changed: [kubernetes-node-1] RUNNING HANDLER [docker : Starting docker systemd service] ********************* changed: [kubernetes-node-1] PLAY RECAP ********************************************************************* infrastructure-server : ok=77 changed=42 unreachable=0 failed=0 kubernetes-node-1 : ok=39 changed=23 unreachable=0 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'side_effect' Skipping, side effect playbook not configured. --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'verify' --> Executing Testinfra tests found in /root/change_107983/ansible/test/play-infrastructure/molecule/default/tests/... ============================= test session starts ============================== platform linux -- Python 3.6.9, pytest-5.4.2, py-1.8.1, pluggy-0.13.1 rootdir: /root/change_107983/ansible/test/play-infrastructure/molecule/default plugins: testinfra-1.19.0 collected 1 item tests/test_nodes.py . [100%] =============================== warnings summary =============================== /root/molecule_venv/lib/python3.6/site-packages/ansible/plugins/loader.py:11 /root/molecule_venv/lib/python3.6/site-packages/ansible/plugins/loader.py:11: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp -- Docs: https://docs.pytest.org/en/latest/warnings.html ========================= 1 passed, 1 warning in 3.67s ========================= Verifier completed successfully. --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'cleanup' PLAY [Cleanup] ***************************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [cleanup-nginx : Remove saved nginx docker image] ************************* changed: [infrastructure-server -> localhost] TASK [cleanup-nexus : Remove saved docker images] ****************************** changed: [infrastructure-server -> localhost] => (item={'name': 'sonatype/nexus3:3.15.2', 'archive_path': '/tmp/nexus.tar', 'dest': '/offline_data/docker_images_infra/sonatype_nexus3_3.15.2.tar'}) changed: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/busybox', 'tag': 'latest', 'archive_path': '/tmp/busybox.tar', 'dest': '/runtime_images_source_dir/busybox.tar'}) changed: [infrastructure-server -> localhost] => (item={'name': 'nexus3.onap.org:10001/library/alpine', 'archive_path': '/tmp/alpine.tar', 'dest': '/runtime_images_source_dir/alpine.tar'}) TASK [cleanup-dns : Remove saved dnsmasq image] ******************************** changed: [infrastructure-server -> localhost] TASK [cleanup-vncserver : Remove saved vncserver docker image] ***************** changed: [infrastructure-server -> localhost] PLAY RECAP ********************************************************************* infrastructure-server : ok=5 changed=4 unreachable=0 failed=0 --> Inventory /root/change_107983/ansible/test/play-infrastructure/molecule/default/../../../../group_vars linked to /tmp/molecule/play-infrastructure/default/inventory/group_vars --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Delete docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=3 unreachable=0 failed=0 Deleted Volumes: 4e166a99221f1b831c2746cd003e0a23efca673fde076049e64101f7a6c4258c ae6c4b47a1f9fdf7580fb5b55d468cdc2e1fa5330316591a877277f1c5cd1a58 7a1fb412aab1e033ca9c3db77c6e8af1e553f58b2c5047a05e5231b0713fd664 688eb8da8ad0f1d59c9215f53b4a03da61e4288434ce55e4adb7f16745afaf59 e769b62414f5481fba782e9543520eae1cae4ebe1a4af63de5e1c8b938e96e3e 40687ca8984e22312776eb28a2b9adee4feea07e0814464ae3f152e55808c256 9f11e53dc08e4cbac8bfdb381aa3c449a4ffd594b75e35568e11cc44fe142204 Total reclaimed space: 1.584GB /root/change_107983 Build all pre-build images Install Molecule with virtualenv Activated virtual env in /root/molecule_venv molecule, version 2.20.0 --> Validating schema /root/change_107983/ansible/test/play-resources/molecule/nfs/molecule.yml. Validation completed successfully. --> Validating schema /root/change_107983/ansible/test/play-resources/molecule/default/molecule.yml. Validation completed successfully. --> Test matrix ├── default │ ├── lint │ ├── cleanup │ ├── destroy │ ├── dependency │ ├── syntax │ ├── create │ ├── prepare │ ├── converge │ ├── idempotence │ ├── side_effect │ ├── verify │ ├── cleanup │ └── destroy └── nfs ├── lint ├── cleanup ├── destroy ├── dependency ├── syntax ├── create ├── prepare ├── converge ├── idempotence ├── side_effect ├── verify ├── cleanup └── destroy --> Scenario: 'default' --> Action: 'lint' --> Executing Yamllint on files found in /root/change_107983/ansible/test/play-resources/... Lint completed successfully. Skipping, no tests found. --> Executing Ansible Lint on /root/change_107983/ansible/test/play-resources/molecule/default/playbook.yml... Lint completed successfully. --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Delete docker network(s)] ************************************************ ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=1 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'dependency' Skipping, missing the requirements file. --> Scenario: 'default' --> Action: 'syntax' playbook: /root/change_107983/ansible/test/play-resources/molecule/default/playbook.yml --> Scenario: 'default' --> Action: 'create' PLAY [Create] ****************************************************************** TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create Dockerfiles from image names] ************************************* skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Build an Ansible compatible image] *************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] TASK [Determine the CMD directives] ******************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create molecule instance(s)] ********************************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) creation to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'prepare' PLAY [Prepare resource-data] *************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [resource-host] TASK [setup : ssh dir] ********************************************************* ok: [infrastructure-server -> localhost] TASK [setup : check ssh pub key exists] **************************************** ok: [infrastructure-server -> localhost] TASK [setup : generate ssh keys] *********************************************** skipping: [infrastructure-server] TASK [setup : Setup authorized_keys file] ************************************** changed: [infrastructure-server] changed: [resource-host] TASK [prepare-resource-data : include_tasks] *********************************** skipping: [infrastructure-server] included: /root/change_107983/ansible/test/roles/prepare-resource-data/tasks/prepare-resource-server.yml for resource-host TASK [prepare-resource-data : Create resource dir /data] *********************** changed: [resource-host] TASK [prepare-resource-data : Create test files for the dummy packages] ******** changed: [resource-host] => (item=/data/resource1.txt) changed: [resource-host] => (item=/data/resource2.txt) changed: [resource-host] => (item=/data/resource3.txt) changed: [resource-host] => (item=/data/somedir/resource4.txt) changed: [resource-host] => (item=/data/auxdata) TASK [prepare-resource-data : Create resources tar archive for testing] ******** changed: [resource-host] TASK [prepare-resource-data : Create aux tar archive for testing] ************** changed: [resource-host] TASK [prepare-resource-data : Install nfs-utils] ******************************* skipping: [resource-host] TASK [prepare-resource-data : Start services] ********************************** skipping: [resource-host] => (item=rpcbind) skipping: [resource-host] => (item=nfs) TASK [prepare-resource-data : Create data dir to host machine for nfs mount. Must match with volume mount in molecule.yml] *** skipping: [resource-host] TASK [prepare-resource-data : Add hosts to exports] **************************** skipping: [resource-host] TASK [prepare-resource-data : Export nfs] ************************************** skipping: [resource-host] TASK [prepare-resource-data : include_tasks] *********************************** skipping: [resource-host] included: /root/change_107983/ansible/test/roles/prepare-resource-data/tasks/prepare-infra-server.yml for infrastructure-server TASK [prepare-resource-data : Make sure the target dirs (where data is put i.e. what the whole resource-data role is testing) are empty at first] *** ok: [infrastructure-server] => (item=aux_data_path) ok: [infrastructure-server] => (item=app_data_path) TASK [prepare-resource-data : Install nfs-utils] ******************************* skipping: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=6 changed=1 unreachable=0 failed=0 resource-host : ok=7 changed=5 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'converge' PLAY [Initialize] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [resource-host] TASK [Include variables] ******************************************************* ok: [infrastructure-server] ok: [resource-host] PLAY [Transfer needed resources from resource to infra servers] **************** TASK [Gathering Facts] ********************************************************* ok: [resource-host] TASK [resource-data : Check if source dir and files are present] *************** ok: [resource-host] => (item={'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}) ok: [resource-host] => (item={'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}) TASK [resource-data : Create initial resources list of dicts] ****************** ok: [resource-host] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': False, 'follow': False, 'path': '/data/resources_package.tar', 'get_md5': None, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'binary', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1590059188.2860725, 'block_size': 4096, 'inode': 1292499, 'isgid': False, 'size': 195, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073553878803', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'application/x-gzip', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/data/resources_package.tar', 'xusr': False, 'atime': 1590059188.2820725, 'isdir': False, 'ctime': 1590059188.2860725, 'isblk': False, 'wgrp': False, 'xgrp': False, 'dev': 51, 'roth': True, 'isfifo': False, 'mode': '0644', 'rusr': True, 'attributes': ['extents']}, 'changed': False, '_ansible_parsed': True, '_ansible_no_log': False, 'failed': False, 'item': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}}) ok: [resource-host] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': False, 'follow': False, 'path': '/data/aux_resources_package.tar', 'get_md5': None, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'binary', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1590059189.5660954, 'block_size': 4096, 'inode': 1292500, 'isgid': False, 'size': 140, 'executable': False, 'isuid': False, 'readable': True, 'version': '1463182345', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'application/x-gzip', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/data/aux_resources_package.tar', 'xusr': False, 'atime': 1590059189.5660954, 'isdir': False, 'ctime': 1590059189.5660954, 'isblk': False, 'wgrp': False, 'xgrp': False, 'dev': 51, 'roth': True, 'isfifo': False, 'mode': '0644', 'rusr': True, 'attributes': ['extents']}, 'changed': False, '_ansible_parsed': True, '_ansible_no_log': False, 'failed': False, 'item': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}}) TASK [resource-data : Upload resource files [{'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}, {'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}] to infrastructure] *** skipping: [resource-host] PLAY [Transfer needed resources from resource to infra servers] **************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [resource-data : Check if source dir and files are present] *************** skipping: [infrastructure-server] => (item={'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}) skipping: [infrastructure-server] => (item={'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}) TASK [resource-data : Create initial resources list of dicts] ****************** skipping: [infrastructure-server] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', '_ansible_no_log': False, 'item': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}}) skipping: [infrastructure-server] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', '_ansible_no_log': False, 'item': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}}) TASK [resource-data : Upload resource files [{'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}, {'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}] to infrastructure] *** included: /root/change_107983/ansible/roles/resource-data/tasks/upload_resources.yml for infrastructure-server TASK [resource-data : Query package facts to check nfs-utils existence] ******** ok: [infrastructure-server] TASK [resource-data : Set transport fact to nfs or ssh] ************************ ok: [infrastructure-server] TASK [resource-data : Upload resources to infrastructure servers over ssh] ***** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-resource.yml for infrastructure-server => (item={'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}) included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-resource.yml for infrastructure-server => (item={'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}) TASK [resource-data : Create /opt/moleculeapp directory] *********************** changed: [infrastructure-server] TASK [resource-data : Check if resources are uploaded] ************************* ok: [infrastructure-server] TASK [resource-data : Get list of destination directory files] ***************** ok: [infrastructure-server] TASK [resource-data : Unarchive resource resources_package.tar from host resource-host, transport is ssh] *** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-ssh-resource.yml for infrastructure-server TASK [resource-data : Upload ssh private key] ********************************** changed: [infrastructure-server] TASK [resource-data : Detect if archive is compressed] ************************* changed: [infrastructure-server -> resource-host] TASK [resource-data : Set tar extract options] ********************************* ok: [infrastructure-server] TASK [resource-data : Unarchive resource /data/resources_package.tar to /opt/moleculeapp dir on infrastructure servers over ssh] *** changed: [infrastructure-server] TASK [resource-data : Remove the ssh private key] ****************************** changed: [infrastructure-server] TASK [resource-data : Generate flag file after resources are deployed on infra] *** changed: [infrastructure-server] TASK [resource-data : Create /opt/moleculeapp/runtime_images_source_dir directory] *** changed: [infrastructure-server] TASK [resource-data : Check if resources are uploaded] ************************* ok: [infrastructure-server] TASK [resource-data : Get list of destination directory files] ***************** ok: [infrastructure-server] TASK [resource-data : Unarchive resource aux_resources_package.tar from host resource-host, transport is ssh] *** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-ssh-resource.yml for infrastructure-server TASK [resource-data : Upload ssh private key] ********************************** changed: [infrastructure-server] TASK [resource-data : Detect if archive is compressed] ************************* changed: [infrastructure-server -> resource-host] TASK [resource-data : Set tar extract options] ********************************* ok: [infrastructure-server] TASK [resource-data : Unarchive resource /data/aux_resources_package.tar to /opt/moleculeapp/runtime_images_source_dir dir on infrastructure servers over ssh] *** changed: [infrastructure-server] TASK [resource-data : Remove the ssh private key] ****************************** changed: [infrastructure-server] TASK [resource-data : Generate flag file after resources are deployed on infra] *** changed: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=28 changed=12 unreachable=0 failed=0 resource-host : ok=5 changed=0 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'idempotence' Idempotence completed successfully. --> Scenario: 'default' --> Action: 'side_effect' Skipping, side effect playbook not configured. --> Scenario: 'default' --> Action: 'verify' Skipping, no tests found. --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Delete docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=3 unreachable=0 failed=0 --> Scenario: 'nfs' --> Action: 'lint' --> Executing Yamllint on files found in /root/change_107983/ansible/test/play-resources/... Lint completed successfully. Skipping, no tests found. --> Executing Ansible Lint on /root/change_107983/ansible/test/play-resources/molecule/nfs/playbook.yml... Lint completed successfully. --> Scenario: 'nfs' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'nfs' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Delete docker network(s)] ************************************************ ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=1 unreachable=0 failed=0 --> Scenario: 'nfs' --> Action: 'dependency' Skipping, missing the requirements file. --> Scenario: 'nfs' --> Action: 'syntax' playbook: /root/change_107983/ansible/test/play-resources/molecule/nfs/playbook.yml --> Scenario: 'nfs' --> Action: 'create' PLAY [Create] ****************************************************************** TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create Dockerfiles from image names] ************************************* skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Build an Ansible compatible image] *************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] TASK [Determine the CMD directives] ******************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create molecule instance(s)] ********************************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) creation to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=0 --> Scenario: 'nfs' --> Action: 'prepare' PLAY [Prepare] ***************************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [resource-host] TASK [prepare-resource-data : include_tasks] *********************************** skipping: [infrastructure-server] included: /root/change_107983/ansible/test/roles/prepare-resource-data/tasks/prepare-resource-server.yml for resource-host TASK [prepare-resource-data : Create resource dir /data] *********************** changed: [resource-host] TASK [prepare-resource-data : Create test files for the dummy packages] ******** changed: [resource-host] => (item=/data/resource1.txt) changed: [resource-host] => (item=/data/resource2.txt) changed: [resource-host] => (item=/data/resource3.txt) changed: [resource-host] => (item=/data/somedir/resource4.txt) changed: [resource-host] => (item=/data/auxdata) TASK [prepare-resource-data : Create resources tar archive for testing] ******** changed: [resource-host] TASK [prepare-resource-data : Create aux tar archive for testing] ************** changed: [resource-host] TASK [prepare-resource-data : Install nfs-utils] ******************************* changed: [resource-host] TASK [prepare-resource-data : Start services] ********************************** changed: [resource-host] => (item=rpcbind) changed: [resource-host] => (item=nfs) TASK [prepare-resource-data : Create data dir to host machine for nfs mount. Must match with volume mount in molecule.yml] *** ok: [resource-host -> localhost] TASK [prepare-resource-data : Add hosts to exports] **************************** changed: [resource-host] TASK [prepare-resource-data : Export nfs] ************************************** changed: [resource-host] TASK [prepare-resource-data : include_tasks] *********************************** skipping: [resource-host] included: /root/change_107983/ansible/test/roles/prepare-resource-data/tasks/prepare-infra-server.yml for infrastructure-server TASK [prepare-resource-data : Make sure the target dirs (where data is put i.e. what the whole resource-data role is testing) are empty at first] *** ok: [infrastructure-server] => (item=aux_data_path) ok: [infrastructure-server] => (item=app_data_path) TASK [prepare-resource-data : Install nfs-utils] ******************************* changed: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=4 changed=1 unreachable=0 failed=0 resource-host : ok=11 changed=8 unreachable=0 failed=0 --> Scenario: 'nfs' --> Action: 'converge' PLAY [Initialize] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [resource-host] TASK [Include variables] ******************************************************* ok: [resource-host] ok: [infrastructure-server] PLAY [Transfer needed resources from resource to infra servers] **************** TASK [Gathering Facts] ********************************************************* ok: [resource-host] TASK [resource-data : Check if source dir and files are present] *************** ok: [resource-host] => (item={'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}) ok: [resource-host] => (item={'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}) TASK [resource-data : Create initial resources list of dicts] ****************** ok: [resource-host] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': False, 'follow': False, 'path': '/data/resources_package.tar', 'get_md5': None, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'binary', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1590059353.8650246, 'block_size': 4096, 'inode': 546357, 'isgid': False, 'size': 192, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744071686992379', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'application/x-gzip', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/data/resources_package.tar', 'xusr': False, 'atime': 1590059353.8650246, 'isdir': False, 'ctime': 1590059353.8650246, 'isblk': False, 'wgrp': False, 'xgrp': False, 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'rusr': True, 'attributes': ['extents']}, 'changed': False, '_ansible_parsed': True, '_ansible_no_log': False, 'failed': False, 'item': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}}) ok: [resource-host] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': False, 'follow': False, 'path': '/data/aux_resources_package.tar', 'get_md5': None, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'binary', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1590059355.0770462, 'block_size': 4096, 'inode': 546358, 'isgid': False, 'size': 142, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073149034282', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'application/x-gzip', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/data/aux_resources_package.tar', 'xusr': False, 'atime': 1590059355.0770462, 'isdir': False, 'ctime': 1590059355.0770462, 'isblk': False, 'wgrp': False, 'xgrp': False, 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'rusr': True, 'attributes': ['extents']}, 'changed': False, '_ansible_parsed': True, '_ansible_no_log': False, 'failed': False, 'item': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}}) TASK [resource-data : Upload resource files [{'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}, {'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}] to infrastructure] *** skipping: [resource-host] PLAY [Transfer needed resources from resource to infra servers] **************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [resource-data : Check if source dir and files are present] *************** skipping: [infrastructure-server] => (item={'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}) skipping: [infrastructure-server] => (item={'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}) TASK [resource-data : Create initial resources list of dicts] ****************** skipping: [infrastructure-server] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', '_ansible_no_log': False, 'item': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'resources_package.tar', 'target_dir': '/opt/moleculeapp', 'target_filename': 'resources_package.tar'}}) skipping: [infrastructure-server] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', '_ansible_no_log': False, 'item': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}, '_ansible_item_result': True, '_ansible_ignore_errors': None, '_ansible_item_label': {'source_dir': '/data', 'source_filename': 'aux_resources_package.tar', 'target_dir': '/opt/moleculeapp/runtime_images_source_dir', 'target_filename': 'aux_resources_package.tar'}}) TASK [resource-data : Upload resource files [{'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}, {'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}] to infrastructure] *** included: /root/change_107983/ansible/roles/resource-data/tasks/upload_resources.yml for infrastructure-server TASK [resource-data : Query package facts to check nfs-utils existence] ******** ok: [infrastructure-server] TASK [resource-data : Set transport fact to nfs or ssh] ************************ ok: [infrastructure-server] TASK [resource-data : Upload resources to infrastructure servers over nfs] ***** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-resource.yml for infrastructure-server => (item={'file': 'resources_package.tar', 'destination_dir': '/opt/moleculeapp'}) included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-resource.yml for infrastructure-server => (item={'file': 'aux_resources_package.tar', 'destination_dir': '/opt/moleculeapp/runtime_images_source_dir'}) TASK [resource-data : Create /opt/moleculeapp directory] *********************** changed: [infrastructure-server] TASK [resource-data : Check if resources are uploaded] ************************* ok: [infrastructure-server] TASK [resource-data : Get list of destination directory files] ***************** ok: [infrastructure-server] TASK [resource-data : Unarchive resource resources_package.tar from host resource-host, transport is nfs] *** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-nfs-resource.yml for infrastructure-server TASK [resource-data : Mount resource dir] ************************************** changed: [infrastructure-server] TASK [resource-data : Unarchive resource /data/resources_package.tar to /opt/moleculeapp dir on infrastructure servers over nfs] *** changed: [infrastructure-server] TASK [resource-data : Unmount resource dir] ************************************ changed: [infrastructure-server] TASK [resource-data : Generate flag file after resources are deployed on infra] *** changed: [infrastructure-server] TASK [resource-data : Create /opt/moleculeapp/runtime_images_source_dir directory] *** changed: [infrastructure-server] TASK [resource-data : Check if resources are uploaded] ************************* ok: [infrastructure-server] TASK [resource-data : Get list of destination directory files] ***************** ok: [infrastructure-server] TASK [resource-data : Unarchive resource aux_resources_package.tar from host resource-host, transport is nfs] *** included: /root/change_107983/ansible/roles/resource-data/tasks/unarchive-nfs-resource.yml for infrastructure-server TASK [resource-data : Mount resource dir] ************************************** changed: [infrastructure-server] TASK [resource-data : Unarchive resource /data/aux_resources_package.tar to /opt/moleculeapp/runtime_images_source_dir dir on infrastructure servers over nfs] *** changed: [infrastructure-server] TASK [resource-data : Unmount resource dir] ************************************ changed: [infrastructure-server] TASK [resource-data : Generate flag file after resources are deployed on infra] *** changed: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=24 changed=10 unreachable=0 failed=0 resource-host : ok=5 changed=0 unreachable=0 failed=0 --> Scenario: 'nfs' --> Action: 'idempotence' Idempotence completed successfully. --> Scenario: 'nfs' --> Action: 'side_effect' Skipping, side effect playbook not configured. --> Scenario: 'nfs' --> Action: 'verify' Skipping, no tests found. --> Scenario: 'nfs' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'nfs' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Delete docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=3 unreachable=0 failed=0 Deleted Volumes: 16ac7890ff934501bf129905f2032cbf10393274f3cb38bc924c430b42031b06 8808716fe74a662b382ca8dc02bff7971c15181a224ffd6fce9f1fb12cdebc86 733fa48af713da465bdfdfbc6856097ebe96d35a27fdbf68cfe025e03532100f 1628e16e3923391acab182e331fcb65325ded8e48530599afa789095b6efdb62 8ed49d472d4632d1d9ccd2244d3d08e8fde5ff7cd781b3eacf422c0e2094f86d Total reclaimed space: 33.61MB /root/change_107983 Build all pre-build images Install Molecule with virtualenv Activated virtual env in /root/molecule_venv molecule, version 2.20.0 --> Validating schema /root/change_107983/ansible/test/play-rke/molecule/default/molecule.yml. Validation completed successfully. --> Test matrix └── default ├── lint ├── cleanup ├── destroy ├── dependency ├── syntax ├── create ├── prepare ├── converge ├── idempotence ├── side_effect ├── verify ├── cleanup └── destroy --> Scenario: 'default' --> Action: 'lint' --> Executing Yamllint on files found in /root/change_107983/ansible/test/play-rke/... Lint completed successfully. Skipping, no tests found. --> Executing Ansible Lint on /root/change_107983/ansible/test/play-rke/molecule/default/playbook.yml... Lint completed successfully. --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Delete docker network(s)] ************************************************ ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=1 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'dependency' Skipping, missing the requirements file. --> Scenario: 'default' --> Action: 'syntax' playbook: /root/change_107983/ansible/test/play-rke/molecule/default/playbook.yml --> Scenario: 'default' --> Action: 'create' PLAY [Create] ****************************************************************** TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create Dockerfiles from image names] ************************************* skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Build an Ansible compatible image] *************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] TASK [Determine the CMD directives] ******************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Create molecule instance(s)] ********************************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) creation to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'prepare' PLAY [Prepare for all] ********************************************************* TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [kubernetes-node-1] TASK [prepare-docker-dind : Make all mounts shared] **************************** changed: [infrastructure-server] changed: [kubernetes-node-1] TASK [prepare-docker-dind : Enable docker repository - yum] ******************** changed: [kubernetes-node-1] changed: [infrastructure-server] TASK [prepare-docker-dind : Install docker] ************************************ changed: [infrastructure-server] changed: [kubernetes-node-1] TASK [prepare-docker-dind : Make all mounts shared] **************************** skipping: [kubernetes-node-1] skipping: [infrastructure-server] TASK [prepare-docker-dind : Install GNUPG for apt-key] ************************* skipping: [kubernetes-node-1] skipping: [infrastructure-server] TASK [prepare-docker-dind : Add an apt key] ************************************ skipping: [kubernetes-node-1] skipping: [infrastructure-server] TASK [prepare-docker-dind : Enable docker repository - apt] ******************** skipping: [kubernetes-node-1] skipping: [infrastructure-server] TASK [prepare-docker-dind : Install docker - apt] ****************************** skipping: [kubernetes-node-1] skipping: [infrastructure-server] TASK [prepare-rke : include_tasks] ********************************************* included: /root/change_107983/ansible/test/roles/prepare-rke/tasks/all.yml for kubernetes-node-1, infrastructure-server TASK [prepare-rke : Allow non root logins] ************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] RUNNING HANDLER [prepare-docker-dind : Restart docker] ************************* changed: [infrastructure-server] changed: [kubernetes-node-1] PLAY [Prepare infra] *********************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [Include infrastructure group variables] ********************************** ok: [infrastructure-server] TASK [prepare-rke : include_tasks] ********************************************* included: /root/change_107983/ansible/test/roles/prepare-rke/tasks/infra.yml for infrastructure-server TASK [prepare-rke : Ensure /opt/moleculeapp exists] **************************** changed: [infrastructure-server] TASK [prepare-rke : Install rke-0.3.0] ***************************************** changed: [infrastructure-server] TASK [prepare-kubectl : Ensure /opt/moleculeapp exists] ************************ ok: [infrastructure-server] TASK [prepare-kubectl : Install kubectl-1.15.4] ******************************** changed: [infrastructure-server] TASK [prepare-helm : Ensure /opt/moleculeapp/downloads directory exists] ******* ok: [infrastructure-server] TASK [prepare-helm : Download helm-v2.14.2] ************************************ changed: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=16 changed=8 unreachable=0 failed=0 kubernetes-node-1 : ok=7 changed=4 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'converge' PLAY [Initialize] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] ok: [kubernetes-node-1] TASK [Set cluster_ip fact] ***************************************************** ok: [kubernetes-node-1] ok: [infrastructure-server] TASK [Include variables] ******************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] PLAY [Gather facts for all hosts] ********************************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] PLAY [Configure etcd (RKE)] **************************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [rke : include_tasks] ***************************************************** included: /root/change_107983/ansible/roles/rke/tasks/rke_etcd.yml for infrastructure-server TASK [rke : Mount tmpfs as etcd storage - non-persistent data (BEWARE)] ******** skipping: [infrastructure-server] PLAY [Configure kubernetes cluster (RKE)] ************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [rke : include_tasks] ***************************************************** included: /root/change_107983/ansible/roles/rke/tasks/rke_config.yml for infrastructure-server TASK [rke : Ensure the .ssh directory exists] ********************************** changed: [infrastructure-server] TASK [rke : Add kubernetes nodes host keys to known_hosts file] **************** changed: [infrastructure-server] => (item=infrastructure-server) changed: [infrastructure-server] => (item=kubernetes-node-1) TASK [rke : Ensure /opt/moleculeapp/cluster is present] ************************ changed: [infrastructure-server] TASK [rke : Generate cluster wide ssh key pair] ******************************** changed: [infrastructure-server] TASK [rke : Get ssh public key] ************************************************ ok: [infrastructure-server] TASK [rke : Decode ssh public key] ********************************************* ok: [infrastructure-server] TASK [rke : Prepare rke cluster.yml] ******************************************* changed: [infrastructure-server] TASK [rke : Prepare rke addon manifest (dashboard)] **************************** changed: [infrastructure-server] TASK [rke : Prepare rke addon manifest (dashboard user)] *********************** changed: [infrastructure-server] TASK [rke : Install rke cli tool] ********************************************** changed: [infrastructure-server] PLAY [Prepare kubernetes hosts (RKE)] ****************************************** TASK [Gathering Facts] ********************************************************* ok: [kubernetes-node-1] ok: [infrastructure-server] TASK [rke : include_tasks] ***************************************************** included: /root/change_107983/ansible/roles/rke/tasks/rke_node.yml for infrastructure-server, kubernetes-node-1 TASK [rke : Create a rke user on the node] ************************************* changed: [infrastructure-server] changed: [kubernetes-node-1] TASK [rke : Distribute rke user ssh public key] ******************************** changed: [kubernetes-node-1] changed: [infrastructure-server] TASK [rke : Ensure that '/etc/kubernetes' is present] ************************** changed: [infrastructure-server] changed: [kubernetes-node-1] TASK [rke : Prepare kubelet static config] ************************************* changed: [kubernetes-node-1] changed: [infrastructure-server] PLAY [Deploy kubernetes cluster (RKE)] ***************************************** TASK [Gathering Facts] ********************************************************* ok: [infrastructure-server] TASK [rke : include_tasks] ***************************************************** included: /root/change_107983/ansible/roles/rke/tasks/rke_deploy.yml for infrastructure-server TASK [rke : Check if rke is deployed] ****************************************** ok: [infrastructure-server] TASK [rke : Run rke up] ******************************************************** changed: [infrastructure-server] TASK [rke : Ensure .kube directory is present] ********************************* changed: [infrastructure-server] TASK [rke : Setup kubeconfig] ************************************************** changed: [infrastructure-server] TASK [kubectl : Install kubectl] *********************************************** changed: [infrastructure-server] TASK [helm : Install Helm] ***************************************************** changed: [infrastructure-server] PLAY RECAP ********************************************************************* infrastructure-server : ok=32 changed=17 unreachable=0 failed=0 kubernetes-node-1 : ok=10 changed=4 unreachable=0 failed=0 --> Scenario: 'default' --> Action: 'idempotence' Idempotence completed successfully. --> Scenario: 'default' --> Action: 'side_effect' Skipping, side effect playbook not configured. --> Scenario: 'default' --> Action: 'verify' Skipping, no tests found. --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Wait for instance(s) deletion to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Delete docker network(s)] ************************************************ changed: [localhost] => (item=None) ok: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=3 unreachable=0 failed=0 Deleted Volumes: 2e1d037198f4486a2b2d8930c5f557281241a2cf211ca339ee59c67f941be78d 99b0d15689c7a0136c262067b6c920b65162d230cac5511d9ad83fe6341f71c0 e49fb2617900ff2d3cc3da9c634a841b8cd5885c018ef5672b0bd6ec9d03217a 484a30486fa90bf039ddf8a5a2003cc90e0f081ea63744afb1db81a678d1c973 907e1d9f1f6de2c27d4bfa62bc3dce194fabe826d881f92d1a83a0f92cefc509 828b35ec9a47635a55cf1060f09f0b6291b3d1f3beb2b045d0bb2b869b4b5c31 c35fb335a16792a3e8c21fc1c374d55c07ea041a33965879de21b41e3806cc16 0fcdba1ffa925fa332390333024d89d6adc76712f9a11b167a6913a0c6bdd7d3 Total reclaimed space: 3.966GB /root/change_107983 NO BUILD TEST REQUIRED NO DOC TEST REQUIRED All verification steps passed ---------- ONAP OFFLINE INSTALLER - CHANGE VERIFICATION END ----------