Started by upstream project "pipeline-templates" build number 16 originally caused by: Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-controller/+/907 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/deploy-platform-ansible-k8s [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is disabled by the job configuration... [WS-CLEANUP] Done The recommended git tool is: git No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/opensdn-io/tf-jenkins.git > git init /home/jenkins/workspace/deploy-platform-ansible-k8s/src/opensdn-io/tf-jenkins # timeout=10 Fetching upstream changes from https://github.com/opensdn-io/tf-jenkins.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/opensdn-io/tf-jenkins.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision c4d472b87bf735175ea4244c557b4452872ed385 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f c4d472b87bf735175ea4244c557b4452872ed385 # timeout=10 Commit message: "add uwsgi for python3 to tpc" > git rev-list --no-walk 0f182924822cd3816a61c7191c1ddda84457b4b3 # timeout=10 The recommended git tool is: NONE No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/opensdn-io/tf-devstack.git > git init /home/jenkins/workspace/deploy-platform-ansible-k8s/src/opensdn-io/tf-devstack # timeout=10 Fetching upstream changes from https://github.com/opensdn-io/tf-devstack.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-devstack.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/opensdn-io/tf-devstack.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision d5d6b1b40f7a4123c41227e65ce446300f204cc9 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f d5d6b1b40f7a4123c41227e65ce446300f204cc9 # timeout=10 Commit message: "change log for 21.4 -> 24.1" > git rev-list --no-walk d5d6b1b40f7a4123c41227e65ce446300f204cc9 # timeout=10 Copied 3 artifacts from "pipeline-templates" build number 16 [deploy-platform-ansible-k8s] $ /bin/bash -xe /tmp/jenkins1451694247279103920.sh + source /home/jenkins/workspace/deploy-platform-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export GERRIT_PIPELINE=templates ++ GERRIT_PIPELINE=templates ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-controller ++ GERRIT_PROJECT=opensdn-io/tf-controller ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + desc='Pipeline: pipeline-templates-16 Random: 80540 Stream: ansible-k8s' + desc+='
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s' + echo 'DESCRIPTION Pipeline: pipeline-templates-16 Random: 80540 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s' DESCRIPTION Pipeline: pipeline-templates-16 Random: 80540 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s [description-setter] Description set: Pipeline: pipeline-templates-16 Random: 80540 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s' [deploy-platform-ansible-k8s] $ /bin/bash -xe /tmp/jenkins17752761301963190289.sh + set -eo pipefail + source /home/jenkins/workspace/deploy-platform-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export GERRIT_PIPELINE=templates ++ GERRIT_PIPELINE=templates ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-controller ++ GERRIT_PROJECT=opensdn-io/tf-controller ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-jenkins ./patchsets-info.json + ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-devstack ./patchsets-info.json [deploy-platform-ansible-k8s] $ /bin/bash -xe /tmp/jenkins13357665375437874384.sh + set -eo pipefail + export ENVIRONMENT_OS=rocky9 + ENVIRONMENT_OS=rocky9 + export ORCHESTRATOR=kubernetes + ORCHESTRATOR=kubernetes + source /home/jenkins/workspace/deploy-platform-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-16 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/07/907/1/templates_16 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-9_0_7-1 ++ export GERRIT_PIPELINE=templates ++ GERRIT_PIPELINE=templates ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ GERRIT_CHANGE_ID=I3a928ff719061cc98fb55852a5653c674d388a32 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-controller ++ GERRIT_PROJECT=opensdn-io/tf-controller ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + source /home/jenkins/workspace/deploy-platform-ansible-k8s/deps.deploy-platform-ansible-k8s.80540.env /tmp/jenkins13357665375437874384.sh: line 6: /home/jenkins/workspace/deploy-platform-ansible-k8s/deps.deploy-platform-ansible-k8s.80540.env: No such file or directory + /bin/true + source /home/jenkins/workspace/deploy-platform-ansible-k8s/vars.deploy-platform-ansible-k8s.80540.env ++ export MONITORING_DEPLOY_TARGET=AIO ++ MONITORING_DEPLOY_TARGET=AIO ++ export MONITORING_DEPLOYER=ansible ++ MONITORING_DEPLOYER=ansible ++ export MONITORING_ORCHESTRATOR=k8s ++ MONITORING_ORCHESTRATOR=k8s ++ export ENVIRONMENT_OS=rocky9 ++ ENVIRONMENT_OS=rocky9 + res=0 + ./src/opensdn-io/tf-jenkins/jobs/devstack/ansible/create_workers.sh NODES declaration error: "" creating one controller Generating public/private rsa key pair. Your identification has been saved in new_key Your public key has been saved in new_key.pub The key fingerprint is: SHA256:c+Y4BkXwllYiiS5FXKpuP59JA0+x4WLnkzIgCgwFino jenkins@tf-jenkins The key's randomart image is: +---[RSA 3072]----+ |...o.o+oo . | |o. +..+ + | |+ o. o * | |+ .... B | |+.E.+ * S o | |o+ o B o * | |. o o B + . | | . ..+ * . | | .o+ | +----[SHA256]-----+ INFO: VM_TYPE=medium INSTANCE_TYPE=STD3-4-16 VOLUME_SIZE=80 INFO: project_id=**** INFO: wait for enough resources for required_instances=1 and required_cores=4 Fri Aug 23 16:01:36 UTC 2024 INFO: waiting for resources is finished Fri Aug 23 16:01:45 UTC 2024 INFO: openstack volume create --type ceph-ssd --size 80 --availability-zone GZ1 --image aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f --bootable cn_jenkins-deploy-platform-ansible-k8s-238_1_volume +---------------------+----------------------------------------------+ | Field | Value | +---------------------+----------------------------------------------+ | attachments | [] | | availability_zone | GZ1 | | bootable | false | | consistencygroup_id | None | | created_at | 2024-08-23T16:01:49.301870 | | description | None | | encrypted | False | | id | 94f3f51d-59d6-435c-ba20-724052983a85 | | multiattach | False | | name | cn_jenkins-deploy-platform-ansible-k8s-238_1 | | properties | | | replication_status | None | | size | 80 | | snapshot_id | None | | source_volid | None | | status | creating | | type | ceph-ssd | | updated_at | None | | user_id | 25d930adb802408885c71e341481886e | +---------------------+----------------------------------------------+ Volume cn_jenkins-deploy-platform-ansible-k8s-238_1 is available INFO: openstack server create --volume cn_jenkins-deploy-platform-ansible-k8s-238_1 --flavor STD3-4-16 --security-group default --availability-zone GZ1 --key-name=worker --network management --wait cn_jenkins-deploy-platform-ansible-k8s-238_1 +-----------------------------+-----------------------------------------------------------+ | Field | Value | +-----------------------------+-----------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | GZ1 | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2024-08-23T16:03:40.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | management=10.0.0.37 | | adminPass | xz4iRe4t9TJg | | config_drive | | | created | 2024-08-23T16:02:13Z | | flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) | | hostId | 98fc5553fa5072ee4b9f136ccea3d2aca7879a1a77e3edb9b5b529db | | id | 8c5a946e-7e23-4896-9ed1-e3a54e97308f | | image | N/A (booted from volume) | | key_name | worker | | name | cn_jenkins-deploy-platform-ansible-k8s-238_1 | | progress | 0 | | project_id | **** | | properties | | | security_groups | id='ae6a292d-c48f-4b92-9b1d-4d0a032b0697', name='default' | | status | ACTIVE | | updated | 2024-08-23T16:03:40Z | | user_id | 25d930adb802408885c71e341481886e | | volumes_attached | id='94f3f51d-59d6-435c-ba20-724052983a85' | +-----------------------------+-----------------------------------------------------------+ nova CLI is deprecated and will be removed in a future release Request to add tag PipelineBuildTag=jenkins-pipeline-templates-16 to specified server has been accepted. Request to add tag JobTag=jenkins-deploy-platform-ansible-k8s-238 to specified server has been accepted. Request to add tag GroupTag=cn_jenkins-deploy-platform-ansible-k8s-238 to specified server has been accepted. Request to add tag SLAVE=openstack to specified server has been accepted. Request to add tag DOWN= to specified server has been accepted. ssh: connect to host 10.0.0.37 port 22: Connection refused Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. Linux cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 17:09:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux /home/jenkins/workspace/deploy-platform-ansible-k8s/src/opensdn-io/tf-jenkins/infra/openstack/../hooks/rocky/up.sh: line 12: /home/jenkins/workspace/deploy-platform-ansible-k8s/deps.deploy-platform-ansible-k8s.80540.env: No such file or directory Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. INFO: do not set default gateway for second interface Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. INFO: check dns Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. Server: 10.0.0.2 Address: 10.0.0.2#53 Name: tf-jenkins.mcs.local Address: 10.0.0.25 real 0m0.058s user 0m0.002s sys 0m0.013s INFO: cat /etc/resolv.conf Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. # Generated by NetworkManager search mcs.local novalocal nameserver 10.0.0.2 nameserver 10.0.0.4 DEBUG: port_id=02cc45f3-9162-4bf9-aae1-339e06ce1072 for 8c5a946e-7e23-4896-9ed1-e3a54e97308f in management INFO: collect hostname from node 10.0.0.37 INFO: addition to /etc/hosts for all VM-s: 10.0.0.37 cn-jenkins-deploy-platform-ansible-k8s-238-1 INFO: update /etc/hosts on node 10.0.0.37 + ENV_FILE=/home/jenkins/workspace/deploy-platform-ansible-k8s/stackrc.deploy-platform-ansible-k8s.env + echo 'export ORCHESTRATOR=kubernetes' + echo 'export DEPLOYER=ansible' + echo 'export JOB_LOGS_PATH=ansible-k8s' + [[ 0 == 1 ]] + source /home/jenkins/workspace/deploy-platform-ansible-k8s/stackrc.deploy-platform-ansible-k8s.env ++ export PROVIDER=openstack ++ PROVIDER=openstack ++ export ENVIRONMENT_OS=rocky9 ++ ENVIRONMENT_OS=rocky9 ++ export IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ export IMAGE_SSH_USER=rocky ++ IMAGE_SSH_USER=rocky ++ export INSTANCE_IDS=8c5a946e-7e23-4896-9ed1-e3a54e97308f, ++ INSTANCE_IDS=8c5a946e-7e23-4896-9ed1-e3a54e97308f, ++ export instance_ip=10.0.0.37 ++ instance_ip=10.0.0.37 ++ export CONTROLLER_NODES=10.0.0.37, ++ CONTROLLER_NODES=10.0.0.37, ++ export ORCHESTRATOR=kubernetes ++ ORCHESTRATOR=kubernetes ++ export DEPLOYER=ansible ++ DEPLOYER=ansible ++ export JOB_LOGS_PATH=ansible-k8s ++ JOB_LOGS_PATH=ansible-k8s + source ./src/opensdn-io/tf-jenkins/infra/openstack/definitions ++ export PROVIDER=openstack ++ PROVIDER=openstack ++ export OS_NETWORK=management ++ OS_NETWORK=management ++ export OS_DATA_NETWORK=data ++ OS_DATA_NETWORK=data ++ export OS_SG=default ++ OS_SG=default ++ export RESERVED_INSTANCES_COUNT=3 ++ RESERVED_INSTANCES_COUNT=3 ++ export RESERVED_CORES_COUNT=16 ++ RESERVED_CORES_COUNT=16 ++ export VM_BOOT_RETRIES=120 ++ VM_BOOT_RETRIES=120 ++ export VM_BOOT_DELAY=60 ++ VM_BOOT_DELAY=60 ++ export VOLUME_TYPE=ceph-ssd ++ VOLUME_TYPE=ceph-ssd ++ ENVIRONMENT_OS=rocky9 ++ VM_TYPES=(['xsmall']='STD3-1-4' ['small']='STD3-2-8' ['medium']='STD3-4-16' ['large']='STD3-8-32') ++ declare -A VM_TYPES ++ VOLUME_SIZE=(['xsmall']='50' ['small']='50' ['medium']='80' ['large']='80') ++ declare -A VOLUME_SIZE ++ OS_IMAGES=(['CENTOS7']='prepared-centos7' ['CENTOS8']='prepared-centos8' ['UBUNTU20']='prepared-ubuntu20' ['UBUNTU22']='prepared-ubuntu22' ['ROCKY9']='prepared-rocky92') ++ declare -A OS_IMAGES ++ OS_IMAGE_USERS=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky') ++ declare -A OS_IMAGE_USERS ++ OS_IMAGES_UP=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky') ++ declare -A OS_IMAGES_UP ++ OS_IMAGES_DOWN=(['CENTOS7']='' ['CENTOS8']='' ['UBUNTU20']='' ['UBUNTU22']='' ['ROCKY9']='' ['ROCKY92']='') ++ declare -A OS_IMAGES_DOWN ++ SSH_OPTIONS='-T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no' + export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s + FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s + ssh -i **** -T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no logserver@nexus.gz1.opensdn.io 'mkdir -p /var/www/logs/jenkins_logs/gerrit/07/907/1/templates_16/ansible-k8s' Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts. + ./src/opensdn-io/tf-jenkins/jobs/devstack/ansible/deploy_platform.sh INFO: Deploy ansible/platform (deploy-platform-ansible-k8s) Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. Warning: Permanently added '10.0.0.37' (ECDSA) to the list of known hosts. INFO: =================== Fri Aug 23 16:04:23 UTC 2024 =================== [there is no tf devenv configuration to load] INFO: Applying stages machines k8s openstack INFO: Running stage machines at Fri Aug 23 16:04:23 UTC 2024 rocky detected Rocky Linux 9 - BaseOS 12 kB/s | 4.1 kB 00:00 Rocky Linux 9 - BaseOS 6.7 MB/s | 2.3 MB 00:00 Rocky Linux 9 - AppStream 15 kB/s | 4.5 kB 00:00 Rocky Linux 9 - AppStream 20 MB/s | 8.0 MB 00:00 Rocky Linux 9 - Extras 8.2 kB/s | 2.9 kB 00:00 Rocky Linux 9 - Extras 47 kB/s | 15 kB 00:00 NetworkManager.x86_64 1:1.46.0-13.el9_4 baseos NetworkManager-libnm.x86_64 1:1.46.0-13.el9_4 baseos NetworkManager-team.x86_64 1:1.46.0-13.el9_4 baseos NetworkManager-tui.x86_64 1:1.46.0-13.el9_4 baseos PackageKit.x86_64 1.2.6-1.el9 appstream PackageKit-glib.x86_64 1.2.6-1.el9 appstream acl.x86_64 2.3.1-4.el9 baseos alternatives.x86_64 1.24-1.el9 baseos audit.x86_64 3.1.2-2.el9 baseos audit-libs.x86_64 3.1.2-2.el9 baseos authselect.x86_64 1.2.6-2.el9 baseos authselect-compat.x86_64 1.2.6-2.el9 appstream authselect-libs.x86_64 1.2.6-2.el9 baseos basesystem.noarch 11-13.el9.0.1 baseos bash.x86_64 5.1.8-9.el9 baseos bind.x86_64 32:9.16.23-18.el9_4.6 appstream bind-dnssec-doc.noarch 32:9.16.23-18.el9_4.6 appstream bind-dnssec-utils.x86_64 32:9.16.23-18.el9_4.6 appstream bind-libs.x86_64 32:9.16.23-18.el9_4.6 appstream bind-license.noarch 32:9.16.23-18.el9_4.6 appstream bind-utils.x86_64 32:9.16.23-18.el9_4.6 appstream c-ares.x86_64 1.19.1-2.el9_4 baseos ca-certificates.noarch 2024.2.69_v8.0.303-91.4.el9_4 baseos checkpolicy.x86_64 3.6-1.el9 appstream chrony.x86_64 4.5-1.el9 baseos cloud-init.noarch 23.4-7.el9_4.5.0.1 appstream cockpit-bridge.x86_64 311.2-1.el9_4 baseos cockpit-system.noarch 311.2-1.el9_4 baseos cockpit-ws.x86_64 311.2-1.el9_4 baseos coreutils.x86_64 8.32-35.el9 baseos coreutils-common.x86_64 8.32-35.el9 baseos cronie.x86_64 1.5.7-11.el9 baseos cronie-anacron.x86_64 1.5.7-11.el9 baseos crypto-policies.noarch 20240202-1.git283706d.el9 baseos crypto-policies-scripts.noarch 20240202-1.git283706d.el9 baseos cryptsetup-libs.x86_64 2.6.0-3.el9 baseos curl.x86_64 7.76.1-29.el9_4.1 baseos dbus.x86_64 1:1.12.20-8.el9 baseos dbus-common.noarch 1:1.12.20-8.el9 baseos dbus-libs.x86_64 1:1.12.20-8.el9 baseos dbus-tools.x86_64 1:1.12.20-8.el9 baseos device-mapper.x86_64 9:1.02.197-2.el9 baseos device-mapper-libs.x86_64 9:1.02.197-2.el9 baseos dhcp-client.x86_64 12:4.4.2-19.b1.el9 baseos dhcp-common.noarch 12:4.4.2-19.b1.el9 baseos dmidecode.x86_64 1:3.5-3.el9 baseos dnf.noarch 4.14.0-9.el9 baseos dnf-data.noarch 4.14.0-9.el9 baseos dnf-plugins-core.noarch 4.3.0-13.el9 baseos dracut.x86_64 057-53.git20240104.el9 baseos dracut-config-generic.x86_64 057-53.git20240104.el9 baseos dracut-network.x86_64 057-53.git20240104.el9 baseos dracut-squash.x86_64 057-53.git20240104.el9 baseos e2fsprogs.x86_64 1.46.5-5.el9 baseos e2fsprogs-libs.x86_64 1.46.5-5.el9 baseos elfutils-default-yama-scope.noarch 0.190-2.el9 baseos elfutils-libelf.x86_64 0.190-2.el9 baseos elfutils-libs.x86_64 0.190-2.el9 baseos ethtool.x86_64 2:6.2-1.el9 baseos expat.x86_64 2.5.0-2.el9_4 baseos file.x86_64 5.39-16.el9 baseos file-libs.x86_64 5.39-16.el9 baseos findutils.x86_64 1:4.8.0-6.el9 baseos fwupd.x86_64 1.9.13-2.el9 baseos fwupd-plugin-flashrom.x86_64 1.9.13-2.el9 appstream gdk-pixbuf2.x86_64 2.42.6-4.el9_4 appstream gettext.x86_64 0.21-8.el9 baseos gettext-libs.x86_64 0.21-8.el9 baseos glib2.x86_64 2.68.4-14.el9 baseos glibc.x86_64 2.34-100.el9_4.2 baseos glibc-common.x86_64 2.34-100.el9_4.2 baseos glibc-gconv-extra.x86_64 2.34-100.el9_4.2 baseos glibc-langpack-en.x86_64 2.34-100.el9_4.2 baseos gmp.x86_64 1:6.2.0-13.el9 baseos gnupg2.x86_64 2.3.3-4.el9 baseos gnutls.x86_64 3.8.3-4.el9_4 baseos grub2-common.noarch 1:2.06-80.el9_4 baseos grub2-efi-x64.x86_64 1:2.06-80.el9_4 baseos grub2-pc.x86_64 1:2.06-80.el9_4 baseos grub2-pc-modules.noarch 1:2.06-80.el9_4 baseos grub2-tools.x86_64 1:2.06-80.el9_4 baseos grub2-tools-minimal.x86_64 1:2.06-80.el9_4 baseos grubby.x86_64 8.40-64.el9 baseos gssproxy.x86_64 0.8.4-6.el9 baseos httpd.x86_64 2.4.57-11.el9_4.1 appstream httpd-core.x86_64 2.4.57-11.el9_4.1 appstream httpd-filesystem.noarch 2.4.57-11.el9_4.1 appstream httpd-tools.x86_64 2.4.57-11.el9_4.1 appstream hwdata.noarch 0.348-9.13.el9 baseos initscripts-rename-device.x86_64 10.11.6-1.el9 baseos initscripts-service.noarch 10.11.6-1.el9 baseos iproute.x86_64 6.2.0-6.el9_4 baseos iproute-tc.x86_64 6.2.0-6.el9_4 baseos iptables-libs.x86_64 1.8.10-2.el9 baseos iputils.x86_64 20210202-9.el9 baseos irqbalance.x86_64 2:1.9.2-3.el9 baseos kbd.x86_64 2.4.0-9.el9 baseos kbd-misc.noarch 2.4.0-9.el9 baseos kernel.x86_64 5.14.0-427.31.1.el9_4 baseos kernel-core.x86_64 5.14.0-427.31.1.el9_4 baseos kernel-modules.x86_64 5.14.0-427.31.1.el9_4 baseos kernel-modules-core.x86_64 5.14.0-427.31.1.el9_4 baseos kernel-tools.x86_64 5.14.0-427.31.1.el9_4 baseos kernel-tools-libs.x86_64 5.14.0-427.31.1.el9_4 baseos kexec-tools.x86_64 2.0.27-8.el9_4.3 baseos kmod.x86_64 28-9.el9 baseos kmod-libs.x86_64 28-9.el9 baseos kpartx.x86_64 0.8.7-27.el9 baseos krb5-libs.x86_64 1.21.1-1.el9 baseos less.x86_64 590-4.el9_4 baseos libacl.x86_64 2.3.1-4.el9 baseos libappstream-glib.x86_64 0.7.18-5.el9_4 appstream libarchive.x86_64 3.5.3-4.el9.0.1 baseos libatomic.x86_64 11.4.1-3.el9 baseos libblkid.x86_64 2.37.4-18.el9 baseos libblockdev.x86_64 2.28-10.el9 appstream libblockdev-crypto.x86_64 2.28-10.el9 appstream libblockdev-fs.x86_64 2.28-10.el9 appstream libblockdev-loop.x86_64 2.28-10.el9 appstream libblockdev-mdraid.x86_64 2.28-10.el9 appstream libblockdev-part.x86_64 2.28-10.el9 appstream libblockdev-swap.x86_64 2.28-10.el9 appstream libblockdev-utils.x86_64 2.28-10.el9 appstream libbpf.x86_64 2:1.3.0-2.el9 baseos libcap.x86_64 2.48-9.el9_2 baseos libcom_err.x86_64 1.46.5-5.el9 baseos libcurl.x86_64 7.76.1-29.el9_4.1 baseos libdnf.x86_64 0.69.0-8.el9 baseos libeconf.x86_64 0.4.1-3.el9_2 baseos libedit.x86_64 3.1-38.20210216cvs.el9 baseos libfastjson.x86_64 0.99.9-5.el9 appstream libfdisk.x86_64 2.37.4-18.el9 baseos libffi.x86_64 3.4.2-8.el9 baseos libfido2.x86_64 1.13.0-2.el9 baseos libgcc.x86_64 11.4.1-3.el9 baseos libgomp.x86_64 11.4.1-3.el9 baseos libgusb.x86_64 0.3.8-2.el9 baseos libibverbs.x86_64 48.0-1.el9 baseos libjpeg-turbo.x86_64 2.0.90-7.el9 appstream libkcapi.x86_64 1.4.0-2.el9 baseos libkcapi-hmaccalc.x86_64 1.4.0-2.el9 baseos libldb.x86_64 2.8.0-1.el9 baseos libmount.x86_64 2.37.4-18.el9 baseos libndp.x86_64 1.8-6.el9_4 baseos libnfsidmap.x86_64 1:2.5.4-25.el9 baseos libnghttp2.x86_64 1.43.0-5.el9_4.3 baseos libnl3.x86_64 3.9.0-1.el9 baseos libnl3-cli.x86_64 3.9.0-1.el9 baseos librepo.x86_64 1.14.5-2.el9 baseos libselinux.x86_64 3.6-1.el9 baseos libselinux-utils.x86_64 3.6-1.el9 baseos libsemanage.x86_64 3.6-1.el9 baseos libsepol.x86_64 3.6-1.el9 baseos libsmartcols.x86_64 2.37.4-18.el9 baseos libsolv.x86_64 0.7.24-2.el9 baseos libss.x86_64 1.46.5-5.el9 baseos libssh.x86_64 0.10.4-13.el9 baseos libssh-config.noarch 0.10.4-13.el9 baseos libsss_certmap.x86_64 2.9.4-6.el9_4.1 baseos libsss_idmap.x86_64 2.9.4-6.el9_4.1 baseos libsss_nss_idmap.x86_64 2.9.4-6.el9_4.1 baseos libsss_sudo.x86_64 2.9.4-6.el9_4.1 baseos libstdc++.x86_64 11.4.1-3.el9 baseos libtalloc.x86_64 2.4.1-1.el9 baseos libtdb.x86_64 1.4.9-1.el9 baseos libtevent.x86_64 0.16.0-1.el9 baseos libtirpc.x86_64 1.3.3-8.el9_4 baseos libudisks2.x86_64 2.9.4-9.el9 appstream libuser.x86_64 0.63-13.el9 baseos libuuid.x86_64 2.37.4-18.el9 baseos libuv.x86_64 1:1.42.0-2.el9_4 appstream libxml2.x86_64 2.9.13-6.el9_4 baseos lshw.x86_64 B.02.19.2-10.el9 baseos lua-libs.x86_64 5.4.4-4.el9 baseos mdadm.x86_64 4.2-12.el9_4 baseos microcode_ctl.noarch 4:20230808-2.20231009.1.el9_3 baseos mod_lua.x86_64 2.4.57-11.el9_4.1 appstream ncurses.x86_64 6.2-10.20210508.el9 baseos ncurses-base.noarch 6.2-10.20210508.el9 baseos ncurses-libs.x86_64 6.2-10.20210508.el9 baseos nettle.x86_64 3.9.1-1.el9 baseos nfs-utils.x86_64 1:2.5.4-25.el9 baseos nspr.x86_64 4.35.0-7.el9_4 appstream nss.x86_64 3.90.0-7.el9_4 appstream nss-softokn.x86_64 3.90.0-7.el9_4 appstream nss-softokn-freebl.x86_64 3.90.0-7.el9_4 appstream nss-sysinit.x86_64 3.90.0-7.el9_4 appstream nss-util.x86_64 3.90.0-7.el9_4 appstream numactl-libs.x86_64 2.0.16-3.el9 baseos openldap.x86_64 2.6.6-3.el9 baseos openssh.x86_64 8.7p1-38.el9_4.4 baseos openssh-clients.x86_64 8.7p1-38.el9_4.4 baseos openssh-server.x86_64 8.7p1-38.el9_4.4 baseos openssl.x86_64 1:3.0.7-27.el9.0.2 baseos openssl-libs.x86_64 1:3.0.7-27.el9.0.2 baseos p11-kit.x86_64 0.25.3-2.el9 baseos p11-kit-trust.x86_64 0.25.3-2.el9 baseos p11-kit-trust.x86_64 0.25.3-2.el9 appstream pam.x86_64 1.5.1-19.el9 baseos pcre2.x86_64 10.40-5.el9 baseos pcre2-syntax.noarch 10.40-5.el9 baseos policycoreutils.x86_64 3.6-2.1.el9 baseos policycoreutils-python-utils.noarch 3.6-2.1.el9 appstream procps-ng.x86_64 3.3.17-14.el9 baseos python-unversioned-command.noarch 3.9.18-3.el9_4.3 appstream python3.x86_64 3.9.18-3.el9_4.3 baseos python3-audit.x86_64 3.1.2-2.el9 appstream python3-bind.noarch 32:9.16.23-18.el9_4.6 appstream python3-dateutil.noarch 1:2.8.1-7.el9 baseos python3-dbus.x86_64 1.2.18-2.el9.0.1 baseos python3-dnf.noarch 4.14.0-9.el9 baseos python3-dnf-plugins-core.noarch 4.3.0-13.el9 baseos python3-file-magic.noarch 5.39-16.el9 appstream python3-hawkey.x86_64 0.69.0-8.el9 baseos python3-idna.noarch 2.10-7.el9_4.1 baseos python3-jinja2.noarch 2.11.3-5.el9 appstream python3-libdnf.x86_64 0.69.0-8.el9 baseos python3-libs.x86_64 3.9.18-3.el9_4.3 baseos python3-libselinux.x86_64 3.6-1.el9 appstream python3-libsemanage.x86_64 3.6-1.el9 appstream python3-libxml2.x86_64 2.9.13-6.el9_4 baseos python3-pip-wheel.noarch 21.2.3-8.el9 baseos python3-policycoreutils.noarch 3.6-2.1.el9 appstream python3-pytz.noarch 2021.1-5.el9 appstream python3-requests.noarch 2.25.1-8.el9 baseos python3-rpm.x86_64 4.16.1.3-29.el9 baseos python3-setools.x86_64 4.4.4-1.el9 baseos python3-setuptools.noarch 53.0.0-12.el9_4.1 baseos python3-setuptools-wheel.noarch 53.0.0-12.el9_4.1 baseos python3-urllib3.noarch 1.26.5-5.el9 baseos qemu-guest-agent.x86_64 17:8.2.0-11.el9_4.4 appstream rng-tools.x86_64 6.16-1.el9 baseos rocky-gpg-keys.noarch 9.4-1.7.el9 baseos rocky-logos.x86_64 90.15-2.el9 appstream rocky-release.noarch 9.4-1.7.el9 baseos rocky-repos.noarch 9.4-1.7.el9 baseos rpcbind.x86_64 1.2.6-7.el9 baseos rpm.x86_64 4.16.1.3-29.el9 baseos rpm-build-libs.x86_64 4.16.1.3-29.el9 baseos rpm-libs.x86_64 4.16.1.3-29.el9 baseos rpm-plugin-audit.x86_64 4.16.1.3-29.el9 baseos rpm-plugin-selinux.x86_64 4.16.1.3-29.el9 baseos rpm-plugin-systemd-inhibit.x86_64 4.16.1.3-29.el9 appstream rpm-sign-libs.x86_64 4.16.1.3-29.el9 baseos rsyslog.x86_64 8.2310.0-4.el9 appstream rsyslog-logrotate.x86_64 8.2310.0-4.el9 appstream selinux-policy.noarch 38.1.35-2.el9_4.2.0.2 baseos selinux-policy-targeted.noarch 38.1.35-2.el9_4.2.0.2 baseos setroubleshoot-server.x86_64 3.3.32-1.el9 appstream setup.noarch 2.13.7-10.el9 baseos shadow-utils.x86_64 2:4.9-8.el9 baseos shim-x64.x86_64 15.8-2.el9 baseos sos.noarch 4.7.1-3.el9 baseos sqlite-libs.x86_64 3.34.1-7.el9_3 baseos squashfs-tools.x86_64 4.4-10.git1.el9 baseos sssd-client.x86_64 2.9.4-6.el9_4.1 baseos sssd-common.x86_64 2.9.4-6.el9_4.1 baseos sssd-kcm.x86_64 2.9.4-6.el9_4.1 baseos sssd-nfs-idmap.x86_64 2.9.4-6.el9_4.1 baseos sudo.x86_64 1.9.5p2-10.el9_3 baseos systemd.x86_64 252-32.el9_4.6 baseos systemd-libs.x86_64 252-32.el9_4.6 baseos systemd-pam.x86_64 252-32.el9_4.6 baseos systemd-rpm-macros.noarch 252-32.el9_4.6 baseos systemd-udev.x86_64 252-32.el9_4.6 baseos tcpdump.x86_64 14:4.99.0-9.el9 appstream tpm2-tss.x86_64 3.2.2-2.el9 baseos tzdata.noarch 2024a-1.el9 baseos udisks2.x86_64 2.9.4-9.el9 appstream util-linux.x86_64 2.37.4-18.el9 baseos util-linux-core.x86_64 2.37.4-18.el9 baseos virt-what.x86_64 1.25-5.el9 baseos webkit2gtk3-jsc.x86_64 2.42.5-1.el9 appstream which.x86_64 2.21-29.el9 baseos xfsprogs.x86_64 6.3.0-1.el9 baseos yum.noarch 4.14.0-9.el9 baseos yum-utils.noarch 4.3.0-13.el9 baseos zlib.x86_64 1.2.11-40.el9 baseos Obsoleting Packages grub2-tools.x86_64 1:2.06-80.el9_4 baseos grub2-tools.x86_64 1:2.06-46.el9_1.5.rocky.0.2 @baseos grub2-tools-efi.x86_64 1:2.06-80.el9_4 baseos grub2-tools.x86_64 1:2.06-46.el9_1.5.rocky.0.2 @baseos grub2-tools-extra.x86_64 1:2.06-80.el9_4 baseos grub2-tools.x86_64 1:2.06-46.el9_1.5.rocky.0.2 @baseos grub2-tools-minimal.x86_64 1:2.06-80.el9_4 baseos grub2-tools.x86_64 1:2.06-46.el9_1.5.rocky.0.2 @baseos Last metadata expiration check: 0:00:01 ago on Fri Aug 23 16:04:28 2024. Package python3-3.9.16-1.el9.x86_64 is already installed. Package python3-setuptools-53.0.0-12.el9.noarch is already installed. Package python3-libselinux-3.5-1.el9.x86_64 is already installed. Package iproute-6.1.0-1.el9.x86_64 is already installed. Package bind-utils-32:9.16.23-18.el9_4.1.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: jq x86_64 1.6-16.el9 baseos 186 k python3-pip noarch 21.2.3-8.el9 appstream 1.7 M Upgrading: bind x86_64 32:9.16.23-18.el9_4.6 appstream 490 k bind-dnssec-doc noarch 32:9.16.23-18.el9_4.6 appstream 45 k bind-dnssec-utils x86_64 32:9.16.23-18.el9_4.6 appstream 114 k bind-libs x86_64 32:9.16.23-18.el9_4.6 appstream 1.2 M bind-license noarch 32:9.16.23-18.el9_4.6 appstream 13 k bind-utils x86_64 32:9.16.23-18.el9_4.6 appstream 201 k iproute x86_64 6.2.0-6.el9_4 baseos 786 k iproute-tc x86_64 6.2.0-6.el9_4 baseos 448 k libselinux x86_64 3.6-1.el9 baseos 85 k libselinux-utils x86_64 3.6-1.el9 baseos 164 k libsepol x86_64 3.6-1.el9 baseos 329 k python-unversioned-command noarch 3.9.18-3.el9_4.3 appstream 8.5 k python3 x86_64 3.9.18-3.el9_4.3 baseos 25 k python3-bind noarch 32:9.16.23-18.el9_4.6 appstream 61 k python3-libs x86_64 3.9.18-3.el9_4.3 baseos 7.3 M python3-libselinux x86_64 3.6-1.el9 appstream 187 k python3-setuptools noarch 53.0.0-12.el9_4.1 baseos 838 k Installing dependencies: oniguruma x86_64 6.9.6-1.el9.5.0.1 baseos 217 k Transaction Summary ================================================================================ Install 3 Packages Upgrade 17 Packages Total download size: 14 M Downloading Packages: (1/20): jq-1.6-16.el9.x86_64.rpm 1.2 MB/s | 186 kB 00:00 (2/20): oniguruma-6.9.6-1.el9.5.0.1.x86_64.rpm 1.0 MB/s | 217 kB 00:00 (3/20): python3-pip-21.2.3-8.el9.noarch.rpm 7.8 MB/s | 1.7 MB 00:00 (4/20): python3-setuptools-53.0.0-12.el9_4.1.no 8.6 MB/s | 838 kB 00:00 (5/20): iproute-tc-6.2.0-6.el9_4.x86_64.rpm 8.4 MB/s | 448 kB 00:00 (6/20): iproute-6.2.0-6.el9_4.x86_64.rpm 14 MB/s | 786 kB 00:00 (7/20): python3-3.9.18-3.el9_4.3.x86_64.rpm 649 kB/s | 25 kB 00:00 (8/20): libselinux-utils-3.6-1.el9.x86_64.rpm 5.5 MB/s | 164 kB 00:00 (9/20): libsepol-3.6-1.el9.x86_64.rpm 3.5 MB/s | 329 kB 00:00 (10/20): python-unversioned-command-3.9.18-3.el 440 kB/s | 8.5 kB 00:00 (11/20): bind-utils-9.16.23-18.el9_4.6.x86_64.r 6.8 MB/s | 201 kB 00:00 (12/20): bind-libs-9.16.23-18.el9_4.6.x86_64.rp 21 MB/s | 1.2 MB 00:00 (13/20): libselinux-3.6-1.el9.x86_64.rpm 544 kB/s | 85 kB 00:00 (14/20): bind-dnssec-utils-9.16.23-18.el9_4.6.x 3.9 MB/s | 114 kB 00:00 (15/20): python3-bind-9.16.23-18.el9_4.6.noarch 3.2 MB/s | 61 kB 00:00 (16/20): bind-license-9.16.23-18.el9_4.6.noarch 451 kB/s | 13 kB 00:00 (17/20): bind-dnssec-doc-9.16.23-18.el9_4.6.noa 1.7 MB/s | 45 kB 00:00 (18/20): bind-9.16.23-18.el9_4.6.x86_64.rpm 4.3 MB/s | 490 kB 00:00 (19/20): python3-libselinux-3.6-1.el9.x86_64.rp 3.4 MB/s | 187 kB 00:00 (20/20): python3-libs-3.9.18-3.el9_4.3.x86_64.r 9.6 MB/s | 7.3 MB 00:00 -------------------------------------------------------------------------------- Total 9.1 MB/s | 14 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : bind-license-32:9.16.23-18.el9_4.6.noarch 1/37 Upgrading : bind-libs-32:9.16.23-18.el9_4.6.x86_64 2/37 Upgrading : bind-utils-32:9.16.23-18.el9_4.6.x86_64 3/37 Upgrading : libsepol-3.6-1.el9.x86_64 4/37 Upgrading : libselinux-3.6-1.el9.x86_64 5/37 Running scriptlet: libselinux-3.6-1.el9.x86_64 5/37 Upgrading : iproute-6.2.0-6.el9_4.x86_64 6/37 Upgrading : libselinux-utils-3.6-1.el9.x86_64 7/37 Upgrading : bind-dnssec-doc-32:9.16.23-18.el9_4.6.noarch 8/37 Upgrading : python-unversioned-command-3.9.18-3.el9_4.3.noarch 9/37 Upgrading : python3-3.9.18-3.el9_4.3.x86_64 10/37 Upgrading : python3-libs-3.9.18-3.el9_4.3.x86_64 11/37 Upgrading : python3-setuptools-53.0.0-12.el9_4.1.noarch 12/37 Upgrading : python3-bind-32:9.16.23-18.el9_4.6.noarch 13/37 Upgrading : bind-dnssec-utils-32:9.16.23-18.el9_4.6.x86_64 14/37 Installing : oniguruma-6.9.6-1.el9.5.0.1.x86_64 15/37 Installing : jq-1.6-16.el9.x86_64 16/37 Running scriptlet: bind-32:9.16.23-18.el9_4.6.x86_64 17/37 Upgrading : bind-32:9.16.23-18.el9_4.6.x86_64 17/37 Running scriptlet: bind-32:9.16.23-18.el9_4.6.x86_64 17/37 Installing : python3-pip-21.2.3-8.el9.noarch 18/37 Upgrading : python3-libselinux-3.6-1.el9.x86_64 19/37 Upgrading : iproute-tc-6.2.0-6.el9_4.x86_64 20/37 Cleanup : python3-setuptools-53.0.0-12.el9.noarch 21/37 Running scriptlet: bind-32:9.16.23-18.el9_4.1.x86_64 22/37 Cleanup : bind-32:9.16.23-18.el9_4.1.x86_64 22/37 Running scriptlet: bind-32:9.16.23-18.el9_4.1.x86_64 22/37 Cleanup : bind-dnssec-utils-32:9.16.23-18.el9_4.1.x86_64 23/37 Cleanup : bind-utils-32:9.16.23-18.el9_4.1.x86_64 24/37 Cleanup : libselinux-utils-3.5-1.el9.x86_64 25/37 Cleanup : python3-libselinux-3.5-1.el9.x86_64 26/37 Cleanup : python3-bind-32:9.16.23-18.el9_4.1.noarch 27/37 Cleanup : bind-dnssec-doc-32:9.16.23-18.el9_4.1.noarch 28/37 Cleanup : bind-libs-32:9.16.23-18.el9_4.1.x86_64 29/37 Cleanup : python3-libs-3.9.16-1.el9.x86_64 30/37 Cleanup : python3-3.9.16-1.el9.x86_64 31/37 Cleanup : iproute-tc-6.1.0-1.el9.x86_64 32/37 Cleanup : python-unversioned-command-3.9.16-1.el9.noarch 33/37 Cleanup : bind-license-32:9.16.23-18.el9_4.1.noarch 34/37 Cleanup : iproute-6.1.0-1.el9.x86_64 35/37 Cleanup : libselinux-3.5-1.el9.x86_64 36/37 Cleanup : libsepol-3.5-1.el9.x86_64 37/37 Running scriptlet: libsepol-3.5-1.el9.x86_64 37/37 Verifying : jq-1.6-16.el9.x86_64 1/37 Verifying : oniguruma-6.9.6-1.el9.5.0.1.x86_64 2/37 Verifying : python3-pip-21.2.3-8.el9.noarch 3/37 Verifying : python3-setuptools-53.0.0-12.el9_4.1.noarch 4/37 Verifying : python3-setuptools-53.0.0-12.el9.noarch 5/37 Verifying : iproute-tc-6.2.0-6.el9_4.x86_64 6/37 Verifying : iproute-tc-6.1.0-1.el9.x86_64 7/37 Verifying : iproute-6.2.0-6.el9_4.x86_64 8/37 Verifying : iproute-6.1.0-1.el9.x86_64 9/37 Verifying : python3-libs-3.9.18-3.el9_4.3.x86_64 10/37 Verifying : python3-libs-3.9.16-1.el9.x86_64 11/37 Verifying : python3-3.9.18-3.el9_4.3.x86_64 12/37 Verifying : python3-3.9.16-1.el9.x86_64 13/37 Verifying : libsepol-3.6-1.el9.x86_64 14/37 Verifying : libsepol-3.5-1.el9.x86_64 15/37 Verifying : libselinux-utils-3.6-1.el9.x86_64 16/37 Verifying : libselinux-utils-3.5-1.el9.x86_64 17/37 Verifying : libselinux-3.6-1.el9.x86_64 18/37 Verifying : libselinux-3.5-1.el9.x86_64 19/37 Verifying : python-unversioned-command-3.9.18-3.el9_4.3.noarch 20/37 Verifying : python-unversioned-command-3.9.16-1.el9.noarch 21/37 Verifying : bind-utils-32:9.16.23-18.el9_4.6.x86_64 22/37 Verifying : bind-utils-32:9.16.23-18.el9_4.1.x86_64 23/37 Verifying : bind-libs-32:9.16.23-18.el9_4.6.x86_64 24/37 Verifying : bind-libs-32:9.16.23-18.el9_4.1.x86_64 25/37 Verifying : bind-dnssec-utils-32:9.16.23-18.el9_4.6.x86_64 26/37 Verifying : bind-dnssec-utils-32:9.16.23-18.el9_4.1.x86_64 27/37 Verifying : bind-32:9.16.23-18.el9_4.6.x86_64 28/37 Verifying : bind-32:9.16.23-18.el9_4.1.x86_64 29/37 Verifying : python3-bind-32:9.16.23-18.el9_4.6.noarch 30/37 Verifying : python3-bind-32:9.16.23-18.el9_4.1.noarch 31/37 Verifying : bind-license-32:9.16.23-18.el9_4.6.noarch 32/37 Verifying : bind-license-32:9.16.23-18.el9_4.1.noarch 33/37 Verifying : bind-dnssec-doc-32:9.16.23-18.el9_4.6.noarch 34/37 Verifying : bind-dnssec-doc-32:9.16.23-18.el9_4.1.noarch 35/37 Verifying : python3-libselinux-3.6-1.el9.x86_64 36/37 Verifying : python3-libselinux-3.5-1.el9.x86_64 37/37 Upgraded: bind-32:9.16.23-18.el9_4.6.x86_64 bind-dnssec-doc-32:9.16.23-18.el9_4.6.noarch bind-dnssec-utils-32:9.16.23-18.el9_4.6.x86_64 bind-libs-32:9.16.23-18.el9_4.6.x86_64 bind-license-32:9.16.23-18.el9_4.6.noarch bind-utils-32:9.16.23-18.el9_4.6.x86_64 iproute-6.2.0-6.el9_4.x86_64 iproute-tc-6.2.0-6.el9_4.x86_64 libselinux-3.6-1.el9.x86_64 libselinux-utils-3.6-1.el9.x86_64 libsepol-3.6-1.el9.x86_64 python-unversioned-command-3.9.18-3.el9_4.3.noarch python3-3.9.18-3.el9_4.3.x86_64 python3-bind-32:9.16.23-18.el9_4.6.noarch python3-libs-3.9.18-3.el9_4.3.x86_64 python3-libselinux-3.6-1.el9.x86_64 python3-setuptools-53.0.0-12.el9_4.1.noarch Installed: jq-1.6-16.el9.x86_64 oniguruma-6.9.6-1.el9.5.0.1.x86_64 python3-pip-21.2.3-8.el9.noarch Complete! Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ Collecting ansible<6 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c77/f556a7c3d9948/ansible-5.10.0.tar.gz (36.9 MB) Collecting jinja2==3.0.3 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/077/ce6014f7b40d0/Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting pyopenssl Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/967/d5719b12b2435/pyOpenSSL-24.2.1-py3-none-any.whl (58 kB) Collecting MarkupSafe>=2.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/17b/950fccb810b32/MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting ansible-core~=2.12.7 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/feb/1df61738cfc1f/ansible-core-2.12.10.tar.gz (7.8 MB) Collecting cryptography<44,>=41.0.5 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/cb0/13933d4c12734/cryptography-43.0.0-cp39-abi3-manylinux_2_28_x86_64.whl (4.0 MB) Requirement already satisfied: PyYAML in /usr/lib64/python3.9/site-packages (from ansible-core~=2.12.7->ansible<6) (5.4.1) Collecting packaging Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/5b8/f2217dbdbd2f7/packaging-24.1-py3-none-any.whl (53 kB) Collecting resolvelib<0.6.0,>=0.5.3 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/811/3ae3ed6d33c6b/resolvelib-0.5.4-py2.py3-none-any.whl (12 kB) Collecting cffi>=1.12 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6f7/6a90c345796c0/cffi-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (444 kB) Collecting pycparser Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c37/02b6d3dd8c7ab/pycparser-2.22-py3-none-any.whl (117 kB) Using legacy 'setup.py install' for ansible, since package 'wheel' is not installed. Using legacy 'setup.py install' for ansible-core, since package 'wheel' is not installed. Installing collected packages: pycparser, MarkupSafe, cffi, resolvelib, packaging, jinja2, cryptography, ansible-core, pyopenssl, ansible Running setup.py install for ansible-core: started Running setup.py install for ansible-core: finished with status 'done' Running setup.py install for ansible: started Running setup.py install for ansible: still running... Running setup.py install for ansible: finished with status 'done' Successfully installed MarkupSafe-2.1.5 ansible-5.10.0 ansible-core-2.12.10 cffi-1.17.0 cryptography-43.0.0 jinja2-3.0.3 packaging-24.1 pycparser-2.22 pyopenssl-24.2.1 resolvelib-0.5.4 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv nexus.gz1.opensdn.io is an alias for nexus.opensdn.io. nexus.opensdn.io has address 212.233.90.199 INFO: ishost = true namespace = registry_url = nexus.gz1.opensdn.io:5101 INFO: Downloading 'tf-ansible-deployer-src:master-9_0_7-1@master-9_0_7-1' (1 layers)... INFO: Download of images into '/tmp/tmp.OufFoyvkXE' complete. INFO: Use something like the following to load the result into a Docker daemon: INFO: tar -cC '/tmp/tmp.OufFoyvkXE' . | docker load [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting [WARNING]: No inventory was parsed, only implicit localhost is available localhost | CHANGED => { "changed": true, "checksum": "84a516841ba77a5b4648de2cd0dfcb30ea46dbb4", "dest": "/tmp/rekjreekrbjrekj.txt", "gid": 1000, "group": "rocky", "md5sum": "4a8a08f09d37b73795649038408b5f33", "mode": "0644", "owner": "rocky", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 1, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1724429199.8228765-13994-242435381532025/source", "state": "file", "uid": 1000 } Using /home/rocky/tf-ansible-deployer/ansible.cfg as config file [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [Create container host group] ********************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Expose instances] ******************************************************** ok: [localhost] => {"ansible_facts": {"instances": {"node_10_0_0_37": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}}, "changed": false} TASK [pip : check if pip present] ********************************************** changed: [localhost] => {"changed": true, "cmd": "python3 -m pip --version", "delta": "0:00:00.228066", "end": "2024-08-23 16:06:43.895846", "msg": "", "rc": 0, "start": "2024-08-23 16:06:43.667780", "stderr": "", "stderr_lines": [], "stdout": "pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9)", "stdout_lines": ["pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9)"]} TASK [pip : upgrade pip] ******************************************************* changed: [localhost] => {"attempts": 1, "changed": true, "cmd": "python3 -m pip install --upgrade 'pip>=20'", "delta": "0:00:02.195285", "end": "2024-08-23 16:06:46.632277", "msg": "", "rc": 0, "start": "2024-08-23 16:06:44.436992", "stderr": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "stderr_lines": ["WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv"], "stdout": "Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/\nRequirement already satisfied: pip>=20 in /usr/lib/python3.9/site-packages (21.2.3)\nCollecting pip>=20\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/2cd/581cf58ab7fcf/pip-24.2-py3-none-any.whl (1.8 MB)\nInstalling collected packages: pip\nSuccessfully installed pip-24.2", "stdout_lines": ["Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/", "Requirement already satisfied: pip>=20 in /usr/lib/python3.9/site-packages (21.2.3)", "Collecting pip>=20", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/2cd/581cf58ab7fcf/pip-24.2-py3-none-any.whl (1.8 MB)", "Installing collected packages: pip", "Successfully installed pip-24.2"]} TASK [contrail_deployer : create container host group] ************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/create_container_host_group.yml for localhost TASK [contrail_deployer : add bms container hosts] ***************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["container_hosts"], "host_name": "10.0.0.37", "host_vars": {"ansible_become": true, "ansible_ssh_pass": "", "ansible_user": "rocky", "instance_name": "node_10_0_0_37", "private_ip": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : add bms container hosts] ***************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["container_hosts"], "host_name": "10.0.0.37", "host_vars": {"ansible_become": true, "ansible_ssh_private_key_file": "/home/rocky/.ssh/id_rsa", "ansible_user": "rocky", "instance_name": "node_10_0_0_37", "private_ip": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : build node lists] ************************************ included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/build_node_lists.yml for localhost TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"config_nodes_list": []}, "changed": false} TASK [contrail_deployer : add config nodes to the list] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"config_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"control_nodes_list": []}, "changed": false} TASK [contrail_deployer : add control nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"control_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"configdb_nodes_list": []}, "changed": false} TASK [contrail_deployer : add configdb nodes to the list] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"configdb_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics nodes to the list] ********************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_snmp_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics snmp nodes to the list] **************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_snmp_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_alarm_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics alarm nodes to the list] *************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_alarm_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analyticsdb_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analyticsdb nodes to the list] ******************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analyticsdb_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"webui_nodes_list": []}, "changed": false} TASK [contrail_deployer : add webui nodes to the list] ************************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"webui_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"k8s_master_nodes_list": []}, "changed": false} TASK [contrail_deployer : add k8s_master nodes to the list] ******************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"k8s_master_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"k8s_node_nodes_list": []}, "changed": false} TASK [contrail_deployer : add k8s_node nodes to the list] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"k8s_node_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"kubemanager_nodes_list": []}, "changed": false} TASK [contrail_deployer : add kubemanager nodes to the list] ******************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"kubemanager_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"openstack_nodes_list": []}, "changed": false} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"vrouter_nodes_list": []}, "changed": false} TASK [contrail_deployer : add Vrouter Nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"vrouter_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"tsn_nodes_list": []}, "changed": false} TASK [contrail_deployer : set global variables] ******************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_global_variables.yml for localhost TASK [contrail_deployer : set container tag contrail version if defined] ******* ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "latest"}, "changed": false} TASK [contrail_deployer : add specific contrail version tag if defined] ******** ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "master-9_0_7-1"}, "changed": false} TASK [contrail_deployer : set registry if defined] ***************************** ok: [localhost] => {"ansible_facts": {"container_registry": "nexus.gz1.opensdn.io:5101"}, "changed": false} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"roles": {}}, "changed": false} TASK [contrail_deployer : add roles if defined] ******************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"roles": {"node_10_0_0_37": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set vars for vanilla openstack deploy] *************** ok: [localhost] => {"ansible_facts": {"analytics_api_port": 8081, "config_api_port": 8082, "keystone_auth_proto": "http", "keystone_auth_public_port": 5000, "opencontrail_api_server_ip": "10.0.0.37", "opencontrail_collector_ip": "10.0.0.37"}, "changed": false} TASK [contrail_deployer : set default variables] ******************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_default_variables.yml for localhost TASK [contrail_deployer : set orchestrator param] ****************************** ok: [localhost] => {"ansible_facts": {"default_configuration": {"VXLAN_VN_ID_MODE": "automatic"}}, "changed": false} TASK [contrail_deployer : set contrail variables] ****************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_contrail_variables.yml for localhost TASK [contrail_deployer : set stdin_open to true if it's not defined] ********** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "VROUTER_ENCRYPTION": false}}, "changed": false} TASK [contrail_deployer : set tty to true if it's not defined] ***************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "changed": false} TASK [contrail_deployer : add nodes to contrail_configuration] ***************** ok: [localhost] => (item={'name': 'CONFIG_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONFIG_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'CONTROLLER_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONTROLLER_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'CONFIGDB_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONFIGDB_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_SNMP_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_SNMP_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_ALARM_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_ALARM_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICSDB_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICSDB_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'WEBUI_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "WEBUI_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'KUBERNETES_API_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBERNETES_API_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'KUBEMANAGER_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBEMANAGER_NODES", "nodes": ["10.0.0.37"]}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": false, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analyticsdb presence] ************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": false, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analytics alarm presence] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": false, "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analytics snmp presence] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": true, "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : build cluster node role lists] *********************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/cluster_node_role_lists.yml for localhost TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {}}, "changed": false} TASK [contrail_deployer : Calculate Existing Roles] **************************** ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {"api_server_ip": null, "deleted_nodes_dict": {}, "node_roles_dict": {}}}, "changed": false} TASK [contrail_deployer : Calculate node roles Dict] *************************** ok: [localhost] => {"ansible_facts": {"node_roles_dict": {}}, "changed": false} TASK [contrail_deployer : Calculate deleted role Dict] ************************* ok: [localhost] => {"ansible_facts": {"deleted_nodes_dict": {}}, "changed": false} TASK [contrail_deployer : set api_server as validated active API server] ******* ok: [localhost] => {"ansible_facts": {"api_server": ""}, "changed": false} PLAY [Configure instance(s)] *************************************************** TASK [Gathering Facts] ********************************************************* [WARNING]: Platform linux on host 10.0.0.37 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.12/reference_appendices/interpreter_discovery.html for more information. ok: [10.0.0.37] TASK [pip : check if pip present] ********************************************** changed: [10.0.0.37] => {"changed": true, "cmd": "python3 -m pip --version", "delta": "0:00:00.184031", "end": "2024-08-23 16:06:57.728478", "msg": "", "rc": 0, "start": "2024-08-23 16:06:57.544447", "stderr": "", "stderr_lines": [], "stdout": "pip 24.2 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)", "stdout_lines": ["pip 24.2 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)"]} TASK [pip : upgrade pip] ******************************************************* changed: [10.0.0.37] => {"attempts": 1, "changed": true, "cmd": "python3 -m pip install --upgrade 'pip>=20'", "delta": "0:00:00.526444", "end": "2024-08-23 16:06:58.809061", "msg": "", "rc": 0, "start": "2024-08-23 16:06:58.282617", "stderr": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.", "stderr_lines": ["WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning."], "stdout": "Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/\nRequirement already satisfied: pip>=20 in /usr/local/lib/python3.9/site-packages (24.2)", "stdout_lines": ["Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/", "Requirement already satisfied: pip>=20 in /usr/local/lib/python3.9/site-packages (24.2)"]} TASK [instance : install software] ********************************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/instance/tasks/install_software_Linux.yml for 10.0.0.37 TASK [instance : set instance data] ******************************************** ok: [10.0.0.37] => {"ansible_facts": {"instance_data": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "changed": false} TASK [instance : set vrouter data] ********************************************* ok: [10.0.0.37] => {"ansible_facts": {"vrouter_data": ""}, "changed": false} TASK [instance : set provider data] ******************************************** ok: [10.0.0.37] => {"ansible_facts": {"provider_data": {"domainsuffix": "novalocal", "ssh_private_key": "/home/rocky/.ssh/id_rsa", "ssh_pwd": null, "ssh_user": "rocky"}}, "changed": false} TASK [instance : turn off swap] ************************************************ changed: [10.0.0.37] => {"changed": true, "cmd": "swapoff -a && sed -ri '/\\sswap\\s/s/^#?/#/' /etc/fstab", "delta": "0:00:00.007936", "end": "2024-08-23 16:06:59.918927", "msg": "", "rc": 0, "start": "2024-08-23 16:06:59.910991", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [instance : disable cloud init] ******************************************* changed: [10.0.0.37] => (item=cloud-config) => {"ansible_loop_var": "item", "changed": true, "enabled": false, "item": "cloud-config", "name": "cloud-config", "state": "stopped", "status": {"AccessSELinuxContext": "system_u:object_r:cloud_init_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ActiveEnterTimestampMonotonic": "12667956", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network-online.target cloud-config.target snapd.seeded.service systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-08-23 16:04:00 UTC", "AssertTimestampMonotonic": "12230112", "Before": "cloud-final.service cloud-init.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "332520000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ConditionTimestampMonotonic": "12230111", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Apply the settings specified in cloud-config", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ExecMainExitTimestampMonotonic": "12667825", "ExecMainPID": "8009", "ExecMainStartTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ExecMainStartTimestampMonotonic": "12231456", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=config ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=config ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cloud-config.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "cloud-config.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-08-23 16:04:00 UTC", "InactiveExitTimestampMonotonic": "12231674", "InvocationID": "375f12884e2f403eb10c2e1beb957539", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "cloud-config.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal+console", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-08-23 16:04:00 UTC", "StateChangeTimestampMonotonic": "12667956", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "100208", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "cloud-final.service cloud-init.target", "Wants": "cloud-config.target network-online.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} changed: [10.0.0.37] => (item=cloud-final) => {"ansible_loop_var": "item", "changed": true, "enabled": false, "item": "cloud-final", "name": "cloud-final", "state": "stopped", "status": {"AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2024-08-23 16:04:01 UTC", "ActiveEnterTimestampMonotonic": "13181342", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice rc-local.service sysinit.target basic.target systemd-journald.socket cloud-config.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-08-23 16:04:00 UTC", "AssertTimestampMonotonic": "12670099", "Before": "shutdown.target cloud-init.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "382862000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ConditionTimestampMonotonic": "12670097", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Execute cloud user/final scripts", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-08-23 16:04:01 UTC", "ExecMainExitTimestampMonotonic": "13181199", "ExecMainPID": "8909", "ExecMainStartTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ExecMainStartTimestampMonotonic": "12672363", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=final ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=final ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cloud-final.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "cloud-final.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-08-23 16:04:00 UTC", "InactiveExitTimestampMonotonic": "12672533", "InvocationID": "66afc165fabb4001bc2c243a8d635f98", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "cloud-final.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal+console", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-08-23 16:04:01 UTC", "StateChangeTimestampMonotonic": "13181342", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "cloud-init.target", "Wants": "cloud-config.service network-online.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} changed: [10.0.0.37] => (item=cloud-init-local) => {"ansible_loop_var": "item", "changed": true, "enabled": false, "item": "cloud-init-local", "name": "cloud-init-local", "state": "stopped", "status": {"AccessSELinuxContext": "system_u:object_r:cloud_init_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2024-08-23 16:03:58 UTC", "ActiveEnterTimestampMonotonic": "10309616", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "hv_kvp_daemon.service systemd-journald.socket systemd-remount-fs.service system.slice -.mount basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-08-23 16:03:53 UTC", "AssertTimestampMonotonic": "6030275", "Before": "shutdown.target cloud-init.target NetworkManager.service network-pre.target cloud-config.target cloud-init.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "470987000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-08-23 16:03:53 UTC", "ConditionTimestampMonotonic": "6030273", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Initial cloud-init job (pre-networking)", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-08-23 16:03:58 UTC", "ExecMainExitTimestampMonotonic": "10309474", "ExecMainPID": "5106", "ExecMainStartTimestamp": "Fri 2024-08-23 16:03:58 UTC", "ExecMainStartTimestampMonotonic": "10305219", "ExecMainStatus": "0", "ExecStart": "{ path=/bin/touch ; argv[]=/bin/touch /run/cloud-init/network-config-ready ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/bin/touch ; argv[]=/bin/touch /run/cloud-init/network-config-ready ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cloud-init-local.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "cloud-init-local.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-08-23 16:03:53 UTC", "InactiveExitTimestampMonotonic": "6031262", "InvocationID": "8eb6913915c541899c84ad6bd058c48d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "cloud-init-local.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/lib/cloud", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal+console", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-08-23 16:03:58 UTC", "StateChangeTimestampMonotonic": "10309616", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "100208", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "cloud-init.service cloud-config.target cloud-init.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} changed: [10.0.0.37] => (item=cloud-init) => {"ansible_loop_var": "item", "changed": true, "enabled": false, "item": "cloud-init", "name": "cloud-init", "state": "stopped", "status": {"AccessSELinuxContext": "system_u:object_r:cloud_init_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ActiveEnterTimestampMonotonic": "12225434", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "NetworkManager-wait-online.service systemd-networkd-wait-online.service NetworkManager.service system.slice cloud-init-local.service network.service systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-08-23 16:03:58 UTC", "AssertTimestampMonotonic": "10541342", "Before": "sshd-keygen.service sshd.service network-online.target systemd-user-sessions.service cloud-config.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "914234000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-08-23 16:03:58 UTC", "ConditionTimestampMonotonic": "10541340", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Initial cloud-init job (metadata service crawler)", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-08-23 16:04:00 UTC", "ExecMainExitTimestampMonotonic": "12225304", "ExecMainPID": "5492", "ExecMainStartTimestamp": "Fri 2024-08-23 16:03:58 UTC", "ExecMainStartTimestampMonotonic": "10542463", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init init ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init init ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cloud-init.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "cloud-init.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-08-23 16:03:58 UTC", "InactiveExitTimestampMonotonic": "10542711", "InvocationID": "2c3199ca2657439bbf4266301094e1f2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "cloud-init.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal+console", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-08-23 16:04:00 UTC", "StateChangeTimestampMonotonic": "12225434", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "100208", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "cloud-config.target cloud-init.target", "Wants": "cloud-init-local.service sshd.service sshd-keygen.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} ok: [10.0.0.37] => (item=cloud-config) => {"ansible_loop_var": "item", "changed": false, "enabled": false, "item": "cloud-config", "name": "cloud-config", "state": "stopped", "status": {"AccessSELinuxContext": "system_u:object_r:cloud_init_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice systemd-journald.socket sysinit.target cloud-config.target snapd.seeded.service basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Apply the settings specified in cloud-config", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=config ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/cloud-init ; argv[]=/usr/bin/cloud-init modules --mode=config ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cloud-config.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "cloud-config.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "cloud-config.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal+console", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "100208", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target cloud-config.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity"}} TASK [instance : rocky specific package install] ******************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/instance/tasks/RedHat.yml for 10.0.0.37 TASK [instance : set selinux to permissive] ************************************ changed: [10.0.0.37] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'enforcing' to 'permissive', Config SELinux state changed from 'enforcing' to 'permissive'", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [instance : rocky specific kernel install, grub modifications, reboot] **** included: /home/rocky/tf-ansible-deployer/playbooks/roles/instance/tasks/RedHat_kernel.yml for 10.0.0.37 TASK [instance : set default grub file] **************************************** ok: [10.0.0.37] => {"ansible_facts": {"default_grub_config": "/etc/default/grub"}, "changed": false} TASK [instance : set uefi target grub file] ************************************ ok: [10.0.0.37] => {"ansible_facts": {"uefi_grub_config": "/boot/efi/EFI/redhat/grub.cfg"}, "changed": false} TASK [instance : check if EFI config exists] *********************************** ok: [10.0.0.37] => {"changed": false, "stat": {"exists": false}} TASK [instance : set target grub file for bios] ******************************** ok: [10.0.0.37] => {"ansible_facts": {"target_grub_config": "/boot/grub2/grub.cfg"}, "changed": false} TASK [instance : set grub file name.] ****************************************** ok: [10.0.0.37] => {"changed": false, "stat": {"atime": 1684014273.06928, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e2800b6d1e0f3d08b5a8b0977310236a3c839eb4", "ctime": 1684014272.7132432, "dev": 64517, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 683667, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1684014272.7132432, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 328, "uid": 0, "version": "232515739", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} TASK [instance : package] ****************************************************** changed: [10.0.0.37] => {"changed": true, "msg": "", "rc": 0, "results": ["Removed: cloud-init-22.1-9.el9.0.2.noarch", "Removed: cockpit-system-286.1-1.el9.noarch", "Removed: python3-pyyaml-5.4.1-6.el9.x86_64", "Removed: nfs-utils-1:2.5.4-18.el9.x86_64", "Removed: sos-4.5.1-3.el9_2.noarch"]} TASK [instance : install wheel] ************************************************ changed: [10.0.0.37] => {"attempts": 1, "changed": true, "cmd": "python3 -m pip install --no-build-isolation wheel", "delta": "0:00:00.504627", "end": "2024-08-23 16:07:10.502597", "msg": "", "rc": 0, "start": "2024-08-23 16:07:09.997970", "stderr": " WARNING: The script wheel is installed in '/usr/local/bin' which is not on PATH.\n Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.", "stderr_lines": [" WARNING: The script wheel is installed in '/usr/local/bin' which is not on PATH.", " Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning."], "stdout": "Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/\nCollecting wheel\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/237/6a90c98cc337d/wheel-0.44.0-py3-none-any.whl (67 kB)\nInstalling collected packages: wheel\nSuccessfully installed wheel-0.44.0", "stdout_lines": ["Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/", "Collecting wheel", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/237/6a90c98cc337d/wheel-0.44.0-py3-none-any.whl (67 kB)", "Installing collected packages: wheel", "Successfully installed wheel-0.44.0"]} TASK [instance : install python compose] *************************************** changed: [10.0.0.37] => {"attempts": 1, "changed": true, "cmd": "python3 -m pip install --no-build-isolation 'docker-compose==1.28.6' 'requests<2.29'", "delta": "0:00:02.484332", "end": "2024-08-23 16:07:13.424868", "msg": "", "rc": 0, "start": "2024-08-23 16:07:10.940536", "stderr": " WARNING: The script dotenv is installed in '/usr/local/bin' which is not on PATH.\n Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\n WARNING: The script docker-compose is installed in '/usr/local/bin' which is not on PATH.\n Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.", "stderr_lines": [" WARNING: The script dotenv is installed in '/usr/local/bin' which is not on PATH.", " Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.", " WARNING: The script docker-compose is installed in '/usr/local/bin' which is not on PATH.", " Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning."], "stdout": "Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/\nCollecting docker-compose==1.28.6\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/f75/7ac7bbff985dd/docker_compose-1.28.6-py2.py3-none-any.whl (114 kB)\nRequirement already satisfied: requests<2.29 in /usr/lib/python3.9/site-packages (2.25.1)\nCollecting PyYAML<6,>=3.10 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/74c/1485f7707cf70/PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 630.1/630.1 kB 30.1 MB/s eta 0:00:00\nRequirement already satisfied: distro<2,>=1.5.0 in /usr/lib/python3.9/site-packages (from docker-compose==1.28.6) (1.5.0)\nCollecting docker<5,>=4.4.4 (from docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/f36/07d5695be025f/docker-4.4.4-py2.py3-none-any.whl (147 kB)\nCollecting dockerpty<1,>=0.4.1 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/69a/9d69d573a0daa/dockerpty-0.4.1.tar.gz (13 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'done'\nCollecting docopt<1,>=0.6.1 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/49b/3a825280bd66b/docopt-0.6.2.tar.gz (25 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: jsonschema<4,>=2.5.1 in /usr/lib/python3.9/site-packages (from docker-compose==1.28.6) (3.2.0)\nCollecting python-dotenv<1,>=0.13.0 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/41e/12e0318bebc85/python_dotenv-0.21.1-py3-none-any.whl (19 kB)\nCollecting texttable<2,>=0.9.0 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/722/27d592c82b3d7/texttable-1.7.0-py2.py3-none-any.whl (10 kB)\nCollecting websocket-client<1,>=0.32.0 (from docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/2e5/0d26ca593f70a/websocket_client-0.59.0-py2.py3-none-any.whl (67 kB)\nRequirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests<2.29) (4.0.0)\nRequirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests<2.29) (2.10)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests<2.29) (1.26.5)\nRequirement already satisfied: six>=1.4.0 in /usr/lib/python3.9/site-packages (from docker<5,>=4.4.4->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (1.15.0)\nCollecting paramiko>=2.4.2 (from docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/8e4/9fd2f82f84acf/paramiko-3.4.1-py3-none-any.whl (226 kB)\nRequirement already satisfied: attrs>=17.4.0 in /usr/lib/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (20.3.0)\nRequirement already satisfied: pyrsistent>=0.14.0 in /usr/lib64/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (0.17.3)\nRequirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (53.0.0)\nCollecting bcrypt>=3.2 (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/3d3/a6d28cb2305b4/bcrypt-4.2.0-cp39-abi3-manylinux_2_28_x86_64.whl (273 kB)\nRequirement already satisfied: cryptography>=3.3 in /usr/local/lib64/python3.9/site-packages (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (43.0.0)\nCollecting pynacl>=1.5 (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)\n Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/0c8/4947a22519e01/PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 42.6 MB/s eta 0:00:00\nRequirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.9/site-packages (from cryptography>=3.3->paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (1.17.0)\nRequirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.3->paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (2.22)\nBuilding wheels for collected packages: dockerpty, docopt\n Building wheel for dockerpty (setup.py): started\n Building wheel for dockerpty (setup.py): finished with status 'done'\n Created wheel for dockerpty: filename=dockerpty-0.4.1-py3-none-any.whl size=16615 sha256=9fce63b086faaf3c47086aabf8b6f113f9988d9b321a4d2914a2daa0cf107b8e\n Stored in directory: /root/.cache/pip/wheels/c9/7a/37/c6f7b72c9f30496cb0569637d7836ba4c0f5be1dae37e51f7b\n Building wheel for docopt (setup.py): started\n Building wheel for docopt (setup.py): finished with status 'done'\n Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13723 sha256=12a25176c7b2653935c4dda3d7c09033a43afb9a89c74897253fa0c3c71624a8\n Stored in directory: /root/.cache/pip/wheels/6b/ca/89/c446dfc81f549617f8b85c72e217e400f8ca48733deac1aa6c\nSuccessfully built dockerpty docopt\nInstalling collected packages: texttable, docopt, websocket-client, PyYAML, python-dotenv, dockerpty, bcrypt, pynacl, docker, paramiko, docker-compose\nSuccessfully installed PyYAML-5.4.1 bcrypt-4.2.0 docker-4.4.4 docker-compose-1.28.6 dockerpty-0.4.1 docopt-0.6.2 paramiko-3.4.1 pynacl-1.5.0 python-dotenv-0.21.1 texttable-1.7.0 websocket-client-0.59.0", "stdout_lines": ["Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/", "Collecting docker-compose==1.28.6", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/f75/7ac7bbff985dd/docker_compose-1.28.6-py2.py3-none-any.whl (114 kB)", "Requirement already satisfied: requests<2.29 in /usr/lib/python3.9/site-packages (2.25.1)", "Collecting PyYAML<6,>=3.10 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/74c/1485f7707cf70/PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)", " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 630.1/630.1 kB 30.1 MB/s eta 0:00:00", "Requirement already satisfied: distro<2,>=1.5.0 in /usr/lib/python3.9/site-packages (from docker-compose==1.28.6) (1.5.0)", "Collecting docker<5,>=4.4.4 (from docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/f36/07d5695be025f/docker-4.4.4-py2.py3-none-any.whl (147 kB)", "Collecting dockerpty<1,>=0.4.1 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/69a/9d69d573a0daa/dockerpty-0.4.1.tar.gz (13 kB)", " Preparing metadata (setup.py): started", " Preparing metadata (setup.py): finished with status 'done'", "Collecting docopt<1,>=0.6.1 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/49b/3a825280bd66b/docopt-0.6.2.tar.gz (25 kB)", " Preparing metadata (setup.py): started", " Preparing metadata (setup.py): finished with status 'done'", "Requirement already satisfied: jsonschema<4,>=2.5.1 in /usr/lib/python3.9/site-packages (from docker-compose==1.28.6) (3.2.0)", "Collecting python-dotenv<1,>=0.13.0 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/41e/12e0318bebc85/python_dotenv-0.21.1-py3-none-any.whl (19 kB)", "Collecting texttable<2,>=0.9.0 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/722/27d592c82b3d7/texttable-1.7.0-py2.py3-none-any.whl (10 kB)", "Collecting websocket-client<1,>=0.32.0 (from docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/2e5/0d26ca593f70a/websocket_client-0.59.0-py2.py3-none-any.whl (67 kB)", "Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests<2.29) (4.0.0)", "Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests<2.29) (2.10)", "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests<2.29) (1.26.5)", "Requirement already satisfied: six>=1.4.0 in /usr/lib/python3.9/site-packages (from docker<5,>=4.4.4->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (1.15.0)", "Collecting paramiko>=2.4.2 (from docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/8e4/9fd2f82f84acf/paramiko-3.4.1-py3-none-any.whl (226 kB)", "Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (20.3.0)", "Requirement already satisfied: pyrsistent>=0.14.0 in /usr/lib64/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (0.17.3)", "Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from jsonschema<4,>=2.5.1->docker-compose==1.28.6) (53.0.0)", "Collecting bcrypt>=3.2 (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/3d3/a6d28cb2305b4/bcrypt-4.2.0-cp39-abi3-manylinux_2_28_x86_64.whl (273 kB)", "Requirement already satisfied: cryptography>=3.3 in /usr/local/lib64/python3.9/site-packages (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (43.0.0)", "Collecting pynacl>=1.5 (from paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6)", " Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/0c8/4947a22519e01/PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)", " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 42.6 MB/s eta 0:00:00", "Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.9/site-packages (from cryptography>=3.3->paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (1.17.0)", "Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.3->paramiko>=2.4.2->docker[ssh]<5,>=4.4.4->docker-compose==1.28.6) (2.22)", "Building wheels for collected packages: dockerpty, docopt", " Building wheel for dockerpty (setup.py): started", " Building wheel for dockerpty (setup.py): finished with status 'done'", " Created wheel for dockerpty: filename=dockerpty-0.4.1-py3-none-any.whl size=16615 sha256=9fce63b086faaf3c47086aabf8b6f113f9988d9b321a4d2914a2daa0cf107b8e", " Stored in directory: /root/.cache/pip/wheels/c9/7a/37/c6f7b72c9f30496cb0569637d7836ba4c0f5be1dae37e51f7b", " Building wheel for docopt (setup.py): started", " Building wheel for docopt (setup.py): finished with status 'done'", " Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13723 sha256=12a25176c7b2653935c4dda3d7c09033a43afb9a89c74897253fa0c3c71624a8", " Stored in directory: /root/.cache/pip/wheels/6b/ca/89/c446dfc81f549617f8b85c72e217e400f8ca48733deac1aa6c", "Successfully built dockerpty docopt", "Installing collected packages: texttable, docopt, websocket-client, PyYAML, python-dotenv, dockerpty, bcrypt, pynacl, docker, paramiko, docker-compose", "Successfully installed PyYAML-5.4.1 bcrypt-4.2.0 docker-4.4.4 docker-compose-1.28.6 dockerpty-0.4.1 docopt-0.6.2 paramiko-3.4.1 pynacl-1.5.0 python-dotenv-0.21.1 texttable-1.7.0 websocket-client-0.59.0"]} TASK [instance : Manage /etc/hosts] ******************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/instance/tasks/manage_etc_hosts.yml for 10.0.0.37 TASK [instance : Build hosts file with domain suffix when provided] ************ changed: [10.0.0.37] => (item=10.0.0.37) => {"ansible_loop_var": "item", "backup": "", "changed": true, "item": "10.0.0.37", "msg": "line replaced"} TASK [instance : create log file directory] ************************************ changed: [10.0.0.37] => {"changed": true, "gid": 0, "group": "root", "mode": "0777", "owner": "root", "path": "/var/log/docker/contrail", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0} TASK [instance : Enable bridge-netfilter] ************************************** changed: [10.0.0.37] => {"changed": true, "name": "br_netfilter", "params": "", "state": "present"} TASK [instance : sysctl -w net.bridge.bridge-nf-call-iptables=1] *************** changed: [10.0.0.37] => {"changed": true, "cmd": "sysctl -w net.bridge.bridge-nf-call-iptables=1 && echo \"net.bridge.bridge-nf-call-iptables=1\" >> /etc/sysctl.conf", "delta": "0:00:00.005784", "end": "2024-08-23 16:07:16.331322", "msg": "", "rc": 0, "start": "2024-08-23 16:07:16.325538", "stderr": "", "stderr_lines": [], "stdout": "net.bridge.bridge-nf-call-iptables = 1", "stdout_lines": ["net.bridge.bridge-nf-call-iptables = 1"]} TASK [instance : sysctl -w net.bridge.bridge-nf-call-ip6tables=1] ************** changed: [10.0.0.37] => {"changed": true, "cmd": "sysctl -w net.bridge.bridge-nf-call-ip6tables=1 && echo \"net.bridge.bridge-nf-call-ip6tables=1\" >> /etc/sysctl.conf", "delta": "0:00:00.003995", "end": "2024-08-23 16:07:16.808963", "msg": "", "rc": 0, "start": "2024-08-23 16:07:16.804968", "stderr": "", "stderr_lines": [], "stdout": "net.bridge.bridge-nf-call-ip6tables = 1", "stdout_lines": ["net.bridge.bridge-nf-call-ip6tables = 1"]} TASK [instance : configure tcp_keepalive_time] ********************************* changed: [10.0.0.37] => {"changed": true} TASK [instance : configure tcp_keepalive_intvl] ******************************** changed: [10.0.0.37] => {"changed": true} TASK [instance : configure tcp_keepalive_probes] ******************************* changed: [10.0.0.37] => {"changed": true} TASK [instance : set firewall service name] ************************************ ok: [10.0.0.37] => {"ansible_facts": {"firewall_svc_name": "firewalld"}, "changed": false} TASK [instance : stop and disable firewall service] **************************** fatal: [10.0.0.37]: FAILED! => {"changed": false, "msg": "Could not find the requested service firewalld: host"} ...ignoring TASK [instance : accept input] ************************************************* fatal: [10.0.0.37]: FAILED! => {"changed": true, "cmd": "iptables -P INPUT ACCEPT", "delta": "0:00:00.003077", "end": "2024-08-23 16:07:19.552476", "msg": "non-zero return code", "rc": 127, "start": "2024-08-23 16:07:19.549399", "stderr": "/bin/sh: line 1: iptables: command not found", "stderr_lines": ["/bin/sh: line 1: iptables: command not found"], "stdout": "", "stdout_lines": []} ...ignoring TASK [instance : accept forward] *********************************************** fatal: [10.0.0.37]: FAILED! => {"changed": true, "cmd": "iptables -P FORWARD ACCEPT", "delta": "0:00:00.002918", "end": "2024-08-23 16:07:20.036844", "msg": "non-zero return code", "rc": 127, "start": "2024-08-23 16:07:20.033926", "stderr": "/bin/sh: line 1: iptables: command not found", "stderr_lines": ["/bin/sh: line 1: iptables: command not found"], "stdout": "", "stdout_lines": []} ...ignoring TASK [docker : include rocky specific] ***************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/docker/tasks/Rocky.yml for 10.0.0.37 TASK [docker : add repo to config-manager] ************************************* changed: [10.0.0.37] => {"changed": true, "cmd": "dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo", "delta": "0:00:00.314467", "end": "2024-08-23 16:07:21.030392", "msg": "", "rc": 0, "start": "2024-08-23 16:07:20.715925", "stderr": "", "stderr_lines": [], "stdout": "Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo", "stdout_lines": ["Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo"]} TASK [docker : install docker] ************************************************* changed: [10.0.0.37] => {"attempts": 1, "changed": true, "msg": "", "rc": 0, "results": ["Installed: docker-ce-rootless-extras-27.1.2-1.el9.x86_64", "Installed: fuse-overlayfs-1.13-1.el9.x86_64", "Installed: fuse-common-3.10.2-8.el9.x86_64", "Installed: container-selinux-3:2.229.0-1.el9.noarch", "Installed: containerd.io-1.7.20-3.1.el9.x86_64", "Installed: iptables-nft-1.8.10-2.el9.x86_64", "Installed: iptables-libs-1.8.10-2.el9.x86_64", "Installed: docker-ce-cli-1:27.1.2-1.el9.x86_64", "Installed: slirp4netns-1.2.3-1.el9.x86_64", "Installed: docker-ce-3:25.0.3-1.el9.x86_64", "Installed: libslirp-4.4.0-7.el9.x86_64", "Installed: docker-buildx-plugin-0.16.2-1.el9.x86_64", "Installed: fuse3-libs-3.10.2-8.el9.x86_64", "Installed: fuse3-3.10.2-8.el9.x86_64", "Installed: docker-compose-plugin-2.29.1-1.el9.x86_64", "Installed: libnftnl-1.2.6-2.el9.x86_64", "Removed: iptables-libs-1.8.8-6.el9_1.x86_64"]} TASK [docker : add Contrail's insecure registry] ******************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/docker/tasks/insecure_registry_Linux.yml for 10.0.0.37 TASK [docker : create docker config directory] ********************************* ok: [10.0.0.37] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/docker", "secontext": "system_u:object_r:container_config_t:s0", "size": 25, "state": "directory", "uid": 0} TASK [docker : ensure docker config file exists] ******************************* changed: [10.0.0.37] => {"changed": true, "dest": "/etc/docker/daemon.json", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:container_config_t:s0", "size": 145, "state": "file", "uid": 0} TASK [docker : read docker config file] **************************************** changed: [10.0.0.37] => {"changed": true, "cmd": "cat /etc/docker/daemon.json", "delta": "0:00:00.004374", "end": "2024-08-23 16:08:16.832185", "msg": "", "rc": 0, "start": "2024-08-23 16:08:16.827811", "stderr": "", "stderr_lines": [], "stdout": "{\n \"registry-mirrors\": [\n \"http://tf-mirrors.gz1.opensdn.io:5000\"\n ],\n \"insecure-registries\": [\n \"tf-mirrors.gz1.opensdn.io:5000\"\n ]\n}", "stdout_lines": ["{", " \"registry-mirrors\": [", " \"http://tf-mirrors.gz1.opensdn.io:5000\"", " ],", " \"insecure-registries\": [", " \"tf-mirrors.gz1.opensdn.io:5000\"", " ]", "}"]} TASK [docker : convert entries to json] **************************************** ok: [10.0.0.37] => {"ansible_facts": {"docker_daemon": {"insecure-registries": ["tf-mirrors.gz1.opensdn.io:5000"], "registry-mirrors": ["http://tf-mirrors.gz1.opensdn.io:5000"]}}, "changed": false} TASK [docker : register insecure-registries] *********************************** ok: [10.0.0.37] => {"ansible_facts": {"insecure_registries": ["tf-mirrors.gz1.opensdn.io:5000"]}, "changed": false} TASK [docker : insert updated insecure-registries to docker daemon] ************ ok: [10.0.0.37] => {"ansible_facts": {"docker_daemon": {"insecure-registries": ["tf-mirrors.gz1.opensdn.io:5000", "nexus.gz1.opensdn.io:5101"], "registry-mirrors": ["http://tf-mirrors.gz1.opensdn.io:5000"]}}, "changed": false} TASK [docker : write config to daemon.json] ************************************ changed: [10.0.0.37] => {"changed": true, "checksum": "74c300cde0dd52078577114bf90c81db9a4670d6", "dest": "/etc/docker/daemon.json", "gid": 0, "group": "root", "md5sum": "3feb04c4686cc611a0bff58c5742ce78", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:container_config_t:s0", "size": 197, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1724429297.4116683-19834-145698901463277/source", "state": "file", "uid": 0} TASK [docker : reload systemd] ************************************************* changed: [10.0.0.37] => {"changed": true, "cmd": "systemctl daemon-reload", "delta": "0:00:00.121555", "end": "2024-08-23 16:08:18.719989", "msg": "", "rc": 0, "start": "2024-08-23 16:08:18.598434", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [docker : restart docker daemon] ****************************************** changed: [10.0.0.37] => {"changed": true, "enabled": true, "name": "docker", "state": "started", "status": {"AccessSELinuxContext": "system_u:object_r:container_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "time-set.target network-online.target systemd-journald.socket sysinit.target containerd.service docker.socket basic.target firewalld.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "yes", "DelegateControllers": "cpu cpuacct cpuset io blkio memory devices pids bpf-firewall bpf-devices bpf-foreign bpf-socket-bind bpf-restrict-network-interfaces", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/docker.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "continue", "OOMScoreAdjust": "-500", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target docker.socket", "Restart": "always", "RestartKillSignal": "15", "RestartUSec": "2s", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target containerd.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity"}} TASK [docker : start docker daemon] ******************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/docker/tasks/start_docker_Linux.yml for 10.0.0.37 TASK [docker : start docker daemon] ******************************************** ok: [10.0.0.37] => {"changed": false, "enabled": true, "name": "docker", "state": "started", "status": {"AccessSELinuxContext": "system_u:object_r:container_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2024-08-23 16:08:19 UTC", "ActiveEnterTimestampMonotonic": "272010695", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket time-set.target network-online.target docker.socket basic.target system.slice sysinit.target firewalld.service containerd.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-08-23 16:08:19 UTC", "AssertTimestampMonotonic": "271635976", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "216869000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-08-23 16:08:19 UTC", "ConditionTimestampMonotonic": "271635974", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/docker.service", "ControlGroupId": "5824", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "yes", "DelegateControllers": "cpu cpuacct cpuset io blkio memory devices pids bpf-firewall bpf-devices bpf-foreign bpf-socket-bind bpf-restrict-network-interfaces", "Description": "Docker Application Container Engine", "DevicePolicy": "auto", "Documentation": "https://docs.docker.com", "DynamicUser": "no", "EffectiveCPUs": "0-3", "EffectiveMemoryNodes": "0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20260", "ExecMainStartTimestamp": "Fri 2024-08-23 16:08:19 UTC", "ExecMainStartTimestampMonotonic": "271642551", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; ignore_errors=no ; start_time=[Fri 2024-08-23 16:08:19 UTC] ; stop_time=[n/a] ; pid=20260 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; flags= ; start_time=[Fri 2024-08-23 16:08:19 UTC] ; stop_time=[n/a] ; pid=20260 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/docker.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "docker.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-08-23 16:08:19 UTC", "InactiveExitTimestampMonotonic": "271642786", "InvocationID": "45ed3545693f4637ae2347dd3a6d5ead", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20260", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "33562624", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "docker.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "continue", "OOMScoreAdjust": "-500", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target docker.socket system.slice", "Restart": "always", "RestartKillSignal": "15", "RestartUSec": "2s", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "1min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-08-23 16:08:19 UTC", "StateChangeTimestampMonotonic": "272010695", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "infinity", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "docker.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "containerd.service network-online.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} PLAY RECAP ********************************************************************* 10.0.0.37 : ok=48 changed=25 unreachable=0 failed=0 skipped=37 rescued=0 ignored=3 localhost : ok=59 changed=2 unreachable=0 failed=0 skipped=35 rescued=0 ignored=0 INFO: Stage machines was run successfully Fri Aug 23 16:08:20 UTC 2024 INFO: Running stage k8s at Fri Aug 23 16:08:20 UTC 2024 Using /home/rocky/tf-ansible-deployer/ansible.cfg as config file [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [Create container host group and evaluate variables for k8s] ************** TASK [Expose instances] ******************************************************** ok: [localhost] => {"ansible_facts": {"instances": {"node_10_0_0_37": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}}, "changed": false} TASK [Expose global configuration] ********************************************* ok: [localhost] => {"ansible_facts": {"global_configuration": {"CONTAINER_REGISTRY": "nexus.gz1.opensdn.io:5101", "ENABLE_DESTROY": false, "K8S_YUM_REPO_URL": "http://tf-mirrors.gz1.opensdn.io/repos/yum7/latest/k8s/", "REGISTRY_PRIVATE_INSECURE": true}}, "changed": false} TASK [contrail_deployer : create container host group] ************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/create_container_host_group.yml for localhost TASK [contrail_deployer : add bms container hosts] ***************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["container_hosts"], "host_name": "10.0.0.37", "host_vars": {"ansible_become": true, "ansible_ssh_pass": "", "ansible_user": "rocky", "instance_name": "node_10_0_0_37", "private_ip": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : add bms container hosts] ***************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["container_hosts"], "host_name": "10.0.0.37", "host_vars": {"ansible_become": true, "ansible_ssh_private_key_file": "/home/rocky/.ssh/id_rsa", "ansible_user": "rocky", "instance_name": "node_10_0_0_37", "private_ip": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : build node lists] ************************************ included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/build_node_lists.yml for localhost TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"config_nodes_list": []}, "changed": false} TASK [contrail_deployer : add config nodes to the list] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"config_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"control_nodes_list": []}, "changed": false} TASK [contrail_deployer : add control nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"control_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"configdb_nodes_list": []}, "changed": false} TASK [contrail_deployer : add configdb nodes to the list] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"configdb_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics nodes to the list] ********************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_snmp_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics snmp nodes to the list] **************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_snmp_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analytics_alarm_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analytics alarm nodes to the list] *************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analytics_alarm_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"analyticsdb_nodes_list": []}, "changed": false} TASK [contrail_deployer : add analyticsdb nodes to the list] ******************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"analyticsdb_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"webui_nodes_list": []}, "changed": false} TASK [contrail_deployer : add webui nodes to the list] ************************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"webui_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"k8s_master_nodes_list": []}, "changed": false} TASK [contrail_deployer : add k8s_master nodes to the list] ******************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"k8s_master_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"k8s_node_nodes_list": []}, "changed": false} TASK [contrail_deployer : add k8s_node nodes to the list] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"k8s_node_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"kubemanager_nodes_list": []}, "changed": false} TASK [contrail_deployer : add kubemanager nodes to the list] ******************* ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"kubemanager_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"openstack_nodes_list": []}, "changed": false} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"vrouter_nodes_list": []}, "changed": false} TASK [contrail_deployer : add Vrouter Nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"vrouter_nodes_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"tsn_nodes_list": []}, "changed": false} TASK [contrail_deployer : set global variables] ******************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_global_variables.yml for localhost TASK [contrail_deployer : set container tag contrail version if defined] ******* ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "latest"}, "changed": false} TASK [contrail_deployer : add specific contrail version tag if defined] ******** ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "master-9_0_7-1"}, "changed": false} TASK [contrail_deployer : set registry if defined] ***************************** ok: [localhost] => {"ansible_facts": {"container_registry": "nexus.gz1.opensdn.io:5101"}, "changed": false} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"roles": {}}, "changed": false} TASK [contrail_deployer : add roles if defined] ******************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"roles": {"node_10_0_0_37": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set vars for vanilla openstack deploy] *************** ok: [localhost] => {"ansible_facts": {"analytics_api_port": 8081, "config_api_port": 8082, "keystone_auth_proto": "http", "keystone_auth_public_port": 5000, "opencontrail_api_server_ip": "10.0.0.37", "opencontrail_collector_ip": "10.0.0.37"}, "changed": false} TASK [contrail_deployer : set default variables] ******************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_default_variables.yml for localhost TASK [contrail_deployer : set orchestrator param] ****************************** ok: [localhost] => {"ansible_facts": {"default_configuration": {"VXLAN_VN_ID_MODE": "automatic"}}, "changed": false} TASK [contrail_deployer : set contrail variables] ****************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/set_contrail_variables.yml for localhost TASK [contrail_deployer : set stdin_open to true if it's not defined] ********** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "VROUTER_ENCRYPTION": false}}, "changed": false} TASK [contrail_deployer : set tty to true if it's not defined] ***************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "changed": false} TASK [contrail_deployer : add nodes to contrail_configuration] ***************** ok: [localhost] => (item={'name': 'CONFIG_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONFIG_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'CONTROLLER_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONTROLLER_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'CONFIGDB_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "CONFIGDB_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_SNMP_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_SNMP_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICS_ALARM_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICS_ALARM_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'ANALYTICSDB_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ANALYTICSDB_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'WEBUI_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "WEBUI_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'KUBERNETES_API_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBERNETES_API_NODES", "nodes": ["10.0.0.37"]}} ok: [localhost] => (item={'name': 'KUBEMANAGER_NODES', 'nodes': ['10.0.0.37']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBEMANAGER_NODES", "nodes": ["10.0.0.37"]}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": false, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analyticsdb presence] ************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": false, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analytics alarm presence] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": false, "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [contrail_deployer : check analytics snmp presence] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": true, "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [contrail_deployer : build cluster node role lists] *********************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/contrail_deployer/tasks/cluster_node_role_lists.yml for localhost TASK [contrail_deployer : set_fact] ******************************************** ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {}}, "changed": false} TASK [contrail_deployer : Calculate Existing Roles] **************************** ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {"api_server_ip": null, "deleted_nodes_dict": {}, "node_roles_dict": {}}}, "changed": false} TASK [contrail_deployer : Calculate node roles Dict] *************************** ok: [localhost] => {"ansible_facts": {"node_roles_dict": {}}, "changed": false} TASK [contrail_deployer : Calculate deleted role Dict] ************************* ok: [localhost] => {"ansible_facts": {"deleted_nodes_dict": {}}, "changed": false} TASK [contrail_deployer : set api_server as validated active API server] ******* ok: [localhost] => {"ansible_facts": {"api_server": ""}, "changed": false} TASK [k8s_deployer : init master_ip list] ************************************** ok: [localhost] => {"ansible_facts": {"k8s_master_ip_list": []}, "changed": false} TASK [k8s_deployer : init master_name list] ************************************ ok: [localhost] => {"ansible_facts": {"k8s_master_name_list": []}, "changed": false} TASK [k8s_deployer : fill master lists] **************************************** ok: [localhost] => (item=10.0.0.37) => {"ansible_facts": {"k8s_master_ip_list": ["10.0.0.37"], "k8s_master_name_list": ["10.0.0.37"]}, "ansible_loop_var": "item", "changed": false, "item": "10.0.0.37"} TASK [k8s_deployer : show master_ip list] ************************************** ok: [localhost] => { "msg": [ "10.0.0.37" ] } TASK [k8s_deployer : show master_name list] ************************************ ok: [localhost] => { "msg": [ "10.0.0.37" ] } TASK [k8s_deployer : set master_ip as first item of master_ip list] ************ ok: [localhost] => {"ansible_facts": {"k8s_master_ip": "10.0.0.37"}, "changed": false} TASK [k8s_deployer : set master_name as first item of master_name list] ******** ok: [localhost] => {"ansible_facts": {"k8s_master_name": "10.0.0.37"}, "changed": false} TASK [k8s_deployer : create contrail_configuration.KUBERNETES_API_SERVER for nodes] *** ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.37", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.37", "ANALYTICS_NODES": "10.0.0.37", "ANALYTICS_SNMP_ENABLE": true, "ANALYTICS_SNMP_NODES": "10.0.0.37", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.37", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.37", "CONTRAIL_CONTAINER_TAG": "master-9_0_7-1", "CONTROLLER_NODES": "10.0.0.37", "CONTROL_NODES": "10.0.0.37", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.37", "KUBERNETES_API_NODES": "10.0.0.37", "KUBERNETES_API_SERVER": "10.0.0.37", "KUBERNETES_PUBLIC_FIP_POOL": {"domain": "default-domain", "name": "__fip_pool_public__", "network": "__public__", "project": "k8s-default"}, "LOG_LEVEL": "SYS_DEBUG", "RABBITMQ_USE_SSL": "false", "SSL_ENABLE": "false", "STDIN_OPEN": true, "TTY": true, "VROUTER_ENCRYPTION": false, "WEBUI_NODES": "10.0.0.37"}}, "changed": false} TASK [k8s_deployer : create k8s_master_host host group] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["k8s_master_host"], "host_name": "10.0.0.37", "host_vars": {"instance_name": "node_10_0_0_37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} TASK [k8s_deployer : create k8s_hosts host group] ****************************** ok: [localhost] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"add_host": {"groups": ["k8s_hosts"], "host_name": "10.0.0.37", "host_vars": {"instance_name": "node_10_0_0_37"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}} [WARNING]: Found variable using reserved name: roles PLAY [Install Kubernetes] ****************************************************** TASK [Gathering Facts] ********************************************************* [WARNING]: Platform linux on host 10.0.0.37 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.12/reference_appendices/interpreter_discovery.html for more information. ok: [10.0.0.37] TASK [k8s : set instance data] ************************************************* ok: [10.0.0.37] => {"ansible_facts": {"instance_data": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "changed": false} TASK [k8s : set instance name] ************************************************* ok: [10.0.0.37] => {"ansible_facts": {"instance_name": "node_10_0_0_37"}, "changed": false} TASK [k8s : set k8s version to default] **************************************** ok: [10.0.0.37] => {"ansible_facts": {"k8s_version": "1.24.17"}, "changed": false} TASK [k8s : set k8s dashboard version to default] ****************************** ok: [10.0.0.37] => {"ansible_facts": {"k8s_dashboard_version": "2.3.1"}, "changed": false} TASK [k8s : set k8s version for RedHat] **************************************** ok: [10.0.0.37] => {"ansible_facts": {"k8s_package_version": "-1.24.17"}, "changed": false} TASK [k8s : rocky specific package install] ************************************ included: /home/rocky/tf-ansible-deployer/playbooks/roles/k8s/tasks/Rocky.yml for 10.0.0.37 TASK [k8s : create k8s yum repo from mirror] *********************************** changed: [10.0.0.37] => {"changed": true, "repo": "Kubernetes", "state": "present"} TASK [k8s : make cache to import gpg keys] ************************************* changed: [10.0.0.37] => {"changed": true, "cmd": ["yum", "-q", "makecache", "-y", "--disablerepo=*", "--enablerepo=Kubernetes"], "delta": "0:00:00.283380", "end": "2024-08-23 16:08:30.428220", "msg": "", "rc": 0, "start": "2024-08-23 16:08:30.144840", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [k8s : Set obsoletes to 0] ************************************************ changed: [10.0.0.37] => {"backup": "", "changed": true, "msg": "line added"} TASK [k8s : Install k8s packages if defined] *********************************** changed: [10.0.0.37] => (item=kubectl) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "item": "kubectl", "msg": "", "rc": 0, "results": ["Installed: kubectl-1.24.17-0.x86_64"]} changed: [10.0.0.37] => (item=kubelet) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "item": "kubelet", "msg": "", "rc": 0, "results": ["Installed: kubernetes-cni-1.2.0-0.x86_64", "Installed: libnetfilter_cttimeout-1.0.0-19.el9.x86_64", "Installed: libnetfilter_cthelper-1.0.0-22.el9.x86_64", "Installed: libnetfilter_queue-1.0.5-1.el9.x86_64", "Installed: conntrack-tools-1.4.7-2.el9.x86_64", "Installed: kubelet-1.24.17-0.x86_64", "Installed: socat-1.7.4.1-5.el9_4.2.x86_64"]} changed: [10.0.0.37] => (item=kubeadm) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "item": "kubeadm", "msg": "", "rc": 0, "results": ["Installed: cri-tools-1.26.0-0.x86_64", "Installed: kubeadm-1.24.17-0.x86_64"]} TASK [k8s : generate config.toml] ********************************************** changed: [10.0.0.37] => {"changed": true, "cmd": "containerd config default > config.toml ; sed -i 's/SystemdCgroup = false/SystemdCgroup = true/g' config.toml ; sudo mv config.toml /etc/containerd/config.toml ; sudo systemctl restart containerd ", "delta": "0:00:00.189682", "end": "2024-08-23 16:08:46.881192", "msg": "", "rc": 0, "start": "2024-08-23 16:08:46.691510", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [k8s : configure k8s master] ********************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/k8s/tasks/configure_k8s_master_node.yml for 10.0.0.37 TASK [k8s : check if master is already running] ******************************** fatal: [10.0.0.37]: FAILED! => {"changed": true, "cmd": "kubectl cluster-info", "delta": "0:00:00.039284", "end": "2024-08-23 16:08:47.488764", "msg": "non-zero return code", "rc": 1, "start": "2024-08-23 16:08:47.449480", "stderr": "The connection to the server localhost:8080 was refused - did you specify the right host or port?", "stderr_lines": ["The connection to the server localhost:8080 was refused - did you specify the right host or port?"], "stdout": "\nTo further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.", "stdout_lines": ["", "To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'."]} ...ignoring TASK [k8s : set master_running state to false if master is not running] ******** ok: [10.0.0.37] => {"ansible_facts": {"master_running": false}, "changed": false} TASK [k8s : get controller ip from all ips] ************************************ ok: [10.0.0.37] => (item=['10.0.0.37', '10.0.0.37']) => {"ansible_facts": {"listen_ip": "10.0.0.37"}, "ansible_loop_var": "item", "changed": false, "item": ["10.0.0.37", "10.0.0.37"]} TASK [k8s : Configure kubelet] ************************************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/k8s/tasks/configure_kubelet.yml for 10.0.0.37 TASK [k8s : docker info for getting cgroup driver] ***************************** changed: [10.0.0.37] => {"changed": true, "cmd": "docker info 2>/dev/null |grep \"Cgroup Driver\" |awk '{print $3}'", "delta": "0:00:00.046365", "end": "2024-08-23 16:08:48.500250", "msg": "", "rc": 0, "start": "2024-08-23 16:08:48.453885", "stderr": "", "stderr_lines": [], "stdout": "systemd", "stdout_lines": ["systemd"]} TASK [k8s : get cgroup driver] ************************************************* ok: [10.0.0.37] => {"ansible_facts": {"cgroup_driver": "systemd"}, "changed": false} TASK [k8s : check if kubelet config is present in common place] **************** ok: [10.0.0.37] => {"changed": false, "stat": {"exists": false}} TASK [k8s : check if kubelet config is present in new place] ******************* ok: [10.0.0.37] => {"changed": false, "stat": {"atime": 1692849293.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e9b05c4c01182610d4e0765eafc9561ca9e406e1", "ctime": 1724429325.048755, "dev": 64517, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285216259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1692849293.0, "nlink": 1, "path": "/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 900, "uid": 0, "version": "1679584159", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} TASK [k8s : set_fact] ********************************************************** ok: [10.0.0.37] => {"ansible_facts": {"kubelet_config_file": "/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf"}, "changed": false} TASK [k8s : set cgroup driver to cgroupfs] ************************************* changed: [10.0.0.37] => {"backup": "", "changed": true, "msg": "line added"} TASK [k8s : set InternalIP to listen_ip] *************************************** changed: [10.0.0.37] => {"backup": "", "changed": true, "msg": "line replaced"} TASK [k8s : enable kubelet service] ******************************************** changed: [10.0.0.37] => {"changed": true, "enabled": true, "name": "kubelet", "state": "started", "status": {"AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "kubelet: The Kubernetes Node Agent", "DevicePolicy": "auto", "Documentation": "https://kubernetes.io/docs/", "DropInPaths": "/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf", "DynamicUser": "no", "Environment": "\"KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf\" KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml KUBELET_EXTRA_ARGS=--node-ip=10.0.0.37", "EnvironmentFiles": "/etc/sysconfig/kubelet (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/kubelet ; argv[]=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kubelet ; argv[]=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kubelet.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kubelet.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "62630", "LimitNPROCSoft": "62630", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "62630", "LimitSIGPENDINGSoft": "62630", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kubelet.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartKillSignal": "15", "RestartUSec": "10s", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "100208", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity"}} TASK [k8s : initialize k8s master with listen ip] ****************************** changed: [10.0.0.37] => {"attempts": 1, "changed": true, "cmd": "kubeadm init --token-ttl 0 --kubernetes-version v1.24.17 --apiserver-advertise-address 10.0.0.37 --pod-network-cidr 10.32.0.0/12 --service-cidr 10.96.0.0/12 &&\nmkdir -p $HOME/.kube &&\ncp -u /etc/kubernetes/admin.conf $HOME/.kube/config &&\nchown -R $(id -u):$(id -g) $HOME/.kube\n", "delta": "0:00:35.998229", "end": "2024-08-23 16:09:28.810207", "msg": "", "rc": 0, "start": "2024-08-23 16:08:52.811978", "stderr": "", "stderr_lines": [], "stdout": "[init] Using Kubernetes version: v1.24.17\n[preflight] Running pre-flight checks\n[preflight] Pulling images required for setting up a Kubernetes cluster\n[preflight] This might take a minute or two, depending on the speed of your internet connection\n[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'\n[certs] Using certificateDir folder \"/etc/kubernetes/pki\"\n[certs] Generating \"ca\" certificate and key\n[certs] Generating \"apiserver\" certificate and key\n[certs] apiserver serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 10.0.0.37]\n[certs] Generating \"apiserver-kubelet-client\" certificate and key\n[certs] Generating \"front-proxy-ca\" certificate and key\n[certs] Generating \"front-proxy-client\" certificate and key\n[certs] Generating \"etcd/ca\" certificate and key\n[certs] Generating \"etcd/server\" certificate and key\n[certs] etcd/server serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal localhost] and IPs [10.0.0.37 127.0.0.1 ::1]\n[certs] Generating \"etcd/peer\" certificate and key\n[certs] etcd/peer serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal localhost] and IPs [10.0.0.37 127.0.0.1 ::1]\n[certs] Generating \"etcd/healthcheck-client\" certificate and key\n[certs] Generating \"apiserver-etcd-client\" certificate and key\n[certs] Generating \"sa\" key and public key\n[kubeconfig] Using kubeconfig folder \"/etc/kubernetes\"\n[kubeconfig] Writing \"admin.conf\" kubeconfig file\n[kubeconfig] Writing \"kubelet.conf\" kubeconfig file\n[kubeconfig] Writing \"controller-manager.conf\" kubeconfig file\n[kubeconfig] Writing \"scheduler.conf\" kubeconfig file\n[kubelet-start] Writing kubelet environment file with flags to file \"/var/lib/kubelet/kubeadm-flags.env\"\n[kubelet-start] Writing kubelet configuration to file \"/var/lib/kubelet/config.yaml\"\n[kubelet-start] Starting the kubelet\n[control-plane] Using manifest folder \"/etc/kubernetes/manifests\"\n[control-plane] Creating static Pod manifest for \"kube-apiserver\"\n[control-plane] Creating static Pod manifest for \"kube-controller-manager\"\n[control-plane] Creating static Pod manifest for \"kube-scheduler\"\n[etcd] Creating static Pod manifest for local etcd in \"/etc/kubernetes/manifests\"\n[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory \"/etc/kubernetes/manifests\". This can take up to 4m0s\n[apiclient] All control plane components are healthy after 7.001756 seconds\n[upload-config] Storing the configuration used in ConfigMap \"kubeadm-config\" in the \"kube-system\" Namespace\n[kubelet] Creating a ConfigMap \"kubelet-config\" in namespace kube-system with the configuration for the kubelets in the cluster\n[upload-certs] Skipping phase. Please see --upload-certs\n[mark-control-plane] Marking the node cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers]\n[mark-control-plane] Marking the node cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule node-role.kubernetes.io/control-plane:NoSchedule]\n[bootstrap-token] Using token: tz6rcs.zwdd81excb6ckumk\n[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles\n[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes\n[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials\n[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token\n[bootstrap-token] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster\n[bootstrap-token] Creating the \"cluster-info\" ConfigMap in the \"kube-public\" namespace\n[kubelet-finalize] Updating \"/etc/kubernetes/kubelet.conf\" to point to a rotatable kubelet client certificate and key\n[addons] Applied essential addon: CoreDNS\n[addons] Applied essential addon: kube-proxy\n\nYour Kubernetes control-plane has initialized successfully!\n\nTo start using your cluster, you need to run the following as a regular user:\n\n mkdir -p $HOME/.kube\n sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config\n sudo chown $(id -u):$(id -g) $HOME/.kube/config\n\nAlternatively, if you are the root user, you can run:\n\n export KUBECONFIG=/etc/kubernetes/admin.conf\n\nYou should now deploy a pod network to the cluster.\nRun \"kubectl apply -f [podnetwork].yaml\" with one of the options listed at:\n https://kubernetes.io/docs/concepts/cluster-administration/addons/\n\nThen you can join any number of worker nodes by running the following on each as root:\n\nkubeadm join 10.0.0.37:6443 --token tz6rcs.zwdd81excb6ckumk \\\n\t--discovery-token-ca-cert-hash sha256:593e5bd7c50db52482670754117bf47560fb5299a38bca81ab69f5d4ec557121 ", "stdout_lines": ["[init] Using Kubernetes version: v1.24.17", "[preflight] Running pre-flight checks", "[preflight] Pulling images required for setting up a Kubernetes cluster", "[preflight] This might take a minute or two, depending on the speed of your internet connection", "[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'", "[certs] Using certificateDir folder \"/etc/kubernetes/pki\"", "[certs] Generating \"ca\" certificate and key", "[certs] Generating \"apiserver\" certificate and key", "[certs] apiserver serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 10.0.0.37]", "[certs] Generating \"apiserver-kubelet-client\" certificate and key", "[certs] Generating \"front-proxy-ca\" certificate and key", "[certs] Generating \"front-proxy-client\" certificate and key", "[certs] Generating \"etcd/ca\" certificate and key", "[certs] Generating \"etcd/server\" certificate and key", "[certs] etcd/server serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal localhost] and IPs [10.0.0.37 127.0.0.1 ::1]", "[certs] Generating \"etcd/peer\" certificate and key", "[certs] etcd/peer serving cert is signed for DNS names [cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal localhost] and IPs [10.0.0.37 127.0.0.1 ::1]", "[certs] Generating \"etcd/healthcheck-client\" certificate and key", "[certs] Generating \"apiserver-etcd-client\" certificate and key", "[certs] Generating \"sa\" key and public key", "[kubeconfig] Using kubeconfig folder \"/etc/kubernetes\"", "[kubeconfig] Writing \"admin.conf\" kubeconfig file", "[kubeconfig] Writing \"kubelet.conf\" kubeconfig file", "[kubeconfig] Writing \"controller-manager.conf\" kubeconfig file", "[kubeconfig] Writing \"scheduler.conf\" kubeconfig file", "[kubelet-start] Writing kubelet environment file with flags to file \"/var/lib/kubelet/kubeadm-flags.env\"", "[kubelet-start] Writing kubelet configuration to file \"/var/lib/kubelet/config.yaml\"", "[kubelet-start] Starting the kubelet", "[control-plane] Using manifest folder \"/etc/kubernetes/manifests\"", "[control-plane] Creating static Pod manifest for \"kube-apiserver\"", "[control-plane] Creating static Pod manifest for \"kube-controller-manager\"", "[control-plane] Creating static Pod manifest for \"kube-scheduler\"", "[etcd] Creating static Pod manifest for local etcd in \"/etc/kubernetes/manifests\"", "[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory \"/etc/kubernetes/manifests\". This can take up to 4m0s", "[apiclient] All control plane components are healthy after 7.001756 seconds", "[upload-config] Storing the configuration used in ConfigMap \"kubeadm-config\" in the \"kube-system\" Namespace", "[kubelet] Creating a ConfigMap \"kubelet-config\" in namespace kube-system with the configuration for the kubelets in the cluster", "[upload-certs] Skipping phase. Please see --upload-certs", "[mark-control-plane] Marking the node cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers]", "[mark-control-plane] Marking the node cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule node-role.kubernetes.io/control-plane:NoSchedule]", "[bootstrap-token] Using token: tz6rcs.zwdd81excb6ckumk", "[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles", "[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes", "[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials", "[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token", "[bootstrap-token] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster", "[bootstrap-token] Creating the \"cluster-info\" ConfigMap in the \"kube-public\" namespace", "[kubelet-finalize] Updating \"/etc/kubernetes/kubelet.conf\" to point to a rotatable kubelet client certificate and key", "[addons] Applied essential addon: CoreDNS", "[addons] Applied essential addon: kube-proxy", "", "Your Kubernetes control-plane has initialized successfully!", "", "To start using your cluster, you need to run the following as a regular user:", "", " mkdir -p $HOME/.kube", " sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config", " sudo chown $(id -u):$(id -g) $HOME/.kube/config", "", "Alternatively, if you are the root user, you can run:", "", " export KUBECONFIG=/etc/kubernetes/admin.conf", "", "You should now deploy a pod network to the cluster.", "Run \"kubectl apply -f [podnetwork].yaml\" with one of the options listed at:", " https://kubernetes.io/docs/concepts/cluster-administration/addons/", "", "Then you can join any number of worker nodes by running the following on each as root:", "", "kubeadm join 10.0.0.37:6443 --token tz6rcs.zwdd81excb6ckumk \\", "\t--discovery-token-ca-cert-hash sha256:593e5bd7c50db52482670754117bf47560fb5299a38bca81ab69f5d4ec557121 "]} TASK [k8s : get master token] ************************************************** changed: [10.0.0.37] => {"changed": true, "cmd": "kubeadm token list |grep \"system:bootstrappers:kubeadm:default-node-token\" |grep \"forever\" |awk '{print $1}'", "delta": "0:00:00.036356", "end": "2024-08-23 16:09:29.381199", "msg": "", "rc": 0, "start": "2024-08-23 16:09:29.344843", "stderr": "", "stderr_lines": [], "stdout": "tz6rcs.zwdd81excb6ckumk", "stdout_lines": ["tz6rcs.zwdd81excb6ckumk"]} TASK [k8s : set master token] ************************************************** ok: [10.0.0.37] => {"ansible_facts": {"mastertoken": "tz6rcs.zwdd81excb6ckumk"}, "changed": false} TASK [k8s : get nodes] ********************************************************* changed: [10.0.0.37] => {"changed": true, "cmd": "kubectl get nodes -o yaml |grep \"\\- address:\" |awk '{print $3}'", "delta": "0:00:00.183181", "end": "2024-08-23 16:09:30.262463", "msg": "", "rc": 0, "start": "2024-08-23 16:09:30.079282", "stderr": "", "stderr_lines": [], "stdout": "10.0.0.37\ncn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal", "stdout_lines": ["10.0.0.37", "cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal"]} TASK [k8s : set node list] ***************************************************** ok: [10.0.0.37] => {"ansible_facts": {"node_list": "10.0.0.37\ncn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal"}, "changed": false} TASK [k8s : create k8s dashboard] ********************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/k8s/tasks/create_k8s_dashboard.yml for 10.0.0.37 TASK [k8s : create k8s dashboard manifest] ************************************* changed: [10.0.0.37] => {"changed": true, "checksum": "43f78b2703ed94833127855e1e421359ac34306a", "dest": "/tmp/k8s-dashboard.yaml.j2", "gid": 0, "group": "root", "md5sum": "6a9cdeca34d71e5145a4d12608de2364", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 7425, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1724429370.7762098-23850-192712065846657/source", "state": "file", "uid": 0} TASK [k8s : start k8s dashboard] *********************************************** changed: [10.0.0.37] => {"changed": true, "cmd": "kubectl apply -f /tmp/k8s-dashboard.yaml.j2", "delta": "0:00:00.677965", "end": "2024-08-23 16:09:32.608754", "msg": "", "rc": 0, "start": "2024-08-23 16:09:31.930789", "stderr": "Warning: spec.template.metadata.annotations[seccomp.security.alpha.kubernetes.io/pod]: deprecated since v1.19, non-functional in v1.25+; use the \"seccompProfile\" field instead", "stderr_lines": ["Warning: spec.template.metadata.annotations[seccomp.security.alpha.kubernetes.io/pod]: deprecated since v1.19, non-functional in v1.25+; use the \"seccompProfile\" field instead"], "stdout": "namespace/kubernetes-dashboard created\nserviceaccount/kubernetes-dashboard created\nservice/kubernetes-dashboard created\nsecret/kubernetes-dashboard-certs created\nsecret/kubernetes-dashboard-csrf created\nsecret/kubernetes-dashboard-key-holder created\nconfigmap/kubernetes-dashboard-settings created\nrole.rbac.authorization.k8s.io/kubernetes-dashboard created\nclusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created\nrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created\nclusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created\ndeployment.apps/kubernetes-dashboard created\nservice/dashboard-metrics-scraper created\ndeployment.apps/dashboard-metrics-scraper created", "stdout_lines": ["namespace/kubernetes-dashboard created", "serviceaccount/kubernetes-dashboard created", "service/kubernetes-dashboard created", "secret/kubernetes-dashboard-certs created", "secret/kubernetes-dashboard-csrf created", "secret/kubernetes-dashboard-key-holder created", "configmap/kubernetes-dashboard-settings created", "role.rbac.authorization.k8s.io/kubernetes-dashboard created", "clusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created", "rolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created", "clusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created", "deployment.apps/kubernetes-dashboard created", "service/dashboard-metrics-scraper created", "deployment.apps/dashboard-metrics-scraper created"]} TASK [k8s : look for a privileged token for full k8s dashboard access] ********* changed: [10.0.0.37] => {"changed": true, "cmd": "kubectl -n kube-system get secret | grep namespace-controller-token | awk '{print $1}'", "delta": "0:00:00.048823", "end": "2024-08-23 16:09:33.147241", "msg": "", "rc": 0, "start": "2024-08-23 16:09:33.098418", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [k8s : setting default k8s dashboard token file] ************************** ok: [10.0.0.37] => {"ansible_facts": {"k8s_dashboard_token_path": "/root/k8s_dashboard_token.txt"}, "changed": false} TASK [k8s : printing token file path] ****************************************** ok: [10.0.0.37] => { "msg": "/root/k8s_dashboard_token.txt" } TASK [k8s : store privileged token for full k8s dashboard access] ************** changed: [10.0.0.37] => {"changed": true, "cmd": "kubectl describe secret -n kube-system | grep \"token:\" | awk '{print $2}' > /root/k8s_dashboard_token.txt", "delta": "0:00:00.059170", "end": "2024-08-23 16:09:34.003661", "msg": "", "rc": 0, "start": "2024-08-23 16:09:33.944491", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [k8s : untaint node] ****************************************************** changed: [10.0.0.37] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_loop_var": "instance", "changed": true, "cmd": "kubectl taint nodes cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal node-role.kubernetes.io/master-", "delta": "0:00:00.055387", "end": "2024-08-23 16:09:34.582632", "instance": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "msg": "", "rc": 0, "start": "2024-08-23 16:09:34.527245", "stderr": "", "stderr_lines": [], "stdout": "node/cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal untainted", "stdout_lines": ["node/cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal untainted"]} TASK [k8s : untaint node] ****************************************************** changed: [10.0.0.37] => (item={'key': 'node_10_0_0_37', 'value': {'ip': '10.0.0.37', 'provider': 'bms', 'roles': {'analytics': None, 'analytics_snmp': None, 'analytics_alarm': None, 'analytics_database': None, 'config': None, 'config_database': None, 'control': None, 'webui': None, 'k8s_master': None, 'kubemanager': None, 'vrouter': None, 'k8s_node': None}}}) => {"ansible_loop_var": "instance", "changed": true, "cmd": "kubectl taint nodes cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal node-role.kubernetes.io/control-plane-", "delta": "0:00:00.100298", "end": "2024-08-23 16:09:35.203821", "instance": {"key": "node_10_0_0_37", "value": {"ip": "10.0.0.37", "provider": "bms", "roles": {"analytics": null, "analytics_alarm": null, "analytics_database": null, "analytics_snmp": null, "config": null, "config_database": null, "control": null, "k8s_master": null, "k8s_node": null, "kubemanager": null, "vrouter": null, "webui": null}}}, "msg": "", "rc": 0, "start": "2024-08-23 16:09:35.103523", "stderr": "", "stderr_lines": [], "stdout": "node/cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal untainted", "stdout_lines": ["node/cn-jenkins-deploy-platform-ansible-k8s-238-1.novalocal untainted"]} PLAY RECAP ********************************************************************* 10.0.0.37 : ok=39 changed=19 unreachable=0 failed=0 skipped=12 rescued=0 ignored=1 localhost : ok=67 changed=0 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 INFO: Stage k8s was run successfully Fri Aug 23 16:09:35 UTC 2024 INFO: Running stage openstack at Fri Aug 23 16:09:35 UTC 2024 INFO: Skipping openstack deployment INFO: Stage openstack was run successfully Fri Aug 23 16:09:35 UTC 2024 [update tf stack configuration] tf setup profile /home/rocky/.tf/stack.env DEPLOYER=ansible CONTRAIL_CONTAINER_TAG=master-9_0_7-1 CONTRAIL_DEPLOYER_CONTAINER_TAG=master-9_0_7-1 CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ORCHESTRATOR=kubernetes OPENSTACK_VERSION="yoga" CONTROLLER_NODES="10.0.0.37 " AGENT_NODES="10.0.0.37" CONTROL_NODES="10.0.0.37 " SSL_ENABLE="false" LEGACY_ANALYTICS_ENABLE="true" HUGE_PAGES_1G= CONTAINER_RUNTIME=docker K8S_CA= DEPLOY_IPA_SERVER= IPA_PASSWORD= AUTH_PASSWORD='contrail123' AUTH_URL='' INFO: Successful deployment Fri Aug 23 16:09:35 UTC 2024 DEBUG: kill running child jobs: INFO: Deploy platform finished + [[ 0 == 1 ]] + exit 0 [PostBuildScript] - [INFO] Executing post build scripts. [PostBuildScript] - [INFO] Build does not have any of the results [FAILURE]. Did not execute build step #0. Archiving artifacts Finished: SUCCESS