2019-09-12 08:27:36,559 passlib.registry registered 'md5_crypt' handler: 2019-09-12 08:27:36,571 p=14983 u=sysadmin | PLAY [all] ********************************************************************* 2019-09-12 08:27:36,755 p=14983 u=sysadmin | TASK [stat] ******************************************************************** 2019-09-12 08:27:37,116 p=14983 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 08:27:37,263 p=14983 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 08:27:37,401 p=14983 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 08:27:37,547 p=14983 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 08:27:37,574 p=14983 u=sysadmin | TASK [include_vars] ************************************************************ 2019-09-12 08:27:37,646 p=14983 u=sysadmin | TASK [prepare-env : Set SSH port] ********************************************** 2019-09-12 08:27:37,683 p=14983 u=sysadmin | TASK [prepare-env : Update SSH known hosts] ************************************ 2019-09-12 08:27:37,722 p=14983 u=sysadmin | TASK [prepare-env : Check connectivity] **************************************** 2019-09-12 08:27:37,755 p=14983 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] ******************************* 2019-09-12 08:27:37,793 p=14983 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] *** 2019-09-12 08:27:37,826 p=14983 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:27:37,863 p=14983 u=sysadmin | TASK [prepare-env : Change initial password] *********************************** 2019-09-12 08:27:37,897 p=14983 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] ******************* 2019-09-12 08:27:38,302 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:38,311 p=14983 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] *************** 2019-09-12 08:27:38,343 p=14983 u=sysadmin | TASK [prepare-env : Check initial config flag] ********************************* 2019-09-12 08:27:38,511 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:38,521 p=14983 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] *** 2019-09-12 08:27:38,552 p=14983 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] ******************************* 2019-09-12 08:27:38,582 p=14983 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ********** 2019-09-12 08:27:38,623 p=14983 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] *** 2019-09-12 08:27:38,660 p=14983 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ******************** 2019-09-12 08:27:38,696 p=14983 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:27:38,730 p=14983 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *** 2019-09-12 08:27:38,959 p=14983 u=sysadmin | TASK [prepare-env : Retrieve software version number] ************************** 2019-09-12 08:27:39,134 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:39,145 p=14983 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] ******************* 2019-09-12 08:27:39,179 p=14983 u=sysadmin | TASK [prepare-env : Retrieve system type] ************************************** 2019-09-12 08:27:39,365 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:39,374 p=14983 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] ************************ 2019-09-12 08:27:39,408 p=14983 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] ******* 2019-09-12 08:27:39,450 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,460 p=14983 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *** 2019-09-12 08:27:39,495 p=14983 u=sysadmin | TASK [prepare-env : Set config path facts] ************************************* 2019-09-12 08:27:39,538 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,547 p=14983 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] *** 2019-09-12 08:27:39,606 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,614 p=14983 u=sysadmin | TASK [prepare-env : set_fact] ************************************************** 2019-09-12 08:27:39,649 p=14983 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ************************* 2019-09-12 08:27:39,688 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,696 p=14983 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] ************ 2019-09-12 08:27:39,737 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,746 p=14983 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] *** 2019-09-12 08:27:39,788 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,797 p=14983 u=sysadmin | TASK [prepare-env : Set initial facts] ***************************************** 2019-09-12 08:27:39,846 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,856 p=14983 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ***************************** 2019-09-12 08:27:39,891 p=14983 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] *** 2019-09-12 08:27:39,927 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,936 p=14983 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ********************* 2019-09-12 08:27:39,976 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:39,986 p=14983 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ****** 2019-09-12 08:27:40,030 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:40,041 p=14983 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *** 2019-09-12 08:27:40,084 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:40,093 p=14983 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ********************************* 2019-09-12 08:27:40,134 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:40,159 p=14983 u=sysadmin | TASK [prepare-env : Check Docker status] *************************************** 2019-09-12 08:27:40,360 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:40,370 p=14983 u=sysadmin | TASK [prepare-env : Look for openrc file] ************************************** 2019-09-12 08:27:40,536 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:40,545 p=14983 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ************************************* 2019-09-12 08:27:40,582 p=14983 u=sysadmin | TASK [prepare-env : Turn off save_password flag] ******************************* 2019-09-12 08:27:40,622 p=14983 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ************* 2019-09-12 08:27:40,661 p=14983 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *** 2019-09-12 08:27:40,698 p=14983 u=sysadmin | TASK [prepare-env : Check the initial database population status] ************** 2019-09-12 08:27:40,732 p=14983 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] *** 2019-09-12 08:27:40,768 p=14983 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *** 2019-09-12 08:27:40,801 p=14983 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ************************* 2019-09-12 08:27:40,836 p=14983 u=sysadmin | TASK [prepare-env : Find previous config file for this host] ******************* 2019-09-12 08:27:40,870 p=14983 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ********************** 2019-09-12 08:27:40,902 p=14983 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ******************** 2019-09-12 08:27:40,936 p=14983 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] ******************* 2019-09-12 08:27:40,973 p=14983 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ***************** 2019-09-12 08:27:41,008 p=14983 u=sysadmin | TASK [prepare-env : Read in last config values] ******************************** 2019-09-12 08:27:41,042 p=14983 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] ************ 2019-09-12 08:27:41,075 p=14983 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] *** 2019-09-12 08:27:41,109 p=14983 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *** 2019-09-12 08:27:41,142 p=14983 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] *** 2019-09-12 08:27:41,176 p=14983 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *** 2019-09-12 08:27:41,208 p=14983 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] *** 2019-09-12 08:27:41,241 p=14983 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] *** 2019-09-12 08:27:41,276 p=14983 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] *** 2019-09-12 08:27:41,310 p=14983 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] *************************** 2019-09-12 08:27:41,343 p=14983 u=sysadmin | TASK [prepare-env : Check volume groups] *************************************** 2019-09-12 08:27:41,573 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:41,584 p=14983 u=sysadmin | TASK [prepare-env : Check size of root disk] *********************************** 2019-09-12 08:27:41,801 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:41,810 p=14983 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ******************** 2019-09-12 08:27:41,845 p=14983 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ******************** 2019-09-12 08:27:41,884 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:41,893 p=14983 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:27:41,932 p=14983 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:27:41,968 p=14983 u=sysadmin | TASK [prepare-env : Look for branding tar file] ******************************** 2019-09-12 08:27:42,390 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:42,400 p=14983 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ******** 2019-09-12 08:27:42,436 p=14983 u=sysadmin | TASK [prepare-env : Look for other branding files] ***************************** 2019-09-12 08:27:42,610 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:42,619 p=14983 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] **************** 2019-09-12 08:27:42,655 p=14983 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ********************* 2019-09-12 08:27:43,118 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:43,127 p=14983 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ***************************** 2019-09-12 08:27:43,332 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:43,340 p=14983 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:27:43,389 p=14983 u=sysadmin | ok: [localhost] => { "msg": "system_config_update flag: False, network_config_update flag: False, docker_config_update flag: False, restart_services flag: False, endpoints_reconfiguration_flag: False, save_password flag: True, save_config_to_db flag: True, skip_play flag: False, incomplete_bootstrap flag: False, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 08:27:43,398 p=14983 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] ************************ 2019-09-12 08:27:43,435 p=14983 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] ************************ 2019-09-12 08:27:43,474 p=14983 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *********************** 2019-09-12 08:27:43,514 p=14983 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ********************* 2019-09-12 08:27:43,556 p=14983 u=sysadmin | TASK [validate-config : Check unified registry credentials] ******************** 2019-09-12 08:27:43,596 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:43,637 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:43,646 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:43,699 p=14983 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:27:43,713 p=14983 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:27:43,728 p=14983 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:27:43,743 p=14983 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:27:43,744 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:43,754 p=14983 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:27:43,821 p=14983 u=sysadmin | 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/28", "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'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 08:27:43,830 p=14983 u=sysadmin | TASK [validate-config : Set system mode fact] ********************************** 2019-09-12 08:27:43,876 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:43,886 p=14983 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:27:43,923 p=14983 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ********* 2019-09-12 08:27:43,958 p=14983 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ***** 2019-09-12 08:27:43,994 p=14983 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *********************** 2019-09-12 08:27:44,032 p=14983 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *** 2019-09-12 08:27:44,069 p=14983 u=sysadmin | TASK [validate-config : Checking registered timezones] ************************* 2019-09-12 08:27:44,292 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:44,301 p=14983 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ****************** 2019-09-12 08:27:44,337 p=14983 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *** 2019-09-12 08:27:44,373 p=14983 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ********************** 2019-09-12 08:27:44,422 p=14983 u=sysadmin | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 08:27:44,437 p=14983 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 08:27:44,462 p=14983 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] *** 2019-09-12 08:27:44,518 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 08:27:44,532 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 08:27:44,549 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 08:27:44,564 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 08:27:44,576 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 08:27:44,591 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 08:27:44,604 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/28', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/28" } 2019-09-12 08:27:44,618 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 08:27:44,632 p=14983 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.2', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.2" } 2019-09-12 08:27:44,643 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:44,688 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:44,698 p=14983 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ***************** 2019-09-12 08:27:44,753 p=14983 u=sysadmin | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,768 p=14983 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,783 p=14983 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,798 p=14983 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,813 p=14983 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,828 p=14983 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:27:44,838 p=14983 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ***************** 2019-09-12 08:27:44,939 p=14983 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *********************** 2019-09-12 08:27:44,980 p=14983 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 08:27:44,989 p=14983 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] *** 2019-09-12 08:27:45,042 p=14983 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] *** 2019-09-12 08:27:45,106 p=14983 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] *** 2019-09-12 08:27:45,167 p=14983 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] *** 2019-09-12 08:27:45,272 p=14983 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] *************** 2019-09-12 08:27:45,307 p=14983 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] *** 2019-09-12 08:27:45,344 p=14983 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] *** 2019-09-12 08:27:45,380 p=14983 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *** 2019-09-12 08:27:45,418 p=14983 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] *** 2019-09-12 08:27:45,485 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:45,496 p=14983 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] *** 2019-09-12 08:27:45,582 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:45,592 p=14983 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:27:45,702 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.3', u'end': u'10.10.10.4', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:27:45,716 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 08:27:45,730 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.14', u'subnet': u'192.168.204.0/28'}}) 2019-09-12 08:27:45,744 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 08:27:45,758 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 08:27:45,775 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:27:45,789 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 08:27:45,803 p=14983 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 08:27:45,821 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:45,927 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:45,941 p=14983 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ******** 2019-09-12 08:27:46,084 p=14983 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ***************** 2019-09-12 08:27:46,121 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:46,173 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:46,217 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:46,235 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ***** 2019-09-12 08:27:46,274 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ************** 2019-09-12 08:27:46,309 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:46,346 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:46,390 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:46,401 p=14983 u=sysadmin | TASK [validate-config : Validate management start and end address format] ****** 2019-09-12 08:27:46,438 p=14983 u=sysadmin | TASK [validate-config : Validate management start and end range] *************** 2019-09-12 08:27:46,474 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:46,510 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:46,554 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:46,566 p=14983 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] ******* 2019-09-12 08:27:46,603 p=14983 u=sysadmin | TASK [validate-config : Validate multicast start and end range] **************** 2019-09-12 08:27:46,642 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:46,679 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:46,728 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:46,739 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] *** 2019-09-12 08:27:46,792 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ********** 2019-09-12 08:27:46,829 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:46,863 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:46,909 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:46,922 p=14983 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ************* 2019-09-12 08:27:46,961 p=14983 u=sysadmin | TASK [validate-config : Validate oam start and end range] ********************** 2019-09-12 08:27:47,001 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:47,040 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:47,084 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,096 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] **** 2019-09-12 08:27:47,134 p=14983 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ************* 2019-09-12 08:27:47,170 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:47,206 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:47,254 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,266 p=14983 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ********* 2019-09-12 08:27:47,303 p=14983 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ****************** 2019-09-12 08:27:47,339 p=14983 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:27:47,373 p=14983 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] *** 2019-09-12 08:27:47,418 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,427 p=14983 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ********** 2019-09-12 08:27:47,482 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,491 p=14983 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] *** 2019-09-12 08:27:47,537 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,546 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:47,602 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:47,611 p=14983 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] ******* 2019-09-12 08:27:47,645 p=14983 u=sysadmin | TASK [validate-config : Validate http proxy urls] ****************************** 2019-09-12 08:27:47,696 p=14983 u=sysadmin | TASK [validate-config : Validate no proxy addresses] *************************** 2019-09-12 08:27:47,726 p=14983 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ***** 2019-09-12 08:27:47,761 p=14983 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ********* 2019-09-12 08:27:47,798 p=14983 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *** 2019-09-12 08:27:47,835 p=14983 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ********************* 2019-09-12 08:27:47,874 p=14983 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ******************** 2019-09-12 08:27:47,915 p=14983 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:27:47,999 p=14983 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:27:48,037 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:48,052 p=14983 u=sysadmin | TASK [validate-config : Check if images archive location exists] *************** 2019-09-12 08:27:48,094 p=14983 u=sysadmin | TASK [validate-config : Get list of archived files] **************************** 2019-09-12 08:27:48,136 p=14983 u=sysadmin | TASK [validate-config : Turn on images archive flag] *************************** 2019-09-12 08:27:48,173 p=14983 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ********************* 2019-09-12 08:27:48,211 p=14983 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ****************** 2019-09-12 08:27:48,242 p=14983 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] *** 2019-09-12 08:27:48,284 p=14983 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *********************** 2019-09-12 08:27:48,321 p=14983 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] ************************ 2019-09-12 08:27:48,359 p=14983 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] **************************** 2019-09-12 08:27:48,397 p=14983 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *********************** 2019-09-12 08:27:48,439 p=14983 u=sysadmin | TASK [validate-config : Create config workdir] ********************************* 2019-09-12 08:27:48,646 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:48,655 p=14983 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] *** 2019-09-12 08:27:49,117 p=14983 u=sysadmin | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 08:27:49,282 p=14983 u=sysadmin | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 08:27:49,467 p=14983 u=sysadmin | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 08:27:49,653 p=14983 u=sysadmin | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 08:27:49,836 p=14983 u=sysadmin | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 08:27:50,030 p=14983 u=sysadmin | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 08:27:50,224 p=14983 u=sysadmin | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 08:27:50,405 p=14983 u=sysadmin | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 08:27:50,595 p=14983 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 08:27:50,784 p=14983 u=sysadmin | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 08:27:50,967 p=14983 u=sysadmin | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 08:27:51,157 p=14983 u=sysadmin | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 08:27:51,335 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 08:27:51,519 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 08:27:51,705 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 08:27:51,895 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:27:52,075 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 08:27:52,261 p=14983 u=sysadmin | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 08:27:52,441 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 08:27:52,627 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 08:27:52,804 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 08:27:52,996 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:27:53,183 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 08:27:53,380 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 08:27:53,570 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 08:27:53,767 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 08:27:53,958 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 08:27:54,148 p=14983 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 08:27:54,336 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 08:27:54,520 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 08:27:54,708 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 08:27:54,886 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 08:27:55,065 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 08:27:55,243 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 08:27:55,419 p=14983 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 08:27:55,602 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 08:27:55,788 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 08:27:55,975 p=14983 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 08:27:56,158 p=14983 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 08:27:56,339 p=14983 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 08:27:56,518 p=14983 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 08:27:56,704 p=14983 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 08:27:56,885 p=14983 u=sysadmin | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 08:27:57,084 p=14983 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 08:27:57,261 p=14983 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 08:27:57,445 p=14983 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 08:27:57,626 p=14983 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 08:27:57,813 p=14983 u=sysadmin | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 08:27:57,990 p=14983 u=sysadmin | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 08:27:58,172 p=14983 u=sysadmin | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 08:27:58,359 p=14983 u=sysadmin | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 08:27:58,539 p=14983 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=False) 2019-09-12 08:27:58,734 p=14983 u=sysadmin | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 08:27:58,751 p=14983 u=sysadmin | TASK [validate-config : Write simplex flag] ************************************ 2019-09-12 08:27:58,958 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:58,968 p=14983 u=sysadmin | TASK [store-passwd : debug] **************************************************** 2019-09-12 08:27:59,010 p=14983 u=sysadmin | TASK [store-passwd : set_fact] ************************************************* 2019-09-12 08:27:59,049 p=14983 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *** 2019-09-12 08:27:59,093 p=14983 u=sysadmin | ok: [localhost] => { "msg": "[WARNING: Default admin username and password (unencrypted) are used. Consider storing both of these variables in Ansible vault.]" } 2019-09-12 08:27:59,102 p=14983 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ******************** 2019-09-12 08:27:59,146 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:59,155 p=14983 u=sysadmin | TASK [store-passwd : Look for password rules file] ***************************** 2019-09-12 08:27:59,395 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:59,404 p=14983 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] ******************* 2019-09-12 08:27:59,445 p=14983 u=sysadmin | TASK [store-passwd : Get password rules] *************************************** 2019-09-12 08:27:59,662 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:59,671 p=14983 u=sysadmin | TASK [store-passwd : Get password rules description] *************************** 2019-09-12 08:27:59,883 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:27:59,892 p=14983 u=sysadmin | TASK [store-passwd : Set password regex facts] ********************************* 2019-09-12 08:27:59,949 p=14983 u=sysadmin | ok: [localhost] 2019-09-12 08:27:59,958 p=14983 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] ******************* 2019-09-12 08:28:00,002 p=14983 u=sysadmin | TASK [store-passwd : Set password regex description fact] ********************** 2019-09-12 08:28:00,042 p=14983 u=sysadmin | TASK [store-passwd : Validate admin password] ********************************** 2019-09-12 08:28:00,294 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:28:00,304 p=14983 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] *** 2019-09-12 08:28:00,343 p=14983 u=sysadmin | TASK [store-passwd : Store admin password] ************************************* 2019-09-12 08:28:01,519 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:28:01,528 p=14983 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ************************** 2019-09-12 08:28:01,565 p=14983 u=sysadmin | TASK [store-passwd : Create temp keyring directory] **************************** 2019-09-12 08:28:01,602 p=14983 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] *** 2019-09-12 08:28:01,639 p=14983 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ******************** 2019-09-12 08:28:01,677 p=14983 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] **************************** 2019-09-12 08:28:01,715 p=14983 u=sysadmin | TASK [store-passwd : Store service passwords] ********************************** 2019-09-12 08:28:01,744 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] ************************ 2019-09-12 08:28:01,948 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:28:01,957 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] **************** 2019-09-12 08:28:04,839 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:28:04,848 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] *** 2019-09-12 08:28:04,891 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ****************** 2019-09-12 08:28:04,928 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] *** 2019-09-12 08:28:04,970 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ******************** 2019-09-12 08:28:05,006 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] *** 2019-09-12 08:28:05,043 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] ******************* 2019-09-12 08:28:05,080 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ************************** 2019-09-12 08:28:05,118 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] **************** 2019-09-12 08:28:05,157 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *********** 2019-09-12 08:33:58,683 p=14983 u=sysadmin | changed: [localhost] 2019-09-12 08:33:58,695 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] *** 2019-09-12 08:33:58,734 p=14983 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] *************** 2019-09-12 08:34:04,196 p=14983 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Sorry, try again.\n[sudo via ansible, key=mjzbrhrtlekasvfdwyrucvvbanpybfrs] password: Sorry, try again.\n[sudo via ansible, key=mjzbrhrtlekasvfdwyrucvvbanpybfrs] password: sudo: 3 incorrect password attempts\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} 2019-09-12 08:34:04,199 p=14983 u=sysadmin | PLAY RECAP ********************************************************************* 2019-09-12 08:34:04,200 p=14983 u=sysadmin | localhost : ok=74 changed=18 unreachable=0 failed=1 2019-09-12 08:42:03,327 passlib.registry registered 'md5_crypt' handler: 2019-09-12 08:42:03,338 p=100446 u=sysadmin | PLAY [all] ********************************************************************* 2019-09-12 08:42:03,530 p=100446 u=sysadmin | TASK [stat] ******************************************************************** 2019-09-12 08:42:03,889 p=100446 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 08:42:04,034 p=100446 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 08:42:04,173 p=100446 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 08:42:04,346 p=100446 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 08:42:04,359 p=100446 u=sysadmin | TASK [include_vars] ************************************************************ 2019-09-12 08:42:04,455 p=100446 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568277705.868, u'block_size': 4096, u'inode': 792426, u'isgid': False, u'size': 241, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025014', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568277708.384, u'mimetype': u'text/x-c', u'ctime': 1568277705.868, u'isblk': False, u'checksum': u'5057c7e021e449459bd8717924652157e9a9f10d', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 08:42:04,465 p=100446 u=sysadmin | TASK [prepare-env : Set SSH port] ********************************************** 2019-09-12 08:42:04,504 p=100446 u=sysadmin | TASK [prepare-env : Update SSH known hosts] ************************************ 2019-09-12 08:42:04,550 p=100446 u=sysadmin | TASK [prepare-env : Check connectivity] **************************************** 2019-09-12 08:42:04,586 p=100446 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] ******************************* 2019-09-12 08:42:04,624 p=100446 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] *** 2019-09-12 08:42:04,659 p=100446 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:42:04,698 p=100446 u=sysadmin | TASK [prepare-env : Change initial password] *********************************** 2019-09-12 08:42:04,734 p=100446 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] ******************* 2019-09-12 08:42:05,137 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:05,147 p=100446 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] *************** 2019-09-12 08:42:05,180 p=100446 u=sysadmin | TASK [prepare-env : Check initial config flag] ********************************* 2019-09-12 08:42:05,359 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:05,368 p=100446 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] *** 2019-09-12 08:42:05,400 p=100446 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] ******************************* 2019-09-12 08:42:05,434 p=100446 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ********** 2019-09-12 08:42:05,478 p=100446 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] *** 2019-09-12 08:42:05,515 p=100446 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ******************** 2019-09-12 08:42:05,554 p=100446 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:42:05,595 p=100446 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *** 2019-09-12 08:42:05,830 p=100446 u=sysadmin | TASK [prepare-env : Retrieve software version number] ************************** 2019-09-12 08:42:06,019 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:06,028 p=100446 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] ******************* 2019-09-12 08:42:06,088 p=100446 u=sysadmin | TASK [prepare-env : Retrieve system type] ************************************** 2019-09-12 08:42:06,268 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:06,277 p=100446 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] ************************ 2019-09-12 08:42:06,313 p=100446 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] ******* 2019-09-12 08:42:06,354 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,364 p=100446 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *** 2019-09-12 08:42:06,399 p=100446 u=sysadmin | TASK [prepare-env : Set config path facts] ************************************* 2019-09-12 08:42:06,444 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,467 p=100446 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] *** 2019-09-12 08:42:06,525 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,535 p=100446 u=sysadmin | TASK [prepare-env : set_fact] ************************************************** 2019-09-12 08:42:06,572 p=100446 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ************************* 2019-09-12 08:42:06,612 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,624 p=100446 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] ************ 2019-09-12 08:42:06,668 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,678 p=100446 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] *** 2019-09-12 08:42:06,717 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,727 p=100446 u=sysadmin | TASK [prepare-env : Set initial facts] ***************************************** 2019-09-12 08:42:06,780 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,790 p=100446 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ***************************** 2019-09-12 08:42:06,829 p=100446 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] *** 2019-09-12 08:42:06,867 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,878 p=100446 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ********************* 2019-09-12 08:42:06,917 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,927 p=100446 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ****** 2019-09-12 08:42:06,967 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:06,978 p=100446 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *** 2019-09-12 08:42:07,021 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,031 p=100446 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ********************************* 2019-09-12 08:42:07,070 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,082 p=100446 u=sysadmin | TASK [prepare-env : Check Docker status] *************************************** 2019-09-12 08:42:07,270 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:07,280 p=100446 u=sysadmin | TASK [prepare-env : Look for openrc file] ************************************** 2019-09-12 08:42:07,472 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,482 p=100446 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ************************************* 2019-09-12 08:42:07,528 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,540 p=100446 u=sysadmin | TASK [prepare-env : Turn off save_password flag] ******************************* 2019-09-12 08:42:07,589 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,600 p=100446 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ************* 2019-09-12 08:42:07,775 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,785 p=100446 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *** 2019-09-12 08:42:07,830 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:07,840 p=100446 u=sysadmin | TASK [prepare-env : Check the initial database population status] ************** 2019-09-12 08:42:08,024 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:08,033 p=100446 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] *** 2019-09-12 08:42:08,078 p=100446 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *** 2019-09-12 08:42:08,117 p=100446 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ************************* 2019-09-12 08:42:08,157 p=100446 u=sysadmin | TASK [prepare-env : Find previous config file for this host] ******************* 2019-09-12 08:42:08,193 p=100446 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ********************** 2019-09-12 08:42:08,228 p=100446 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ******************** 2019-09-12 08:42:08,263 p=100446 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] ******************* 2019-09-12 08:42:08,304 p=100446 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ***************** 2019-09-12 08:42:08,340 p=100446 u=sysadmin | TASK [prepare-env : Read in last config values] ******************************** 2019-09-12 08:42:08,375 p=100446 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] ************ 2019-09-12 08:42:08,409 p=100446 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] *** 2019-09-12 08:42:08,447 p=100446 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *** 2019-09-12 08:42:08,483 p=100446 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] *** 2019-09-12 08:42:08,517 p=100446 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *** 2019-09-12 08:42:08,554 p=100446 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] *** 2019-09-12 08:42:08,588 p=100446 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] *** 2019-09-12 08:42:08,629 p=100446 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] *** 2019-09-12 08:42:08,663 p=100446 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] *************************** 2019-09-12 08:42:08,697 p=100446 u=sysadmin | TASK [prepare-env : Check volume groups] *************************************** 2019-09-12 08:42:08,970 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:08,980 p=100446 u=sysadmin | TASK [prepare-env : Check size of root disk] *********************************** 2019-09-12 08:42:09,212 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:09,221 p=100446 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ******************** 2019-09-12 08:42:09,260 p=100446 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ******************** 2019-09-12 08:42:09,304 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:09,314 p=100446 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:42:09,349 p=100446 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:42:09,386 p=100446 u=sysadmin | TASK [prepare-env : Look for branding tar file] ******************************** 2019-09-12 08:42:09,804 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:09,813 p=100446 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ******** 2019-09-12 08:42:09,849 p=100446 u=sysadmin | TASK [prepare-env : Look for other branding files] ***************************** 2019-09-12 08:42:10,028 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:10,038 p=100446 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] **************** 2019-09-12 08:42:10,081 p=100446 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ********************* 2019-09-12 08:42:10,575 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:10,585 p=100446 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ***************************** 2019-09-12 08:42:10,795 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:10,805 p=100446 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:42:10,847 p=100446 u=sysadmin | 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, skip_play flag: False, incomplete_bootstrap flag: True, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 08:42:10,857 p=100446 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] ************************ 2019-09-12 08:42:10,896 p=100446 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] ************************ 2019-09-12 08:42:10,937 p=100446 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *********************** 2019-09-12 08:42:10,979 p=100446 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ********************* 2019-09-12 08:42:11,020 p=100446 u=sysadmin | TASK [validate-config : Check unified registry credentials] ******************** 2019-09-12 08:42:11,064 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:11,107 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:11,117 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:11,172 p=100446 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:42:11,184 p=100446 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:42:11,197 p=100446 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:42:11,218 p=100446 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:42:11,220 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:11,230 p=100446 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:42:11,309 p=100446 u=sysadmin | 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.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.3", "Management dynamic address allocation is True", "Cluster host dynamic address allocation is True", "Docker registries is {u'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 08:42:11,318 p=100446 u=sysadmin | TASK [validate-config : Set system mode fact] ********************************** 2019-09-12 08:42:11,359 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:11,371 p=100446 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:42:11,409 p=100446 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ********* 2019-09-12 08:42:11,446 p=100446 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ***** 2019-09-12 08:42:11,487 p=100446 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *********************** 2019-09-12 08:42:11,528 p=100446 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *** 2019-09-12 08:42:11,567 p=100446 u=sysadmin | TASK [validate-config : Checking registered timezones] ************************* 2019-09-12 08:42:11,790 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:11,800 p=100446 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ****************** 2019-09-12 08:42:11,836 p=100446 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *** 2019-09-12 08:42:11,872 p=100446 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ********************** 2019-09-12 08:42:11,922 p=100446 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 08:42:11,932 p=100446 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] *** 2019-09-12 08:42:11,985 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 08:42:12,003 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 08:42:12,016 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 08:42:12,034 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 08:42:12,051 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 08:42:12,069 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 08:42:12,087 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/24" } 2019-09-12 08:42:12,104 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 08:42:12,121 p=100446 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.3', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.3" } 2019-09-12 08:42:12,131 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:12,195 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:12,205 p=100446 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ***************** 2019-09-12 08:42:12,266 p=100446 u=sysadmin | ok: [localhost] => (item=192.168.204.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,279 p=100446 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,297 p=100446 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,311 p=100446 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,325 p=100446 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,342 p=100446 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:42:12,354 p=100446 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ***************** 2019-09-12 08:42:12,462 p=100446 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *********************** 2019-09-12 08:42:12,514 p=100446 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 08:42:12,524 p=100446 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] *** 2019-09-12 08:42:12,582 p=100446 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] *** 2019-09-12 08:42:12,663 p=100446 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] *** 2019-09-12 08:42:12,729 p=100446 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] *** 2019-09-12 08:42:12,827 p=100446 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] *************** 2019-09-12 08:42:12,866 p=100446 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] *** 2019-09-12 08:42:12,904 p=100446 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] *** 2019-09-12 08:42:12,941 p=100446 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *** 2019-09-12 08:42:12,981 p=100446 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] *** 2019-09-12 08:42:13,055 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:13,064 p=100446 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] *** 2019-09-12 08:42:13,151 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:13,160 p=100446 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:42:13,278 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.4', u'end': u'10.10.10.5', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:42:13,292 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 08:42:13,307 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}}) 2019-09-12 08:42:13,321 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 08:42:13,340 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 08:42:13,355 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:42:13,371 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 08:42:13,440 p=100446 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 08:42:13,457 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:13,502 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:13,514 p=100446 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ******** 2019-09-12 08:42:13,553 p=100446 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ***************** 2019-09-12 08:42:13,604 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:13,643 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:13,695 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:13,708 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ***** 2019-09-12 08:42:13,748 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ************** 2019-09-12 08:42:13,787 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:13,825 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:13,872 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:13,887 p=100446 u=sysadmin | TASK [validate-config : Validate management start and end address format] ****** 2019-09-12 08:42:13,927 p=100446 u=sysadmin | TASK [validate-config : Validate management start and end range] *************** 2019-09-12 08:42:13,964 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,000 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:14,047 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,059 p=100446 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] ******* 2019-09-12 08:42:14,098 p=100446 u=sysadmin | TASK [validate-config : Validate multicast start and end range] **************** 2019-09-12 08:42:14,135 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,175 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:14,223 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,234 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] *** 2019-09-12 08:42:14,275 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ********** 2019-09-12 08:42:14,317 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,357 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:14,405 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,417 p=100446 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ************* 2019-09-12 08:42:14,456 p=100446 u=sysadmin | TASK [validate-config : Validate oam start and end range] ********************** 2019-09-12 08:42:14,494 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,532 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:14,579 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,592 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] **** 2019-09-12 08:42:14,633 p=100446 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ************* 2019-09-12 08:42:14,672 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,711 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:14,759 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,770 p=100446 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ********* 2019-09-12 08:42:14,813 p=100446 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ****************** 2019-09-12 08:42:14,852 p=100446 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:42:14,892 p=100446 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] *** 2019-09-12 08:42:14,944 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:14,954 p=100446 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ********** 2019-09-12 08:42:15,017 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:15,027 p=100446 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] *** 2019-09-12 08:42:15,078 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:15,088 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:15,159 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:15,185 p=100446 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] ******* 2019-09-12 08:42:15,226 p=100446 u=sysadmin | TASK [validate-config : Validate http proxy urls] ****************************** 2019-09-12 08:42:15,281 p=100446 u=sysadmin | TASK [validate-config : Validate no proxy addresses] *************************** 2019-09-12 08:42:15,336 p=100446 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ***** 2019-09-12 08:42:15,379 p=100446 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ********* 2019-09-12 08:42:15,430 p=100446 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *** 2019-09-12 08:42:15,472 p=100446 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ********************* 2019-09-12 08:42:15,513 p=100446 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ******************** 2019-09-12 08:42:15,555 p=100446 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:42:15,649 p=100446 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:42:15,688 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:15,703 p=100446 u=sysadmin | TASK [validate-config : Check if images archive location exists] *************** 2019-09-12 08:42:15,747 p=100446 u=sysadmin | TASK [validate-config : Get list of archived files] **************************** 2019-09-12 08:42:15,794 p=100446 u=sysadmin | TASK [validate-config : Turn on images archive flag] *************************** 2019-09-12 08:42:15,837 p=100446 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ********************* 2019-09-12 08:42:15,876 p=100446 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ****************** 2019-09-12 08:42:15,907 p=100446 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] *** 2019-09-12 08:42:15,946 p=100446 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *********************** 2019-09-12 08:42:15,983 p=100446 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] ************************ 2019-09-12 08:42:16,021 p=100446 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] **************************** 2019-09-12 08:42:16,058 p=100446 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *********************** 2019-09-12 08:42:16,099 p=100446 u=sysadmin | TASK [validate-config : Create config workdir] ********************************* 2019-09-12 08:42:16,320 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:16,330 p=100446 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] *** 2019-09-12 08:42:16,774 p=100446 u=sysadmin | ok: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 08:42:16,955 p=100446 u=sysadmin | ok: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 08:42:17,153 p=100446 u=sysadmin | ok: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 08:42:17,335 p=100446 u=sysadmin | ok: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 08:42:17,524 p=100446 u=sysadmin | ok: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 08:42:17,710 p=100446 u=sysadmin | ok: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 08:42:17,918 p=100446 u=sysadmin | ok: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 08:42:18,121 p=100446 u=sysadmin | ok: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 08:42:18,324 p=100446 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.4.4) 2019-09-12 08:42:18,510 p=100446 u=sysadmin | ok: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 08:42:18,696 p=100446 u=sysadmin | ok: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 08:42:18,904 p=100446 u=sysadmin | ok: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 08:42:19,109 p=100446 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24) 2019-09-12 08:42:19,309 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 08:42:19,498 p=100446 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254) 2019-09-12 08:42:19,717 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:42:19,914 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 08:42:20,104 p=100446 u=sysadmin | ok: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 08:42:20,287 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 08:42:20,479 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 08:42:20,674 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 08:42:20,864 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:42:21,053 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 08:42:21,243 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 08:42:21,434 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 08:42:21,615 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 08:42:21,809 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 08:42:22,007 p=100446 u=sysadmin | ok: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 08:42:22,192 p=100446 u=sysadmin | ok: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 08:42:22,378 p=100446 u=sysadmin | ok: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 08:42:22,560 p=100446 u=sysadmin | ok: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 08:42:22,746 p=100446 u=sysadmin | ok: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 08:42:22,934 p=100446 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.3) 2019-09-12 08:42:23,134 p=100446 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.4) 2019-09-12 08:42:23,321 p=100446 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.5) 2019-09-12 08:42:23,505 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 08:42:23,696 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 08:42:23,887 p=100446 u=sysadmin | ok: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 08:42:24,070 p=100446 u=sysadmin | ok: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 08:42:24,267 p=100446 u=sysadmin | ok: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 08:42:24,462 p=100446 u=sysadmin | ok: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 08:42:24,655 p=100446 u=sysadmin | ok: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 08:42:24,843 p=100446 u=sysadmin | ok: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 08:42:25,063 p=100446 u=sysadmin | ok: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 08:42:25,265 p=100446 u=sysadmin | ok: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 08:42:25,436 p=100446 u=sysadmin | ok: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 08:42:25,619 p=100446 u=sysadmin | ok: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 08:42:25,802 p=100446 u=sysadmin | ok: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 08:42:25,983 p=100446 u=sysadmin | ok: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 08:42:26,183 p=100446 u=sysadmin | ok: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 08:42:26,374 p=100446 u=sysadmin | ok: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 08:42:26,557 p=100446 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 08:42:26,746 p=100446 u=sysadmin | ok: [localhost] => (item=APISERVER_SANS=) 2019-09-12 08:42:26,767 p=100446 u=sysadmin | TASK [validate-config : Write simplex flag] ************************************ 2019-09-12 08:42:26,989 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:27,000 p=100446 u=sysadmin | TASK [store-passwd : debug] **************************************************** 2019-09-12 08:42:27,037 p=100446 u=sysadmin | TASK [store-passwd : set_fact] ************************************************* 2019-09-12 08:42:27,074 p=100446 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *** 2019-09-12 08:42:27,111 p=100446 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ******************** 2019-09-12 08:42:27,147 p=100446 u=sysadmin | TASK [store-passwd : Look for password rules file] ***************************** 2019-09-12 08:42:27,179 p=100446 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] ******************* 2019-09-12 08:42:27,212 p=100446 u=sysadmin | TASK [store-passwd : Get password rules] *************************************** 2019-09-12 08:42:27,247 p=100446 u=sysadmin | TASK [store-passwd : Get password rules description] *************************** 2019-09-12 08:42:27,283 p=100446 u=sysadmin | TASK [store-passwd : Set password regex facts] ********************************* 2019-09-12 08:42:27,319 p=100446 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] ******************* 2019-09-12 08:42:27,355 p=100446 u=sysadmin | TASK [store-passwd : Set password regex description fact] ********************** 2019-09-12 08:42:27,392 p=100446 u=sysadmin | TASK [store-passwd : Validate admin password] ********************************** 2019-09-12 08:42:27,428 p=100446 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] *** 2019-09-12 08:42:27,462 p=100446 u=sysadmin | TASK [store-passwd : Store admin password] ************************************* 2019-09-12 08:42:27,495 p=100446 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ************************** 2019-09-12 08:42:27,528 p=100446 u=sysadmin | TASK [store-passwd : Create temp keyring directory] **************************** 2019-09-12 08:42:27,562 p=100446 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] *** 2019-09-12 08:42:27,595 p=100446 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ******************** 2019-09-12 08:42:27,630 p=100446 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] **************************** 2019-09-12 08:42:27,663 p=100446 u=sysadmin | TASK [store-passwd : Store service passwords] ********************************** 2019-09-12 08:42:27,693 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] ************************ 2019-09-12 08:42:27,727 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] **************** 2019-09-12 08:42:27,762 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] *** 2019-09-12 08:42:27,796 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ****************** 2019-09-12 08:42:27,830 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] *** 2019-09-12 08:42:27,864 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ******************** 2019-09-12 08:42:27,899 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] *** 2019-09-12 08:42:27,934 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] ******************* 2019-09-12 08:42:27,969 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ************************** 2019-09-12 08:42:28,003 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] **************** 2019-09-12 08:42:28,038 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *********** 2019-09-12 08:42:28,072 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] *** 2019-09-12 08:42:28,108 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] *************** 2019-09-12 08:42:28,142 p=100446 u=sysadmin | TASK [apply-bootstrap-manifest : Persist puppet working files] ***************** 2019-09-12 08:42:28,176 p=100446 u=sysadmin | TASK [persist-config : Check if keyring data has been persisted] *************** 2019-09-12 08:42:28,210 p=100446 u=sysadmin | TASK [persist-config : Delete the previous python_keyring directory if exists] *** 2019-09-12 08:42:28,245 p=100446 u=sysadmin | TASK [persist-config : Persist keyring data] *********************************** 2019-09-12 08:42:28,280 p=100446 u=sysadmin | TASK [persist-config : Ensure replicated config parent directory exists] ******* 2019-09-12 08:42:28,496 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:28,505 p=100446 u=sysadmin | TASK [persist-config : Get list of new config files] *************************** 2019-09-12 08:42:28,712 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:28,722 p=100446 u=sysadmin | TASK [persist-config : Remove existing config files from permanent location] *** 2019-09-12 08:42:28,965 p=100446 u=sysadmin | 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': 1568277746.534, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568277746.721, u'inode': 176012, u'isgid': False, u'size': 1904, u'isdir': False, u'ctime': 1568277746.534, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 34, 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}) 2019-09-12 08:42:28,976 p=100446 u=sysadmin | TASK [persist-config : Move new config files to permanent location] ************ 2019-09-12 08:42:29,194 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:29,204 p=100446 u=sysadmin | TASK [persist-config : Delete working config directory] ************************ 2019-09-12 08:42:29,426 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:29,438 p=100446 u=sysadmin | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ****** 2019-09-12 08:42:29,487 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:29,499 p=100446 u=sysadmin | TASK [persist-config : debug] ************************************************** 2019-09-12 08:42:29,548 p=100446 u=sysadmin | ok: [localhost] => { "msg": "postgres_config_dir: /opt/platform/config/19.09/postgresql pxe_config_dir: /opt/platform/config/19.09/pxelinux.cfg branding_config_dir: /opt/platform/config/19.09/branding" } 2019-09-12 08:42:29,558 p=100446 u=sysadmin | TASK [persist-config : Ensure Postres, PXE config directories exist] *********** 2019-09-12 08:42:29,788 p=100446 u=sysadmin | changed: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 08:42:29,981 p=100446 u=sysadmin | changed: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 08:42:29,991 p=100446 u=sysadmin | TASK [persist-config : Get list of Postgres conf files] ************************ 2019-09-12 08:42:30,221 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:30,232 p=100446 u=sysadmin | TASK [persist-config : Copy postgres conf files for mate] ********************** 2019-09-12 08:42:30,734 p=100446 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.566, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_ident.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266938, u'isgid': False, u'size': 47, u'isdir': False, u'ctime': 1568277027.617, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:42:30,926 p=100446 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.636, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_hba.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266949, u'isgid': False, u'size': 929, u'isdir': False, u'ctime': 1568277027.694, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:42:31,135 p=100446 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.625, u'gr_name': u'postgres', u'path': u'/etc/postgresql/postgresql.conf', u'xusr': False, u'atime': 1568277028.031, u'inode': 266901, u'isgid': False, u'size': 20195, u'isdir': False, u'ctime': 1568277027.625, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:42:31,146 p=100446 u=sysadmin | TASK [persist-config : Create a symlink to PXE config files] ******************* 2019-09-12 08:42:31,398 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:31,408 p=100446 u=sysadmin | TASK [persist-config : Check if copying of branding files for mate is required] *** 2019-09-12 08:42:31,666 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:31,677 p=100446 u=sysadmin | TASK [persist-config : Ensure branding config directory exists] **************** 2019-09-12 08:42:31,903 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:31,914 p=100446 u=sysadmin | TASK [persist-config : Check if branding tar files exist (there should be only one)] *** 2019-09-12 08:42:32,129 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:32,140 p=100446 u=sysadmin | TASK [persist-config : Copy branding tar files] ******************************** 2019-09-12 08:42:32,176 p=100446 u=sysadmin | TASK [persist-config : Get grub default kernel] ******************************** 2019-09-12 08:42:35,417 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:35,426 p=100446 u=sysadmin | TASK [persist-config : Add default security feature to kernel parameters] ****** 2019-09-12 08:42:35,752 p=100446 u=sysadmin | changed: [localhost] => (item=grubby --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:42:35,976 p=100446 u=sysadmin | changed: [localhost] => (item=grubby --efi --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:42:35,986 p=100446 u=sysadmin | TASK [persist-config : Resize filesystems (default)] *************************** 2019-09-12 08:42:36,345 p=100446 u=sysadmin | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:42:36,647 p=100446 u=sysadmin | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 08:42:36,943 p=100446 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 08:42:37,734 p=100446 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:42:39,497 p=100446 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:42:41,133 p=100446 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 08:42:41,144 p=100446 u=sysadmin | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *** 2019-09-12 08:42:41,336 p=100446 u=sysadmin | TASK [persist-config : Further resize if root disk size is larger than 240G] *** 2019-09-12 08:42:41,685 p=100446 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:42:41,993 p=100446 u=sysadmin | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 08:42:42,521 p=100446 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:42:44,220 p=100446 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:42:44,230 p=100446 u=sysadmin | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] *** 2019-09-12 08:42:44,402 p=100446 u=sysadmin | TASK [persist-config : Check if custom banner exists] ************************** 2019-09-12 08:42:44,607 p=100446 u=sysadmin | ok: [localhost] 2019-09-12 08:42:44,618 p=100446 u=sysadmin | TASK [persist-config : Apply custom banner] ************************************ 2019-09-12 08:42:44,658 p=100446 u=sysadmin | TASK [persist-config : Fail if banner customization failed] ******************** 2019-09-12 08:42:44,697 p=100446 u=sysadmin | TASK [persist-config : Shutdown Maintenance services] ************************** 2019-09-12 08:42:45,024 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:45,035 p=100446 u=sysadmin | TASK [persist-config : Shutdown FM services] *********************************** 2019-09-12 08:42:45,290 p=100446 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 08:42:45,733 p=100446 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 08:42:45,743 p=100446 u=sysadmin | TASK [persist-config : Shut down and remove Kubernetes components] ************* 2019-09-12 08:42:46,185 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:46,195 p=100446 u=sysadmin | TASK [persist-config : Clear etcd data cache] ********************************** 2019-09-12 08:42:46,411 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:46,421 p=100446 u=sysadmin | TASK [persist-config : Restart etcd] ******************************************* 2019-09-12 08:42:48,060 p=100446 u=sysadmin | changed: [localhost] 2019-09-12 08:42:48,072 p=100446 u=sysadmin | TASK [persist-config : Set facts derived from previous network configurations] *** 2019-09-12 08:42:48,110 p=100446 u=sysadmin | TASK [persist-config : Set facts derived from previous floating addresses] ***** 2019-09-12 08:42:48,145 p=100446 u=sysadmin | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] *** 2019-09-12 08:42:48,182 p=100446 u=sysadmin | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] *** 2019-09-12 08:42:48,220 p=100446 u=sysadmin | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] *** 2019-09-12 08:42:48,259 p=100446 u=sysadmin | TASK [persist-config : Find old registry secrets in Barbican] ****************** 2019-09-12 08:42:50,884 p=100446 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep k8s-registry-secret | awk '{print $2}') 2019-09-12 08:42:53,453 p=100446 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep gcr-registry-secret | awk '{print $2}') 2019-09-12 08:42:56,155 p=100446 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep quay-registry-secret | awk '{print $2}') 2019-09-12 08:42:58,862 p=100446 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep docker-registry-secret | awk '{print $2}') 2019-09-12 08:42:58,874 p=100446 u=sysadmin | TASK [persist-config : Delete old registry secrets in Barbican] **************** 2019-09-12 08:43:01,722 p=100446 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.439425", "end": "2019-09-12 08:43:01.690204", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:42:59.250779", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:43:04,417 p=100446 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.482734", "end": "2019-09-12 08:43:04.383268", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:43:01.900534", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:43:07,002 p=100446 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.406040", "end": "2019-09-12 08:43:06.970823", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:43:04.564783", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:43:09,641 p=100446 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.459692", "end": "2019-09-12 08:43:09.612214", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:43:07.152522", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:43:09,644 p=100446 u=sysadmin | PLAY RECAP ********************************************************************* 2019-09-12 08:43:09,645 p=100446 u=sysadmin | localhost : ok=94 changed=26 unreachable=0 failed=1 2019-09-12 08:44:11,017 passlib.registry registered 'md5_crypt' handler: 2019-09-12 08:44:11,029 p=103613 u=sysadmin | PLAY [all] ********************************************************************* 2019-09-12 08:44:11,216 p=103613 u=sysadmin | TASK [stat] ******************************************************************** 2019-09-12 08:44:11,573 p=103613 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 08:44:11,707 p=103613 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 08:44:11,851 p=103613 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 08:44:12,029 p=103613 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 08:44:12,040 p=103613 u=sysadmin | TASK [include_vars] ************************************************************ 2019-09-12 08:44:12,132 p=103613 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568277839.844, u'block_size': 4096, u'inode': 792428, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025044', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568277843.624, u'mimetype': u'text/x-c', u'ctime': 1568277839.914, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 08:44:12,143 p=103613 u=sysadmin | TASK [prepare-env : Set SSH port] ********************************************** 2019-09-12 08:44:12,182 p=103613 u=sysadmin | TASK [prepare-env : Update SSH known hosts] ************************************ 2019-09-12 08:44:12,220 p=103613 u=sysadmin | TASK [prepare-env : Check connectivity] **************************************** 2019-09-12 08:44:12,253 p=103613 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] ******************************* 2019-09-12 08:44:12,289 p=103613 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] *** 2019-09-12 08:44:12,325 p=103613 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:44:12,364 p=103613 u=sysadmin | TASK [prepare-env : Change initial password] *********************************** 2019-09-12 08:44:12,403 p=103613 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] ******************* 2019-09-12 08:44:12,800 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:12,809 p=103613 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] *************** 2019-09-12 08:44:12,843 p=103613 u=sysadmin | TASK [prepare-env : Check initial config flag] ********************************* 2019-09-12 08:44:13,009 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:13,018 p=103613 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] *** 2019-09-12 08:44:13,066 p=103613 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] ******************************* 2019-09-12 08:44:13,099 p=103613 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ********** 2019-09-12 08:44:13,144 p=103613 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] *** 2019-09-12 08:44:13,180 p=103613 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ******************** 2019-09-12 08:44:13,217 p=103613 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:44:13,254 p=103613 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *** 2019-09-12 08:44:13,504 p=103613 u=sysadmin | TASK [prepare-env : Retrieve software version number] ************************** 2019-09-12 08:44:13,687 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:13,696 p=103613 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] ******************* 2019-09-12 08:44:13,733 p=103613 u=sysadmin | TASK [prepare-env : Retrieve system type] ************************************** 2019-09-12 08:44:13,920 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:13,929 p=103613 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] ************************ 2019-09-12 08:44:13,967 p=103613 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] ******* 2019-09-12 08:44:14,011 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,022 p=103613 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *** 2019-09-12 08:44:14,060 p=103613 u=sysadmin | TASK [prepare-env : Set config path facts] ************************************* 2019-09-12 08:44:14,104 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,114 p=103613 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] *** 2019-09-12 08:44:14,174 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,183 p=103613 u=sysadmin | TASK [prepare-env : set_fact] ************************************************** 2019-09-12 08:44:14,220 p=103613 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ************************* 2019-09-12 08:44:14,261 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,271 p=103613 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] ************ 2019-09-12 08:44:14,312 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,324 p=103613 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] *** 2019-09-12 08:44:14,364 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,373 p=103613 u=sysadmin | TASK [prepare-env : Set initial facts] ***************************************** 2019-09-12 08:44:14,425 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,434 p=103613 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ***************************** 2019-09-12 08:44:14,471 p=103613 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] *** 2019-09-12 08:44:14,511 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,521 p=103613 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ********************* 2019-09-12 08:44:14,559 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,569 p=103613 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ****** 2019-09-12 08:44:14,611 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,621 p=103613 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *** 2019-09-12 08:44:14,665 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,675 p=103613 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ********************************* 2019-09-12 08:44:14,717 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:14,726 p=103613 u=sysadmin | TASK [prepare-env : Check Docker status] *************************************** 2019-09-12 08:44:14,910 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:14,920 p=103613 u=sysadmin | TASK [prepare-env : Look for openrc file] ************************************** 2019-09-12 08:44:15,114 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,124 p=103613 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ************************************* 2019-09-12 08:44:15,169 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,179 p=103613 u=sysadmin | TASK [prepare-env : Turn off save_password flag] ******************************* 2019-09-12 08:44:15,224 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,234 p=103613 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ************* 2019-09-12 08:44:15,408 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,419 p=103613 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *** 2019-09-12 08:44:15,462 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,471 p=103613 u=sysadmin | TASK [prepare-env : Check the initial database population status] ************** 2019-09-12 08:44:15,661 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:15,671 p=103613 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] *** 2019-09-12 08:44:15,714 p=103613 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *** 2019-09-12 08:44:15,753 p=103613 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ************************* 2019-09-12 08:44:15,793 p=103613 u=sysadmin | TASK [prepare-env : Find previous config file for this host] ******************* 2019-09-12 08:44:15,833 p=103613 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ********************** 2019-09-12 08:44:15,868 p=103613 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ******************** 2019-09-12 08:44:15,904 p=103613 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] ******************* 2019-09-12 08:44:15,940 p=103613 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ***************** 2019-09-12 08:44:15,977 p=103613 u=sysadmin | TASK [prepare-env : Read in last config values] ******************************** 2019-09-12 08:44:16,013 p=103613 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] ************ 2019-09-12 08:44:16,049 p=103613 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] *** 2019-09-12 08:44:16,084 p=103613 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *** 2019-09-12 08:44:16,130 p=103613 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] *** 2019-09-12 08:44:16,165 p=103613 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *** 2019-09-12 08:44:16,201 p=103613 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] *** 2019-09-12 08:44:16,238 p=103613 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] *** 2019-09-12 08:44:16,276 p=103613 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] *** 2019-09-12 08:44:16,317 p=103613 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] *************************** 2019-09-12 08:44:16,354 p=103613 u=sysadmin | TASK [prepare-env : Check volume groups] *************************************** 2019-09-12 08:44:16,598 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:16,608 p=103613 u=sysadmin | TASK [prepare-env : Check size of root disk] *********************************** 2019-09-12 08:44:16,837 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:16,846 p=103613 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ******************** 2019-09-12 08:44:16,884 p=103613 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ******************** 2019-09-12 08:44:16,929 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:16,940 p=103613 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:44:16,977 p=103613 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:44:17,013 p=103613 u=sysadmin | TASK [prepare-env : Look for branding tar file] ******************************** 2019-09-12 08:44:17,436 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:17,445 p=103613 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ******** 2019-09-12 08:44:17,483 p=103613 u=sysadmin | TASK [prepare-env : Look for other branding files] ***************************** 2019-09-12 08:44:17,661 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:17,671 p=103613 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] **************** 2019-09-12 08:44:17,706 p=103613 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ********************* 2019-09-12 08:44:18,162 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:18,172 p=103613 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ***************************** 2019-09-12 08:44:18,387 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:18,397 p=103613 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:44:18,442 p=103613 u=sysadmin | 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, skip_play flag: False, incomplete_bootstrap flag: True, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 08:44:18,452 p=103613 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] ************************ 2019-09-12 08:44:18,505 p=103613 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] ************************ 2019-09-12 08:44:18,546 p=103613 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *********************** 2019-09-12 08:44:18,586 p=103613 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ********************* 2019-09-12 08:44:18,626 p=103613 u=sysadmin | TASK [validate-config : Check unified registry credentials] ******************** 2019-09-12 08:44:18,670 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:18,718 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:18,727 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:18,778 p=103613 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:44:18,790 p=103613 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:44:18,805 p=103613 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:44:18,817 p=103613 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:44:18,819 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:18,829 p=103613 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:44:18,893 p=103613 u=sysadmin | 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.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.3", "Management dynamic address allocation is True", "Cluster host dynamic address allocation is True", "Docker registries is {u'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 08:44:18,903 p=103613 u=sysadmin | TASK [validate-config : Set system mode fact] ********************************** 2019-09-12 08:44:18,941 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:18,950 p=103613 u=sysadmin | TASK [validate-config : debug] ************************************************* 2019-09-12 08:44:18,987 p=103613 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ********* 2019-09-12 08:44:19,025 p=103613 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ***** 2019-09-12 08:44:19,067 p=103613 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *********************** 2019-09-12 08:44:19,106 p=103613 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *** 2019-09-12 08:44:19,145 p=103613 u=sysadmin | TASK [validate-config : Checking registered timezones] ************************* 2019-09-12 08:44:19,373 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:19,382 p=103613 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ****************** 2019-09-12 08:44:19,419 p=103613 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *** 2019-09-12 08:44:19,458 p=103613 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ********************** 2019-09-12 08:44:19,511 p=103613 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 08:44:19,520 p=103613 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] *** 2019-09-12 08:44:19,579 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 08:44:19,593 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 08:44:19,609 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 08:44:19,625 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 08:44:19,637 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 08:44:19,655 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 08:44:19,668 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/24" } 2019-09-12 08:44:19,684 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 08:44:19,700 p=103613 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.3', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.3" } 2019-09-12 08:44:19,710 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:19,754 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:19,763 p=103613 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ***************** 2019-09-12 08:44:19,823 p=103613 u=sysadmin | ok: [localhost] => (item=192.168.204.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,840 p=103613 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,857 p=103613 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,875 p=103613 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,891 p=103613 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,907 p=103613 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:44:19,917 p=103613 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ***************** 2019-09-12 08:44:20,026 p=103613 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *********************** 2019-09-12 08:44:20,072 p=103613 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 08:44:20,084 p=103613 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] *** 2019-09-12 08:44:20,143 p=103613 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] *** 2019-09-12 08:44:20,211 p=103613 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] *** 2019-09-12 08:44:20,269 p=103613 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] *** 2019-09-12 08:44:20,366 p=103613 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] *************** 2019-09-12 08:44:20,403 p=103613 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] *** 2019-09-12 08:44:20,440 p=103613 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] *** 2019-09-12 08:44:20,480 p=103613 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *** 2019-09-12 08:44:20,520 p=103613 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] *** 2019-09-12 08:44:20,595 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:20,605 p=103613 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] *** 2019-09-12 08:44:20,702 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:20,711 p=103613 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:44:20,833 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.4', u'end': u'10.10.10.5', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:44:20,860 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 08:44:20,875 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}}) 2019-09-12 08:44:20,889 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 08:44:20,904 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 08:44:20,918 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:44:20,932 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 08:44:20,948 p=103613 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 08:44:21,017 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,065 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:21,078 p=103613 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ******** 2019-09-12 08:44:21,118 p=103613 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ***************** 2019-09-12 08:44:21,158 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:21,198 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,248 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:21,260 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ***** 2019-09-12 08:44:21,313 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ************** 2019-09-12 08:44:21,351 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:21,390 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,446 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:21,461 p=103613 u=sysadmin | TASK [validate-config : Validate management start and end address format] ****** 2019-09-12 08:44:21,502 p=103613 u=sysadmin | TASK [validate-config : Validate management start and end range] *************** 2019-09-12 08:44:21,540 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:21,582 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,634 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:21,646 p=103613 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] ******* 2019-09-12 08:44:21,685 p=103613 u=sysadmin | TASK [validate-config : Validate multicast start and end range] **************** 2019-09-12 08:44:21,723 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:21,760 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,811 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:21,825 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] *** 2019-09-12 08:44:21,864 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ********** 2019-09-12 08:44:21,903 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:21,941 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:21,992 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,003 p=103613 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ************* 2019-09-12 08:44:22,043 p=103613 u=sysadmin | TASK [validate-config : Validate oam start and end range] ********************** 2019-09-12 08:44:22,081 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:22,124 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:22,169 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,181 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] **** 2019-09-12 08:44:22,219 p=103613 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ************* 2019-09-12 08:44:22,258 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:22,300 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:22,348 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,361 p=103613 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ********* 2019-09-12 08:44:22,400 p=103613 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ****************** 2019-09-12 08:44:22,439 p=103613 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] *** 2019-09-12 08:44:22,476 p=103613 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] *** 2019-09-12 08:44:22,526 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,536 p=103613 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ********** 2019-09-12 08:44:22,595 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,606 p=103613 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] *** 2019-09-12 08:44:22,655 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,665 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:22,727 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:22,738 p=103613 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] ******* 2019-09-12 08:44:22,776 p=103613 u=sysadmin | TASK [validate-config : Validate http proxy urls] ****************************** 2019-09-12 08:44:22,834 p=103613 u=sysadmin | TASK [validate-config : Validate no proxy addresses] *************************** 2019-09-12 08:44:22,865 p=103613 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ***** 2019-09-12 08:44:22,902 p=103613 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ********* 2019-09-12 08:44:22,941 p=103613 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *** 2019-09-12 08:44:22,981 p=103613 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ********************* 2019-09-12 08:44:23,022 p=103613 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ******************** 2019-09-12 08:44:23,064 p=103613 u=sysadmin | TASK [validate-config : include] *********************************************** 2019-09-12 08:44:23,146 p=103613 u=sysadmin | TASK [validate-config : set_fact] ********************************************** 2019-09-12 08:44:23,187 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:23,204 p=103613 u=sysadmin | TASK [validate-config : Check if images archive location exists] *************** 2019-09-12 08:44:23,267 p=103613 u=sysadmin | TASK [validate-config : Get list of archived files] **************************** 2019-09-12 08:44:23,320 p=103613 u=sysadmin | TASK [validate-config : Turn on images archive flag] *************************** 2019-09-12 08:44:23,358 p=103613 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ********************* 2019-09-12 08:44:23,397 p=103613 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ****************** 2019-09-12 08:44:23,432 p=103613 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] *** 2019-09-12 08:44:23,472 p=103613 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *********************** 2019-09-12 08:44:23,512 p=103613 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] ************************ 2019-09-12 08:44:23,551 p=103613 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] **************************** 2019-09-12 08:44:23,591 p=103613 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *********************** 2019-09-12 08:44:23,635 p=103613 u=sysadmin | TASK [validate-config : Create config workdir] ********************************* 2019-09-12 08:44:23,855 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:23,865 p=103613 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] *** 2019-09-12 08:44:24,315 p=103613 u=sysadmin | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 08:44:24,502 p=103613 u=sysadmin | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 08:44:24,699 p=103613 u=sysadmin | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 08:44:24,903 p=103613 u=sysadmin | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 08:44:25,089 p=103613 u=sysadmin | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 08:44:25,281 p=103613 u=sysadmin | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 08:44:25,466 p=103613 u=sysadmin | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 08:44:25,652 p=103613 u=sysadmin | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 08:44:25,854 p=103613 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.4.4) 2019-09-12 08:44:26,049 p=103613 u=sysadmin | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 08:44:26,278 p=103613 u=sysadmin | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 08:44:26,448 p=103613 u=sysadmin | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 08:44:26,644 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24) 2019-09-12 08:44:26,836 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 08:44:27,027 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254) 2019-09-12 08:44:27,219 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:44:27,417 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 08:44:27,606 p=103613 u=sysadmin | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 08:44:27,789 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 08:44:27,976 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 08:44:28,179 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 08:44:28,372 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:44:28,575 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 08:44:28,768 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 08:44:28,975 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 08:44:29,178 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 08:44:29,364 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 08:44:29,548 p=103613 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 08:44:29,731 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 08:44:29,924 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 08:44:30,136 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 08:44:30,331 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 08:44:30,531 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.3) 2019-09-12 08:44:30,724 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.4) 2019-09-12 08:44:30,923 p=103613 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.5) 2019-09-12 08:44:31,115 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 08:44:31,318 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 08:44:31,511 p=103613 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 08:44:31,713 p=103613 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 08:44:31,913 p=103613 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 08:44:32,123 p=103613 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 08:44:32,323 p=103613 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 08:44:32,539 p=103613 u=sysadmin | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 08:44:32,748 p=103613 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 08:44:32,936 p=103613 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 08:44:33,130 p=103613 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 08:44:33,327 p=103613 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 08:44:33,505 p=103613 u=sysadmin | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 08:44:33,691 p=103613 u=sysadmin | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 08:44:33,876 p=103613 u=sysadmin | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 08:44:34,062 p=103613 u=sysadmin | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 08:44:34,250 p=103613 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 08:44:34,442 p=103613 u=sysadmin | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 08:44:34,460 p=103613 u=sysadmin | TASK [validate-config : Write simplex flag] ************************************ 2019-09-12 08:44:34,675 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:34,686 p=103613 u=sysadmin | TASK [store-passwd : debug] **************************************************** 2019-09-12 08:44:34,720 p=103613 u=sysadmin | TASK [store-passwd : set_fact] ************************************************* 2019-09-12 08:44:34,756 p=103613 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *** 2019-09-12 08:44:34,790 p=103613 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ******************** 2019-09-12 08:44:34,826 p=103613 u=sysadmin | TASK [store-passwd : Look for password rules file] ***************************** 2019-09-12 08:44:34,863 p=103613 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] ******************* 2019-09-12 08:44:34,897 p=103613 u=sysadmin | TASK [store-passwd : Get password rules] *************************************** 2019-09-12 08:44:34,936 p=103613 u=sysadmin | TASK [store-passwd : Get password rules description] *************************** 2019-09-12 08:44:34,974 p=103613 u=sysadmin | TASK [store-passwd : Set password regex facts] ********************************* 2019-09-12 08:44:35,011 p=103613 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] ******************* 2019-09-12 08:44:35,044 p=103613 u=sysadmin | TASK [store-passwd : Set password regex description fact] ********************** 2019-09-12 08:44:35,079 p=103613 u=sysadmin | TASK [store-passwd : Validate admin password] ********************************** 2019-09-12 08:44:35,112 p=103613 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] *** 2019-09-12 08:44:35,152 p=103613 u=sysadmin | TASK [store-passwd : Store admin password] ************************************* 2019-09-12 08:44:35,187 p=103613 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ************************** 2019-09-12 08:44:35,222 p=103613 u=sysadmin | TASK [store-passwd : Create temp keyring directory] **************************** 2019-09-12 08:44:35,258 p=103613 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] *** 2019-09-12 08:44:35,292 p=103613 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ******************** 2019-09-12 08:44:35,333 p=103613 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] **************************** 2019-09-12 08:44:35,367 p=103613 u=sysadmin | TASK [store-passwd : Store service passwords] ********************************** 2019-09-12 08:44:35,397 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] ************************ 2019-09-12 08:44:35,431 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] **************** 2019-09-12 08:44:35,466 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] *** 2019-09-12 08:44:35,503 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ****************** 2019-09-12 08:44:35,539 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] *** 2019-09-12 08:44:35,576 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ******************** 2019-09-12 08:44:35,612 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] *** 2019-09-12 08:44:35,649 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] ******************* 2019-09-12 08:44:35,684 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ************************** 2019-09-12 08:44:35,719 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] **************** 2019-09-12 08:44:35,754 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *********** 2019-09-12 08:44:35,789 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] *** 2019-09-12 08:44:35,826 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] *************** 2019-09-12 08:44:35,861 p=103613 u=sysadmin | TASK [apply-bootstrap-manifest : Persist puppet working files] ***************** 2019-09-12 08:44:35,896 p=103613 u=sysadmin | TASK [persist-config : Check if keyring data has been persisted] *************** 2019-09-12 08:44:35,931 p=103613 u=sysadmin | TASK [persist-config : Delete the previous python_keyring directory if exists] *** 2019-09-12 08:44:35,968 p=103613 u=sysadmin | TASK [persist-config : Persist keyring data] *********************************** 2019-09-12 08:44:36,005 p=103613 u=sysadmin | TASK [persist-config : Ensure replicated config parent directory exists] ******* 2019-09-12 08:44:36,219 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:36,229 p=103613 u=sysadmin | TASK [persist-config : Get list of new config files] *************************** 2019-09-12 08:44:36,445 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:36,454 p=103613 u=sysadmin | TASK [persist-config : Remove existing config files from permanent location] *** 2019-09-12 08:44:36,701 p=103613 u=sysadmin | changed: [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': 1568277874.41, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568277874.41, u'inode': 185113, u'isgid': False, u'size': 1667, u'isdir': False, u'ctime': 1568277874.41, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 34, 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}) 2019-09-12 08:44:36,711 p=103613 u=sysadmin | TASK [persist-config : Move new config files to permanent location] ************ 2019-09-12 08:44:36,937 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:36,947 p=103613 u=sysadmin | TASK [persist-config : Delete working config directory] ************************ 2019-09-12 08:44:37,169 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:37,179 p=103613 u=sysadmin | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ****** 2019-09-12 08:44:37,229 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:37,239 p=103613 u=sysadmin | TASK [persist-config : debug] ************************************************** 2019-09-12 08:44:37,289 p=103613 u=sysadmin | ok: [localhost] => { "msg": "postgres_config_dir: /opt/platform/config/19.09/postgresql pxe_config_dir: /opt/platform/config/19.09/pxelinux.cfg branding_config_dir: /opt/platform/config/19.09/branding" } 2019-09-12 08:44:37,299 p=103613 u=sysadmin | TASK [persist-config : Ensure Postres, PXE config directories exist] *********** 2019-09-12 08:44:37,547 p=103613 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 08:44:37,747 p=103613 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 08:44:37,757 p=103613 u=sysadmin | TASK [persist-config : Get list of Postgres conf files] ************************ 2019-09-12 08:44:37,981 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:37,992 p=103613 u=sysadmin | TASK [persist-config : Copy postgres conf files for mate] ********************** 2019-09-12 08:44:38,522 p=103613 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.566, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_ident.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266938, u'isgid': False, u'size': 47, u'isdir': False, u'ctime': 1568277027.617, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:44:38,742 p=103613 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.636, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_hba.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266949, u'isgid': False, u'size': 929, u'isdir': False, u'ctime': 1568277027.694, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:44:38,926 p=103613 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.625, u'gr_name': u'postgres', u'path': u'/etc/postgresql/postgresql.conf', u'xusr': False, u'atime': 1568277028.031, u'inode': 266901, u'isgid': False, u'size': 20195, u'isdir': False, u'ctime': 1568277027.625, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:44:38,936 p=103613 u=sysadmin | TASK [persist-config : Create a symlink to PXE config files] ******************* 2019-09-12 08:44:39,156 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:39,166 p=103613 u=sysadmin | TASK [persist-config : Check if copying of branding files for mate is required] *** 2019-09-12 08:44:39,393 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:39,403 p=103613 u=sysadmin | TASK [persist-config : Ensure branding config directory exists] **************** 2019-09-12 08:44:39,633 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:39,643 p=103613 u=sysadmin | TASK [persist-config : Check if branding tar files exist (there should be only one)] *** 2019-09-12 08:44:39,873 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:39,884 p=103613 u=sysadmin | TASK [persist-config : Copy branding tar files] ******************************** 2019-09-12 08:44:39,919 p=103613 u=sysadmin | TASK [persist-config : Get grub default kernel] ******************************** 2019-09-12 08:44:43,195 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:43,205 p=103613 u=sysadmin | TASK [persist-config : Add default security feature to kernel parameters] ****** 2019-09-12 08:44:43,482 p=103613 u=sysadmin | changed: [localhost] => (item=grubby --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:44:43,718 p=103613 u=sysadmin | changed: [localhost] => (item=grubby --efi --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:44:43,728 p=103613 u=sysadmin | TASK [persist-config : Resize filesystems (default)] *************************** 2019-09-12 08:44:43,974 p=103613 u=sysadmin | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:44:44,185 p=103613 u=sysadmin | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 08:44:44,402 p=103613 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 08:44:44,611 p=103613 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:44:44,819 p=103613 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:44:45,018 p=103613 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 08:44:45,029 p=103613 u=sysadmin | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *** 2019-09-12 08:44:45,239 p=103613 u=sysadmin | TASK [persist-config : Further resize if root disk size is larger than 240G] *** 2019-09-12 08:44:45,495 p=103613 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:44:45,731 p=103613 u=sysadmin | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 08:44:45,962 p=103613 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:44:46,185 p=103613 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:44:46,196 p=103613 u=sysadmin | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] *** 2019-09-12 08:44:46,367 p=103613 u=sysadmin | TASK [persist-config : Check if custom banner exists] ************************** 2019-09-12 08:44:46,579 p=103613 u=sysadmin | ok: [localhost] 2019-09-12 08:44:46,589 p=103613 u=sysadmin | TASK [persist-config : Apply custom banner] ************************************ 2019-09-12 08:44:46,629 p=103613 u=sysadmin | TASK [persist-config : Fail if banner customization failed] ******************** 2019-09-12 08:44:46,679 p=103613 u=sysadmin | TASK [persist-config : Shutdown Maintenance services] ************************** 2019-09-12 08:44:47,018 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:47,028 p=103613 u=sysadmin | TASK [persist-config : Shutdown FM services] *********************************** 2019-09-12 08:44:47,283 p=103613 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 08:44:47,494 p=103613 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 08:44:47,505 p=103613 u=sysadmin | TASK [persist-config : Shut down and remove Kubernetes components] ************* 2019-09-12 08:44:47,835 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:47,846 p=103613 u=sysadmin | TASK [persist-config : Clear etcd data cache] ********************************** 2019-09-12 08:44:48,067 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:48,078 p=103613 u=sysadmin | TASK [persist-config : Restart etcd] ******************************************* 2019-09-12 08:44:49,540 p=103613 u=sysadmin | changed: [localhost] 2019-09-12 08:44:49,550 p=103613 u=sysadmin | TASK [persist-config : Set facts derived from previous network configurations] *** 2019-09-12 08:44:49,586 p=103613 u=sysadmin | TASK [persist-config : Set facts derived from previous floating addresses] ***** 2019-09-12 08:44:49,622 p=103613 u=sysadmin | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] *** 2019-09-12 08:44:49,658 p=103613 u=sysadmin | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] *** 2019-09-12 08:44:49,697 p=103613 u=sysadmin | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] *** 2019-09-12 08:44:49,736 p=103613 u=sysadmin | TASK [persist-config : Find old registry secrets in Barbican] ****************** 2019-09-12 08:44:52,428 p=103613 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep k8s-registry-secret | awk '{print $2}') 2019-09-12 08:44:55,001 p=103613 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep gcr-registry-secret | awk '{print $2}') 2019-09-12 08:44:57,565 p=103613 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep quay-registry-secret | awk '{print $2}') 2019-09-12 08:45:00,200 p=103613 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep docker-registry-secret | awk '{print $2}') 2019-09-12 08:45:00,210 p=103613 u=sysadmin | TASK [persist-config : Delete old registry secrets in Barbican] **************** 2019-09-12 08:45:02,819 p=103613 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.381682", "end": "2019-09-12 08:45:02.782490", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:45:00.400808", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:45:05,413 p=103613 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.420940", "end": "2019-09-12 08:45:05.382866", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:45:02.961926", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:45:07,983 p=103613 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.389353", "end": "2019-09-12 08:45:07.954750", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:45:05.565397", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:45:10,635 p=103613 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.467453", "end": "2019-09-12 08:45:10.601535", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:45:08.134082", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:45:10,638 p=103613 u=sysadmin | PLAY RECAP ********************************************************************* 2019-09-12 08:45:10,639 p=103613 u=sysadmin | localhost : ok=94 changed=25 unreachable=0 failed=1 2019-09-12 08:56:18,236 passlib.registry registered 'md5_crypt' handler: 2019-09-12 08:56:18,246 p=107866 u=sysadmin | PLAY [all] ********************************************************************* 2019-09-12 08:56:18,428 p=107866 u=sysadmin | TASK [stat] ******************************************************************** 2019-09-12 08:56:18,788 p=107866 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 08:56:18,922 p=107866 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 08:56:19,082 p=107866 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 08:56:19,249 p=107866 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 08:56:19,259 p=107866 u=sysadmin | TASK [include_vars] ************************************************************ 2019-09-12 08:56:19,343 p=107866 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568277839.844, u'block_size': 4096, u'inode': 792428, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025044', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568277843.624, u'mimetype': u'text/x-c', u'ctime': 1568277839.914, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 08:56:19,353 p=107866 u=sysadmin | TASK [prepare-env : Set SSH port] ********************************************** 2019-09-12 08:56:19,391 p=107866 u=sysadmin | TASK [prepare-env : Update SSH known hosts] ************************************ 2019-09-12 08:56:19,430 p=107866 u=sysadmin | TASK [prepare-env : Check connectivity] **************************************** 2019-09-12 08:56:19,462 p=107866 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] ******************************* 2019-09-12 08:56:19,503 p=107866 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] *** 2019-09-12 08:56:19,538 p=107866 u=sysadmin | TASK [prepare-env : debug] ***************************************************** 2019-09-12 08:56:19,589 p=107866 u=sysadmin | TASK [prepare-env : Change initial password] *********************************** 2019-09-12 08:56:19,624 p=107866 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] ******************* 2019-09-12 08:56:20,014 p=107866 u=sysadmin | changed: [localhost] 2019-09-12 08:56:20,023 p=107866 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] *************** 2019-09-12 08:56:20,058 p=107866 u=sysadmin | TASK [prepare-env : Check initial config flag] ********************************* 2019-09-12 08:56:20,230 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:20,239 p=107866 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] *** 2019-09-12 08:56:20,271 p=107866 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] ******************************* 2019-09-12 08:56:20,302 p=107866 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ********** 2019-09-12 08:56:20,345 p=107866 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] *** 2019-09-12 08:56:20,380 p=107866 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ******************** 2019-09-12 08:56:20,415 p=107866 u=sysadmin | TASK [prepare-env : include_tasks] ********************************************* 2019-09-12 08:56:20,451 p=107866 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *** 2019-09-12 08:56:20,684 p=107866 u=sysadmin | TASK [prepare-env : Retrieve software version number] ************************** 2019-09-12 08:56:20,865 p=107866 u=sysadmin | changed: [localhost] 2019-09-12 08:56:20,873 p=107866 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] ******************* 2019-09-12 08:56:20,910 p=107866 u=sysadmin | TASK [prepare-env : Retrieve system type] ************************************** 2019-09-12 08:56:21,087 p=107866 u=sysadmin | changed: [localhost] 2019-09-12 08:56:21,096 p=107866 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] ************************ 2019-09-12 08:56:21,131 p=107866 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] ******* 2019-09-12 08:56:21,172 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,181 p=107866 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *** 2019-09-12 08:56:21,215 p=107866 u=sysadmin | TASK [prepare-env : Set config path facts] ************************************* 2019-09-12 08:56:21,257 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,266 p=107866 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] *** 2019-09-12 08:56:21,324 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,332 p=107866 u=sysadmin | TASK [prepare-env : set_fact] ************************************************** 2019-09-12 08:56:21,367 p=107866 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ************************* 2019-09-12 08:56:21,405 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,413 p=107866 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] ************ 2019-09-12 08:56:21,455 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,464 p=107866 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] *** 2019-09-12 08:56:21,507 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,516 p=107866 u=sysadmin | TASK [prepare-env : Set initial facts] ***************************************** 2019-09-12 08:56:21,569 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,578 p=107866 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ***************************** 2019-09-12 08:56:21,617 p=107866 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] *** 2019-09-12 08:56:21,658 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,667 p=107866 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ********************* 2019-09-12 08:56:21,710 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,719 p=107866 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ****** 2019-09-12 08:56:21,763 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,773 p=107866 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *** 2019-09-12 08:56:21,814 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,824 p=107866 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ********************************* 2019-09-12 08:56:21,863 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:21,873 p=107866 u=sysadmin | TASK [prepare-env : Check Docker status] *************************************** 2019-09-12 08:56:22,067 p=107866 u=sysadmin | changed: [localhost] 2019-09-12 08:56:22,077 p=107866 u=sysadmin | TASK [prepare-env : Look for openrc file] ************************************** 2019-09-12 08:56:22,269 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,278 p=107866 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ************************************* 2019-09-12 08:56:22,321 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,331 p=107866 u=sysadmin | TASK [prepare-env : Turn off save_password flag] ******************************* 2019-09-12 08:56:22,371 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,381 p=107866 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ************* 2019-09-12 08:56:22,559 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,568 p=107866 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *** 2019-09-12 08:56:22,610 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,622 p=107866 u=sysadmin | TASK [prepare-env : Check the initial database population status] ************** 2019-09-12 08:56:22,828 p=107866 u=sysadmin | ok: [localhost] 2019-09-12 08:56:22,837 p=107866 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] *** 2019-09-12 08:56:22,879 p=107866 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *** 2019-09-12 08:56:22,916 p=107866 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ************************* 2019-09-12 08:56:22,954 p=107866 u=sysadmin | TASK [prepare-env : Find previous config file for this host] ******************* 2019-09-12 08:56:22,988 p=107866 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ********************** 2019-09-12 08:56:23,025 p=107866 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ******************** 2019-09-12 08:56:23,065 p=107866 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] ******************* 2019-09-12 08:56:23,101 p=107866 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ***************** 2019-09-12 08:56:23,140 p=107866 u=sysadmin | TASK [prepare-env : Read in last config values] ******************************** 2019-09-12 08:56:23,180 p=107866 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] ************ 2019-09-12 08:56:23,221 p=107866 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] *** 2019-09-12 08:56:23,257 p=107866 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *** 2019-09-12 08:56:23,293 p=107866 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] *** 2019-09-12 08:56:23,327 p=107866 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *** 2019-09-12 08:56:23,362 p=107866 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] *** 2019-09-12 08:56:23,398 p=107866 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] *** 2019-09-12 08:56:23,432 p=107866 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] *** 2019-09-12 08:56:23,468 p=107866 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] *************************** 2019-09-12 08:56:23,502 p=107866 u=sysadmin | TASK [prepare-env : Check volume groups] *************************************** 2019-09-12 08:56:30,173 p=107866 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Sorry, try again.\n[sudo via ansible, key=dhiasiixxkwqrzguvqtrsiksfudxxbxy] password: Sorry, try again.\n[sudo via ansible, key=dhiasiixxkwqrzguvqtrsiksfudxxbxy] password: sudo: 3 incorrect password attempts\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} 2019-09-12 08:56:30,175 p=107866 u=sysadmin | PLAY RECAP ********************************************************************* 2019-09-12 08:56:30,176 p=107866 u=sysadmin | localhost : ok=25 changed=4 unreachable=0 failed=1 2019-09-12 08:58:49,422 passlib.registry registered 'md5_crypt' handler: 2019-09-12 08:58:49,432 p=108355 u=sysadmin | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 08:58:49,620 p=108355 u=sysadmin | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 08:58:49,985 p=108355 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 08:58:50,133 p=108355 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 08:58:50,281 p=108355 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 08:58:50,445 p=108355 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 08:58:50,454 p=108355 u=sysadmin | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 08:58:50,540 p=108355 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568278719.582, u'block_size': 4096, u'inode': 792429, u'isgid': False, u'size': 241, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025065', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568278719.582, u'mimetype': u'text/x-c', u'ctime': 1568278719.616, u'isblk': False, u'checksum': u'5057c7e021e449459bd8717924652157e9a9f10d', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 08:58:50,549 p=108355 u=sysadmin | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 08:58:50,587 p=108355 u=sysadmin | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 08:58:50,626 p=108355 u=sysadmin | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 08:58:50,659 p=108355 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 08:58:50,696 p=108355 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 08:58:50,731 p=108355 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 08:58:50,770 p=108355 u=sysadmin | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 08:58:50,806 p=108355 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 08:58:51,206 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:51,215 p=108355 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 08:58:51,250 p=108355 u=sysadmin | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 08:58:51,415 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:51,424 p=108355 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 08:58:51,456 p=108355 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 08:58:51,488 p=108355 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 08:58:51,532 p=108355 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 08:58:51,570 p=108355 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 08:58:51,607 p=108355 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 08:58:51,643 p=108355 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 08:58:51,879 p=108355 u=sysadmin | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 08:58:52,067 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:52,075 p=108355 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 08:58:52,112 p=108355 u=sysadmin | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 08:58:52,300 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:52,312 p=108355 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 08:58:52,350 p=108355 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 08:58:52,391 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,401 p=108355 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 08:58:52,437 p=108355 u=sysadmin | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 08:58:52,482 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,491 p=108355 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 08:58:52,549 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,558 p=108355 u=sysadmin | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 08:58:52,597 p=108355 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 08:58:52,648 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,658 p=108355 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 08:58:52,703 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,711 p=108355 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 08:58:52,752 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,761 p=108355 u=sysadmin | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 08:58:52,818 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,826 p=108355 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 08:58:52,865 p=108355 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 08:58:52,902 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,911 p=108355 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 08:58:52,950 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:52,959 p=108355 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 08:58:53,003 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,011 p=108355 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 08:58:53,055 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,064 p=108355 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 08:58:53,103 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,112 p=108355 u=sysadmin | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 08:58:53,299 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:53,307 p=108355 u=sysadmin | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 08:58:53,502 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,512 p=108355 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 08:58:53,556 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,565 p=108355 u=sysadmin | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 08:58:53,611 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,620 p=108355 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 08:58:53,800 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,809 p=108355 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 08:58:53,851 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:53,860 p=108355 u=sysadmin | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 08:58:54,044 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:54,054 p=108355 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 08:58:54,095 p=108355 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 08:58:54,132 p=108355 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 08:58:54,169 p=108355 u=sysadmin | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 08:58:54,204 p=108355 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 08:58:54,239 p=108355 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 08:58:54,273 p=108355 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 08:58:54,313 p=108355 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 08:58:54,347 p=108355 u=sysadmin | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 08:58:54,382 p=108355 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 08:58:54,417 p=108355 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 08:58:54,451 p=108355 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 08:58:54,485 p=108355 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 08:58:54,518 p=108355 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 08:58:54,553 p=108355 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 08:58:54,589 p=108355 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 08:58:54,629 p=108355 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 08:58:54,667 p=108355 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 08:58:54,717 p=108355 u=sysadmin | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 08:58:55,009 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:55,019 p=108355 u=sysadmin | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 08:58:55,252 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:55,260 p=108355 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 08:58:55,297 p=108355 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 08:58:55,339 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:55,348 p=108355 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 08:58:55,384 p=108355 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 08:58:55,421 p=108355 u=sysadmin | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 08:58:55,855 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:55,863 p=108355 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 08:58:55,899 p=108355 u=sysadmin | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 08:58:56,087 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:56,096 p=108355 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 08:58:56,132 p=108355 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 08:58:56,599 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:58:56,608 p=108355 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 08:58:56,856 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:56,866 p=108355 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 08:58:56,910 p=108355 u=sysadmin | 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, skip_play flag: False, incomplete_bootstrap flag: True, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 08:58:56,919 p=108355 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 08:58:56,959 p=108355 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 08:58:57,004 p=108355 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 08:58:57,044 p=108355 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 08:58:57,084 p=108355 u=sysadmin | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 08:58:57,127 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:57,170 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:57,180 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:57,236 p=108355 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:58:57,248 p=108355 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:58:57,268 p=108355 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:58:57,280 p=108355 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 08:58:57,282 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:57,292 p=108355 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 08:58:57,346 p=108355 u=sysadmin | 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.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.3", "Management dynamic address allocation is True", "Cluster host dynamic address allocation is True", "Docker registries is {u'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 08:58:57,356 p=108355 u=sysadmin | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 08:58:57,394 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:57,404 p=108355 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 08:58:57,440 p=108355 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 08:58:57,477 p=108355 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 08:58:57,514 p=108355 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 08:58:57,551 p=108355 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 08:58:57,589 p=108355 u=sysadmin | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 08:58:57,834 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:57,844 p=108355 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 08:58:57,880 p=108355 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 08:58:57,924 p=108355 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 08:58:57,973 p=108355 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 08:58:57,984 p=108355 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 08:58:58,035 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 08:58:58,049 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 08:58:58,062 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 08:58:58,078 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 08:58:58,092 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 08:58:58,106 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 08:58:58,119 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/24" } 2019-09-12 08:58:58,133 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 08:58:58,148 p=108355 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.3', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.3" } 2019-09-12 08:58:58,157 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:58,197 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:58,207 p=108355 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 08:58:58,277 p=108355 u=sysadmin | ok: [localhost] => (item=192.168.204.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,290 p=108355 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,308 p=108355 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,327 p=108355 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,344 p=108355 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,360 p=108355 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 08:58:58,369 p=108355 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 08:58:58,471 p=108355 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 08:58:58,515 p=108355 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 08:58:58,524 p=108355 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 08:58:58,579 p=108355 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 08:58:58,647 p=108355 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 08:58:58,700 p=108355 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 08:58:58,796 p=108355 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 08:58:58,832 p=108355 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 08:58:58,869 p=108355 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 08:58:58,906 p=108355 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 08:58:58,944 p=108355 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 08:58:59,018 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:59,027 p=108355 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 08:58:59,125 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:59,133 p=108355 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 08:58:59,260 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.4', u'end': u'10.10.10.5', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:58:59,275 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 08:58:59,292 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}}) 2019-09-12 08:58:59,305 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 08:58:59,318 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 08:58:59,331 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 08:58:59,345 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 08:58:59,420 p=108355 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 08:58:59,437 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:59,484 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:59,496 p=108355 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 08:58:59,536 p=108355 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 08:58:59,574 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:58:59,614 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:59,664 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:59,677 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 08:58:59,720 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 08:58:59,758 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:58:59,795 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:58:59,844 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:58:59,856 p=108355 u=sysadmin | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 08:58:59,895 p=108355 u=sysadmin | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 08:58:59,931 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:58:59,971 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:00,023 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,034 p=108355 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 08:59:00,075 p=108355 u=sysadmin | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 08:59:00,115 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:59:00,152 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:00,201 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,213 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 08:59:00,253 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 08:59:00,292 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:59:00,331 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:00,379 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,392 p=108355 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 08:59:00,441 p=108355 u=sysadmin | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 08:59:00,478 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:59:00,533 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:00,582 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,594 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 08:59:00,632 p=108355 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 08:59:00,670 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:59:00,706 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:00,754 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,766 p=108355 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 08:59:00,805 p=108355 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 08:59:00,844 p=108355 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 08:59:00,881 p=108355 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 08:59:00,932 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:00,941 p=108355 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 08:59:01,005 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:01,015 p=108355 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 08:59:01,066 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:01,076 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:01,143 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:01,152 p=108355 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 08:59:01,186 p=108355 u=sysadmin | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 08:59:01,242 p=108355 u=sysadmin | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 08:59:01,273 p=108355 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 08:59:01,309 p=108355 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 08:59:01,347 p=108355 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 08:59:01,388 p=108355 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 08:59:01,429 p=108355 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 08:59:01,472 p=108355 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 08:59:01,554 p=108355 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 08:59:01,596 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:01,611 p=108355 u=sysadmin | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 08:59:01,659 p=108355 u=sysadmin | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 08:59:01,707 p=108355 u=sysadmin | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 08:59:01,747 p=108355 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 08:59:01,786 p=108355 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 08:59:01,817 p=108355 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 08:59:01,857 p=108355 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 08:59:01,896 p=108355 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 08:59:01,934 p=108355 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 08:59:01,971 p=108355 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 08:59:02,016 p=108355 u=sysadmin | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 08:59:02,254 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:02,263 p=108355 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 08:59:02,732 p=108355 u=sysadmin | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 08:59:02,931 p=108355 u=sysadmin | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 08:59:03,134 p=108355 u=sysadmin | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 08:59:03,349 p=108355 u=sysadmin | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 08:59:03,553 p=108355 u=sysadmin | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 08:59:03,771 p=108355 u=sysadmin | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 08:59:03,969 p=108355 u=sysadmin | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 08:59:04,174 p=108355 u=sysadmin | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 08:59:04,388 p=108355 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.4.4) 2019-09-12 08:59:04,596 p=108355 u=sysadmin | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 08:59:04,799 p=108355 u=sysadmin | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 08:59:04,990 p=108355 u=sysadmin | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 08:59:05,187 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24) 2019-09-12 08:59:05,415 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 08:59:05,620 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254) 2019-09-12 08:59:05,824 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:59:06,029 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 08:59:06,233 p=108355 u=sysadmin | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 08:59:06,440 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 08:59:06,637 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 08:59:06,853 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 08:59:07,053 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 08:59:07,259 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 08:59:07,454 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 08:59:07,660 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 08:59:07,867 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 08:59:08,067 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 08:59:08,302 p=108355 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 08:59:08,514 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 08:59:08,715 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 08:59:08,922 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 08:59:09,122 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 08:59:09,328 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.3) 2019-09-12 08:59:09,527 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.4) 2019-09-12 08:59:09,732 p=108355 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.5) 2019-09-12 08:59:09,947 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 08:59:10,160 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 08:59:10,364 p=108355 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 08:59:10,561 p=108355 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 08:59:10,770 p=108355 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 08:59:10,969 p=108355 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 08:59:11,175 p=108355 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 08:59:11,390 p=108355 u=sysadmin | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 08:59:11,592 p=108355 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 08:59:11,797 p=108355 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 08:59:11,995 p=108355 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 08:59:12,194 p=108355 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 08:59:12,394 p=108355 u=sysadmin | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 08:59:12,605 p=108355 u=sysadmin | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 08:59:12,802 p=108355 u=sysadmin | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 08:59:13,010 p=108355 u=sysadmin | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 08:59:13,213 p=108355 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 08:59:13,418 p=108355 u=sysadmin | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 08:59:13,439 p=108355 u=sysadmin | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 08:59:13,685 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:13,696 p=108355 u=sysadmin | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 08:59:13,730 p=108355 u=sysadmin | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 08:59:13,768 p=108355 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 08:59:13,801 p=108355 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 08:59:13,836 p=108355 u=sysadmin | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 08:59:13,871 p=108355 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 08:59:13,905 p=108355 u=sysadmin | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 08:59:13,939 p=108355 u=sysadmin | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 08:59:13,984 p=108355 u=sysadmin | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 08:59:14,020 p=108355 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 08:59:14,055 p=108355 u=sysadmin | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 08:59:14,090 p=108355 u=sysadmin | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 08:59:14,125 p=108355 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 08:59:14,168 p=108355 u=sysadmin | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 08:59:14,204 p=108355 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 08:59:14,241 p=108355 u=sysadmin | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 08:59:14,276 p=108355 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 08:59:14,311 p=108355 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 08:59:14,344 p=108355 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 08:59:14,380 p=108355 u=sysadmin | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 08:59:14,411 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 08:59:14,445 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 08:59:14,481 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 08:59:14,517 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 08:59:14,552 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 08:59:14,587 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 08:59:14,622 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 08:59:14,656 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 08:59:14,689 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 08:59:14,722 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 08:59:14,755 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 08:59:14,789 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 08:59:14,826 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 08:59:14,863 p=108355 u=sysadmin | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 08:59:14,900 p=108355 u=sysadmin | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 08:59:14,936 p=108355 u=sysadmin | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 08:59:14,974 p=108355 u=sysadmin | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 08:59:15,012 p=108355 u=sysadmin | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 08:59:15,248 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:15,258 p=108355 u=sysadmin | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 08:59:15,491 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:15,504 p=108355 u=sysadmin | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 08:59:15,759 p=108355 u=sysadmin | changed: [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': 1568278753.387, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568278753.387, u'inode': 199634, u'isgid': False, u'size': 1667, u'isdir': False, u'ctime': 1568278753.387, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 34, 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}) 2019-09-12 08:59:15,770 p=108355 u=sysadmin | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 08:59:16,011 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:16,021 p=108355 u=sysadmin | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 08:59:16,259 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:16,269 p=108355 u=sysadmin | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 08:59:16,317 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:16,328 p=108355 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 08:59:16,376 p=108355 u=sysadmin | ok: [localhost] => { "msg": "postgres_config_dir: /opt/platform/config/19.09/postgresql pxe_config_dir: /opt/platform/config/19.09/pxelinux.cfg branding_config_dir: /opt/platform/config/19.09/branding" } 2019-09-12 08:59:16,386 p=108355 u=sysadmin | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 08:59:16,650 p=108355 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 08:59:16,867 p=108355 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 08:59:16,879 p=108355 u=sysadmin | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 08:59:17,112 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:17,122 p=108355 u=sysadmin | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 08:59:17,670 p=108355 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.566, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_ident.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266938, u'isgid': False, u'size': 47, u'isdir': False, u'ctime': 1568277027.617, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:59:17,887 p=108355 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.636, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_hba.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266949, u'isgid': False, u'size': 929, u'isdir': False, u'ctime': 1568277027.694, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:59:18,107 p=108355 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.625, u'gr_name': u'postgres', u'path': u'/etc/postgresql/postgresql.conf', u'xusr': False, u'atime': 1568277028.031, u'inode': 266901, u'isgid': False, u'size': 20195, u'isdir': False, u'ctime': 1568277027.625, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 08:59:18,117 p=108355 u=sysadmin | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 08:59:18,340 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:18,351 p=108355 u=sysadmin | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 08:59:18,601 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:18,613 p=108355 u=sysadmin | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 08:59:18,861 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:18,875 p=108355 u=sysadmin | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 08:59:19,120 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:19,131 p=108355 u=sysadmin | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 08:59:19,162 p=108355 u=sysadmin | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 08:59:22,382 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:22,392 p=108355 u=sysadmin | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 08:59:22,703 p=108355 u=sysadmin | changed: [localhost] => (item=grubby --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:59:22,998 p=108355 u=sysadmin | changed: [localhost] => (item=grubby --efi --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 08:59:23,010 p=108355 u=sysadmin | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 08:59:23,290 p=108355 u=sysadmin | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:59:23,513 p=108355 u=sysadmin | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 08:59:23,738 p=108355 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 08:59:23,972 p=108355 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:59:24,185 p=108355 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:59:24,398 p=108355 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 08:59:24,410 p=108355 u=sysadmin | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 08:59:24,615 p=108355 u=sysadmin | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 08:59:24,899 p=108355 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 08:59:25,167 p=108355 u=sysadmin | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 08:59:25,407 p=108355 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 08:59:25,620 p=108355 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 08:59:25,632 p=108355 u=sysadmin | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 08:59:25,833 p=108355 u=sysadmin | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 08:59:26,054 p=108355 u=sysadmin | ok: [localhost] 2019-09-12 08:59:26,064 p=108355 u=sysadmin | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 08:59:26,103 p=108355 u=sysadmin | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 08:59:26,142 p=108355 u=sysadmin | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 08:59:26,506 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:26,515 p=108355 u=sysadmin | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 08:59:26,798 p=108355 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 08:59:27,024 p=108355 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 08:59:27,035 p=108355 u=sysadmin | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 08:59:27,384 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:27,393 p=108355 u=sysadmin | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 08:59:27,681 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:27,691 p=108355 u=sysadmin | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 08:59:28,700 p=108355 u=sysadmin | changed: [localhost] 2019-09-12 08:59:28,708 p=108355 u=sysadmin | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 08:59:28,744 p=108355 u=sysadmin | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 08:59:28,778 p=108355 u=sysadmin | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 08:59:28,814 p=108355 u=sysadmin | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 08:59:28,851 p=108355 u=sysadmin | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 08:59:28,888 p=108355 u=sysadmin | TASK [persist-config : Find old registry secrets in Barbican] ********************************************************************************************************************************** 2019-09-12 08:59:31,611 p=108355 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep k8s-registry-secret | awk '{print $2}') 2019-09-12 08:59:34,306 p=108355 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep gcr-registry-secret | awk '{print $2}') 2019-09-12 08:59:36,944 p=108355 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep quay-registry-secret | awk '{print $2}') 2019-09-12 08:59:39,621 p=108355 u=sysadmin | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep docker-registry-secret | awk '{print $2}') 2019-09-12 08:59:39,632 p=108355 u=sysadmin | TASK [persist-config : Delete old registry secrets in Barbican] ******************************************************************************************************************************** 2019-09-12 08:59:42,307 p=108355 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.435286", "end": "2019-09-12 08:59:42.274325", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:59:39.839039", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:59:44,951 p=108355 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.451247", "end": "2019-09-12 08:59:44.925808", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:59:42.474561", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:59:47,571 p=108355 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.417703", "end": "2019-09-12 08:59:47.545536", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:59:45.127833", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:59:50,231 p=108355 u=sysadmin | failed: [localhost] (item=Openstack Admin credentials can only be loaded from the active controller.) => {"changed": true, "cmd": "source /etc/platform/openrc; openstack secret delete Openstack Admin credentials can only be loaded from the active controller.", "delta": "0:00:02.462641", "end": "2019-09-12 08:59:50.203766", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 08:59:47.741125", "stderr": "No password entered, or found via --os-password or OS_PASSWORD", "stderr_lines": ["No password entered, or found via --os-password or OS_PASSWORD"], "stdout": "Openstack Admin credentials can only be loaded from the active controller.", "stdout_lines": ["Openstack Admin credentials can only be loaded from the active controller."]} 2019-09-12 08:59:50,236 p=108355 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 08:59:50,236 p=108355 u=sysadmin | localhost : ok=94 changed=25 unreachable=0 failed=1 2019-09-12 09:01:08,638 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:01:08,648 p=111825 u=sysadmin | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:01:08,832 p=111825 u=sysadmin | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:01:09,198 p=111825 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 09:01:09,333 p=111825 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 09:01:09,475 p=111825 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 09:01:09,655 p=111825 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 09:01:09,666 p=111825 u=sysadmin | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:01:09,753 p=111825 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568278825.204, u'block_size': 4096, u'inode': 792427, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025080', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568278830.443, u'mimetype': u'text/x-c', u'ctime': 1568278825.31, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 09:01:09,766 p=111825 u=sysadmin | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:01:09,804 p=111825 u=sysadmin | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:01:09,841 p=111825 u=sysadmin | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:01:09,874 p=111825 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:01:09,909 p=111825 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:01:09,942 p=111825 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:01:09,982 p=111825 u=sysadmin | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:01:10,017 p=111825 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:01:10,413 p=111825 u=sysadmin | changed: [localhost] 2019-09-12 09:01:10,422 p=111825 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:01:10,455 p=111825 u=sysadmin | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:01:10,627 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:10,636 p=111825 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:01:10,667 p=111825 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:01:10,699 p=111825 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:01:10,741 p=111825 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:01:10,783 p=111825 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:01:10,821 p=111825 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:01:10,857 p=111825 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:01:11,090 p=111825 u=sysadmin | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:01:11,267 p=111825 u=sysadmin | changed: [localhost] 2019-09-12 09:01:11,276 p=111825 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:01:11,312 p=111825 u=sysadmin | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:01:11,498 p=111825 u=sysadmin | changed: [localhost] 2019-09-12 09:01:11,507 p=111825 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:01:11,543 p=111825 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:01:11,591 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,600 p=111825 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:01:11,636 p=111825 u=sysadmin | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:01:11,681 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,692 p=111825 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:01:11,748 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,757 p=111825 u=sysadmin | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:01:11,792 p=111825 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:01:11,830 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,840 p=111825 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:01:11,882 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,893 p=111825 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:01:11,932 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:11,941 p=111825 u=sysadmin | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:01:12,000 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,010 p=111825 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:01:12,046 p=111825 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:01:12,083 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,093 p=111825 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:01:12,134 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,144 p=111825 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:01:12,186 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,196 p=111825 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:01:12,237 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,248 p=111825 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:01:12,287 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,297 p=111825 u=sysadmin | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:01:12,480 p=111825 u=sysadmin | changed: [localhost] 2019-09-12 09:01:12,489 p=111825 u=sysadmin | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:01:12,693 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,702 p=111825 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:01:12,745 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,756 p=111825 u=sysadmin | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:01:12,801 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:12,811 p=111825 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:01:12,990 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:13,000 p=111825 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:01:13,043 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:13,052 p=111825 u=sysadmin | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:01:13,237 p=111825 u=sysadmin | ok: [localhost] 2019-09-12 09:01:13,262 p=111825 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:01:13,303 p=111825 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:01:13,339 p=111825 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:01:13,380 p=111825 u=sysadmin | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:01:13,418 p=111825 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:01:13,454 p=111825 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:01:13,489 p=111825 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:01:13,524 p=111825 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:01:13,560 p=111825 u=sysadmin | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:01:13,594 p=111825 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:01:13,628 p=111825 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:01:13,661 p=111825 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:01:13,696 p=111825 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:01:13,731 p=111825 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:01:13,767 p=111825 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:01:13,802 p=111825 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:01:13,838 p=111825 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:01:13,874 p=111825 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:01:13,908 p=111825 u=sysadmin | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:01:20,412 p=111825 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Sorry, try again.\n[sudo via ansible, key=nrjnllivwtlbfepsrngilinbijpuynnn] password: Sorry, try again.\n[sudo via ansible, key=nrjnllivwtlbfepsrngilinbijpuynnn] password: sudo: 3 incorrect password attempts\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} 2019-09-12 09:01:20,415 p=111825 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:01:20,415 p=111825 u=sysadmin | localhost : ok=25 changed=4 unreachable=0 failed=1 2019-09-12 09:47:05,288 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:47:05,299 p=123345 u=sysadmin | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:47:05,489 p=123345 u=sysadmin | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:47:05,867 p=123345 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 09:47:06,030 p=123345 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 09:47:06,177 p=123345 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 09:47:06,351 p=123345 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 09:47:06,361 p=123345 u=sysadmin | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:47:06,463 p=123345 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568281430.025, u'block_size': 4096, u'inode': 792428, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025148', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568281432.186, u'mimetype': u'text/x-c', u'ctime': 1568281430.116, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 09:47:06,473 p=123345 u=sysadmin | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:47:06,519 p=123345 u=sysadmin | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:47:06,562 p=123345 u=sysadmin | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:47:06,596 p=123345 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:47:06,633 p=123345 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:47:06,667 p=123345 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:47:06,706 p=123345 u=sysadmin | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:47:06,743 p=123345 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:47:07,155 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:07,170 p=123345 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:47:07,209 p=123345 u=sysadmin | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:47:07,377 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:07,387 p=123345 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:47:07,421 p=123345 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:47:07,454 p=123345 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:47:07,499 p=123345 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:47:07,536 p=123345 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:47:07,574 p=123345 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:47:07,612 p=123345 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:47:07,844 p=123345 u=sysadmin | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:47:08,041 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:08,051 p=123345 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:47:08,089 p=123345 u=sysadmin | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:47:08,281 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:08,291 p=123345 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:47:08,329 p=123345 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:47:08,377 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,387 p=123345 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:47:08,423 p=123345 u=sysadmin | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:47:08,469 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,478 p=123345 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:47:08,539 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,550 p=123345 u=sysadmin | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:47:08,587 p=123345 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:47:08,628 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,639 p=123345 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:47:08,683 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,692 p=123345 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:47:08,734 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,745 p=123345 u=sysadmin | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:47:08,803 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,814 p=123345 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:47:08,855 p=123345 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:47:08,895 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,905 p=123345 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:47:08,949 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:08,959 p=123345 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:47:09,003 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,013 p=123345 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:47:09,058 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,069 p=123345 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:47:09,113 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,123 p=123345 u=sysadmin | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:47:09,327 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:09,336 p=123345 u=sysadmin | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:47:09,547 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,556 p=123345 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:47:09,600 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,610 p=123345 u=sysadmin | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:47:09,654 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,663 p=123345 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:47:09,848 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,857 p=123345 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:47:09,903 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:09,914 p=123345 u=sysadmin | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:47:10,107 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:10,118 p=123345 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:47:10,161 p=123345 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:47:10,200 p=123345 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:47:10,239 p=123345 u=sysadmin | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:47:10,277 p=123345 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:47:10,314 p=123345 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:47:10,352 p=123345 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:47:10,389 p=123345 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:47:10,427 p=123345 u=sysadmin | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:47:10,462 p=123345 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:47:10,498 p=123345 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:47:10,534 p=123345 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:47:10,571 p=123345 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:47:10,608 p=123345 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:47:10,646 p=123345 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:47:10,684 p=123345 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:47:10,719 p=123345 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:47:10,756 p=123345 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:47:10,794 p=123345 u=sysadmin | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:47:11,049 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:11,060 p=123345 u=sysadmin | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:47:11,308 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:11,322 p=123345 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:47:11,367 p=123345 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:47:11,414 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:11,423 p=123345 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:47:11,461 p=123345 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:47:11,498 p=123345 u=sysadmin | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:47:11,955 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:11,964 p=123345 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:47:12,007 p=123345 u=sysadmin | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:47:12,188 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:12,199 p=123345 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:47:12,237 p=123345 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:47:12,724 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:12,734 p=123345 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:47:12,981 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:12,991 p=123345 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:47:13,038 p=123345 u=sysadmin | 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, skip_play flag: False, incomplete_bootstrap flag: True, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 09:47:13,048 p=123345 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:47:13,089 p=123345 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:47:13,132 p=123345 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:47:13,182 p=123345 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:47:13,228 p=123345 u=sysadmin | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:47:13,270 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:13,313 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:13,323 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:13,378 p=123345 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 09:47:13,394 p=123345 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 09:47:13,406 p=123345 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 09:47:13,421 p=123345 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 09:47:13,422 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:13,431 p=123345 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:47:13,494 p=123345 u=sysadmin | 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.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.3", "Management dynamic address allocation is True", "Cluster host dynamic address allocation is True", "Docker registries is {u'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 09:47:13,503 p=123345 u=sysadmin | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:47:13,543 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:13,554 p=123345 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:47:13,593 p=123345 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:47:13,632 p=123345 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:47:13,672 p=123345 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:47:13,711 p=123345 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:47:13,754 p=123345 u=sysadmin | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:47:14,026 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:14,036 p=123345 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:47:14,076 p=123345 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 09:47:14,118 p=123345 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:47:14,177 p=123345 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:47:14,187 p=123345 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:47:14,244 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 09:47:14,256 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 09:47:14,270 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 09:47:14,285 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 09:47:14,300 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 09:47:14,315 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 09:47:14,330 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/24" } 2019-09-12 09:47:14,346 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 09:47:14,361 p=123345 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.3', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.3" } 2019-09-12 09:47:14,374 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:14,436 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:14,445 p=123345 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:47:14,508 p=123345 u=sysadmin | ok: [localhost] => (item=192.168.204.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,523 p=123345 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,540 p=123345 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,557 p=123345 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,579 p=123345 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,602 p=123345 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:47:14,611 p=123345 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:47:14,714 p=123345 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:47:14,773 p=123345 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:47:14,783 p=123345 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:47:14,848 p=123345 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:47:14,926 p=123345 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:47:14,986 p=123345 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:47:15,094 p=123345 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:47:15,135 p=123345 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:47:15,174 p=123345 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:47:15,222 p=123345 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:47:15,262 p=123345 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:47:15,335 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:15,345 p=123345 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:47:15,440 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:15,448 p=123345 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:47:15,576 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.4', u'end': u'10.10.10.5', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 09:47:15,590 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 09:47:15,604 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}}) 2019-09-12 09:47:15,617 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 09:47:15,630 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 09:47:15,643 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 09:47:15,658 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 09:47:15,724 p=123345 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 09:47:15,741 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:15,789 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:15,802 p=123345 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:47:15,846 p=123345 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:47:15,883 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:15,925 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:15,976 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:15,988 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:47:16,030 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:47:16,069 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:16,110 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:16,160 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:16,173 p=123345 u=sysadmin | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:47:16,214 p=123345 u=sysadmin | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:47:16,257 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:16,296 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:16,349 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:16,362 p=123345 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:47:16,406 p=123345 u=sysadmin | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:47:16,456 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:16,496 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:16,546 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:16,559 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:47:16,600 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:47:16,639 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:16,679 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:16,726 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:16,738 p=123345 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:47:16,779 p=123345 u=sysadmin | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:47:16,826 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:16,865 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:16,915 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:16,927 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:47:16,968 p=123345 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:47:17,009 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:17,048 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:17,096 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:17,109 p=123345 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:47:17,151 p=123345 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:47:17,190 p=123345 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:47:17,228 p=123345 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:47:17,280 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:17,289 p=123345 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:47:17,353 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:17,364 p=123345 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:47:17,418 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:17,428 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:17,495 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:17,508 p=123345 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:47:17,550 p=123345 u=sysadmin | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:47:17,605 p=123345 u=sysadmin | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:47:17,645 p=123345 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:47:17,683 p=123345 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:47:17,724 p=123345 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:47:17,768 p=123345 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:47:17,809 p=123345 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:47:17,851 p=123345 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:47:17,947 p=123345 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:47:17,997 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:18,015 p=123345 u=sysadmin | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:47:18,061 p=123345 u=sysadmin | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:47:18,111 p=123345 u=sysadmin | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:47:18,155 p=123345 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:47:18,195 p=123345 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:47:18,227 p=123345 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:47:18,270 p=123345 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:47:18,307 p=123345 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:47:18,346 p=123345 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:47:18,387 p=123345 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:47:18,428 p=123345 u=sysadmin | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:47:18,690 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:18,699 p=123345 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:47:19,175 p=123345 u=sysadmin | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:47:19,395 p=123345 u=sysadmin | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:47:19,599 p=123345 u=sysadmin | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:47:19,809 p=123345 u=sysadmin | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:47:20,020 p=123345 u=sysadmin | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:47:20,243 p=123345 u=sysadmin | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:47:20,461 p=123345 u=sysadmin | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:47:20,672 p=123345 u=sysadmin | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:47:20,873 p=123345 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.4.4) 2019-09-12 09:47:21,085 p=123345 u=sysadmin | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:47:21,300 p=123345 u=sysadmin | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:47:21,524 p=123345 u=sysadmin | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:47:21,724 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24) 2019-09-12 09:47:21,929 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:47:22,150 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254) 2019-09-12 09:47:22,354 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:47:22,577 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:47:22,821 p=123345 u=sysadmin | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:47:23,057 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:47:23,279 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:47:23,493 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:47:23,708 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:47:23,918 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:47:24,130 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:47:24,334 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:47:24,539 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:47:24,749 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:47:24,961 p=123345 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:47:25,185 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:47:25,411 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:47:25,616 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:47:25,827 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:47:26,045 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.3) 2019-09-12 09:47:26,255 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.4) 2019-09-12 09:47:26,467 p=123345 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.5) 2019-09-12 09:47:26,681 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:47:26,894 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:47:27,120 p=123345 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:47:27,330 p=123345 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:47:27,551 p=123345 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:47:27,763 p=123345 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:47:27,963 p=123345 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:47:28,168 p=123345 u=sysadmin | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:47:28,381 p=123345 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:47:28,596 p=123345 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:47:28,836 p=123345 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:47:29,049 p=123345 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:47:29,264 p=123345 u=sysadmin | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:47:29,470 p=123345 u=sysadmin | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:47:29,682 p=123345 u=sysadmin | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:47:29,891 p=123345 u=sysadmin | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:47:30,111 p=123345 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:47:30,321 p=123345 u=sysadmin | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:47:30,350 p=123345 u=sysadmin | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:47:30,594 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:30,609 p=123345 u=sysadmin | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:47:30,647 p=123345 u=sysadmin | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:47:30,684 p=123345 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:47:30,719 p=123345 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:47:30,756 p=123345 u=sysadmin | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:47:30,794 p=123345 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:47:30,848 p=123345 u=sysadmin | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:47:30,883 p=123345 u=sysadmin | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:47:30,919 p=123345 u=sysadmin | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:47:30,956 p=123345 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:47:30,994 p=123345 u=sysadmin | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:47:31,031 p=123345 u=sysadmin | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:47:31,066 p=123345 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:47:31,101 p=123345 u=sysadmin | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:47:31,136 p=123345 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:47:31,171 p=123345 u=sysadmin | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:47:31,209 p=123345 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:47:31,250 p=123345 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:47:31,288 p=123345 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:47:31,325 p=123345 u=sysadmin | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:47:31,359 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:47:31,396 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:47:31,432 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:47:31,469 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:47:31,507 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:47:31,544 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:47:31,580 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:47:31,619 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:47:31,656 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:47:31,693 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:47:31,730 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:47:31,765 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:47:31,801 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:47:31,839 p=123345 u=sysadmin | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:47:31,879 p=123345 u=sysadmin | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:47:31,916 p=123345 u=sysadmin | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:47:31,953 p=123345 u=sysadmin | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:47:31,990 p=123345 u=sysadmin | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:47:32,228 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:32,239 p=123345 u=sysadmin | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:47:32,479 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:32,490 p=123345 u=sysadmin | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:47:32,753 p=123345 u=sysadmin | changed: [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': 1568281650.293, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568281650.293, u'inode': 249319, u'isgid': False, u'size': 1667, u'isdir': False, u'ctime': 1568281650.293, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 34, 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}) 2019-09-12 09:47:32,763 p=123345 u=sysadmin | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:47:33,001 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:33,011 p=123345 u=sysadmin | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:47:33,264 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:33,279 p=123345 u=sysadmin | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:47:33,329 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:33,340 p=123345 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:47:33,387 p=123345 u=sysadmin | ok: [localhost] => { "msg": "postgres_config_dir: /opt/platform/config/19.09/postgresql pxe_config_dir: /opt/platform/config/19.09/pxelinux.cfg branding_config_dir: /opt/platform/config/19.09/branding" } 2019-09-12 09:47:33,398 p=123345 u=sysadmin | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:47:33,652 p=123345 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:47:33,860 p=123345 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:47:33,871 p=123345 u=sysadmin | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:47:34,121 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:34,133 p=123345 u=sysadmin | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:47:34,731 p=123345 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.566, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_ident.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266938, u'isgid': False, u'size': 47, u'isdir': False, u'ctime': 1568277027.617, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 09:47:34,955 p=123345 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.636, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_hba.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266949, u'isgid': False, u'size': 929, u'isdir': False, u'ctime': 1568277027.694, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 09:47:35,176 p=123345 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.625, u'gr_name': u'postgres', u'path': u'/etc/postgresql/postgresql.conf', u'xusr': False, u'atime': 1568277028.031, u'inode': 266901, u'isgid': False, u'size': 20195, u'isdir': False, u'ctime': 1568277027.625, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 09:47:35,187 p=123345 u=sysadmin | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:47:35,444 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:35,455 p=123345 u=sysadmin | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:47:35,720 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:35,730 p=123345 u=sysadmin | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:47:35,980 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:35,990 p=123345 u=sysadmin | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:47:36,236 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:36,247 p=123345 u=sysadmin | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:47:36,280 p=123345 u=sysadmin | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:47:39,719 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:39,729 p=123345 u=sysadmin | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:47:40,154 p=123345 u=sysadmin | changed: [localhost] => (item=grubby --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 09:47:40,419 p=123345 u=sysadmin | changed: [localhost] => (item=grubby --efi --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 09:47:40,432 p=123345 u=sysadmin | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:47:40,711 p=123345 u=sysadmin | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:47:40,940 p=123345 u=sysadmin | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:47:41,175 p=123345 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:47:41,413 p=123345 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:47:41,652 p=123345 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:47:41,881 p=123345 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:47:41,893 p=123345 u=sysadmin | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:47:42,108 p=123345 u=sysadmin | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:47:42,407 p=123345 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:47:42,652 p=123345 u=sysadmin | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:47:42,912 p=123345 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:47:43,134 p=123345 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:47:43,147 p=123345 u=sysadmin | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:47:43,334 p=123345 u=sysadmin | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:47:43,576 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:43,586 p=123345 u=sysadmin | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:47:43,626 p=123345 u=sysadmin | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:47:43,667 p=123345 u=sysadmin | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:47:44,017 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:44,028 p=123345 u=sysadmin | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:47:44,317 p=123345 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:47:44,560 p=123345 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:47:44,577 p=123345 u=sysadmin | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:47:44,962 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:44,971 p=123345 u=sysadmin | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:47:45,215 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:45,226 p=123345 u=sysadmin | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:47:46,547 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:46,557 p=123345 u=sysadmin | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:47:46,595 p=123345 u=sysadmin | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:47:46,632 p=123345 u=sysadmin | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:47:46,669 p=123345 u=sysadmin | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:47:46,709 p=123345 u=sysadmin | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:47:46,749 p=123345 u=sysadmin | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:47:46,790 p=123345 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:47:46,829 p=123345 u=sysadmin | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:47:46,875 p=123345 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:47:46,915 p=123345 u=sysadmin | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 09:47:46,955 p=123345 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:47:46,993 p=123345 u=sysadmin | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 09:47:47,031 p=123345 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:47:47,070 p=123345 u=sysadmin | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 09:47:47,320 p=123345 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 09:47:47,519 p=123345 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 09:47:47,729 p=123345 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 09:47:47,929 p=123345 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 09:47:47,939 p=123345 u=sysadmin | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 09:47:47,986 p=123345 u=sysadmin | ok: [localhost] 2019-09-12 09:47:47,997 p=123345 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 09:47:48,036 p=123345 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 09:47:48,074 p=123345 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 09:47:48,111 p=123345 u=sysadmin | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 09:47:48,147 p=123345 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:47:48,191 p=123345 u=sysadmin | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 09:47:48,201 p=123345 u=sysadmin | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 09:47:48,242 p=123345 u=sysadmin | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 09:47:48,284 p=123345 u=sysadmin | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 09:47:48,535 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:47:48,546 p=123345 u=sysadmin | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 09:49:22,186 p=123345 u=sysadmin | changed: [localhost] 2019-09-12 09:49:22,202 p=123345 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:49:22,260 p=123345 u=sysadmin | ok: [localhost] => { "populate_result": { "changed": true, "failed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1568281668.59-111923590691958/populate_initial_config.py\", line 977, in \n with openstack.OpenStack() as client:\n File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__\n raise Exception('Failed to connect')\nException: Failed to connect\n", "stderr_lines": [ "No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1568281668.59-111923590691958/populate_initial_config.py\", line 977, in ", " with openstack.OpenStack() as client:", " File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__", " raise Exception('Failed to connect')", "Exception: Failed to connect" ], "stdout": "Failed to update the initial system config.\n", "stdout_lines": [ "Failed to update the initial system config." ] } } 2019-09-12 09:49:22,270 p=123345 u=sysadmin | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 09:49:22,319 p=123345 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 09:49:22,321 p=123345 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:49:22,322 p=123345 u=sysadmin | localhost : ok=99 changed=27 unreachable=0 failed=1 2019-09-12 10:07:00,571 passlib.registry registered 'md5_crypt' handler: 2019-09-12 10:07:00,583 p=129975 u=sysadmin | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 10:07:00,780 p=129975 u=sysadmin | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 10:07:01,174 p=129975 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 10:07:01,323 p=129975 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 10:07:01,467 p=129975 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 10:07:01,638 p=129975 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 10:07:01,651 p=129975 u=sysadmin | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 10:07:01,748 p=129975 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568281430.025, u'block_size': 4096, u'inode': 792428, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025148', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568281432.186, u'mimetype': u'text/x-c', u'ctime': 1568281430.116, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 10:07:01,760 p=129975 u=sysadmin | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 10:07:01,800 p=129975 u=sysadmin | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 10:07:01,842 p=129975 u=sysadmin | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 10:07:01,878 p=129975 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 10:07:01,917 p=129975 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 10:07:01,953 p=129975 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:07:01,995 p=129975 u=sysadmin | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 10:07:02,033 p=129975 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 10:07:02,459 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:02,469 p=129975 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 10:07:02,506 p=129975 u=sysadmin | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 10:07:02,683 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:02,692 p=129975 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 10:07:02,728 p=129975 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 10:07:02,763 p=129975 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 10:07:02,811 p=129975 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 10:07:02,863 p=129975 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 10:07:02,902 p=129975 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:07:02,939 p=129975 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 10:07:03,167 p=129975 u=sysadmin | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 10:07:03,362 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:03,372 p=129975 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 10:07:03,410 p=129975 u=sysadmin | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 10:07:03,608 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:03,618 p=129975 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 10:07:03,659 p=129975 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 10:07:03,705 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:03,714 p=129975 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 10:07:03,753 p=129975 u=sysadmin | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 10:07:03,803 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:03,812 p=129975 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 10:07:03,872 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:03,882 p=129975 u=sysadmin | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 10:07:03,919 p=129975 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 10:07:03,961 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:03,972 p=129975 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 10:07:04,018 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,028 p=129975 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 10:07:04,071 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,082 p=129975 u=sysadmin | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 10:07:04,138 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,148 p=129975 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 10:07:04,188 p=129975 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 10:07:04,231 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,240 p=129975 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 10:07:04,284 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,293 p=129975 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 10:07:04,341 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,351 p=129975 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 10:07:04,397 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,406 p=129975 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 10:07:04,448 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,459 p=129975 u=sysadmin | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 10:07:04,657 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:04,667 p=129975 u=sysadmin | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 10:07:04,874 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,884 p=129975 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 10:07:04,929 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,939 p=129975 u=sysadmin | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 10:07:04,986 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:04,997 p=129975 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 10:07:05,182 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:05,192 p=129975 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 10:07:05,242 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:05,254 p=129975 u=sysadmin | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 10:07:05,441 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:05,451 p=129975 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 10:07:05,494 p=129975 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 10:07:05,533 p=129975 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 10:07:05,576 p=129975 u=sysadmin | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 10:07:05,614 p=129975 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 10:07:05,651 p=129975 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 10:07:05,690 p=129975 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 10:07:05,728 p=129975 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 10:07:05,768 p=129975 u=sysadmin | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 10:07:05,806 p=129975 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 10:07:05,844 p=129975 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 10:07:05,881 p=129975 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 10:07:05,919 p=129975 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 10:07:05,956 p=129975 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 10:07:05,994 p=129975 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 10:07:06,035 p=129975 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 10:07:06,079 p=129975 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 10:07:06,116 p=129975 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 10:07:06,154 p=129975 u=sysadmin | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 10:07:06,420 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:06,432 p=129975 u=sysadmin | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 10:07:06,683 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:06,693 p=129975 u=sysadmin | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 10:07:06,731 p=129975 u=sysadmin | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 10:07:06,777 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:06,786 p=129975 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:07:06,826 p=129975 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:07:06,869 p=129975 u=sysadmin | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 10:07:07,308 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:07,318 p=129975 u=sysadmin | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 10:07:07,359 p=129975 u=sysadmin | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 10:07:07,557 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:07,566 p=129975 u=sysadmin | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 10:07:07,606 p=129975 u=sysadmin | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 10:07:08,111 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:08,124 p=129975 u=sysadmin | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 10:07:08,363 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:08,374 p=129975 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:07:08,417 p=129975 u=sysadmin | 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, skip_play flag: False, incomplete_bootstrap flag: True, initial_db_populated_flag: False, dc_role_changed_flag: False" } 2019-09-12 10:07:08,427 p=129975 u=sysadmin | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:07:08,478 p=129975 u=sysadmin | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:07:08,520 p=129975 u=sysadmin | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 10:07:08,564 p=129975 u=sysadmin | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 10:07:08,607 p=129975 u=sysadmin | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 10:07:08,649 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:08,693 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:08,704 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:08,758 p=129975 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 10:07:08,770 p=129975 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 10:07:08,787 p=129975 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 10:07:08,800 p=129975 u=sysadmin | ok: [localhost] => (item=None) 2019-09-12 10:07:08,802 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:08,811 p=129975 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:07:08,873 p=129975 u=sysadmin | 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.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.3", "Management dynamic address allocation is True", "Cluster host dynamic address allocation is True", "Docker registries is {u'gcr.io': {u'url': None, 'password': u'secret'}, u'quay.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 []" ] } 2019-09-12 10:07:08,885 p=129975 u=sysadmin | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 10:07:08,926 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:08,935 p=129975 u=sysadmin | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:07:08,974 p=129975 u=sysadmin | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 10:07:09,013 p=129975 u=sysadmin | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 10:07:09,053 p=129975 u=sysadmin | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 10:07:09,093 p=129975 u=sysadmin | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 10:07:09,132 p=129975 u=sysadmin | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 10:07:09,383 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:09,392 p=129975 u=sysadmin | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 10:07:09,433 p=129975 u=sysadmin | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 10:07:09,475 p=129975 u=sysadmin | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 10:07:09,527 p=129975 u=sysadmin | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 10:07:09,538 p=129975 u=sysadmin | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 10:07:09,596 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.0/24', 'key': u'external_oam_subnet'}) => { "msg": "external_oam_subnet: 10.10.10.0/24" } 2019-09-12 10:07:09,615 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.206.0/24', 'key': u'cluster_host_subnet'}) => { "msg": "cluster_host_subnet: 192.168.206.0/24" } 2019-09-12 10:07:09,630 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.1', 'key': u'external_oam_gateway_address'}) => { "msg": "external_oam_gateway_address: 10.10.10.1" } 2019-09-12 10:07:09,663 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'10.96.0.0/12', 'key': u'cluster_service_subnet'}) => { "msg": "cluster_service_subnet: 10.96.0.0/12" } 2019-09-12 10:07:09,664 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-12 10:07:09,679 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'239.1.1.0/28', 'key': u'management_multicast_subnet'}) => { "msg": "management_multicast_subnet: 239.1.1.0/28" } 2019-09-12 10:07:09,693 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'192.168.204.0/24', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/24" } 2019-09-12 10:07:09,720 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'172.16.0.0/16', 'key': u'cluster_pod_subnet'}) => { "msg": "cluster_pod_subnet: 172.16.0.0/16" } 2019-09-12 10:07:09,736 p=129975 u=sysadmin | ok: [localhost] => (item={'value': u'10.10.10.3', 'key': u'external_oam_floating_address'}) => { "msg": "external_oam_floating_address: 10.10.10.3" } 2019-09-12 10:07:09,746 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:09,793 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:09,803 p=129975 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 10:07:09,863 p=129975 u=sysadmin | ok: [localhost] => (item=192.168.204.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,877 p=129975 u=sysadmin | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,893 p=129975 u=sysadmin | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,909 p=129975 u=sysadmin | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,926 p=129975 u=sysadmin | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,941 p=129975 u=sysadmin | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:07:09,951 p=129975 u=sysadmin | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 10:07:10,071 p=129975 u=sysadmin | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 10:07:10,124 p=129975 u=sysadmin | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 10:07:10,134 p=129975 u=sysadmin | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 10:07:10,196 p=129975 u=sysadmin | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 10:07:10,268 p=129975 u=sysadmin | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 10:07:10,326 p=129975 u=sysadmin | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 10:07:10,434 p=129975 u=sysadmin | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 10:07:10,473 p=129975 u=sysadmin | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 10:07:10,512 p=129975 u=sysadmin | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 10:07:10,552 p=129975 u=sysadmin | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 10:07:10,592 p=129975 u=sysadmin | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 10:07:10,667 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:10,677 p=129975 u=sysadmin | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 10:07:10,771 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:10,782 p=129975 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:07:10,903 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam_node', 'value': {u'use_default': True, u'start': u'10.10.10.4', u'end': u'10.10.10.5', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 10:07:10,921 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_pod', 'value': {u'use_default': True, u'start': u'172.16.0.1', u'end': u'172.16.255.254', u'subnet': u'172.16.0.0/16'}}) 2019-09-12 10:07:10,934 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'management', 'value': {u'use_default': True, u'start': u'192.168.204.2', u'end': u'192.168.204.254', u'subnet': u'192.168.204.0/24'}}) 2019-09-12 10:07:10,947 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'multicast', 'value': {u'use_default': True, u'start': u'239.1.1.1', u'end': u'239.1.1.14', u'subnet': u'239.1.1.0/28'}}) 2019-09-12 10:07:10,960 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_service', 'value': {u'use_default': True, u'start': u'10.96.0.1', u'end': u'10.111.255.254', u'subnet': u'10.96.0.0/12'}}) 2019-09-12 10:07:10,973 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'oam', 'value': {u'use_default': True, u'start': u'10.10.10.1', u'end': u'10.10.10.254', u'subnet': u'10.10.10.0/24'}}) 2019-09-12 10:07:10,988 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'cluster_host', 'value': {u'use_default': True, u'start': u'192.168.206.2', u'end': u'192.168.206.254', u'subnet': u'192.168.206.0/24'}}) 2019-09-12 10:07:11,054 p=129975 u=sysadmin | included: /usr/share/ansible/stx-ansible/playbooks/bootstrap/roles/validate-config/tasks/validate_address_range.yml for localhost => (item={'key': u'pxeboot', 'value': {u'use_default': True, u'start': u'169.254.202.2', u'end': u'169.254.202.254', u'subnet': u'169.254.202.0/24'}}) 2019-09-12 10:07:11,070 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:11,118 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:11,131 p=129975 u=sysadmin | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 10:07:11,174 p=129975 u=sysadmin | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 10:07:11,214 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:11,256 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:11,310 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:11,324 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 10:07:11,365 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 10:07:11,405 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:11,444 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:11,493 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:11,506 p=129975 u=sysadmin | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 10:07:11,549 p=129975 u=sysadmin | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 10:07:11,591 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:11,633 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:11,685 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:11,700 p=129975 u=sysadmin | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 10:07:11,745 p=129975 u=sysadmin | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 10:07:11,785 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:11,825 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:11,876 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:11,889 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 10:07:11,932 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 10:07:11,971 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:12,011 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:12,065 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,079 p=129975 u=sysadmin | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 10:07:12,128 p=129975 u=sysadmin | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 10:07:12,176 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:12,220 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:12,274 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,291 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 10:07:12,336 p=129975 u=sysadmin | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 10:07:12,376 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:12,428 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:12,487 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,499 p=129975 u=sysadmin | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 10:07:12,543 p=129975 u=sysadmin | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 10:07:12,583 p=129975 u=sysadmin | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:07:12,623 p=129975 u=sysadmin | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 10:07:12,680 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,690 p=129975 u=sysadmin | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 10:07:12,758 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,768 p=129975 u=sysadmin | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 10:07:12,823 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,836 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:12,901 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:12,913 p=129975 u=sysadmin | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 10:07:12,954 p=129975 u=sysadmin | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 10:07:13,013 p=129975 u=sysadmin | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 10:07:13,048 p=129975 u=sysadmin | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 10:07:13,085 p=129975 u=sysadmin | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 10:07:13,128 p=129975 u=sysadmin | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 10:07:13,168 p=129975 u=sysadmin | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 10:07:13,209 p=129975 u=sysadmin | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 10:07:13,256 p=129975 u=sysadmin | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:07:13,346 p=129975 u=sysadmin | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:07:13,390 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:13,407 p=129975 u=sysadmin | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 10:07:13,454 p=129975 u=sysadmin | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 10:07:13,499 p=129975 u=sysadmin | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 10:07:13,540 p=129975 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 10:07:13,582 p=129975 u=sysadmin | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 10:07:13,615 p=129975 u=sysadmin | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 10:07:13,655 p=129975 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 10:07:13,700 p=129975 u=sysadmin | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 10:07:13,739 p=129975 u=sysadmin | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 10:07:13,779 p=129975 u=sysadmin | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 10:07:13,821 p=129975 u=sysadmin | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 10:07:14,077 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:14,086 p=129975 u=sysadmin | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 10:07:14,599 p=129975 u=sysadmin | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 10:07:14,807 p=129975 u=sysadmin | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 10:07:15,042 p=129975 u=sysadmin | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 10:07:15,251 p=129975 u=sysadmin | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 10:07:15,484 p=129975 u=sysadmin | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 10:07:15,704 p=129975 u=sysadmin | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 10:07:15,922 p=129975 u=sysadmin | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 10:07:16,139 p=129975 u=sysadmin | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 10:07:16,348 p=129975 u=sysadmin | changed: [localhost] => (item=NAMESERVERS=8.8.4.4) 2019-09-12 10:07:16,561 p=129975 u=sysadmin | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 10:07:16,774 p=129975 u=sysadmin | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 10:07:16,993 p=129975 u=sysadmin | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 10:07:17,224 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/24) 2019-09-12 10:07:17,441 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 10:07:17,653 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.254) 2019-09-12 10:07:17,864 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:07:18,098 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 10:07:18,315 p=129975 u=sysadmin | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 10:07:18,528 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 10:07:18,740 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 10:07:18,971 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 10:07:19,190 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:07:19,395 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 10:07:19,639 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 10:07:19,860 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 10:07:20,082 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 10:07:20,310 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 10:07:20,525 p=129975 u=sysadmin | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 10:07:20,759 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 10:07:20,984 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 10:07:21,202 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 10:07:21,428 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 10:07:21,667 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.3) 2019-09-12 10:07:21,896 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.4) 2019-09-12 10:07:22,147 p=129975 u=sysadmin | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.5) 2019-09-12 10:07:22,359 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 10:07:22,580 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 10:07:22,829 p=129975 u=sysadmin | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 10:07:23,119 p=129975 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 10:07:23,329 p=129975 u=sysadmin | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 10:07:23,557 p=129975 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 10:07:23,787 p=129975 u=sysadmin | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 10:07:23,997 p=129975 u=sysadmin | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 10:07:24,215 p=129975 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 10:07:24,430 p=129975 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 10:07:24,654 p=129975 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 10:07:24,895 p=129975 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 10:07:25,115 p=129975 u=sysadmin | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 10:07:25,317 p=129975 u=sysadmin | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 10:07:25,534 p=129975 u=sysadmin | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 10:07:25,748 p=129975 u=sysadmin | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 10:07:25,964 p=129975 u=sysadmin | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 10:07:26,208 p=129975 u=sysadmin | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 10:07:26,239 p=129975 u=sysadmin | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 10:07:26,502 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:26,514 p=129975 u=sysadmin | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 10:07:26,552 p=129975 u=sysadmin | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 10:07:26,590 p=129975 u=sysadmin | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 10:07:26,627 p=129975 u=sysadmin | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 10:07:26,665 p=129975 u=sysadmin | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 10:07:26,701 p=129975 u=sysadmin | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 10:07:26,740 p=129975 u=sysadmin | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 10:07:26,777 p=129975 u=sysadmin | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 10:07:26,816 p=129975 u=sysadmin | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 10:07:26,855 p=129975 u=sysadmin | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 10:07:26,905 p=129975 u=sysadmin | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 10:07:26,942 p=129975 u=sysadmin | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 10:07:26,981 p=129975 u=sysadmin | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 10:07:27,018 p=129975 u=sysadmin | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 10:07:27,054 p=129975 u=sysadmin | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 10:07:27,091 p=129975 u=sysadmin | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 10:07:27,129 p=129975 u=sysadmin | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 10:07:27,173 p=129975 u=sysadmin | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 10:07:27,212 p=129975 u=sysadmin | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 10:07:27,257 p=129975 u=sysadmin | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 10:07:27,295 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 10:07:27,334 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 10:07:27,372 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 10:07:27,410 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 10:07:27,449 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 10:07:27,487 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 10:07:27,525 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 10:07:27,566 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 10:07:27,604 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 10:07:27,643 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 10:07:27,683 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 10:07:27,725 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 10:07:27,763 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 10:07:27,800 p=129975 u=sysadmin | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 10:07:27,838 p=129975 u=sysadmin | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 10:07:27,875 p=129975 u=sysadmin | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 10:07:27,913 p=129975 u=sysadmin | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 10:07:27,950 p=129975 u=sysadmin | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 10:07:28,198 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:28,208 p=129975 u=sysadmin | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 10:07:28,440 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:28,450 p=129975 u=sysadmin | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 10:07:28,711 p=129975 u=sysadmin | changed: [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': 1568282846.174, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568282846.174, u'inode': 273708, u'isgid': False, u'size': 1667, u'isdir': False, u'ctime': 1568282846.175, u'roth': True, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 34, 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}) 2019-09-12 10:07:28,723 p=129975 u=sysadmin | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 10:07:28,968 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:28,980 p=129975 u=sysadmin | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 10:07:29,228 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:29,240 p=129975 u=sysadmin | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 10:07:29,295 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:29,306 p=129975 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:07:29,358 p=129975 u=sysadmin | ok: [localhost] => { "msg": "postgres_config_dir: /opt/platform/config/19.09/postgresql pxe_config_dir: /opt/platform/config/19.09/pxelinux.cfg branding_config_dir: /opt/platform/config/19.09/branding" } 2019-09-12 10:07:29,368 p=129975 u=sysadmin | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 10:07:29,632 p=129975 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 10:07:29,855 p=129975 u=sysadmin | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 10:07:29,865 p=129975 u=sysadmin | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 10:07:30,118 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:30,130 p=129975 u=sysadmin | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 10:07:30,680 p=129975 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.566, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_ident.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266938, u'isgid': False, u'size': 47, u'isdir': False, u'ctime': 1568277027.617, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 10:07:30,906 p=129975 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': True, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.636, u'gr_name': u'postgres', u'path': u'/etc/postgresql/pg_hba.conf', u'xusr': False, u'atime': 1568277028.366, u'inode': 266949, u'isgid': False, u'size': 929, u'isdir': False, u'ctime': 1568277027.694, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0640', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 10:07:31,136 p=129975 u=sysadmin | changed: [localhost] => (item={u'rusr': True, u'uid': 120, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1568277027.625, u'gr_name': u'postgres', u'path': u'/etc/postgresql/postgresql.conf', u'xusr': False, u'atime': 1568277028.031, u'inode': 266901, u'isgid': False, u'size': 20195, u'isdir': False, u'ctime': 1568277027.625, u'roth': False, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 2051, u'wgrp': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'postgres', u'gid': 120, u'ischr': False, u'wusr': True}) 2019-09-12 10:07:31,150 p=129975 u=sysadmin | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 10:07:31,407 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:31,420 p=129975 u=sysadmin | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 10:07:31,674 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:31,685 p=129975 u=sysadmin | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 10:07:31,938 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:31,947 p=129975 u=sysadmin | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 10:07:32,188 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:32,198 p=129975 u=sysadmin | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 10:07:32,231 p=129975 u=sysadmin | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 10:07:35,497 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:35,507 p=129975 u=sysadmin | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 10:07:35,836 p=129975 u=sysadmin | changed: [localhost] => (item=grubby --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 10:07:36,092 p=129975 u=sysadmin | changed: [localhost] => (item=grubby --efi --update-kernel=/boot/vmlinuz-3.10.0-957.21.3.el7.2.tis.x86_64 --args='nopti nospectre_v2') 2019-09-12 10:07:36,102 p=129975 u=sysadmin | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 10:07:36,394 p=129975 u=sysadmin | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:07:36,641 p=129975 u=sysadmin | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 10:07:36,894 p=129975 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 10:07:37,140 p=129975 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:07:37,365 p=129975 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:07:37,587 p=129975 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 10:07:37,602 p=129975 u=sysadmin | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 10:07:37,814 p=129975 u=sysadmin | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 10:07:38,110 p=129975 u=sysadmin | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:07:38,374 p=129975 u=sysadmin | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 10:07:38,636 p=129975 u=sysadmin | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:07:38,868 p=129975 u=sysadmin | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:07:38,882 p=129975 u=sysadmin | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 10:07:39,065 p=129975 u=sysadmin | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 10:07:39,296 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:39,306 p=129975 u=sysadmin | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 10:07:39,348 p=129975 u=sysadmin | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 10:07:39,390 p=129975 u=sysadmin | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 10:07:39,772 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:39,788 p=129975 u=sysadmin | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 10:07:40,064 p=129975 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 10:07:40,321 p=129975 u=sysadmin | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 10:07:40,332 p=129975 u=sysadmin | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 10:07:40,729 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:40,742 p=129975 u=sysadmin | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 10:07:41,001 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:41,011 p=129975 u=sysadmin | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 10:07:42,139 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:42,149 p=129975 u=sysadmin | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 10:07:42,188 p=129975 u=sysadmin | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 10:07:42,227 p=129975 u=sysadmin | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 10:07:42,268 p=129975 u=sysadmin | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 10:07:42,310 p=129975 u=sysadmin | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 10:07:42,352 p=129975 u=sysadmin | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:07:42,392 p=129975 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:07:42,431 p=129975 u=sysadmin | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:07:42,471 p=129975 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:07:42,517 p=129975 u=sysadmin | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 10:07:42,562 p=129975 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:07:42,602 p=129975 u=sysadmin | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 10:07:42,644 p=129975 u=sysadmin | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:07:42,687 p=129975 u=sysadmin | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 10:07:42,943 p=129975 u=sysadmin | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 10:07:43,164 p=129975 u=sysadmin | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 10:07:43,385 p=129975 u=sysadmin | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 10:07:43,593 p=129975 u=sysadmin | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 10:07:43,603 p=129975 u=sysadmin | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 10:07:43,648 p=129975 u=sysadmin | ok: [localhost] 2019-09-12 10:07:43,658 p=129975 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 10:07:43,696 p=129975 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 10:07:43,735 p=129975 u=sysadmin | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 10:07:43,776 p=129975 u=sysadmin | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 10:07:43,816 p=129975 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:07:43,862 p=129975 u=sysadmin | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 10:07:43,873 p=129975 u=sysadmin | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 10:07:43,918 p=129975 u=sysadmin | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 10:07:43,962 p=129975 u=sysadmin | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 10:07:44,221 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:07:44,232 p=129975 u=sysadmin | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 10:09:16,234 p=129975 u=sysadmin | changed: [localhost] 2019-09-12 10:09:16,248 p=129975 u=sysadmin | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:09:16,312 p=129975 u=sysadmin | ok: [localhost] => { "populate_result": { "changed": true, "failed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1568282864.27-174076847704562/populate_initial_config.py\", line 977, in \n with openstack.OpenStack() as client:\n File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__\n raise Exception('Failed to connect')\nException: Failed to connect\n", "stderr_lines": [ "No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1568282864.27-174076847704562/populate_initial_config.py\", line 977, in ", " with openstack.OpenStack() as client:", " File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__", " raise Exception('Failed to connect')", "Exception: Failed to connect" ], "stdout": "Failed to update the initial system config.\n", "stdout_lines": [ "Failed to update the initial system config." ] } } 2019-09-12 10:09:16,322 p=129975 u=sysadmin | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 10:09:16,374 p=129975 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 10:09:16,377 p=129975 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:09:16,377 p=129975 u=sysadmin | localhost : ok=99 changed=27 unreachable=0 failed=1 2019-09-12 10:30:38,452 passlib.registry registered 'md5_crypt' handler: 2019-09-12 10:30:38,463 p=135690 u=sysadmin | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 10:30:38,657 p=135690 u=sysadmin | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 10:30:39,049 p=135690 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/secrets.yml) 2019-09-12 10:30:39,193 p=135690 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost_secrets.yml) 2019-09-12 10:30:39,338 p=135690 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/site.yml) 2019-09-12 10:30:39,514 p=135690 u=sysadmin | ok: [localhost -> localhost] => (item=/home/sysadmin/localhost.yml) 2019-09-12 10:30:39,525 p=135690 u=sysadmin | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 10:30:39,615 p=135690 u=sysadmin | ok: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 42425, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1568281430.025, u'block_size': 4096, u'inode': 792428, u'isgid': False, u'size': 239, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'1172025148', u'pw_name': u'sysadmin', u'gid': 345, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'sys_protected', u'path': u'/home/sysadmin/localhost.yml', u'xusr': False, u'atime': 1568281432.186, u'mimetype': u'text/x-c', u'ctime': 1568281430.116, u'isblk': False, u'checksum': u'aad636979791d623d1c47fe5187682f742593a68', u'dev': 2051, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/home/sysadmin/localhost.yml', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/home/sysadmin/localhost.yml', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/home/sysadmin/localhost.yml'}) 2019-09-12 10:30:39,628 p=135690 u=sysadmin | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 10:30:39,667 p=135690 u=sysadmin | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 10:30:39,709 p=135690 u=sysadmin | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 10:30:39,742 p=135690 u=sysadmin | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 10:30:39,782 p=135690 u=sysadmin | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 10:30:39,818 p=135690 u=sysadmin | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:30:39,859 p=135690 u=sysadmin | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 10:30:39,896 p=135690 u=sysadmin | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 10:30:40,305 p=135690 u=sysadmin | changed: [localhost] 2019-09-12 10:30:40,315 p=135690 u=sysadmin | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 10:30:40,351 p=135690 u=sysadmin | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 10:30:40,537 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:40,547 p=135690 u=sysadmin | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 10:30:40,582 p=135690 u=sysadmin | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 10:30:40,616 p=135690 u=sysadmin | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 10:30:40,661 p=135690 u=sysadmin | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 10:30:40,713 p=135690 u=sysadmin | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 10:30:40,751 p=135690 u=sysadmin | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:30:40,788 p=135690 u=sysadmin | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 10:30:41,044 p=135690 u=sysadmin | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 10:30:41,241 p=135690 u=sysadmin | changed: [localhost] 2019-09-12 10:30:41,251 p=135690 u=sysadmin | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 10:30:41,290 p=135690 u=sysadmin | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 10:30:41,476 p=135690 u=sysadmin | changed: [localhost] 2019-09-12 10:30:41,486 p=135690 u=sysadmin | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 10:30:41,524 p=135690 u=sysadmin | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 10:30:41,569 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,579 p=135690 u=sysadmin | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 10:30:41,616 p=135690 u=sysadmin | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 10:30:41,663 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,672 p=135690 u=sysadmin | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 10:30:41,734 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,745 p=135690 u=sysadmin | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 10:30:41,782 p=135690 u=sysadmin | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 10:30:41,822 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,833 p=135690 u=sysadmin | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 10:30:41,878 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,891 p=135690 u=sysadmin | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 10:30:41,940 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:41,951 p=135690 u=sysadmin | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 10:30:42,007 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,017 p=135690 u=sysadmin | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 10:30:42,056 p=135690 u=sysadmin | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 10:30:42,098 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,108 p=135690 u=sysadmin | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 10:30:42,150 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,159 p=135690 u=sysadmin | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 10:30:42,205 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,215 p=135690 u=sysadmin | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 10:30:42,262 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,271 p=135690 u=sysadmin | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 10:30:42,316 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,327 p=135690 u=sysadmin | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 10:30:42,531 p=135690 u=sysadmin | changed: [localhost] 2019-09-12 10:30:42,540 p=135690 u=sysadmin | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 10:30:42,739 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,750 p=135690 u=sysadmin | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 10:30:42,799 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,809 p=135690 u=sysadmin | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 10:30:42,855 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:42,865 p=135690 u=sysadmin | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 10:30:43,048 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:43,057 p=135690 u=sysadmin | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 10:30:43,107 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:43,119 p=135690 u=sysadmin | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 10:30:43,310 p=135690 u=sysadmin | ok: [localhost] 2019-09-12 10:30:43,323 p=135690 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 10:30:43,366 p=135690 u=sysadmin | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 10:30:43,405 p=135690 u=sysadmin | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 10:30:43,449 p=135690 u=sysadmin | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 10:30:43,491 p=135690 u=sysadmin | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 10:30:43,542 p=135690 u=sysadmin | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 10:30:43,579 p=135690 u=sysadmin | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 10:30:43,616 p=135690 u=sysadmin | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 10:30:43,654 p=135690 u=sysadmin | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 10:30:43,689 p=135690 u=sysadmin | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 10:30:43,724 p=135690 u=sysadmin | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 10:30:43,760 p=135690 u=sysadmin | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 10:30:43,797 p=135690 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 10:30:43,833 p=135690 u=sysadmin | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 10:30:43,871 p=135690 u=sysadmin | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 10:30:43,908 p=135690 u=sysadmin | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 10:30:43,944 p=135690 u=sysadmin | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 10:30:43,982 p=135690 u=sysadmin | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 10:30:44,018 p=135690 u=sysadmin | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 10:30:50,895 p=135690 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Sorry, try again.\n[sudo via ansible, key=ortbbepskyalksrdznvumdkzbfavatzp] password: Sorry, try again.\n[sudo via ansible, key=ortbbepskyalksrdznvumdkzbfavatzp] password: sudo: 3 incorrect password attempts\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} 2019-09-12 10:30:50,898 p=135690 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:30:50,898 p=135690 u=sysadmin | localhost : ok=25 changed=4 unreachable=0 failed=1