Started by upstream project "pipeline-check" build number 1798 originally caused by: Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-ansible-deployer/+/1588 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/deploy-tf-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-tf-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 485cc14648b8c1ac2aa165b6362fc4156491c8f9 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 485cc14648b8c1ac2aa165b6362fc4156491c8f9 # timeout=10 Commit message: "add ubuntu24 to mirror list" > git rev-list --no-walk 485cc14648b8c1ac2aa165b6362fc4156491c8f9 # 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-tf-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 025dad9d17f449a5d9e6af70c7b63dfa382fc8e1 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 025dad9d17f449a5d9e6af70c7b63dfa382fc8e1 # timeout=10 Commit message: "update k8s versions for juju" > git rev-list --no-walk 025dad9d17f449a5d9e6af70c7b63dfa382fc8e1 # timeout=10 Copied 4 artifacts from "pipeline-check" build number 1798 [deploy-tf-ansible-k8s] $ /bin/bash -xe /tmp/jenkins15842871380223519521.sh + source /home/jenkins/workspace/deploy-tf-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ 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/88/1588/1/check_1798 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1588/1/check_1798 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ 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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + desc='Pipeline: pipeline-check-1798 Random: 38102 Stream: ansible-k8s' + desc+='
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s' + echo 'DESCRIPTION Pipeline: pipeline-check-1798 Random: 38102 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s' DESCRIPTION Pipeline: pipeline-check-1798 Random: 38102 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s [description-setter] Description set: Pipeline: pipeline-check-1798 Random: 38102 Stream: ansible-k8s
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s' [deploy-tf-ansible-k8s] $ /bin/bash -xe /tmp/jenkins9649875213993586234.sh + set -eo pipefail + source /home/jenkins/workspace/deploy-tf-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ 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/88/1588/1/check_1798 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1588/1/check_1798 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ 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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ 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-tf-ansible-k8s] $ /bin/bash -xe /tmp/jenkins5918274496228560305.sh + set -eo pipefail + source /home/jenkins/workspace/deploy-tf-ansible-k8s/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1798 ++ 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/88/1588/1/check_1798 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1588/1/check_1798 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1588/1/check_1798 ++ 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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_5_8_8-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-1_5_8_8-1 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_5_8_8-1 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ GERRIT_CHANGE_ID=If2e637ee5d6f93989dd7a73f547bef312a1eb075 ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ GERRIT_PROJECT=opensdn-io/tf-ansible-deployer ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + 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' ['UBUNTU24']='prepared-ubuntu24' ['ROCKY9']='prepared-rocky92') ++ declare -A OS_IMAGES ++ OS_IMAGE_USERS=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['UBUNTU24']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky') ++ declare -A OS_IMAGE_USERS ++ OS_IMAGES_UP=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['UBUNTU24']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky') ++ declare -A OS_IMAGES_UP ++ OS_IMAGES_DOWN=(['CENTOS7']='' ['CENTOS8']='' ['UBUNTU20']='' ['UBUNTU22']='' ['UBUNTU24']='' ['ROCKY9']='' ['ROCKY92']='') ++ declare -A OS_IMAGES_DOWN ++ SSH_OPTIONS='-T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no' + source /home/jenkins/workspace/deploy-tf-ansible-k8s/deps.deploy-tf-ansible-k8s.38102.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=668325a0-c302-4a9f-8038-5475c33c91f8, ++ INSTANCE_IDS=668325a0-c302-4a9f-8038-5475c33c91f8, ++ export instance_ip=10.0.0.242 ++ instance_ip=10.0.0.242 ++ export CONTROLLER_NODES=10.0.0.242, ++ CONTROLLER_NODES=10.0.0.242, ++ export ORCHESTRATOR=kubernetes ++ ORCHESTRATOR=kubernetes ++ export DEPLOYER=ansible ++ DEPLOYER=ansible ++ export JOB_LOGS_PATH=ansible-k8s ++ JOB_LOGS_PATH=ansible-k8s + source /home/jenkins/workspace/deploy-tf-ansible-k8s/vars.deploy-tf-ansible-k8s.38102.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 ++ export CONFIG_API_WORKER_COUNT=3 ++ CONFIG_API_WORKER_COUNT=3 + export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s + FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1588/1/check_1798/ansible-k8s + ./src/opensdn-io/tf-jenkins/jobs/devstack/ansible/deploy_tf.sh INFO: Deploy ansible/ (deploy-tf-ansible-k8s) Warning: Permanently added '10.0.0.242' (ECDSA) to the list of known hosts. Warning: Permanently added '10.0.0.242' (ECDSA) to the list of known hosts. INFO: =================== Thu Apr 17 09:38:15 UTC 2025 =================== [there is no tf devenv configuration to load] INFO: Applying stages machines k8s openstack tf wait INFO: Running stage machines at Thu Apr 17 09:38:15 UTC 2025 Skipping stage machines because it's finished INFO: Stage machines was run successfully Thu Apr 17 09:38:15 UTC 2025 INFO: Running stage k8s at Thu Apr 17 09:38:15 UTC 2025 Skipping stage k8s because it's finished INFO: Stage k8s was run successfully Thu Apr 17 09:38:15 UTC 2025 INFO: Running stage openstack at Thu Apr 17 09:38:15 UTC 2025 Skipping stage openstack because it's finished INFO: Stage openstack was run successfully Thu Apr 17 09:38:15 UTC 2025 INFO: Running stage tf at Thu Apr 17 09:38:15 UTC 2025 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 opensdn] ********** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Expose instances] ******************************************************** ok: [localhost] => {"ansible_facts": {"instances": {"node_10_0_0_242": {"ip": "10.0.0.242", "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 [Expose remote_locations configuration] *********************************** ok: [localhost] => {"ansible_facts": {"remote_locations": {}}, "changed": false} TASK [Expose provider config] ************************************************** ok: [localhost] => {"ansible_facts": {"provider_config": {"bms": {"domainsuffix": "novalocal", "ssh_private_key": "/home/rocky/.ssh/id_rsa", "ssh_pwd": null, "ssh_user": "rocky"}}}, "changed": false} TASK [opensdn_deployer : create container host group] ************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/create_container_host_group.yml for localhost TASK [opensdn_deployer : add bms container hosts] ****************************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "host_vars": {"ansible_become": true, "ansible_ssh_pass": "", "ansible_user": "rocky", "instance_name": "node_10_0_0_242", "private_ip": "10.0.0.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : add bms container hosts] ****************************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "host_vars": {"ansible_become": true, "ansible_ssh_private_key_file": "/home/rocky/.ssh/id_rsa", "ansible_user": "rocky", "instance_name": "node_10_0_0_242", "private_ip": "10.0.0.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : build node lists] ************************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/build_node_lists.yml for localhost TASK [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"config_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add config nodes to the list] ************************* ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"control_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add control nodes to the list] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"configdb_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add configdb nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"analytics_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add analytics nodes to the list] ********************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"analytics_snmp_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add analytics snmp nodes to the list] ***************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"analytics_alarm_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add analytics alarm nodes to the list] **************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"analyticsdb_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add analyticsdb nodes to the list] ******************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"webui_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add webui nodes to the list] ************************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"k8s_master_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add k8s_master nodes to the list] ********************* ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"k8s_node_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add k8s_node nodes to the list] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"kubemanager_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add kubemanager nodes to the list] ******************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"openstack_nodes_list": []}, "changed": false} TASK [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"vrouter_nodes_list": []}, "changed": false} TASK [opensdn_deployer : add Vrouter Nodes to the list] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242"]}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"tsn_nodes_list": []}, "changed": false} TASK [opensdn_deployer : set global variables] ********************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/set_global_variables.yml for localhost TASK [opensdn_deployer : set container tag contrail version if defined] ******** ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "latest"}, "changed": false} TASK [opensdn_deployer : add specific contrail version tag if defined] ********* ok: [localhost] => {"ansible_facts": {"contrail_version_tag": "master-1_5_8_8-1"}, "changed": false} TASK [opensdn_deployer : set registry if defined] ****************************** ok: [localhost] => {"ansible_facts": {"container_registry": "nexus.gz1.opensdn.io:5101"}, "changed": false} TASK [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"roles": {}}, "changed": false} TASK [opensdn_deployer : add roles if defined] ********************************* ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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_242": {"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_242", "value": {"ip": "10.0.0.242", "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 [opensdn_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.242", "opencontrail_collector_ip": "10.0.0.242"}, "changed": false} TASK [opensdn_deployer : set default variables] ******************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/set_default_variables.yml for localhost TASK [opensdn_deployer : set orchestrator param] ******************************* ok: [localhost] => {"ansible_facts": {"default_configuration": {"VXLAN_VN_ID_MODE": "automatic"}}, "changed": false} TASK [opensdn_deployer : set contrail variables] ******************************* included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/set_contrail_variables.yml for localhost TASK [opensdn_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_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROL_NODES": "10.0.0.242", "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 [opensdn_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_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROL_NODES": "10.0.0.242", "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 [opensdn_deployer : add nodes to contrail_configuration] ****************** ok: [localhost] => (item={'name': 'CONFIG_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'CONTROLLER_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'CONFIGDB_NODES', 'nodes': ['10.0.0.242']}) => {"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.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'ANALYTICS_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'ANALYTICS_SNMP_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'ANALYTICS_ALARM_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'ANALYTICSDB_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"]}} ok: [localhost] => (item={'name': 'WEBUI_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "WEBUI_NODES", "nodes": ["10.0.0.242"]}} ok: [localhost] => (item={'name': 'KUBERNETES_API_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBERNETES_API_NODES", "nodes": ["10.0.0.242"]}} ok: [localhost] => (item={'name': 'KUBEMANAGER_NODES', 'nodes': ['10.0.0.242']}) => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": "true", "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"name": "KUBEMANAGER_NODES", "nodes": ["10.0.0.242"]}} TASK [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": false, "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "changed": false} TASK [opensdn_deployer : check analyticsdb presence] *************************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "ANALYTICS_ALARM_ENABLE": "true", "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": false, "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "changed": false} TASK [opensdn_deployer : check analytics alarm presence] *********************** ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": "true", "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"contrail_configuration": {"ANALYTICSDB_ENABLE": true, "ANALYTICSDB_NODES": "10.0.0.242", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": false, "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "changed": false} TASK [opensdn_deployer : check analytics snmp presence] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": true, "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "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.242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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 [opensdn_deployer : build cluster node role lists] ************************ included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn_deployer/tasks/cluster_node_role_lists.yml for localhost TASK [opensdn_deployer : set_fact] ********************************************* ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {}}, "changed": false} TASK [opensdn_deployer : Calculate Existing Roles] ***************************** ok: [localhost] => {"ansible_facts": {"cluster_roles_dict": {"api_server_ip": null, "deleted_nodes_dict": {}, "node_roles_dict": {}}}, "changed": false} TASK [opensdn_deployer : Calculate node roles Dict] **************************** ok: [localhost] => {"ansible_facts": {"node_roles_dict": {}}, "changed": false} TASK [opensdn_deployer : Calculate deleted role Dict] ************************** ok: [localhost] => {"ansible_facts": {"deleted_nodes_dict": {}}, "changed": false} TASK [opensdn_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.242) => {"ansible_facts": {"k8s_master_ip_list": ["10.0.0.242"], "k8s_master_name_list": ["10.0.0.242"]}, "ansible_loop_var": "item", "changed": false, "item": "10.0.0.242"} TASK [k8s_deployer : show master_ip list] ************************************** ok: [localhost] => { "msg": [ "10.0.0.242" ] } TASK [k8s_deployer : show master_name list] ************************************ ok: [localhost] => { "msg": [ "10.0.0.242" ] } TASK [k8s_deployer : set master_ip as first item of master_ip list] ************ ok: [localhost] => {"ansible_facts": {"k8s_master_ip": "10.0.0.242"}, "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.242"}, "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.242", "ANALYTICS_ALARM_ENABLE": true, "ANALYTICS_ALARM_NODES": "10.0.0.242", "ANALYTICS_NODES": "10.0.0.242", "ANALYTICS_SNMP_ENABLE": true, "ANALYTICS_SNMP_NODES": "10.0.0.242", "CASSANDRA_SSL_ENABLE": "false", "CLOUD_ORCHESTRATOR": "kubernetes", "CONFIGDB_NODES": "10.0.0.242", "CONFIG_API_WORKER_COUNT": "3", "CONFIG_DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "CONFIG_NODES": "10.0.0.242", "CONTRAIL_CONTAINER_TAG": "master-1_5_8_8-1", "CONTROLLER_NODES": "10.0.0.242", "CONTROL_NODES": "10.0.0.242", "DATABASE_NODEMGR__DEFAULTS__minimum_diskGB": "2", "HUGE_PAGES_2MB": "256", "JVM_EXTRA_OPTS": "-Xms1g -Xmx2g", "KUBEMANAGER_NODES": "10.0.0.242", "KUBERNETES_API_NODES": "10.0.0.242", "KUBERNETES_API_SERVER": "10.0.0.242", "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.242"}}, "changed": false} TASK [k8s_deployer : create k8s_master_host host group] ************************ ok: [localhost] => (item={'key': 'node_10_0_0_242', 'value': {'ip': '10.0.0.242', '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.242", "host_vars": {"instance_name": "node_10_0_0_242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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_242', 'value': {'ip': '10.0.0.242', '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.242", "host_vars": {"instance_name": "node_10_0_0_242"}}, "ansible_loop_var": "item", "changed": false, "item": {"key": "node_10_0_0_242", "value": {"ip": "10.0.0.242", "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}}}} PLAY [Remove opensdn from Deleted Nodes ( Deregister )] ************************ TASK [Gathering Facts] ********************************************************* [WARNING]: Platform linux on host 10.0.0.242 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.242] PLAY [Remove opensdn from Deleted Nodes ( Cleanup )] *************************** skipping: no hosts matched [WARNING]: Found variable using reserved name: roles PLAY [Install opensdn] ********************************************************* TASK [Gathering Facts] ********************************************************* ok: [10.0.0.242] TASK [define k8s_master_ip] **************************************************** ok: [10.0.0.242] => {"ansible_facts": {"k8s_master_ip": "10.0.0.242"}, "changed": false} TASK [define k8s_master_name] ************************************************** ok: [10.0.0.242] => {"ansible_facts": {"k8s_master_name": "10.0.0.242"}, "changed": false} TASK [opensdn : set instance data] ********************************************* ok: [10.0.0.242] => {"ansible_facts": {"instance_data": {"ip": "10.0.0.242", "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 [opensdn : set instance name] ********************************************* ok: [10.0.0.242] => {"ansible_facts": {"instance_name": "node_10_0_0_242"}, "changed": false} TASK [opensdn : run common tasks] ********************************************** included: /home/rocky/tf-ansible-deployer/playbooks/roles/opensdn/tasks/common_Linux.yml for 10.0.0.242 TASK [opensdn : create /var/log/contrail] ************************************** changed: [10.0.0.242] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log/contrail", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0} TASK [opensdn : create /etc/contrail/compose] ********************************** changed: [10.0.0.242] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/contrail/compose", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0} TASK [opensdn : populate common.env] ******************************************* changed: [10.0.0.242] => {"changed": true, "checksum": "741acf6bd6d64f65c2b6fc014a6a84c31725d6a9", "dest": "/etc/contrail/common.env", "gid": 0, "group": "root", "md5sum": "1785a01e85dfb93c76443a60beb58538", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 936, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1744882710.8172028-26355-277586168404345/source", "state": "file", "uid": 0} TASK [opensdn : populate defaults.env] ***************************************** changed: [10.0.0.242] => {"changed": true, "checksum": "d0ec2d02b27484bcf9f59ef41e7b993311d55516", "dest": "/etc/contrail/defaults.env", "gid": 0, "group": "root", "md5sum": "4a16eb30253a69c955c1d715f6fef5a6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 27, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1744882712.031903-26534-196937612738611/source", "state": "file", "uid": 0} TASK [create redis] ************************************************************ [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. TASK [opensdn_redis : update contrail redis image] ***************************** changed: [10.0.0.242] => (item=opensdn-external-redis) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": "docker pull nexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_5_8_8-1", "delta": "0:00:06.238346", "end": "2025-04-17 09:38:39.890069", "item": "opensdn-external-redis", "msg": "", "rc": 0, "start": "2025-04-17 09:38:33.651723", "stderr": "", "stderr_lines": [], "stdout": "master-1_5_8_8-1: Pulling from opensdn-external-redis\n2d473b07cdd5: Pulling fs layer\n872a0d2e66cb: Pulling fs layer\n377d3850f201: Pulling fs layer\n518ee70ebd98: Pulling fs layer\n24a474aec835: Pulling fs layer\n69ea90b0e8eb: Pulling fs layer\nadba183f08e2: Pulling fs layer\n30e90b4b9bf4: Pulling fs layer\n0bce0067e0c8: Pulling fs layer\n06a25cf6ca91: Pulling fs layer\nadba183f08e2: Waiting\n30e90b4b9bf4: Waiting\n0bce0067e0c8: Waiting\n06a25cf6ca91: Waiting\n518ee70ebd98: Waiting\n24a474aec835: Waiting\n69ea90b0e8eb: Waiting\n377d3850f201: Download complete\n872a0d2e66cb: Verifying Checksum\n872a0d2e66cb: Download complete\n518ee70ebd98: Verifying Checksum\n518ee70ebd98: Download complete\n69ea90b0e8eb: Download complete\n24a474aec835: Download complete\n30e90b4b9bf4: Verifying Checksum\n30e90b4b9bf4: Download complete\nadba183f08e2: Verifying Checksum\nadba183f08e2: Download complete\n0bce0067e0c8: Verifying Checksum\n0bce0067e0c8: Download complete\n06a25cf6ca91: Download complete\n2d473b07cdd5: Verifying Checksum\n2d473b07cdd5: Download complete\n2d473b07cdd5: Pull complete\n872a0d2e66cb: Pull complete\n377d3850f201: Pull complete\n518ee70ebd98: Pull complete\n24a474aec835: Pull complete\n69ea90b0e8eb: Pull complete\nadba183f08e2: Pull complete\n30e90b4b9bf4: Pull complete\n0bce0067e0c8: Pull complete\n06a25cf6ca91: Pull complete\nDigest: sha256:9adbeb271e86442587d9627b36c053dd8efa893450763597143b67d29dcf96b5\nStatus: Downloaded newer image for nexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_5_8_8-1\nnexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_5_8_8-1", "stdout_lines": ["master-1_5_8_8-1: Pulling from opensdn-external-redis", "2d473b07cdd5: Pulling fs layer", "872a0d2e66cb: Pulling fs layer", "377d3850f201: Pulling fs layer", "518ee70ebd98: Pulling fs layer", "24a474aec835: Pulling fs layer", "69ea90b0e8eb: Pulling fs layer", "adba183f08e2: Pulling fs layer", "30e90b4b9bf4: Pulling fs layer", "0bce0067e0c8: Pulling fs layer", "06a25cf6ca91: Pulling fs layer", "adba183f08e2: Waiting", "30e90b4b9bf4: Waiting", "0bce0067e0c8: Waiting", "06a25cf6ca91: Waiting", "518ee70ebd98: Waiting", "24a474aec835: Waiting", "69ea90b0e8eb: Waiting", "377d3850f201: Download complete", "872a0d2e66cb: Verifying Checksum", "872a0d2e66cb: Download complete", "518ee70ebd98: Verifying Checksum", "518ee70ebd98: Download complete", "69ea90b0e8eb: Download complete", "24a474aec835: Download complete", "30e90b4b9bf4: Verifying Checksum", "30e90b4b9bf4: Download complete", "adba183f08e2: Verifying Checksum", "adba183f08e2: Download complete", "0bce0067e0c8: Verifying Checksum", "0bce0067e0c8: Download complete", "06a25cf6ca91: Download complete", "2d473b07cdd5: Verifying Checksum", "2d473b07cdd5: Download complete", "2d473b07cdd5: Pull complete", "872a0d2e66cb: Pull complete", "377d3850f201: Pull complete", "518ee70ebd98: Pull complete", "24a474aec835: Pull complete", "69ea90b0e8eb: Pull complete", "adba183f08e2: Pull complete", "30e90b4b9bf4: Pull complete", "0bce0067e0c8: Pull complete", "06a25cf6ca91: Pull complete", "Digest: sha256:9adbeb271e86442587d9627b36c053dd8efa893450763597143b67d29dcf96b5", "Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_5_8_8-1", "nexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_5_8_8-1"]} changed: [10.0.0.242] => (item=opensdn-external-stunnel) => {"ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": "docker pull nexus.gz1.opensdn.io:5101/opensdn-external-stunnel:master-1_5_8_8-1", "delta": "0:00:00.462147", "end": "2025-04-17 09:38:40.977528", "item": "opensdn-external-stunnel", "msg": "", "rc": 0, "start": "2025-04-17 09:38:40.515381", "stderr": "", "stderr_lines": [], "stdout": "master-1_5_8_8-1: Pulling from opensdn-external-stunnel\n2d473b07cdd5: Already exists\n872a0d2e66cb: Already exists\n377d3850f201: Already exists\n518ee70ebd98: Already exists\n24a474aec835: Already exists\n69ea90b0e8eb: Already exists\nadba183f08e2: Already exists\nf27117e66ae3: Pulling fs layer\n5bff6fc2f1b4: Pulling fs layer\nf27117e66ae3: Download complete\nf27117e66ae3: Pull complete\n5bff6fc2f1b4: Verifying Checksum\n5bff6fc2f1b4: Download complete\n5bff6fc2f1b4: Pull complete\nDigest: sha256:10fba2f2b4fb65323381e6b18b90ff0c3e34f8e4022ff631db001d20e29f9091\nStatus: Downloaded newer image for nexus.gz1.opensdn.io:5101/opensdn-external-stunnel:master-1_5_8_8-1\nnexus.gz1.opensdn.io:5101/opensdn-external-stunnel:master-1_5_8_8-1", "stdout_lines": ["master-1_5_8_8-1: Pulling from opensdn-external-stunnel", "2d473b07cdd5: Already exists", "872a0d2e66cb: Already exists", "377d3850f201: Already exists", "518ee70ebd98: Already exists", "24a474aec835: Already exists", "69ea90b0e8eb: Already exists", "adba183f08e2: Already exists", "f27117e66ae3: Pulling fs layer", "5bff6fc2f1b4: Pulling fs layer", "f27117e66ae3: Download complete", "f27117e66ae3: Pull complete", "5bff6fc2f1b4: Verifying Checksum", "5bff6fc2f1b4: Download complete", "5bff6fc2f1b4: Pull complete", "Digest: sha256:10fba2f2b4fb65323381e6b18b90ff0c3e34f8e4022ff631db001d20e29f9091", "Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/opensdn-external-stunnel:master-1_5_8_8-1", "nexus.gz1.opensdn.io:5101/opensdn-external-stunnel:master-1_5_8_8-1"]} TASK [opensdn_redis : create /etc/contrail/redis] ****************************** changed: [10.0.0.242] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/contrail/redis", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0} TASK [opensdn_redis : Set variables for Stunnel] ******************************* ok: [10.0.0.242] => {"ansible_facts": {"redis_ssl_enable": false}, "changed": false} TASK [opensdn_redis : create redis compose file] ******************************* changed: [10.0.0.242] => {"changed": true, "checksum": "ba3902aee49c7cc2ad60b6e18423b717eae766a9", "dest": "/etc/contrail/redis/docker-compose.yaml", "gid": 0, "group": "root", "md5sum": "cba2fbb8956e2e85058573b373c3ef81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 198, "src": "/home/rocky/.ansible/tmp/ansible-tmp-1744882722.077412-27096-269314322225077/source", "state": "file", "uid": 0} TASK [opensdn_redis : start redis] ********************************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'docker' fatal: [10.0.0.242]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (Docker SDK for Python: docker above 5.0.0 (Python >= 3.6) or docker before 5.0.0 (Python 2.7) or docker-py (Python 2.6)) on cn-jenkins-deploy-platform-ansible-k8s-332-1.novalocal's Python /usr/bin/python3.9. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter, for example via `pip install docker` (Python >= 3.6) or `pip install docker==4.4.4` (Python 2.7) or `pip install docker-py` (Python 2.6). The error was: No module named 'docker'"} PLAY RECAP ********************************************************************* 10.0.0.242 : ok=15 changed=7 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 localhost : ok=70 changed=0 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 DEBUG: kill running child jobs: INFO: Deploy finished + res=1 + exit 1 Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE