Hi everyone,
I am trying to install StarlingX R5.0 virtual All-in-one Simplex in VMware , I am stuck while running ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml command. I have attached the log below.
After getting into to the controller-0 console it is not getting connected to the internet.
Please anyone suggest some solutions to this issues. I am trying to slove this from past 2 weeks.
Thanks in advance.
Regards,
Mamatha. M
PLAY [all] *********************************************************************
TASK [common/prepare-env : stat] ***********************************************
ok: [localhost -> localhost] => (item=/root/secrets.yml)
ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml)
ok: [localhost -> localhost] => (item=/root/site.yml)
ok: [localhost -> localhost] => (item=/root/localhost.yml)
TASK [common/prepare-env : include_vars] ***************************************
TASK [common/prepare-env : Set SSH port] ***************************************
TASK [common/prepare-env : Update SSH known hosts] *****************************
TASK [common/prepare-env : Check connectivity] *********************************
TASK [common/prepare-env : Fail if host is unreachable] ************************
TASK [common/prepare-env : Fail if password change response sequence is not defined] ***
TASK [common/prepare-env : debug] **********************************************
TASK [common/prepare-env : Change initial password] ****************************
TASK [common/validate-target : set_fact] ***************************************
ok: [localhost]
TASK [common/validate-target : Gather facts if check_bootstrap_address is turned on] ***
TASK [common/validate-target : Retrieve software version number] ***************
changed: [localhost]
TASK [common/validate-target : Fail if software version is not defined] ********
TASK [common/validate-target : Retrieve system type] ***************************
changed: [localhost]
TASK [common/validate-target : Fail if system type is not defined] *************
TASK [common/validate-target : Set host software version, system type] *********
ok: [localhost]
TASK [common/validate-target : Fail if host software version is not supported by this playbook] ***
TASK [common/validate-target : Check if the system is ready] *******************
TASK [common/validate-target : Fail if the host was not installed with the right software version] ***
TASK [common/validate-target : set_fact] ***************************************
TASK [common/validate-target : Fail if the boot address does not exist in this host (IPv4)] ***
TASK [common/validate-target : Fail if the boot address does not exist in this host (IPv6)] ***
TASK [common/validate-target : Query list of applied patches on master] ********
TASK [common/validate-target : Query list of applied patches on the target] ****
TASK [common/validate-target : Fail if the applied patch list on target differs from that on the master] ***
TASK [common/validate-target : Set software version, system type config path facts] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Look for unmistakenly StarlingX packages] ********
changed: [localhost]
TASK [bootstrap/prepare-env : Fail if host is not running the right image] *****
TASK [bootstrap/prepare-env : Fail if any of the mandatory configurations are not defined] ***
TASK [bootstrap/prepare-env : Set config path facts] ***************************
ok: [localhost]
TASK [bootstrap/prepare-env : Check initial config flag] ***********************
ok: [localhost]
TASK [bootstrap/prepare-env : Check if bootstrap_finalized flag exists on host] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Fail if host is unlocked or host configurations have already started] ***
TASK [bootstrap/prepare-env : Set initial address facts if not defined. They will be updated later] ***
ok: [localhost]
TASK [bootstrap/prepare-env : set_fact] ****************************************
TASK [bootstrap/prepare-env : Set default registries dictionary] ***************
ok: [localhost]
TASK [bootstrap/prepare-env : Save the list of user defined registry keys] *****
ok: [localhost]
TASK [bootstrap/prepare-env : Merge user and default registries dictionaries] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Initialize some flags to be used in subsequent roles/tasks] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Set initial facts] *******************************
ok: [localhost]
TASK [bootstrap/prepare-env : Turn on use_docker_proxy flag] *******************
TASK [bootstrap/prepare-env : Set default values for individual platform registries and registry secrets] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Set default values for additional images list] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Set default values for OpenID connect] ***********
ok: [localhost]
TASK [bootstrap/prepare-env : Set default values for docker proxies if not defined] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Set default values for kubernetes certificate parameters if not defined] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Set bootstrap output file] ***********************
ok: [localhost]
TASK [bootstrap/prepare-env : Check Docker status] *****************************
changed: [localhost]
TASK [bootstrap/prepare-env : Look for openrc file] ****************************
ok: [localhost]
TASK [bootstrap/prepare-env : Turn on replayed flag] ***************************
ok: [localhost]
TASK [bootstrap/prepare-env : Turn off save_password flag] *********************
ok: [localhost]
TASK [bootstrap/prepare-env : Check the overall status of the previous play] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Check the initial database population status] ****
ok: [localhost]
TASK [bootstrap/prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***
ok: [localhost]
TASK [bootstrap/prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] ***
TASK [bootstrap/prepare-env : Turn on initial_db_populated flag] ***************
TASK [bootstrap/prepare-env : Find previous config file for this host] *********
ok: [localhost]
TASK [bootstrap/prepare-env : Turn on last_config_file_exists flag] ************
TASK [bootstrap/prepare-env : Set last config file to import (local)] **********
TASK [bootstrap/prepare-env : Set last config file to import (remote)] *********
TASK [bootstrap/prepare-env : Fetch previous config file from this host] *******
TASK [bootstrap/prepare-env : Read in last config values] **********************
TASK [bootstrap/prepare-env : Turn on system attributes reconfiguration flag] ***
TASK [bootstrap/prepare-env : Convert previous docker no proxy config value for comparison] ***
TASK [bootstrap/prepare-env : Turn on docker reconfiguration flag if docker config is changed] ***
TASK [bootstrap/prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ***
TASK [bootstrap/prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] ***
TASK [bootstrap/prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ***
TASK [bootstrap/prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ***
TASK [bootstrap/prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ***
TASK [bootstrap/prepare-env : Turn off save_config_to_db flag] *****************
TASK [bootstrap/prepare-env : Check volume groups] *****************************
changed: [localhost]
TASK [bootstrap/prepare-env : Check size of root disk] *************************
changed: [localhost]
TASK [bootstrap/prepare-env : Check for valid Platform Backup partition] *******
TASK [bootstrap/prepare-env : Fail if Platform Backup partition is not valid] ***
TASK [bootstrap/prepare-env : Update root disk index for remote play] **********
TASK [bootstrap/prepare-env : Set root disk and root disk size facts] **********
ok: [localhost]
TASK [bootstrap/prepare-env : debug] *******************************************
TASK [bootstrap/prepare-env : include_tasks] ***********************************
TASK [bootstrap/prepare-env : Look for branding tar file] **********************
ok: [localhost]
TASK [bootstrap/prepare-env : Fail if there are more than one branding tar files] ***
TASK [bootstrap/prepare-env : Look for other branding files] *******************
ok: [localhost]
TASK [bootstrap/prepare-env : Fail if the branding filename is not valid] ******
TASK [bootstrap/prepare-env : Mark environment as Ansible bootstrap] ***********
changed: [localhost]
TASK [bootstrap/prepare-env : Set up Ansible remote tmp dir] *******************
ok: [localhost]
TASK [bootstrap/prepare-env : debug] *******************************************
ok: [localhost] => {
"msg": "system_config_update flag: False, network_config_update flag: False, docker_config_update flag: False, restart_services flag: True, endpoints_reconfiguration_flag: False, save_password flag: False, save_config_to_db flag: True, incomplete_bootstrap flag: True, initial_db_populated_flag: True, dc_role_changed_flag: False"
}
TASK [bootstrap/validate-config : Fail if any of the configured registry keys is unknown] ***
TASK [bootstrap/validate-config : Check k8s_registry credentials] **************
TASK [bootstrap/validate-config : Check gcr_registry credentials] **************
TASK [bootstrap/validate-config : Check quay_registry credentials] *************
TASK [bootstrap/validate-config : Check docker_registry credentials] ***********
TASK [bootstrap/validate-config : Check elastic_registry credentials] **********
TASK [bootstrap/validate-config : Check ghcr_registry credentials] *************
TASK [bootstrap/validate-config : Check defaults registry credentials] *********
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost]
TASK [bootstrap/validate-config : debug] ***************************************
ok: [localhost] => {
"msg": [
"System mode is simplex",
"Timezone is UTC",
"Distributed Cloud Role is none",
"Region name is RegionOne",
"DNS servers is [u'8.8.8.8', u'8.8.4.4']",
"PXE boot subnet is 169.254.202.0/24",
"Management subnet is 192.168.204.0/24",
"Cluster host subnet is 192.168.206.0/24",
"Cluster pod subnet is 172.16.0.0/16",
"Cluster service subnet is 10.96.0.0/12",
"OAM subnet is 10.10.10.0/24",
"OAM gateway is 10.10.10.1",
"OAM floating ip is 10.10.10.2",
"Management dynamic address allocation is True",
"Cluster host dynamic address allocation is True",
"Docker registries is {u'quay.io': {u'url': None, 'password': u'secret'}, u'ghcr.io': {u'url': None, 'password': u'secret'}, u'docker.elastic.co': {u'url': None, 'password': u'secret'}, u'gcr.io': {u'url': None, 'password': u'secret'}, u'k8s.gcr.io': {u'url': None, 'password': u'secret'}, u'docker.io': {u'url': None, 'password': u'secret'}}",
"Docker HTTP proxy is undef",
"Docker HTTPS proxy is undef",
"Docker no proxy list is []",
"Applications are []"
]
}
TASK [bootstrap/validate-config : Set system mode fact] ************************
ok: [localhost]
TASK [bootstrap/validate-config : debug] ***************************************
TASK [bootstrap/validate-config : Set system mode to duplex for Standard system] ***
TASK [bootstrap/validate-config : Validate system mode if system type is All-in-one] ***
TASK [bootstrap/validate-config : Validate virtual system setting] *************
TASK [bootstrap/validate-config : Fail if virtual system type is not All-in-one] ***
TASK [bootstrap/validate-config : Validate distributed cloud role] *************
TASK [bootstrap/validate-config : Validate system type and system mode if distributed cloud role is system controller] ***
TASK [bootstrap/validate-config : Validate virtual system setting if distributed cloud role is system controller] ***
TASK [bootstrap/validate-config : Checking registered timezones] ***************
ok: [localhost]
TASK [bootstrap/validate-config : Fail if provided timezone is unknown] ********
TASK [bootstrap/validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] ***
TASK [bootstrap/validate-config : Check format of DNS server IP(s)] ************
ok: [localhost] => (item=8.8.8.8) => {
"msg": "DNS Server: 8.8.8.8"
}
ok: [localhost] => (item=8.8.4.4) => {
"msg": "DNS Server: 8.8.4.4"
}
TASK [bootstrap/validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] ***
ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => {
"msg": "external_oam_subnet: 10.10.10.0/24"
}
ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => {
"msg": "cluster_host_subnet: 192.168.206.0/24"
}
ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => {
"msg": "external_oam_gateway_address: 10.10.10.1"
}
ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => {
"msg": "cluster_service_subnet: 10.96.0.0/12"
}
ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => {
"msg": "pxeboot_subnet: 169.254.202.0/24"
}
ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => {
"msg": "management_multicast_subnet: 239.1.1.0/28"
}
ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => {
"msg": "management_subnet: 192.168.204.0/24"
}
ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => {
"msg": "cluster_pod_subnet: 172.16.0.0/16"
}
ok: [localhost] => (item={'value': u'10.10.10.2', 'key': u'external_oam_floating_address'}) => {
"msg": "external_oam_floating_address: 10.10.10.2"
}
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate all network subnets are IPv4] *******
ok: [localhost] => (item=192.168.204.0/24) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
ok: [localhost] => (item=192.168.206.0/24) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
ok: [localhost] => (item=172.16.0.0/16) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
ok: [localhost] => (item=10.96.0.0/12) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
ok: [localhost] => (item=10.10.10.0/24) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
ok: [localhost] => (item=239.1.1.0/28) => {
"msg": "All infrastructure and cluster subnets must be the same IP version"
}
TASK [bootstrap/validate-config : Validate all network subnets are IPv6] *******
TASK [bootstrap/validate-config : Validate pxeboot subnet is IPv4] *************
ok: [localhost] => {
"msg": "pxeboot_subnet subnet must always be IPv4"
}
TASK [bootstrap/validate-config : Generate warning if subnet prefix is not typical for Standard systems] ***
TASK [bootstrap/validate-config : Fail if IPv6 prefix length is too short] *****
TASK [bootstrap/validate-config : Fail if management address allocation is misconfigured] ***
TASK [bootstrap/validate-config : Fail if cluster-host address allocation is misconfigured] ***
TASK [bootstrap/validate-config : Fail if management start or end address is not configured for System Controller] ***
TASK [bootstrap/validate-config : Set default start and end addresses based on provided subnets] ***
ok: [localhost]
TASK [bootstrap/validate-config : Build address pairs for validation, merging default and user provided values] ***
ok: [localhost]
TASK [bootstrap/validate-config : include] *************************************
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'start': u'10.10.10.3', u'end': u'10.10.10.4', u'subnet': u'10.10.10.0/24'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'start': u'192.168.204.1', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'start': u'192.168.206.1', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}})
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'start': u'169.254.202.1', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}})
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate oam_node start and end address format] ***
ok: [localhost] => {
"msg": "oam_node: 10.10.10.3 10.10.10.4"
}
TASK [bootstrap/validate-config : Validate oam_node start and end range] *******
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate cluster_pod start and end address format] ***
ok: [localhost] => {
"msg": "cluster_pod: 172.16.0.1 172.16.255.254"
}
TASK [bootstrap/validate-config : Validate cluster_pod start and end range] ****
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate management start and end address format] ***
ok: [localhost] => {
"msg": "management: 192.168.204.1 192.168.204.254"
}
TASK [bootstrap/validate-config : Validate management start and end range] *****
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate multicast start and end address format] ***
ok: [localhost] => {
"msg": "multicast: 239.1.1.1 239.1.1.14"
}
TASK [bootstrap/validate-config : Validate multicast start and end range] ******
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate cluster_service start and end address format] ***
ok: [localhost] => {
"msg": "cluster_service: 10.96.0.1 10.111.255.254"
}
TASK [bootstrap/validate-config : Validate cluster_service start and end range] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate oam start and end address format] ***
ok: [localhost] => {
"msg": "oam: 10.10.10.1 10.10.10.254"
}
TASK [bootstrap/validate-config : Validate oam start and end range] ************
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate cluster_host start and end address format] ***
ok: [localhost] => {
"msg": "cluster_host: 192.168.206.1 192.168.206.254"
}
TASK [bootstrap/validate-config : Validate cluster_host start and end range] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Validate pxeboot start and end address format] ***
ok: [localhost] => {
"msg": "pxeboot: 169.254.202.1 169.254.202.254"
}
TASK [bootstrap/validate-config : Validate pxeboot start and end range] ********
changed: [localhost]
TASK [bootstrap/validate-config : Fail if address range did not meet required criteria] ***
TASK [bootstrap/validate-config : Set OAM address list] ************************
ok: [localhost]
TASK [bootstrap/validate-config : Update OAM address list for duplex] **********
TASK [bootstrap/validate-config : Set floating addresses based on subnets or start addresses] ***
ok: [localhost]
TASK [bootstrap/validate-config : Set derived facts for subsequent tasks/roles] ***
ok: [localhost]
TASK [bootstrap/validate-config : Set facts for IP address provisioning against loopback interface] ***
ok: [localhost]
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Set subcloud no proxy list] ******************
TASK [bootstrap/validate-config : Update default no proxy list for subcloud] ***
TASK [bootstrap/validate-config : Set default no-proxy address list (non simplex)] ***
TASK [bootstrap/validate-config : Validate http proxy urls] ********************
TASK [bootstrap/validate-config : Validate no proxy addresses] *****************
TASK [bootstrap/validate-config : Add user defined no-proxy address list to default] ***
TASK [bootstrap/validate-config : Turn on use_defaults_registry flag] **********
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : set_fact] ************************************
TASK [bootstrap/validate-config : Update use_default_registries flag] **********
ok: [localhost]
TASK [bootstrap/validate-config : Validate registry type if specified] *********
TASK [bootstrap/validate-config : Fail if secure registry flag is misconfigured] ***
TASK [bootstrap/validate-config : include] *************************************
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=k8s.gcr.io)
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=gcr.io)
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=quay.io)
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=docker.io)
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=docker.elastic.co)
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/validate-config/tasks/validate_address.yml for localhost => (item=ghcr.io)
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address] ***
changed: [localhost]
TASK [bootstrap/validate-config : Fail if the supplied address is not a valid domain name or ip address] ***
TASK [bootstrap/validate-config : Validate additional_local_registry_images list] ***
TASK [bootstrap/validate-config : set_fact] ************************************
ok: [localhost]
TASK [bootstrap/validate-config : Check if images archive location exists] *****
TASK [bootstrap/validate-config : Get list of archived files] ******************
TASK [bootstrap/validate-config : Turn on images archive flag] *****************
TASK [bootstrap/validate-config : Validate applications] ***********************
TASK [bootstrap/validate-config : Build application list] **********************
ok: [localhost]
TASK [bootstrap/validate-config : Append applications to application list] *****
TASK [bootstrap/validate-config : Get the name of the nginx tarball] ***********
ok: [localhost]
TASK [bootstrap/validate-config : Get the name of the cert manager tarball] ****
ok: [localhost]
TASK [bootstrap/validate-config : Append default nginx entry if not present] ***
ok: [localhost] => (item={u'rusr': True, u'uid': 0, u'rgrp': True, u'xoth': True, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1630695322.0, u'gr_name': u'root', u'path': u'/usr/local/share/applications/helm/nginx-ingress-controller-1.1-15.tgz', u'xusr': True, u'atime': 1630695322.0, u'inode': 1186195, u'isgid': False, u'size': 26982, u'isdir': False, u'ctime': 1639571608.434, u'roth': True, u'isblk': False, u'xgrp': True, u'isuid': False, u'dev': 2052, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0755', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True})
TASK [bootstrap/validate-config : Append default cert manager entry if not present] ***
ok: [localhost] => (item={u'rusr': True, u'uid': 0, u'rgrp': True, u'xoth': True, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1630695317.0, u'gr_name': u'root', u'path': u'/usr/local/share/applications/helm/cert-manager-1.0-15.tgz', u'xusr': True, u'atime': 1630695317.0, u'inode': 1186462, u'isgid': False, u'size': 60211, u'isdir': False, u'ctime': 1639571610.612, u'roth': True, u'isblk': False, u'xgrp': True, u'isuid': False, u'dev': 2052, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0755', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True})
TASK [bootstrap/validate-config : Retrieve list of applications from sysinv] ***
changed: [localhost]
TASK [bootstrap/validate-config : Build list of existing applications] *********
ok: [localhost]
TASK [bootstrap/validate-config : Remove header from application list output] ***
ok: [localhost]
TASK [bootstrap/validate-config : Find armada container] ***********************
TASK [bootstrap/validate-config : Update /etc/resolv.conf with coredns] ********
TASK [bootstrap/validate-config : Restart armada container to pick up resolv.conf changes] ***
TASK [bootstrap/validate-config : Purge old applications] **********************
TASK [bootstrap/validate-config : Revert /etc/resolv.conf from coredns] ********
TASK [bootstrap/validate-config : Validate apiserver_cert_sans list] ***********
TASK [bootstrap/validate-config : Validate apiserver_cert_sans entries] ********
TASK [bootstrap/validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ***
TASK [bootstrap/validate-config : Check for k8s_root_ca_cert file] *************
TASK [bootstrap/validate-config : Check for k8s_root_ca_key file] **************
TASK [bootstrap/validate-config : Check for ssl_ca_cert file] ******************
TASK [bootstrap/validate-config : Check OpenID Connect parameters] *************
TASK [bootstrap/validate-config : Check for Ceph data wipe flag] ***************
TASK [bootstrap/validate-config : Wipe ceph osds] ******************************
changed: [localhost]
TASK [bootstrap/validate-config : Result of wiping ceph osds] ******************
ok: [localhost] => {
"results.stdout_lines": []
}
TASK [bootstrap/validate-config : Create config workdir] ***********************
changed: [localhost]
TASK [bootstrap/validate-config : Generate config ini file for python sysinv db population script] ***
changed: [localhost] => (item=[BOOTSTRAP_CONFIG])
changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0)
changed: [localhost] => (item=SYSTEM_TYPE=All-in-one)
changed: [localhost] => (item=SYSTEM_MODE=simplex)
changed: [localhost] => (item=VIRTUAL_SYSTEM=False)
changed: [localhost] => (item=TIMEZONE=UTC)
changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none)
changed: [localhost] => (item=REGION_NAME=RegionOne)
changed: [localhost] => (item=SW_VERSION=21.05)
changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4)
changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24)
changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.1)
changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254)
changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24)
changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.1)
changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254)
changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True)
changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo)
changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.2)
changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24)
changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.1)
changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254)
changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True)
changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16)
changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1)
changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254)
changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12)
changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1)
changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.111.255.254)
changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24)
changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1)
changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254)
changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1)
changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2)
changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3)
changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4)
changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28)
changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1)
changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14)
changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none)
changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none)
changed: [localhost] => (item=SYSTEM_CONTROLLER_OAM_SUBNET=none)
changed: [localhost] => (item=SYSTEM_CONTROLLER_OAM_FLOATING_ADDRESS=none)
changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef)
changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef)
changed: [localhost] => (item=DOCKER_NO_PROXY=)
changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io)
changed: [localhost] => (item=GCR_REGISTRY=gcr.io)
changed: [localhost] => (item=QUAY_REGISTRY=quay.io)
changed: [localhost] => (item=DOCKER_REGISTRY=docker.io)
changed: [localhost] => (item=ELASTIC_REGISTRY=docker.elastic.co)
changed: [localhost] => (item=GHCR_REGISTRY=ghcr.io)
changed: [localhost] => (item=K8S_REGISTRY_TYPE=docker)
changed: [localhost] => (item=GCR_REGISTRY_TYPE=docker)
changed: [localhost] => (item=QUAY_REGISTRY_TYPE=docker)
changed: [localhost] => (item=DOCKER_REGISTRY_TYPE=docker)
changed: [localhost] => (item=ELASTIC_REGISTRY_TYPE=docker)
changed: [localhost] => (item=GHCR_REGISTRY_TYPE=docker)
changed: [localhost] => (item=K8S_REGISTRY_SECURE=True)
changed: [localhost] => (item=GCR_REGISTRY_SECURE=True)
changed: [localhost] => (item=QUAY_REGISTRY_SECURE=True)
changed: [localhost] => (item=DOCKER_REGISTRY_SECURE=True)
changed: [localhost] => (item=ELASTIC_REGISTRY_SECURE=True)
changed: [localhost] => (item=GHCR_REGISTRY_SECURE=True)
changed: [localhost] => (item=K8S_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=GCR_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=QUAY_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=DOCKER_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=ELASTIC_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=GHCR_REGISTRY_ADDITIONAL_OVERRIDES=undef)
changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=False)
changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False)
changed: [localhost] => (item=INITIAL_DB_POPULATED=True)
changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True)
changed: [localhost] => (item=APISERVER_SANS=)
changed: [localhost] => (item=OIDC_ISSUER_URL=undef)
changed: [localhost] => (item=OIDC_CLIENT_ID=undef)
changed: [localhost] => (item=OIDC_USERNAME_CLAIM=undef)
changed: [localhost] => (item=OIDC_GROUPS_CLAIM=undef)
TASK [bootstrap/validate-config : Write simplex flag] **************************
changed: [localhost]
TASK [bootstrap/store-passwd : debug] ******************************************
TASK [bootstrap/store-passwd : set_fact] ***************************************
TASK [bootstrap/store-passwd : Print warning if admin credentials are not stored in vault] ***
TASK [bootstrap/store-passwd : Set admin username and password facts] **********
TASK [bootstrap/store-passwd : Look for password rules file] *******************
TASK [bootstrap/store-passwd : Fail if password rules file is missing] *********
TASK [bootstrap/store-passwd : Get password rules] *****************************
TASK [bootstrap/store-passwd : Get password rules description] *****************
TASK [bootstrap/store-passwd : Set password regex facts] ***********************
TASK [bootstrap/store-passwd : Fail if password regex cannot be found] *********
TASK [bootstrap/store-passwd : Set password regex description fact] ************
TASK [bootstrap/store-passwd : Validate admin password] ************************
TASK [bootstrap/store-passwd : Fail if provided admin password does not meet required complexity] ***
TASK [bootstrap/store-passwd : Store admin password] ***************************
TASK [bootstrap/store-passwd : Set temp keyring directory fact] ****************
TASK [bootstrap/store-passwd : Create temp keyring directory] ******************
TASK [bootstrap/store-passwd : Prefetch the keyring from the tarball] **********
TASK [bootstrap/store-passwd : Remove the unwanted directory] ******************
TASK [bootstrap/store-passwd : Store service passwords] ************************
TASK [bootstrap/apply-manifest : Apply bootstrap manifest (only in the initial play)] ***
TASK [bootstrap/apply-manifest : Apply manifest to reconfigure etcd] ***********
TASK [bootstrap/persist-config : Check if keyring data has been persisted] *****
TASK [bootstrap/persist-config : Delete the previous python_keyring directory if exists] ***
TASK [bootstrap/persist-config : Persist keyring data] *************************
TASK [bootstrap/persist-config : Ensure replicated config parent directories exist] ***
changed: [localhost] => (item={u'owner': u'root', u'path': u'/opt/platform/config/21.05', u'group': u'root'})
ok: [localhost] => (item={u'owner': u'sysinv', u'path': u'/opt/platform/sysinv/21.05', u'group': u'sysinv'})
TASK [bootstrap/persist-config : Get list of new config files] *****************
ok: [localhost]
TASK [bootstrap/persist-config : Remove existing config files from permanent location] ***
ok: [localhost] => (item={u'rusr': True, u'uid': 0, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1639649402.934, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1639649402.934, u'inode': 1826407, u'isgid': False, u'size': 2472, u'isdir': False, u'ctime': 1639649402.935, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 38, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0644', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True})
TASK [bootstrap/persist-config : Move new config files to permanent location] ***
changed: [localhost]
TASK [bootstrap/persist-config : Delete working config directory] **************
changed: [localhost]
TASK [bootstrap/persist-config : Set Postgres, PXE, branding config directory fact] ***
TASK [bootstrap/persist-config : debug] ****************************************
TASK [bootstrap/persist-config : Ensure Postres, PXE config directories exist] ***
TASK [bootstrap/persist-config : Ensure SSL CA and etcd certs directories exist] ***
TASK [bootstrap/persist-config : Get list of Postgres conf files] **************
TASK [bootstrap/persist-config : Copy postgres conf files for mate] ************
TASK [bootstrap/persist-config : Find etcd certs files] ************************
TASK [bootstrap/persist-config : Copy etcd certificates to etcd certs directory] ***
TASK [bootstrap/persist-config : Create a symlink to PXE config files] *********
TASK [bootstrap/persist-config : Check if copying of branding files for mate is required] ***
TASK [bootstrap/persist-config : Ensure branding config directory exists] ******
TASK [bootstrap/persist-config : Check if branding tar files exist (there should be only one)] ***
TASK [bootstrap/persist-config : Copy branding tar files] **********************
TASK [bootstrap/persist-config : Get grub default kernel] **********************
TASK [bootstrap/persist-config : Add default security feature to kernel parameters] ***
TASK [bootstrap/persist-config : Gather drbd status] ***************************
TASK [bootstrap/persist-config : Record drbd status] ***************************
TASK [bootstrap/persist-config : Check if custom banner exists] ****************
ok: [localhost]
TASK [bootstrap/persist-config : Apply custom banner] **************************
TASK [bootstrap/persist-config : Fail if banner customization failed] **********
TASK [bootstrap/persist-config : Shutdown Maintenance services] ****************
changed: [localhost]
TASK [bootstrap/persist-config : Shutdown FM services] *************************
changed: [localhost] => (item=/etc/init.d/fminit stop)
changed: [localhost] => (item=/etc/init.d/fm-api stop)
TASK [bootstrap/persist-config : Shut down and remove Kubernetes components] ***
changed: [localhost]
TASK [bootstrap/persist-config : debug] ****************************************
ok: [localhost] => {
"reset_info.stdout_lines": [
"[preflight] Running pre-flight checks",
"[reset] No etcd config found. Assuming external etcd",
"[reset] Please, manually reset etcd to prevent further issues",
"[reset] Stopping the kubelet service",
"[reset] Unmounting mounted directories in \"/var/lib/kubelet\"",
"[reset] Deleting contents of config directories: [/etc/kubernetes/manifests /etc/kubernetes/pki]",
"[reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf]",
"[reset] Deleting contents of stateful directories: [/var/lib/kubelet /var/lib/dockershim /var/run/kubernetes /var/lib/cni]",
"",
"The reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d",
"",
"The reset process does not reset or clean up iptables rules or IPVS tables.",
"If you wish to reset iptables, you must do so manually by using the \"iptables\" command.",
"",
"If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)",
"to reset your system's IPVS tables.",
"",
"The reset process does not clean your kubeconfig files and you must remove them manually.",
"Please, check the contents of the $HOME/.kube/config file."
]
}
TASK [bootstrap/persist-config : Mount kubelet-lv] *****************************
changed: [localhost]
TASK [bootstrap/persist-config : Clear kubelet data] ***************************
changed: [localhost]
TASK [bootstrap/persist-config : Clear etcd data cache] ************************
changed: [localhost]
TASK [bootstrap/persist-config : Restart etcd] *********************************
changed: [localhost]
TASK [bootstrap/persist-config : Set facts derived from previous network configurations] ***
TASK [bootstrap/persist-config : Set facts derived from previous floating addresses] ***
TASK [bootstrap/persist-config : Set facts for the removal of addresses assigned to loopback interface] ***
TASK [bootstrap/persist-config : Remove loopback interface in sysinv db and associated addresses] ***
TASK [bootstrap/persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***
TASK [bootstrap/persist-config : Find old registry secrets in Barbican] ********
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n k8s-registry-secret -f value)
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n gcr-registry-secret -f value)
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n quay-registry-secret -f value)
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n docker-registry-secret -f value)
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n elastic-registry-secret -f value)
changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list -c 'Secret href' -n ghcr-registry-secret -f value)
TASK [bootstrap/persist-config : Delete old registry secrets in Barbican] ******
TASK [bootstrap/persist-config : Create Barbican secret for k8s registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Create Barbican secret for gcr registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Create Barbican secret for quay registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Create Barbican secret for docker registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Create Barbican secret for elastic registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Create Barbican secret for ghcr registry if credentials exist] ***
TASK [bootstrap/persist-config : set_fact] *************************************
TASK [bootstrap/persist-config : Append config ini file with Barbican secret uuid] ***
changed: [localhost] => (item=K8S_REGISTRY_SECRET=none)
changed: [localhost] => (item=GCR_REGISTRY_SECRET=none)
changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none)
changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none)
changed: [localhost] => (item=ELASTIC_REGISTRY_SECRET=none)
changed: [localhost] => (item=GHCR_REGISTRY_SECRET=none)
TASK [bootstrap/persist-config : Set input parameters to populate config script] ***
ok: [localhost]
TASK [bootstrap/persist-config : Update input parameters with reconfigure system flag] ***
TASK [bootstrap/persist-config : Update input parameters with reconfigure network flag] ***
TASK [bootstrap/persist-config : Update input parameters with reconfigure service flag] ***
TASK [bootstrap/persist-config : Update input parameters if config from previous play has not been generated or is missing] ***
ok: [localhost]
TASK [bootstrap/persist-config : debug] ****************************************
ok: [localhost] => {
"script_input": "/opt/platform/config/21.05/bootstrap_config --system --network --service"
}
TASK [bootstrap/persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ***
changed: [localhost]
TASK [bootstrap/persist-config : Remove the system controller database config flag before reconfigure role] ***
TASK [bootstrap/persist-config : Add the management floating address] **********
changed: [localhost]
TASK [bootstrap/persist-config : Saving config in sysinv database] *************
changed: [localhost]
TASK [bootstrap/persist-config : debug] ****************************************
ok: [localhost] => {
"populate_result": {
"changed": true,
"failed": false,
"failed_when_result": false,
"rc": 0,
"stderr": "",
"stderr_lines": [],
"stdout": "Updating system config...\nSystem config completed.\nDeleting network and address pool for network mgmt...\nUpdating management network...\nDeleting network and address pool for network pxeboot...\nUpdating pxeboot network...\nDeleting network and address pool for network oam...\nUpdating oam network...\nDeleting network and address pool for network multicast...\nUpdating multicast network...\nDeleting network and address pool for network cluster-host...\nUpdating cluster host network...\nDeleting network and address pool for network cluster-pod...\nUpdating cluster pod network...\nDeleting network and address pool for network cluster-service...\nUpdating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nPopulating/Updating docker registry config...\nDocker registry config completed.\nSuccessfully provisioned the initial system config.\n",
"stdout_lines": [
"Updating system config...",
"System config completed.",
"Deleting network and address pool for network mgmt...",
"Updating management network...",
"Deleting network and address pool for network pxeboot...",
"Updating pxeboot network...",
"Deleting network and address pool for network oam...",
"Updating oam network...",
"Deleting network and address pool for network multicast...",
"Updating multicast network...",
"Deleting network and address pool for network cluster-host...",
"Updating cluster host network...",
"Deleting network and address pool for network cluster-pod...",
"Updating cluster pod network...",
"Deleting network and address pool for network cluster-service...",
"Updating cluster service network...",
"Network config completed.",
"Populating/Updating DNS config...",
"DNS config completed.",
"Populating/Updating docker registry config...",
"Docker registry config completed.",
"Successfully provisioned the initial system config."
]
}
}
TASK [bootstrap/persist-config : Fail if populate config script throws an exception] ***
TASK [bootstrap/persist-config : Wait for service endpoints reconfiguration to complete] ***
ok: [localhost]
TASK [bootstrap/persist-config : Restart barbican] *****************************
changed: [localhost]
TASK [bootstrap/persist-config : Wait for system controller database configuration to complete] ***
TASK [bootstrap/persist-config : Update sysinv with new region name] ***********
TASK [bootstrap/persist-config : Restart sysinv-agent and sysinv-api to pick up sysinv.conf update] ***
TASK [bootstrap/persist-config : Set flag to mark the initial db population completed milestone] ***
TASK [bootstrap/persist-config : Ensure docker and containerd config directory exist] ***
TASK [bootstrap/persist-config : Ensure docker and containerd proxy config exist] ***
TASK [bootstrap/persist-config : Write header to docker and containerd proxy conf files] ***
TASK [bootstrap/persist-config : Add http proxy URL to docker and containerd proxy conf files] ***
TASK [bootstrap/persist-config : Add https proxy URL to docker and containerd proxy conf files] ***
TASK [bootstrap/persist-config : Add no proxy address list to docker proxy config file] ***
TASK [bootstrap/persist-config : Add no proxy address list to containerd proxy config file] ***
TASK [bootstrap/persist-config : Restart Docker and containerd] ****************
TASK [bootstrap/persist-config : Set source for copying certificate] ***********
TASK [bootstrap/persist-config : Copy ssl_ca certificate] **********************
TASK [bootstrap/persist-config : Remove ssl_ca complete flag] ******************
TASK [bootstrap/persist-config : Add ssl_ca certificate] ***********************
TASK [bootstrap/persist-config : Wait for certificate install] *****************
TASK [bootstrap/persist-config : Cleanup temporary certificate] ****************
TASK [bootstrap/persist-config : Set pxeboot files source if address allocation is dynamic] ***
ok: [localhost]
TASK [bootstrap/persist-config : Set pxeboot files source if address allocation is static] ***
TASK [bootstrap/persist-config : Set pxeboot files symlinks] *******************
ok: [localhost] => (item={u'dest': u'pxelinux.cfg/default', u'src': u'pxelinux.cfg.files/default'})
ok: [localhost] => (item={u'dest': u'pxelinux.cfg/grub.cfg', u'src': u'pxelinux.cfg.files/grub.cfg'})
TASK [bootstrap/persist-config : Update the management_interface in platform.conf] ***
ok: [localhost]
TASK [bootstrap/persist-config : Add new entries to platform.conf] *************
ok: [localhost] => (item=region_config=False)
ok: [localhost] => (item=sw_version=21.05)
ok: [localhost] => (item=vswitch_type=none)
TASK [bootstrap/persist-config : Ensure distributed cloud role is removed from platform.conf] ***
ok: [localhost]
TASK [bootstrap/persist-config : Add distributed cloud role to platform.conf] ***
TASK [bootstrap/persist-config : Update resolv.conf with list of dns servers] ***
ok: [localhost] => (item=8.8.8.8)
ok: [localhost] => (item=8.8.4.4)
TASK [bootstrap/persist-config : Remove localhost address from resolv.conf] ****
ok: [localhost]
TASK [bootstrap/persist-config : Invalidate name service caching server] *******
changed: [localhost]
TASK [bootstrap/persist-config : Set config path facts] ************************
ok: [localhost]
TASK [bootstrap/persist-config : Ensure extra dir exist] ***********************
ok: [localhost]
TASK [bootstrap/persist-config : Strip the leading '/' from directories and assign them to new variables] ***
TASK [bootstrap/persist-config : Look for extra dir in backup archive] *********
TASK [bootstrap/persist-config : Restore extra dir] ****************************
TASK [bootstrap/persist-config : Create source and target device_images bind directories] ***
ok: [localhost] => (item=/opt/platform/device_images)
ok: [localhost] => (item=/www/pages/device_images)
TASK [bootstrap/persist-config : Bind mount on /www/pages/device_images] *******
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Add loopback interface] ***********
changed: [localhost] => (item=source /etc/platform/openrc; system host-if-add controller-0 lo virtual none lo -c platform -m 1500)
changed: [localhost] => (item=source /etc/platform/openrc; system interface-network-assign controller-0 lo mgmt)
changed: [localhost] => (item=source /etc/platform/openrc; system interface-network-assign controller-0 lo cluster-host)
changed: [localhost] => (item=ip addr add 192.168.206.2/24 brd 192.168.206.255 dev lo scope host label lo:5)
changed: [localhost] => (item=ip addr add 192.168.204.2/24 brd 192.168.204.255 dev lo scope host label lo:1)
changed: [localhost] => (item=ip addr add 169.254.202.1/24 dev lo scope host)
changed: [localhost] => (item=ip addr add 192.168.206.1/24 dev lo scope host)
changed: [localhost] => (item=ip addr add 192.168.204.4/24 dev lo scope host)
changed: [localhost] => (item=ip addr add 192.168.204.5/24 dev lo scope host)
TASK [bootstrap/bringup-essential-services : Fail if adding interface addresses failed for reason other than it has been done before] ***
TASK [bootstrap/bringup-essential-services : Remove previous management floating address if management network config has changed] ***
TASK [bootstrap/bringup-essential-services : Remove existing /etc/hosts] *******
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Populate /etc/hosts] **************
changed: [localhost] => (item=127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4)
changed: [localhost] => (item=192.168.204.1 controller)
changed: [localhost] => (item=192.168.206.2 controller-0-infra)
changed: [localhost] => (item=169.254.202.1 pxecontroller)
changed: [localhost] => (item=10.10.10.2 oamcontroller)
changed: [localhost] => (item=192.168.204.4 controller-platform-nfs)
changed: [localhost] => (item=192.168.204.3 controller-1)
changed: [localhost] => (item=192.168.204.2 controller-0)
changed: [localhost] => (item=192.168.206.3 controller-1-infra)
changed: [localhost] => (item=192.168.204.5 controller-nfs)
TASK [bootstrap/bringup-essential-services : Set central registry for subcloud] ***
TASK [bootstrap/bringup-essential-services : Update /etc/hosts for subcloud] ***
TASK [bootstrap/bringup-essential-services : Save hosts file to permanent location] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : restore /etc/hosts file] **********
TASK [bootstrap/bringup-essential-services : restore hosts in config permdir] ***
TASK [bootstrap/bringup-essential-services : Temporary add central OAM as registry.central in /etc/hosts for subcloud restore] ***
TASK [bootstrap/bringup-essential-services : Update name service caching server] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Set up default route to the oam gateway] ***
included: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/bringup-essential-services/tasks/setup_default_route.yml for localhost
TASK [bootstrap/bringup-essential-services : Set the ip command based on IP address version] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Check if the default route exists] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Configure the default route] ******
TASK [bootstrap/bringup-essential-services : Fail if configuring the default route returns an error] ***
TASK [bootstrap/bringup-essential-services : Copy the central registry certificate] ***
TASK [bootstrap/bringup-essential-services : Load images from archives if configured] ***
TASK [bootstrap/bringup-essential-services : Set insecure registries] **********
TASK [bootstrap/bringup-essential-services : Create daemon.json file for insecure registry] ***
TASK [bootstrap/bringup-essential-services : Update daemon.json with registry IP] ***
TASK [bootstrap/bringup-essential-services : Restart docker] *******************
TASK [bootstrap/bringup-essential-services : Create containerd config file directory] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Determine the stream_server_address for containerd] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Get guest local registry credentials] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : set_fact] *************************
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Determine the registry_auth for containerd] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Create config.toml file for containerd configuration] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Remove puppet template for insecure registries] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Update config.toml with insecure registries] ***
TASK [bootstrap/bringup-essential-services : Get local registry credentials] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : set_fact] *************************
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Restart containerd] ***************
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Generate local registry runtime config file from template] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Generate local registry readonly config file from template] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Update local registry config files] ***
changed: [localhost] => (item=sed -i -e 's|<%= @registry_readonly %>|'false'|g' /etc/docker-distribution/registry/runtime_config.yml)
changed: [localhost] => (item=sed -i -e 's|<%= @registry_readonly %>|'true'|g' /etc/docker-distribution/registry/readonly_config.yml)
changed: [localhost] => (item=sed -i -e 's|<%= @docker_registry_host %>|'$DOCKER_REGISTRY_HOST'|g' /etc/docker-distribution/registry/runtime_config.yml)
changed: [localhost] => (item=sed -i -e 's|<%= @docker_registry_host %>|'$DOCKER_REGISTRY_HOST'|g' /etc/docker-distribution/registry/readonly_config.yml)
changed: [localhost] => (item=sed -i -e 's|<%= @docker_realm_host %>|'$DOCKER_REGISTRY_HOST'|g' /etc/docker-distribution/registry/runtime_config.yml)
changed: [localhost] => (item=sed -i -e 's|<%= @docker_realm_host %>|'$DOCKER_REGISTRY_HOST'|g' /etc/docker-distribution/registry/readonly_config.yml)
TASK [bootstrap/bringup-essential-services : Create symlink from local registry runtime config file] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Generate local registry token server config file from template] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Update local registry token server file] ***
changed: [localhost] => (item=sed -i -e 's|<%= @docker_registry_host %>|'$DOCKER_REGISTRY_HOST'|g' /etc/docker-distribution/registry/token_server.conf)
changed: [localhost] => (item=sed -i -e 's|<%= @registry_ks_endpoint %>|'$REGISTRY_KS_ENDPOINT'|g' /etc/docker-distribution/registry/token_server.conf)
TASK [bootstrap/bringup-essential-services : Set network info for docker registry] ***
ok: [localhost]
TASK [bootstrap/bringup-essential-services : Generate cnf file from template] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Generate certificate and key files] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Generate pkcs1 key file] **********
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Remove extfile used in certificate generation] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Set certificate file and key permissions to root read-only] ***
ok: [localhost] => (item=/etc/ssl/private/registry-cert.key)
ok: [localhost] => (item=/etc/ssl/private/registry-cert.crt)
ok: [localhost] => (item=/etc/ssl/private/registry-cert-pkcs1.key)
TASK [bootstrap/bringup-essential-services : Restore certificate and key files] ***
TASK [bootstrap/bringup-essential-services : Check if /etc/ssl/private/server-cert.pem exists] ***
TASK [bootstrap/bringup-essential-services : Copy /etc/ssl/private/server-cert.pem to shared filesystem for mate] ***
TASK [bootstrap/bringup-essential-services : Copy certificate and keys to shared filesystem for mate] ***
changed: [localhost] => (item=/etc/ssl/private/registry-cert.key)
changed: [localhost] => (item=/etc/ssl/private/registry-cert.crt)
changed: [localhost] => (item=/etc/ssl/private/registry-cert-pkcs1.key)
TASK [bootstrap/bringup-essential-services : Create docker certificate directory] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Copy certificate file to docker certificate directory] ***
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Start registry token server] ******
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Start docker registry] ************
changed: [localhost]
TASK [bootstrap/bringup-essential-services : Update /etc/hosts with local registry host] ***
changed: [localhost]
TASK [common/push-docker-images : Set default values for docker_http_proxy and docker_https_proxy if they are undefined] ***
ok: [localhost]
TASK [common/push-docker-images : Get docker registries if not in bootstap or restore mode] ***
TASK [common/push-docker-images : Get registry credentials if registry type is AWS ECR] ***
TASK [common/load-images-information : set_fact] *******************************
ok: [localhost]
TASK [common/load-images-information : Get the list of kubernetes images] ******
changed: [localhost]
TASK [common/load-images-information : set_fact] *******************************
ok: [localhost]
TASK [common/load-images-information : Read in system images list] *************
ok: [localhost]
TASK [common/load-images-information : Check if additional image config file exists] ***
ok: [localhost]
TASK [common/load-images-information : Read in additional system images list(s) in localhost] ***
TASK [common/load-images-information : Create a temporary file on remote] ******
TASK [common/load-images-information : Fetch the additional images config in case the playbook is executed remotely] ***
TASK [common/load-images-information : Read in additional system images list(s) fetched from remote] ***
TASK [common/load-images-information : Remove the temporary file on remote] ****
TASK [common/load-images-information : Remove override temp file on Ansible control host] ***
TASK [common/load-images-information : Categorize system images] ***************
ok: [localhost]
TASK [common/load-images-information : Append additional static images if provisioned] ***
TASK [common/load-images-information : Append RVMC image for a DC system controller] ***
TASK [common/load-images-information : Append additional static images for a DC system controller if provisioned] ***
TASK [common/push-docker-images : Set download images list] ********************
ok: [localhost]
TASK [common/push-docker-images : Set download images list to static images if upgrading static images] ***
TASK [common/push-docker-images : Set download images list to k8s network images if upgrading k8s networking] ***
TASK [common/push-docker-images : Set download images list to kubernetes images if upgrading kubernetes] ***
TASK [common/push-docker-images : Set download images list to netapp images if installing trident] ***
TASK [common/push-docker-images : set_fact] ************************************
ok: [localhost]
TASK [common/push-docker-images : debug] ***************************************
ok: [localhost] => {
"download_images_list": [
"k8s.gcr.io/kube-apiserver:v1.18.1",
"k8s.gcr.io/kube-controller-manager:v1.18.1",
"k8s.gcr.io/kube-scheduler:v1.18.1",
"k8s.gcr.io/kube-proxy:v1.18.1",
"k8s.gcr.io/pause:3.2",
"k8s.gcr.io/etcd:3.4.3-0",
"k8s.gcr.io/coredns:1.6.7",
"quay.io/calico/cni:v3.12.0",
"quay.io/calico/node:v3.12.0",
"quay.io/calico/kube-controllers:v3.12.0",
"quay.io/calico/pod2daemon-flexvol:v3.12.0",
"docker.io/nfvpe/multus:v3.4",
"docker.io/starlingx/k8s-cni-sriov:stx.5.0-v2.6-7-gb18123d8",
"docker.io/starlingx/k8s-plugins-sriov-network-device:stx.4.0-v3.2-16-g4e0302ae",
"ghcr.io/helm/tiller:v2.16.9",
"quay.io/airshipit/armada:7ef4b8643b5ec5216a8f6726841e156c0aa54a1a-ubuntu_bionic",
"docker.io/starlingx/n3000-opae:stx.4.0-v1.0.0",
"quay.io/stackanetes/kubernetes-entrypoint:v0.3.1",
"quay.io/k8scsi/snapshot-controller:v2.0.0-rc2"
]
}
TASK [common/push-docker-images : Set registries information] ******************
ok: [localhost] => (item={u'replaced_url': u'k8s.gcr.io', u'default_url': u'k8s.gcr.io'})
ok: [localhost] => (item={u'replaced_url': u'gcr.io', u'default_url': u'gcr.io'})
ok: [localhost] => (item={u'replaced_url': u'quay.io', u'default_url': u'quay.io'})
ok: [localhost] => (item={u'replaced_url': u'docker.io', u'default_url': u'docker.io'})
ok: [localhost] => (item={u'replaced_url': u'docker.elastic.co', u'default_url': u'docker.elastic.co'})
ok: [localhost] => (item={u'replaced_url': u'ghcr.io', u'default_url': u'ghcr.io'})
TASK [common/push-docker-images : Log in k8s, gcr, quay, ghcr, docker registries if credentials exist] ***
TASK [common/push-docker-images : Get local registry credentials] **************
TASK [common/push-docker-images : set_fact] ************************************
TASK [common/push-docker-images : Download images and push to local registry] ***
Sent from Mail for Windows