2019-09-12 09:01:59,761 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:01:59,772 p=112186 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:01:59,962 p=112186 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:02:00,318 p=112186 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:02:00,454 p=112186 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:02:00,611 p=112186 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:02:00,761 p=112186 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:02:00,771 p=112186 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:02:00,849 p=112186 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:02:00,886 p=112186 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:02:00,923 p=112186 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:02:00,955 p=112186 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:02:00,998 p=112186 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:02:01,032 p=112186 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:02:01,072 p=112186 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:02:01,105 p=112186 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:02:01,515 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:01,524 p=112186 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:02:01,555 p=112186 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:02:01,722 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:01,730 p=112186 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:02:01,764 p=112186 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:02:01,799 p=112186 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:02:01,843 p=112186 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:02:01,878 p=112186 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:02:01,916 p=112186 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:02:01,952 p=112186 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:02:02,200 p=112186 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:02:02,379 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:02,388 p=112186 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:02:02,424 p=112186 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:02:02,609 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:02,618 p=112186 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:02:02,653 p=112186 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:02:02,694 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:02,704 p=112186 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:02:02,740 p=112186 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:02:02,782 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:02,792 p=112186 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:02:02,849 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:02,858 p=112186 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:02:02,892 p=112186 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:02:02,932 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:02,940 p=112186 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:02:02,981 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:02,990 p=112186 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:02:03,028 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,037 p=112186 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:02:03,088 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,097 p=112186 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:02:03,133 p=112186 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:02:03,171 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,181 p=112186 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:02:03,219 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,228 p=112186 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:02:03,275 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,284 p=112186 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:02:03,328 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,337 p=112186 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:02:03,377 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,387 p=112186 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:02:03,580 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:03,588 p=112186 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:02:03,794 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,804 p=112186 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:02:03,859 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,870 p=112186 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:02:03,916 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:03,928 p=112186 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:02:04,112 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:04,121 p=112186 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:02:04,166 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:04,176 p=112186 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:02:04,359 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:04,369 p=112186 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:02:04,409 p=112186 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:02:04,448 p=112186 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:02:04,486 p=112186 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:02:04,524 p=112186 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:02:04,560 p=112186 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:02:04,606 p=112186 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:02:04,641 p=112186 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:02:04,680 p=112186 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:02:04,715 p=112186 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:02:04,752 p=112186 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:02:04,785 p=112186 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:02:04,825 p=112186 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:02:04,861 p=112186 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:02:04,897 p=112186 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:02:04,932 p=112186 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:02:04,966 p=112186 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:02:05,016 p=112186 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:02:05,050 p=112186 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:02:05,253 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:05,263 p=112186 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:02:05,458 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:05,467 p=112186 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:02:05,503 p=112186 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:02:05,548 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:05,557 p=112186 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:02:05,593 p=112186 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:02:05,630 p=112186 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:02:06,059 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:06,068 p=112186 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:02:06,105 p=112186 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:02:06,292 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:06,302 p=112186 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:02:06,340 p=112186 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:02:06,764 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:06,773 p=112186 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:02:06,950 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:06,959 p=112186 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:02:07,004 p=112186 u=root | 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:02:07,014 p=112186 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:02:07,060 p=112186 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:02:07,102 p=112186 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:02:07,142 p=112186 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:02:07,184 p=112186 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:02:07,228 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:07,272 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:07,281 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:07,349 p=112186 u=root | ok: [localhost] => (item=None) 2019-09-12 09:02:07,355 p=112186 u=root | ok: [localhost] => (item=None) 2019-09-12 09:02:07,373 p=112186 u=root | ok: [localhost] => (item=None) 2019-09-12 09:02:07,383 p=112186 u=root | ok: [localhost] => (item=None) 2019-09-12 09:02:07,392 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:07,402 p=112186 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:02:07,458 p=112186 u=root | 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 09:02:07,468 p=112186 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:02:07,507 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:07,517 p=112186 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:02:07,554 p=112186 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:02:07,589 p=112186 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:02:07,628 p=112186 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:02:07,666 p=112186 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:02:07,703 p=112186 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:02:07,897 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:07,906 p=112186 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:02:07,943 p=112186 u=root | 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:02:07,979 p=112186 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:02:08,029 p=112186 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:02:08,041 p=112186 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:02:08,050 p=112186 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:02:08,117 p=112186 u=root | 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:02:08,122 p=112186 u=root | 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:02:08,137 p=112186 u=root | 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:02:08,154 p=112186 u=root | 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:02:08,171 p=112186 u=root | 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:02:08,186 p=112186 u=root | 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:02:08,210 p=112186 u=root | 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 09:02:08,229 p=112186 u=root | 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:02:08,245 p=112186 u=root | 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 09:02:08,256 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:08,298 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:08,308 p=112186 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:02:08,367 p=112186 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,390 p=112186 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,410 p=112186 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,426 p=112186 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,444 p=112186 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,463 p=112186 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:02:08,473 p=112186 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:02:08,579 p=112186 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:02:08,633 p=112186 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:02:08,642 p=112186 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:02:08,699 p=112186 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:02:08,767 p=112186 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:02:08,825 p=112186 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:02:08,925 p=112186 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:02:08,960 p=112186 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:02:08,996 p=112186 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:02:09,033 p=112186 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:02:09,069 p=112186 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:02:09,141 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:09,150 p=112186 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:02:09,243 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:09,252 p=112186 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:02:09,373 p=112186 u=root | 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 09:02:09,386 p=112186 u=root | 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:02:09,411 p=112186 u=root | 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 09:02:09,427 p=112186 u=root | 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:02:09,440 p=112186 u=root | 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:02:09,452 p=112186 u=root | 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:02:09,465 p=112186 u=root | 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:02:09,480 p=112186 u=root | 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:02:09,545 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:09,591 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:09,604 p=112186 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:02:09,643 p=112186 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:02:09,679 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:09,714 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:09,761 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:09,773 p=112186 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:02:09,813 p=112186 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:02:09,849 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:09,887 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:09,933 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:09,944 p=112186 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:02:09,983 p=112186 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:02:10,021 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,058 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:10,105 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,117 p=112186 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:02:10,156 p=112186 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:02:10,193 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,230 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:10,277 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,290 p=112186 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:02:10,330 p=112186 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:02:10,368 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,404 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:10,450 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,465 p=112186 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:02:10,503 p=112186 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:02:10,540 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,580 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:10,632 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,647 p=112186 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:02:10,689 p=112186 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:02:10,727 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,765 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:10,811 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,823 p=112186 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:02:10,860 p=112186 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:02:10,898 p=112186 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:02:10,935 p=112186 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:02:10,984 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:10,995 p=112186 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:02:11,081 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:11,091 p=112186 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:02:11,142 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:11,150 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:11,212 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:11,222 p=112186 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:02:11,260 p=112186 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:02:11,316 p=112186 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:02:11,347 p=112186 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:02:11,382 p=112186 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:02:11,418 p=112186 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:02:11,457 p=112186 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:02:11,496 p=112186 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:02:11,536 p=112186 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:02:11,620 p=112186 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:02:11,659 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:11,674 p=112186 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:02:11,718 p=112186 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:02:11,764 p=112186 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:02:11,805 p=112186 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:02:11,843 p=112186 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:02:11,873 p=112186 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:02:11,910 p=112186 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:02:11,946 p=112186 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:02:11,987 p=112186 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:02:12,025 p=112186 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:02:12,065 p=112186 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:02:12,266 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:12,275 p=112186 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:02:12,697 p=112186 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:02:12,853 p=112186 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:02:13,020 p=112186 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:02:13,184 p=112186 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:02:13,327 p=112186 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:02:13,484 p=112186 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:02:13,644 p=112186 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:02:13,807 p=112186 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:02:13,958 p=112186 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:02:14,119 p=112186 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:02:14,281 p=112186 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:02:14,447 p=112186 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:02:14,595 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:02:14,764 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:02:14,913 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:02:15,065 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:02:15,219 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:02:15,372 p=112186 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:02:15,526 p=112186 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:02:15,684 p=112186 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:02:15,837 p=112186 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:02:15,997 p=112186 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:02:16,156 p=112186 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:02:16,309 p=112186 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:02:16,460 p=112186 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:02:16,631 p=112186 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:02:16,790 p=112186 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:02:16,949 p=112186 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:02:17,118 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:02:17,271 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:02:17,430 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:02:17,583 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:02:17,738 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:02:17,901 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:02:18,052 p=112186 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:02:18,202 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:02:18,356 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:02:18,509 p=112186 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:02:18,668 p=112186 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:02:18,820 p=112186 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:02:18,980 p=112186 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:02:19,135 p=112186 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:02:19,291 p=112186 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:02:19,444 p=112186 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:02:19,605 p=112186 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:02:19,759 p=112186 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:02:19,916 p=112186 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:02:20,072 p=112186 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:02:20,229 p=112186 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:02:20,387 p=112186 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:02:20,541 p=112186 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:02:20,693 p=112186 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:02:20,854 p=112186 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:02:20,878 p=112186 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:02:21,061 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:21,076 p=112186 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:02:21,112 p=112186 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:02:21,147 p=112186 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:02:21,183 p=112186 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:02:21,217 p=112186 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:02:21,251 p=112186 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:02:21,285 p=112186 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:02:21,319 p=112186 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:02:21,352 p=112186 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:02:21,386 p=112186 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:02:21,439 p=112186 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:02:21,474 p=112186 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:02:21,508 p=112186 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:02:21,542 p=112186 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:02:21,576 p=112186 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:02:21,608 p=112186 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:02:21,642 p=112186 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:02:21,679 p=112186 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:02:21,714 p=112186 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:02:21,747 p=112186 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:02:21,777 p=112186 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:02:21,811 p=112186 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:02:21,852 p=112186 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:02:21,886 p=112186 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:02:21,919 p=112186 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:02:21,953 p=112186 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:02:21,988 p=112186 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:02:22,023 p=112186 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:02:22,058 p=112186 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:02:22,092 p=112186 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:02:22,129 p=112186 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:02:22,165 p=112186 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:02:22,200 p=112186 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:02:22,234 p=112186 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:02:22,269 p=112186 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:02:22,302 p=112186 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:02:22,336 p=112186 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:02:22,371 p=112186 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:02:22,561 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:22,570 p=112186 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:02:22,762 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:22,771 p=112186 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:02:22,976 p=112186 u=root | 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': 1568278940.836, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568278940.835, u'inode': 209465, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568278940.836, 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:02:22,987 p=112186 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:02:23,182 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:23,191 p=112186 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:02:23,371 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:23,380 p=112186 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:02:23,426 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:23,435 p=112186 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:02:23,480 p=112186 u=root | 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:02:23,489 p=112186 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:02:23,686 p=112186 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:02:23,855 p=112186 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:02:23,866 p=112186 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:02:24,058 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:24,068 p=112186 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:02:24,536 p=112186 u=root | 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:02:24,697 p=112186 u=root | 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:02:24,859 p=112186 u=root | 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:02:24,869 p=112186 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:02:25,051 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:25,062 p=112186 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:02:25,255 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:25,264 p=112186 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:02:25,456 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:25,465 p=112186 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:02:25,655 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:25,664 p=112186 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:02:25,696 p=112186 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:02:28,901 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:28,910 p=112186 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:02:29,163 p=112186 u=root | 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:02:29,368 p=112186 u=root | 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:02:29,378 p=112186 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:02:29,597 p=112186 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:02:29,777 p=112186 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:02:29,955 p=112186 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:02:30,141 p=112186 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:02:30,312 p=112186 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:02:30,480 p=112186 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:02:30,490 p=112186 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:02:30,693 p=112186 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:02:30,913 p=112186 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:02:31,100 p=112186 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:02:31,305 p=112186 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:02:31,483 p=112186 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:02:31,496 p=112186 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:02:31,666 p=112186 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:02:31,844 p=112186 u=root | ok: [localhost] 2019-09-12 09:02:31,853 p=112186 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:02:31,892 p=112186 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:02:31,929 p=112186 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:02:32,218 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:32,227 p=112186 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:02:32,450 p=112186 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:02:32,637 p=112186 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:02:32,648 p=112186 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:02:32,969 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:32,982 p=112186 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:02:33,170 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:33,180 p=112186 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:02:35,100 p=112186 u=root | changed: [localhost] 2019-09-12 09:02:35,111 p=112186 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:02:35,148 p=112186 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:02:35,183 p=112186 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:02:35,220 p=112186 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:02:35,258 p=112186 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:02:35,296 p=112186 u=root | TASK [persist-config : Find old registry secrets in Barbican] ********************************************************************************************************************************** 2019-09-12 09:02:37,967 p=112186 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep k8s-registry-secret | awk '{print $2}') 2019-09-12 09:02:40,603 p=112186 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep gcr-registry-secret | awk '{print $2}') 2019-09-12 09:02:43,198 p=112186 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep quay-registry-secret | awk '{print $2}') 2019-09-12 09:02:45,759 p=112186 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep docker-registry-secret | awk '{print $2}') 2019-09-12 09:02:45,769 p=112186 u=root | TASK [persist-config : Delete old registry secrets in Barbican] ******************************************************************************************************************************** 2019-09-12 09:02:48,446 p=112186 u=root | 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.481279", "end": "2019-09-12 09:02:48.423781", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:02:45.942502", "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 09:02:51,023 p=112186 u=root | 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.423610", "end": "2019-09-12 09:02:51.006963", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:02:48.583353", "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 09:02:53,600 p=112186 u=root | 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.426349", "end": "2019-09-12 09:02:53.585136", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:02:51.158787", "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 09:02:56,164 p=112186 u=root | 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.418474", "end": "2019-09-12 09:02:56.147660", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:02:53.729186", "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 09:02:56,167 p=112186 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:02:56,167 p=112186 u=root | localhost : ok=93 changed=25 unreachable=0 failed=1 2019-09-12 09:27:14,833 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:27:14,843 p=116289 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:27:15,037 p=116289 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:27:15,415 p=116289 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:27:15,565 p=116289 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:27:15,703 p=116289 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:27:15,845 p=116289 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:27:15,855 p=116289 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:27:15,933 p=116289 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:27:15,970 p=116289 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:27:16,007 p=116289 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:27:16,040 p=116289 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:27:16,080 p=116289 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:27:16,115 p=116289 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:27:16,152 p=116289 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:27:16,187 p=116289 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:27:16,581 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:16,589 p=116289 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:27:16,620 p=116289 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:27:16,787 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:16,796 p=116289 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:27:16,827 p=116289 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:27:16,859 p=116289 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:27:16,903 p=116289 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:27:16,938 p=116289 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:27:16,975 p=116289 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:27:17,010 p=116289 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:27:17,264 p=116289 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:27:17,460 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:17,469 p=116289 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:27:17,504 p=116289 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:27:17,697 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:17,707 p=116289 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:27:17,747 p=116289 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:27:17,794 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:17,803 p=116289 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:27:17,839 p=116289 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:27:17,882 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:17,890 p=116289 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:27:17,947 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:17,955 p=116289 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:27:17,990 p=116289 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:27:18,033 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,041 p=116289 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:27:18,081 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,090 p=116289 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:27:18,131 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,139 p=116289 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:27:18,191 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,200 p=116289 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:27:18,237 p=116289 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:27:18,280 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,289 p=116289 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:27:18,328 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,337 p=116289 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:27:18,378 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,388 p=116289 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:27:18,430 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,439 p=116289 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:27:18,482 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,492 p=116289 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:27:18,687 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:18,698 p=116289 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:27:18,907 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,916 p=116289 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:27:18,962 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:18,974 p=116289 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:27:19,019 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:19,028 p=116289 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:27:19,207 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:19,217 p=116289 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:27:19,262 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:19,272 p=116289 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:27:19,456 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:19,467 p=116289 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:27:19,508 p=116289 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:27:19,546 p=116289 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:27:19,586 p=116289 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:27:19,619 p=116289 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:27:19,654 p=116289 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:27:19,705 p=116289 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:27:19,744 p=116289 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:27:19,780 p=116289 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:27:19,816 p=116289 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:27:19,858 p=116289 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:27:19,894 p=116289 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:27:19,928 p=116289 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:27:19,962 p=116289 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:27:19,996 p=116289 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:27:20,030 p=116289 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:27:20,065 p=116289 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:27:20,104 p=116289 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:27:20,141 p=116289 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:27:20,365 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:20,375 p=116289 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:27:20,572 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:20,582 p=116289 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:27:20,620 p=116289 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:27:20,666 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:20,677 p=116289 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:27:20,716 p=116289 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:27:20,757 p=116289 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:27:21,213 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:21,222 p=116289 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:27:21,261 p=116289 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:27:21,448 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:21,459 p=116289 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:27:21,497 p=116289 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:27:21,946 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:21,955 p=116289 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:27:22,137 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:22,147 p=116289 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:27:22,189 p=116289 u=root | 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:27:22,198 p=116289 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:27:22,239 p=116289 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:27:22,279 p=116289 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:27:22,324 p=116289 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:27:22,366 p=116289 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:27:22,408 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:22,450 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:22,460 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:22,523 p=116289 u=root | ok: [localhost] => (item=None) 2019-09-12 09:27:22,534 p=116289 u=root | ok: [localhost] => (item=None) 2019-09-12 09:27:22,548 p=116289 u=root | ok: [localhost] => (item=None) 2019-09-12 09:27:22,563 p=116289 u=root | ok: [localhost] => (item=None) 2019-09-12 09:27:22,564 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:22,572 p=116289 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:27:22,628 p=116289 u=root | 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 09:27:22,639 p=116289 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:27:22,678 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:22,687 p=116289 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:27:22,723 p=116289 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:27:22,761 p=116289 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:27:22,798 p=116289 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:27:22,837 p=116289 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:27:22,877 p=116289 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:27:23,078 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:23,087 p=116289 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:27:23,123 p=116289 u=root | 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:27:23,163 p=116289 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:27:23,213 p=116289 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:27:23,225 p=116289 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:27:23,234 p=116289 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:27:23,295 p=116289 u=root | 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:27:23,310 p=116289 u=root | 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:27:23,325 p=116289 u=root | 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:27:23,343 p=116289 u=root | 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:27:23,355 p=116289 u=root | 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:27:23,371 p=116289 u=root | 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:27:23,385 p=116289 u=root | 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 09:27:23,399 p=116289 u=root | 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:27:23,414 p=116289 u=root | 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 09:27:23,424 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:23,467 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:23,476 p=116289 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:27:23,536 p=116289 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,552 p=116289 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,566 p=116289 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,582 p=116289 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,598 p=116289 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,612 p=116289 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:27:23,624 p=116289 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:27:23,750 p=116289 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:27:23,805 p=116289 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:27:23,816 p=116289 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:27:23,875 p=116289 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:27:23,949 p=116289 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:27:24,008 p=116289 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:27:24,102 p=116289 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:27:24,140 p=116289 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:27:24,177 p=116289 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:27:24,213 p=116289 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:27:24,250 p=116289 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:27:24,319 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:24,329 p=116289 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:27:24,416 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:24,425 p=116289 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:27:24,546 p=116289 u=root | 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 09:27:24,559 p=116289 u=root | 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:27:24,572 p=116289 u=root | 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 09:27:24,584 p=116289 u=root | 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:27:24,597 p=116289 u=root | 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:27:24,610 p=116289 u=root | 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:27:24,622 p=116289 u=root | 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:27:24,636 p=116289 u=root | 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:27:24,697 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:24,743 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:24,755 p=116289 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:27:24,794 p=116289 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:27:24,831 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:24,868 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:24,921 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:24,933 p=116289 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:27:24,975 p=116289 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:27:25,014 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,050 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,098 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,110 p=116289 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:27:25,148 p=116289 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:27:25,183 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,223 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,272 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,283 p=116289 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:27:25,323 p=116289 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:27:25,360 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,398 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,451 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,465 p=116289 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:27:25,505 p=116289 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:27:25,542 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,580 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,627 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,638 p=116289 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:27:25,677 p=116289 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:27:25,717 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,755 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,804 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,815 p=116289 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:27:25,855 p=116289 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:27:25,893 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:25,929 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:25,975 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:25,987 p=116289 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:27:26,029 p=116289 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:27:26,069 p=116289 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:27:26,109 p=116289 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:27:26,160 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:26,169 p=116289 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:27:26,228 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:26,238 p=116289 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:27:26,290 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:26,299 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:26,367 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:26,376 p=116289 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:27:26,417 p=116289 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:27:26,469 p=116289 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:27:26,500 p=116289 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:27:26,534 p=116289 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:27:26,572 p=116289 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:27:26,610 p=116289 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:27:26,650 p=116289 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:27:26,691 p=116289 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:27:26,785 p=116289 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:27:26,826 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:26,841 p=116289 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:27:26,887 p=116289 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:27:26,935 p=116289 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:27:26,976 p=116289 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:27:27,017 p=116289 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:27:27,047 p=116289 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:27:27,086 p=116289 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:27:27,123 p=116289 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:27:27,160 p=116289 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:27:27,204 p=116289 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:27:27,245 p=116289 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:27:27,442 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:27,453 p=116289 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:27:27,899 p=116289 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:27:28,051 p=116289 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:27:28,208 p=116289 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:27:28,359 p=116289 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:27:28,525 p=116289 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:27:28,691 p=116289 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:27:28,841 p=116289 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:27:28,998 p=116289 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:27:29,152 p=116289 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:27:29,334 p=116289 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:27:29,486 p=116289 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:27:29,641 p=116289 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:27:29,802 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:27:29,960 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:27:30,117 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:27:30,275 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:27:30,431 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:27:30,588 p=116289 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:27:30,748 p=116289 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:27:30,920 p=116289 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:27:31,077 p=116289 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:27:31,231 p=116289 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:27:31,392 p=116289 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:27:31,548 p=116289 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:27:31,724 p=116289 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:27:31,893 p=116289 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:27:32,054 p=116289 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:27:32,208 p=116289 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:27:32,364 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:27:32,524 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:27:32,676 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:27:32,831 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:27:32,986 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:27:33,153 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:27:33,327 p=116289 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:27:33,488 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:27:33,644 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:27:33,797 p=116289 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:27:33,956 p=116289 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:27:34,130 p=116289 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:27:34,289 p=116289 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:27:34,443 p=116289 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:27:34,595 p=116289 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:27:34,748 p=116289 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:27:34,905 p=116289 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:27:35,059 p=116289 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:27:35,217 p=116289 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:27:35,386 p=116289 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:27:35,538 p=116289 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:27:35,695 p=116289 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:27:35,850 p=116289 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:27:36,005 p=116289 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:27:36,159 p=116289 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:27:36,182 p=116289 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:27:36,371 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:36,380 p=116289 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:27:36,416 p=116289 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:27:36,452 p=116289 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:27:36,488 p=116289 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:27:36,524 p=116289 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:27:36,562 p=116289 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:27:36,598 p=116289 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:27:36,634 p=116289 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:27:36,669 p=116289 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:27:36,705 p=116289 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:27:36,740 p=116289 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:27:36,777 p=116289 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:27:36,813 p=116289 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:27:36,848 p=116289 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:27:36,883 p=116289 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:27:36,926 p=116289 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:27:36,961 p=116289 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:27:36,995 p=116289 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:27:37,036 p=116289 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:27:37,074 p=116289 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:27:37,104 p=116289 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:27:37,137 p=116289 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:27:37,171 p=116289 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:27:37,205 p=116289 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:27:37,238 p=116289 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:27:37,272 p=116289 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:27:37,306 p=116289 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:27:37,341 p=116289 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:27:37,376 p=116289 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:27:37,412 p=116289 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:27:37,446 p=116289 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:27:37,482 p=116289 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:27:37,516 p=116289 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:27:37,550 p=116289 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:27:37,585 p=116289 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:27:37,618 p=116289 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:27:37,653 p=116289 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:27:37,686 p=116289 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:27:37,877 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:37,887 p=116289 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:27:38,077 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:38,086 p=116289 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:27:38,295 p=116289 u=root | 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': 1568280456.143, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568280456.142, u'inode': 221681, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568280456.143, 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:27:38,305 p=116289 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:27:38,492 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:38,501 p=116289 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:27:38,683 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:38,694 p=116289 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:27:38,742 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:38,751 p=116289 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:27:38,798 p=116289 u=root | 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:27:38,808 p=116289 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:27:39,014 p=116289 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:27:39,186 p=116289 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:27:39,197 p=116289 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:27:39,399 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:39,411 p=116289 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:27:39,879 p=116289 u=root | 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:27:40,040 p=116289 u=root | 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:27:40,205 p=116289 u=root | 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:27:40,217 p=116289 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:27:40,414 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:40,423 p=116289 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:27:40,625 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:40,634 p=116289 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:27:40,825 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:40,835 p=116289 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:27:41,024 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:41,034 p=116289 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:27:41,065 p=116289 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:27:44,077 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:44,088 p=116289 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:27:44,357 p=116289 u=root | 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:27:44,576 p=116289 u=root | 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:27:44,586 p=116289 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:27:44,815 p=116289 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:27:45,010 p=116289 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:27:45,188 p=116289 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:27:45,389 p=116289 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:27:45,577 p=116289 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:27:45,765 p=116289 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:27:45,776 p=116289 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:27:45,966 p=116289 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:27:46,202 p=116289 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:27:46,397 p=116289 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:27:46,595 p=116289 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:27:46,770 p=116289 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:27:46,781 p=116289 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:27:46,947 p=116289 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:27:47,127 p=116289 u=root | ok: [localhost] 2019-09-12 09:27:47,136 p=116289 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:27:47,175 p=116289 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:27:47,212 p=116289 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:27:47,512 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:47,522 p=116289 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:27:47,756 p=116289 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:27:47,929 p=116289 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:27:47,940 p=116289 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:27:48,237 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:48,246 p=116289 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:27:48,437 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:48,448 p=116289 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:27:50,048 p=116289 u=root | changed: [localhost] 2019-09-12 09:27:50,057 p=116289 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:27:50,093 p=116289 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:27:50,132 p=116289 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:27:50,171 p=116289 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:27:50,210 p=116289 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:27:50,248 p=116289 u=root | TASK [persist-config : Find old registry secrets in Barbican] ********************************************************************************************************************************** 2019-09-12 09:27:52,882 p=116289 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep k8s-registry-secret | awk '{print $2}') 2019-09-12 09:27:55,486 p=116289 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep gcr-registry-secret | awk '{print $2}') 2019-09-12 09:27:58,110 p=116289 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep quay-registry-secret | awk '{print $2}') 2019-09-12 09:28:00,692 p=116289 u=root | changed: [localhost] => (item=source /etc/platform/openrc; openstack secret list | grep docker-registry-secret | awk '{print $2}') 2019-09-12 09:28:00,705 p=116289 u=root | TASK [persist-config : Delete old registry secrets in Barbican] ******************************************************************************************************************************** 2019-09-12 09:28:03,322 p=116289 u=root | 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.420784", "end": "2019-09-12 09:28:03.299191", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:28:00.878407", "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 09:28:06,060 p=116289 u=root | 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.578569", "end": "2019-09-12 09:28:06.041832", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:28:03.463263", "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 09:28:08,705 p=116289 u=root | 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.494374", "end": "2019-09-12 09:28:08.689784", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:28:06.195410", "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 09:28:11,341 p=116289 u=root | 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.488475", "end": "2019-09-12 09:28:11.324440", "item": "Openstack Admin credentials can only be loaded from the active controller.", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 09:28:08.835965", "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 09:28:11,344 p=116289 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:28:11,344 p=116289 u=root | localhost : ok=93 changed=25 unreachable=0 failed=1 2019-09-12 09:35:23,388 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:35:23,398 p=118419 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:35:23,584 p=118419 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:35:23,963 p=118419 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:35:24,112 p=118419 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:35:24,264 p=118419 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:35:24,416 p=118419 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:35:24,426 p=118419 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:35:24,501 p=118419 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:35:24,539 p=118419 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:35:24,577 p=118419 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:35:24,616 p=118419 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:35:24,655 p=118419 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:35:24,691 p=118419 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:35:24,731 p=118419 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:35:24,767 p=118419 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:35:25,171 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:25,182 p=118419 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:35:25,223 p=118419 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:35:25,398 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:25,407 p=118419 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:35:25,443 p=118419 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:35:25,478 p=118419 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:35:25,522 p=118419 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:35:25,557 p=118419 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:35:25,592 p=118419 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:35:25,629 p=118419 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:35:25,857 p=118419 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:35:26,046 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:26,057 p=118419 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:35:26,092 p=118419 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:35:26,273 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:26,282 p=118419 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:35:26,319 p=118419 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:35:26,362 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,372 p=118419 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:35:26,407 p=118419 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:35:26,449 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,458 p=118419 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:35:26,515 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,524 p=118419 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:35:26,559 p=118419 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:35:26,598 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,607 p=118419 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:35:26,653 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,662 p=118419 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:35:26,705 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,717 p=118419 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:35:26,771 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,781 p=118419 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:35:26,818 p=118419 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:35:26,859 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,873 p=118419 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:35:26,926 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,935 p=118419 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:35:26,982 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:26,991 p=118419 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:35:27,037 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,050 p=118419 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:35:27,093 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,103 p=118419 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:35:27,303 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:27,312 p=118419 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:35:27,511 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,521 p=118419 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:35:27,565 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,576 p=118419 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:35:27,622 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,638 p=118419 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:35:27,816 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,826 p=118419 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:35:27,872 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:27,880 p=118419 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:35:28,061 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:28,071 p=118419 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:35:28,112 p=118419 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:35:28,149 p=118419 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:35:28,187 p=118419 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:35:28,226 p=118419 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:35:28,262 p=118419 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:35:28,301 p=118419 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:35:28,336 p=118419 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:35:28,373 p=118419 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:35:28,407 p=118419 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:35:28,453 p=118419 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:35:28,487 p=118419 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:35:28,524 p=118419 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:35:28,560 p=118419 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:35:28,594 p=118419 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:35:28,630 p=118419 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:35:28,665 p=118419 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:35:28,701 p=118419 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:35:28,735 p=118419 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:35:28,948 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:28,959 p=118419 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:35:29,154 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:29,164 p=118419 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:35:29,199 p=118419 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:35:29,242 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:29,253 p=118419 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:35:29,289 p=118419 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:35:29,325 p=118419 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:35:29,754 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:29,764 p=118419 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:35:29,802 p=118419 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:35:29,984 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:29,995 p=118419 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:35:30,040 p=118419 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:35:30,471 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:30,481 p=118419 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:35:30,663 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:30,672 p=118419 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:35:30,716 p=118419 u=root | 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:35:30,725 p=118419 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:35:30,764 p=118419 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:35:30,805 p=118419 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:35:30,847 p=118419 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:35:30,887 p=118419 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:35:30,927 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:30,969 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:30,979 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:31,031 p=118419 u=root | ok: [localhost] => (item=None) 2019-09-12 09:35:31,043 p=118419 u=root | ok: [localhost] => (item=None) 2019-09-12 09:35:31,057 p=118419 u=root | ok: [localhost] => (item=None) 2019-09-12 09:35:31,071 p=118419 u=root | ok: [localhost] => (item=None) 2019-09-12 09:35:31,072 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:31,080 p=118419 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:35:31,136 p=118419 u=root | 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 09:35:31,145 p=118419 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:35:31,185 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:31,195 p=118419 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:35:31,234 p=118419 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:35:31,276 p=118419 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:35:31,315 p=118419 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:35:31,353 p=118419 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:35:31,391 p=118419 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:35:31,585 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:31,594 p=118419 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:35:31,631 p=118419 u=root | 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:35:31,667 p=118419 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:35:31,719 p=118419 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:35:31,731 p=118419 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:35:31,742 p=118419 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:35:31,795 p=118419 u=root | 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:35:31,808 p=118419 u=root | 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:35:31,822 p=118419 u=root | 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:35:31,836 p=118419 u=root | 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:35:31,854 p=118419 u=root | 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:35:31,886 p=118419 u=root | 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:35:31,888 p=118419 u=root | 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 09:35:31,903 p=118419 u=root | 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:35:31,918 p=118419 u=root | 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 09:35:31,928 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:31,971 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:31,981 p=118419 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:35:32,045 p=118419 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,059 p=118419 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,074 p=118419 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,094 p=118419 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,107 p=118419 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,124 p=118419 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:35:32,133 p=118419 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:35:32,235 p=118419 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:35:32,277 p=118419 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:35:32,286 p=118419 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:35:32,344 p=118419 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:35:32,414 p=118419 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:35:32,481 p=118419 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:35:32,582 p=118419 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:35:32,622 p=118419 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:35:32,664 p=118419 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:35:32,700 p=118419 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:35:32,740 p=118419 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:35:32,811 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:32,820 p=118419 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:35:32,908 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:32,917 p=118419 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:35:33,037 p=118419 u=root | 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 09:35:33,051 p=118419 u=root | 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:35:33,064 p=118419 u=root | 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 09:35:33,077 p=118419 u=root | 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:35:33,090 p=118419 u=root | 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:35:33,103 p=118419 u=root | 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:35:33,116 p=118419 u=root | 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:35:33,129 p=118419 u=root | 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:35:33,148 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:33,316 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:33,327 p=118419 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:35:33,369 p=118419 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:35:33,409 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:33,446 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:33,493 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:33,505 p=118419 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:35:33,544 p=118419 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:35:33,582 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:33,620 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:33,669 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:33,682 p=118419 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:35:33,722 p=118419 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:35:33,763 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:33,800 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:33,849 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:33,862 p=118419 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:35:33,903 p=118419 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:35:33,941 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:33,979 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:34,030 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,042 p=118419 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:35:34,085 p=118419 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:35:34,123 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:34,162 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:34,210 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,222 p=118419 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:35:34,263 p=118419 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:35:34,301 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:34,339 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:34,386 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,398 p=118419 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:35:34,440 p=118419 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:35:34,482 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:34,521 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:34,568 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,580 p=118419 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:35:34,621 p=118419 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:35:34,659 p=118419 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:35:34,699 p=118419 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:35:34,759 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,769 p=118419 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:35:34,844 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,858 p=118419 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:35:34,914 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:34,924 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:34,990 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:35,000 p=118419 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:35:35,038 p=118419 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:35:35,098 p=118419 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:35:35,134 p=118419 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:35:35,170 p=118419 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:35:35,210 p=118419 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:35:35,251 p=118419 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:35:35,290 p=118419 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:35:35,331 p=118419 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:35:35,414 p=118419 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:35:35,455 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:35,472 p=118419 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:35:35,517 p=118419 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:35:35,564 p=118419 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:35:35,602 p=118419 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:35:35,645 p=118419 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:35:35,676 p=118419 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:35:35,715 p=118419 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:35:35,754 p=118419 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:35:35,798 p=118419 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:35:35,841 p=118419 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:35:35,883 p=118419 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:35:36,078 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:36,088 p=118419 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:35:36,550 p=118419 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:35:36,706 p=118419 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:35:36,868 p=118419 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:35:37,028 p=118419 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:35:37,200 p=118419 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:35:37,372 p=118419 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:35:37,536 p=118419 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:35:37,707 p=118419 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:35:37,874 p=118419 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:35:38,042 p=118419 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:35:38,215 p=118419 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:35:38,370 p=118419 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:35:38,542 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:35:38,701 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:35:38,867 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:35:39,034 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:35:39,198 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:35:39,367 p=118419 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:35:39,519 p=118419 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:35:39,684 p=118419 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:35:39,860 p=118419 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:35:40,025 p=118419 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:35:40,188 p=118419 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:35:40,353 p=118419 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:35:40,520 p=118419 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:35:40,683 p=118419 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:35:40,859 p=118419 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:35:41,018 p=118419 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:35:41,179 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:35:41,339 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:35:41,502 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:35:41,682 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:35:41,856 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:35:42,019 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:35:42,186 p=118419 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:35:42,345 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:35:42,509 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:35:42,665 p=118419 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:35:42,820 p=118419 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:35:42,983 p=118419 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:35:43,136 p=118419 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:35:43,296 p=118419 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:35:43,452 p=118419 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:35:43,605 p=118419 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:35:43,763 p=118419 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:35:43,920 p=118419 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:35:44,082 p=118419 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:35:44,237 p=118419 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:35:44,396 p=118419 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:35:44,563 p=118419 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:35:44,718 p=118419 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:35:44,883 p=118419 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:35:45,051 p=118419 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:35:45,072 p=118419 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:35:45,278 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:45,288 p=118419 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:35:45,324 p=118419 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:35:45,362 p=118419 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:35:45,397 p=118419 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:35:45,433 p=118419 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:35:45,467 p=118419 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:35:45,502 p=118419 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:35:45,536 p=118419 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:35:45,572 p=118419 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:35:45,607 p=118419 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:35:45,645 p=118419 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:35:45,688 p=118419 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:35:45,725 p=118419 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:35:45,764 p=118419 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:35:45,796 p=118419 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:35:45,830 p=118419 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:35:45,866 p=118419 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:35:45,900 p=118419 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:35:45,935 p=118419 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:35:45,970 p=118419 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:35:46,001 p=118419 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:35:46,035 p=118419 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:35:46,069 p=118419 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:35:46,105 p=118419 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:35:46,140 p=118419 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:35:46,175 p=118419 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:35:46,209 p=118419 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:35:46,245 p=118419 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:35:46,280 p=118419 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:35:46,316 p=118419 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:35:46,354 p=118419 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:35:46,389 p=118419 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:35:46,424 p=118419 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:35:46,459 p=118419 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:35:46,500 p=118419 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:35:46,534 p=118419 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:35:46,573 p=118419 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:35:46,609 p=118419 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:35:46,804 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:46,813 p=118419 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:35:47,009 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:47,019 p=118419 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:35:47,233 p=118419 u=root | 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': 1568280945.03, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568280945.03, u'inode': 227645, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568280945.03, 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:35:47,244 p=118419 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:35:47,438 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:47,448 p=118419 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:35:47,633 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:47,643 p=118419 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:35:47,692 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:47,702 p=118419 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:35:47,748 p=118419 u=root | 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:35:47,758 p=118419 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:35:47,963 p=118419 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:35:48,138 p=118419 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:35:48,149 p=118419 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:35:48,352 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:48,362 p=118419 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:35:48,859 p=118419 u=root | 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:35:49,038 p=118419 u=root | 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:35:49,212 p=118419 u=root | 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:35:49,224 p=118419 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:35:49,430 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:49,439 p=118419 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:35:49,639 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:49,652 p=118419 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:35:49,866 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:49,877 p=118419 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:35:50,070 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:50,083 p=118419 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:35:50,119 p=118419 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:35:53,690 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:53,701 p=118419 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:35:53,950 p=118419 u=root | 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:35:54,164 p=118419 u=root | 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:35:54,174 p=118419 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:35:54,399 p=118419 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:35:54,579 p=118419 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:35:54,762 p=118419 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:35:54,964 p=118419 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:35:55,140 p=118419 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:35:55,318 p=118419 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:35:55,333 p=118419 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:35:55,536 p=118419 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:35:55,778 p=118419 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:35:55,961 p=118419 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:35:56,167 p=118419 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:35:56,337 p=118419 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:35:56,349 p=118419 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:35:56,530 p=118419 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:35:56,708 p=118419 u=root | ok: [localhost] 2019-09-12 09:35:56,719 p=118419 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:35:56,760 p=118419 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:35:56,800 p=118419 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:35:57,123 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:57,133 p=118419 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:35:57,370 p=118419 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:35:57,549 p=118419 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:35:57,560 p=118419 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:35:57,889 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:57,902 p=118419 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:35:58,093 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:58,103 p=118419 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:35:59,727 p=118419 u=root | changed: [localhost] 2019-09-12 09:35:59,737 p=118419 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:35:59,773 p=118419 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:35:59,814 p=118419 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:35:59,851 p=118419 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:35:59,892 p=118419 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:35:59,932 p=118419 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:35:59,974 p=118419 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:36:00,017 p=118419 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:36:00,057 p=118419 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:36:00,096 p=118419 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 09:36:00,138 p=118419 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:36:00,181 p=118419 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 09:36:00,222 p=118419 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:36:00,260 p=118419 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 09:36:00,467 p=118419 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 09:36:00,628 p=118419 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 09:36:00,777 p=118419 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 09:36:00,944 p=118419 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 09:36:00,956 p=118419 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 09:36:01,005 p=118419 u=root | ok: [localhost] 2019-09-12 09:36:01,014 p=118419 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 09:36:01,052 p=118419 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 09:36:01,090 p=118419 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 09:36:01,128 p=118419 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 09:36:01,167 p=118419 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:36:01,210 p=118419 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 09:36:01,219 p=118419 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 09:36:01,260 p=118419 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 09:36:01,300 p=118419 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 09:36:01,506 p=118419 u=root | changed: [localhost] 2019-09-12 09:36:01,515 p=118419 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 09:37:34,209 p=118419 u=root | changed: [localhost] 2019-09-12 09:37:34,220 p=118419 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:37:34,271 p=118419 u=root | 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-root/tmp/ansible-tmp-1568280961.56-72751410497611/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-root/tmp/ansible-tmp-1568280961.56-72751410497611/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:37:34,280 p=118419 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 09:37:34,327 p=118419 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 09:37:34,329 p=118419 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:37:34,330 p=118419 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 09:39:26,543 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:39:26,554 p=120050 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:39:26,741 p=120050 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:39:27,126 p=120050 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:39:27,269 p=120050 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:39:27,411 p=120050 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:39:27,557 p=120050 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:39:27,568 p=120050 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:39:27,662 p=120050 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:39:27,699 p=120050 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:39:27,738 p=120050 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:39:27,775 p=120050 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:39:27,811 p=120050 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:39:27,846 p=120050 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:39:27,886 p=120050 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:39:27,923 p=120050 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:39:28,335 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:28,350 p=120050 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:39:28,382 p=120050 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:39:28,550 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:28,558 p=120050 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:39:28,594 p=120050 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:39:28,627 p=120050 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:39:28,671 p=120050 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:39:28,713 p=120050 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:39:28,750 p=120050 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:39:28,789 p=120050 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:39:29,031 p=120050 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:39:29,224 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:29,233 p=120050 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:39:29,273 p=120050 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:39:29,459 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:29,468 p=120050 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:39:29,506 p=120050 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:39:29,550 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,560 p=120050 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:39:29,597 p=120050 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:39:29,642 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,651 p=120050 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:39:29,718 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,728 p=120050 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:39:29,765 p=120050 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:39:29,807 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,816 p=120050 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:39:29,860 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,870 p=120050 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:39:29,909 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,918 p=120050 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:39:29,977 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:29,986 p=120050 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:39:30,024 p=120050 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:39:30,064 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,073 p=120050 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:39:30,115 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,125 p=120050 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:39:30,168 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,178 p=120050 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:39:30,228 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,239 p=120050 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:39:30,283 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,292 p=120050 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:39:30,490 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:30,499 p=120050 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:39:30,697 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,706 p=120050 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:39:30,750 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,760 p=120050 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:39:30,802 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:30,811 p=120050 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:39:30,995 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:31,004 p=120050 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:39:31,048 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:31,057 p=120050 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:39:31,242 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:31,251 p=120050 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:39:31,292 p=120050 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:39:31,331 p=120050 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:39:31,369 p=120050 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:39:31,407 p=120050 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:39:31,443 p=120050 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:39:31,478 p=120050 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:39:31,515 p=120050 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:39:31,551 p=120050 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:39:31,586 p=120050 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:39:31,623 p=120050 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:39:31,659 p=120050 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:39:31,692 p=120050 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:39:31,727 p=120050 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:39:31,762 p=120050 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:39:31,796 p=120050 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:39:31,831 p=120050 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:39:31,866 p=120050 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:39:31,900 p=120050 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:39:32,119 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:32,141 p=120050 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:39:32,333 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:32,346 p=120050 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:39:32,385 p=120050 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:39:32,430 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:32,439 p=120050 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:39:32,483 p=120050 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:39:32,520 p=120050 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:39:32,961 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:32,971 p=120050 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:39:33,011 p=120050 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:39:33,187 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:33,196 p=120050 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:39:33,236 p=120050 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:39:33,678 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:33,689 p=120050 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:39:33,868 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:33,878 p=120050 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:39:33,920 p=120050 u=root | 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:39:33,930 p=120050 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:39:33,974 p=120050 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:39:34,014 p=120050 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:39:34,054 p=120050 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:39:34,098 p=120050 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:39:34,142 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:34,186 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:34,196 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:34,252 p=120050 u=root | ok: [localhost] => (item=None) 2019-09-12 09:39:34,264 p=120050 u=root | ok: [localhost] => (item=None) 2019-09-12 09:39:34,278 p=120050 u=root | ok: [localhost] => (item=None) 2019-09-12 09:39:34,292 p=120050 u=root | ok: [localhost] => (item=None) 2019-09-12 09:39:34,293 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:34,301 p=120050 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:39:34,358 p=120050 u=root | 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 09:39:34,367 p=120050 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:39:34,409 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:34,418 p=120050 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:39:34,458 p=120050 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:39:34,496 p=120050 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:39:34,536 p=120050 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:39:34,577 p=120050 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:39:34,615 p=120050 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:39:34,821 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:34,830 p=120050 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:39:34,867 p=120050 u=root | 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:39:34,906 p=120050 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:39:34,961 p=120050 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:39:34,976 p=120050 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:39:34,985 p=120050 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:39:35,042 p=120050 u=root | 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:39:35,056 p=120050 u=root | 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:39:35,069 p=120050 u=root | 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:39:35,085 p=120050 u=root | 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:39:35,099 p=120050 u=root | 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:39:35,116 p=120050 u=root | 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:39:35,129 p=120050 u=root | 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 09:39:35,144 p=120050 u=root | 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:39:35,161 p=120050 u=root | 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 09:39:35,170 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:35,213 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:35,223 p=120050 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:39:35,280 p=120050 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,300 p=120050 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,315 p=120050 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,331 p=120050 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,347 p=120050 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,363 p=120050 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:39:35,374 p=120050 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:39:35,476 p=120050 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:39:35,523 p=120050 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:39:35,532 p=120050 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:39:35,593 p=120050 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:39:35,661 p=120050 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:39:35,719 p=120050 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:39:35,822 p=120050 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:39:35,862 p=120050 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:39:35,898 p=120050 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:39:35,935 p=120050 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:39:35,974 p=120050 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:39:36,043 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:36,052 p=120050 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:39:36,141 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:36,151 p=120050 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:39:36,270 p=120050 u=root | 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 09:39:36,283 p=120050 u=root | 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:39:36,296 p=120050 u=root | 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 09:39:36,309 p=120050 u=root | 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:39:36,323 p=120050 u=root | 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:39:36,336 p=120050 u=root | 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:39:36,350 p=120050 u=root | 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:39:36,364 p=120050 u=root | 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:39:36,434 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:36,484 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:36,496 p=120050 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:39:36,536 p=120050 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:39:36,574 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:36,613 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:36,661 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:36,672 p=120050 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:39:36,711 p=120050 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:39:36,749 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:36,786 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:36,832 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:36,844 p=120050 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:39:36,900 p=120050 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:39:36,936 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:36,983 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:37,035 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,053 p=120050 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:39:37,092 p=120050 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:39:37,129 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:37,172 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:37,227 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,238 p=120050 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:39:37,282 p=120050 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:39:37,321 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:37,359 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:37,406 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,419 p=120050 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:39:37,459 p=120050 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:39:37,498 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:37,536 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:37,583 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,595 p=120050 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:39:37,636 p=120050 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:39:37,676 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:37,716 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:37,763 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,775 p=120050 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:39:37,814 p=120050 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:39:37,851 p=120050 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:39:37,890 p=120050 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:39:37,940 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:37,950 p=120050 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:39:38,011 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:38,020 p=120050 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:39:38,072 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:38,089 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:38,154 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:38,164 p=120050 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:39:38,198 p=120050 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:39:38,254 p=120050 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:39:38,288 p=120050 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:39:38,322 p=120050 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:39:38,361 p=120050 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:39:38,400 p=120050 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:39:38,439 p=120050 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:39:38,480 p=120050 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:39:38,566 p=120050 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:39:38,607 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:38,622 p=120050 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:39:38,666 p=120050 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:39:38,713 p=120050 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:39:38,754 p=120050 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:39:38,792 p=120050 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:39:38,822 p=120050 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:39:38,860 p=120050 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:39:38,902 p=120050 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:39:38,943 p=120050 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:39:38,984 p=120050 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:39:39,028 p=120050 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:39:39,230 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:39,240 p=120050 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:39:39,665 p=120050 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:39:39,818 p=120050 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:39:39,970 p=120050 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:39:40,130 p=120050 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:39:40,284 p=120050 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:39:40,443 p=120050 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:39:40,612 p=120050 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:39:40,764 p=120050 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:39:40,921 p=120050 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:39:41,080 p=120050 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:39:41,242 p=120050 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:39:41,408 p=120050 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:39:41,562 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:39:41,735 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:39:41,901 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:39:42,066 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:39:42,219 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:39:42,374 p=120050 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:39:42,526 p=120050 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:39:42,688 p=120050 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:39:42,851 p=120050 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:39:43,018 p=120050 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:39:43,181 p=120050 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:39:43,332 p=120050 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:39:43,484 p=120050 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:39:43,653 p=120050 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:39:43,807 p=120050 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:39:43,975 p=120050 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:39:44,133 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:39:44,294 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:39:44,455 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:39:44,608 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:39:44,771 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:39:44,942 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:39:45,103 p=120050 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:39:45,259 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:39:45,446 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:39:45,601 p=120050 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:39:45,757 p=120050 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:39:45,912 p=120050 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:39:46,068 p=120050 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:39:46,220 p=120050 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:39:46,376 p=120050 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:39:46,534 p=120050 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:39:46,690 p=120050 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:39:46,856 p=120050 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:39:47,014 p=120050 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:39:47,179 p=120050 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:39:47,341 p=120050 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:39:47,495 p=120050 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:39:47,665 p=120050 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:39:47,840 p=120050 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:39:48,003 p=120050 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:39:48,026 p=120050 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:39:48,211 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:48,221 p=120050 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:39:48,255 p=120050 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:39:48,290 p=120050 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:39:48,327 p=120050 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:39:48,363 p=120050 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:39:48,398 p=120050 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:39:48,435 p=120050 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:39:48,472 p=120050 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:39:48,508 p=120050 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:39:48,543 p=120050 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:39:48,577 p=120050 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:39:48,620 p=120050 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:39:48,654 p=120050 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:39:48,689 p=120050 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:39:48,723 p=120050 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:39:48,757 p=120050 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:39:48,792 p=120050 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:39:48,827 p=120050 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:39:48,863 p=120050 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:39:48,897 p=120050 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:39:48,936 p=120050 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:39:48,970 p=120050 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:39:49,005 p=120050 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:39:49,040 p=120050 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:39:49,075 p=120050 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:39:49,109 p=120050 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:39:49,144 p=120050 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:39:49,178 p=120050 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:39:49,211 p=120050 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:39:49,247 p=120050 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:39:49,285 p=120050 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:39:49,322 p=120050 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:39:49,358 p=120050 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:39:49,396 p=120050 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:39:49,430 p=120050 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:39:49,465 p=120050 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:39:49,504 p=120050 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:39:49,541 p=120050 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:39:49,741 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:49,752 p=120050 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:39:49,932 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:49,941 p=120050 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:39:50,162 p=120050 u=root | 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': 1568281187.983, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568281187.983, u'inode': 233119, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568281187.983, 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:39:50,172 p=120050 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:39:50,365 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:50,374 p=120050 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:39:50,569 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:50,579 p=120050 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:39:50,631 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:50,641 p=120050 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:39:50,688 p=120050 u=root | 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:39:50,697 p=120050 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:39:50,910 p=120050 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:39:51,070 p=120050 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:39:51,080 p=120050 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:39:51,268 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:51,278 p=120050 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:39:51,755 p=120050 u=root | 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:39:51,920 p=120050 u=root | 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:39:52,088 p=120050 u=root | 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:39:52,099 p=120050 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:39:52,299 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:52,309 p=120050 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:39:52,522 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:52,532 p=120050 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:39:52,728 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:52,738 p=120050 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:39:52,925 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:52,934 p=120050 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:39:52,965 p=120050 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:39:56,151 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:56,161 p=120050 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:39:56,404 p=120050 u=root | 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:39:56,617 p=120050 u=root | 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:39:56,627 p=120050 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:39:56,847 p=120050 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:39:57,037 p=120050 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:39:57,227 p=120050 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:39:57,412 p=120050 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:39:57,580 p=120050 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:39:57,751 p=120050 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:39:57,763 p=120050 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:39:57,956 p=120050 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:39:58,182 p=120050 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:39:58,366 p=120050 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:39:58,560 p=120050 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:39:58,737 p=120050 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:39:58,747 p=120050 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:39:58,926 p=120050 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:39:59,113 p=120050 u=root | ok: [localhost] 2019-09-12 09:39:59,123 p=120050 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:39:59,167 p=120050 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:39:59,207 p=120050 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:39:59,521 p=120050 u=root | changed: [localhost] 2019-09-12 09:39:59,530 p=120050 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:39:59,749 p=120050 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:39:59,939 p=120050 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:39:59,950 p=120050 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:40:00,256 p=120050 u=root | changed: [localhost] 2019-09-12 09:40:00,265 p=120050 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:40:00,470 p=120050 u=root | changed: [localhost] 2019-09-12 09:40:00,479 p=120050 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:40:02,118 p=120050 u=root | changed: [localhost] 2019-09-12 09:40:02,133 p=120050 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:40:02,172 p=120050 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:40:02,216 p=120050 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:40:02,254 p=120050 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:40:02,295 p=120050 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:40:02,335 p=120050 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:40:02,373 p=120050 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:40:02,411 p=120050 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:40:02,449 p=120050 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:40:02,491 p=120050 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 09:40:02,529 p=120050 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:40:02,566 p=120050 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 09:40:02,604 p=120050 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:40:02,641 p=120050 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 09:40:02,836 p=120050 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 09:40:02,985 p=120050 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 09:40:03,138 p=120050 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 09:40:03,293 p=120050 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 09:40:03,303 p=120050 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 09:40:03,348 p=120050 u=root | ok: [localhost] 2019-09-12 09:40:03,359 p=120050 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 09:40:03,396 p=120050 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 09:40:03,442 p=120050 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 09:40:03,478 p=120050 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 09:40:03,514 p=120050 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:40:03,559 p=120050 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 09:40:03,568 p=120050 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 09:40:03,610 p=120050 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 09:40:03,653 p=120050 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 09:40:03,852 p=120050 u=root | changed: [localhost] 2019-09-12 09:40:03,862 p=120050 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 09:41:36,505 p=120050 u=root | changed: [localhost] 2019-09-12 09:41:36,517 p=120050 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:41:36,568 p=120050 u=root | 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-root/tmp/ansible-tmp-1568281203.9-194143776129830/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-root/tmp/ansible-tmp-1568281203.9-194143776129830/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:41:36,578 p=120050 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 09:41:36,630 p=120050 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 09:41:36,632 p=120050 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:41:36,633 p=120050 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 09:44:04,018 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:44:04,029 p=121887 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:44:04,221 p=121887 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:44:04,608 p=121887 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:44:04,751 p=121887 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:44:04,893 p=121887 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:44:05,038 p=121887 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:44:05,049 p=121887 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:44:05,127 p=121887 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:44:05,167 p=121887 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:44:05,206 p=121887 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:44:05,241 p=121887 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:44:05,280 p=121887 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:44:05,315 p=121887 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:44:05,353 p=121887 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:44:05,387 p=121887 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:44:05,792 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:05,801 p=121887 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:44:05,834 p=121887 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:44:06,001 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:06,010 p=121887 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:44:06,045 p=121887 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:44:06,077 p=121887 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:44:06,119 p=121887 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:44:06,155 p=121887 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:44:06,191 p=121887 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:44:06,237 p=121887 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:44:06,470 p=121887 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:44:06,654 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:06,663 p=121887 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:44:06,699 p=121887 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:44:06,892 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:06,902 p=121887 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:44:06,940 p=121887 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:44:06,982 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:06,991 p=121887 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:44:07,029 p=121887 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:44:07,074 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,084 p=121887 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:44:07,141 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,151 p=121887 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:44:07,187 p=121887 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:44:07,232 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,242 p=121887 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:44:07,286 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,295 p=121887 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:44:07,335 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,345 p=121887 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:44:07,400 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,409 p=121887 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:44:07,454 p=121887 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:44:07,496 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,505 p=121887 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:44:07,546 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,557 p=121887 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:44:07,600 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,609 p=121887 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:44:07,653 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,662 p=121887 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:44:07,702 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:07,711 p=121887 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:44:07,903 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:07,914 p=121887 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:44:08,112 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,121 p=121887 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:44:08,164 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,174 p=121887 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:44:08,217 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,227 p=121887 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:44:08,400 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,409 p=121887 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:44:08,452 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,462 p=121887 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:44:08,658 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:08,667 p=121887 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:44:08,711 p=121887 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:44:08,750 p=121887 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:44:08,793 p=121887 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:44:08,831 p=121887 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:44:08,870 p=121887 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:44:08,908 p=121887 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:44:08,946 p=121887 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:44:08,983 p=121887 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:44:09,018 p=121887 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:44:09,055 p=121887 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:44:09,091 p=121887 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:44:09,128 p=121887 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:44:09,164 p=121887 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:44:09,202 p=121887 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:44:09,238 p=121887 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:44:09,272 p=121887 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:44:09,307 p=121887 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:44:09,343 p=121887 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:44:09,550 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:09,561 p=121887 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:44:09,759 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:09,768 p=121887 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:44:09,804 p=121887 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:44:09,854 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:09,863 p=121887 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:44:09,899 p=121887 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:44:09,939 p=121887 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:44:10,403 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:10,412 p=121887 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:44:10,449 p=121887 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:44:10,627 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:10,636 p=121887 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:44:10,672 p=121887 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:44:11,105 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:11,116 p=121887 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:44:11,303 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:11,313 p=121887 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:44:11,356 p=121887 u=root | 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:44:11,366 p=121887 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:44:11,406 p=121887 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:44:11,448 p=121887 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:44:11,489 p=121887 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:44:11,530 p=121887 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:44:11,571 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:11,615 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:11,625 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:11,681 p=121887 u=root | ok: [localhost] => (item=None) 2019-09-12 09:44:11,694 p=121887 u=root | ok: [localhost] => (item=None) 2019-09-12 09:44:11,708 p=121887 u=root | ok: [localhost] => (item=None) 2019-09-12 09:44:11,722 p=121887 u=root | ok: [localhost] => (item=None) 2019-09-12 09:44:11,724 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:11,733 p=121887 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:44:11,790 p=121887 u=root | 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 09:44:11,801 p=121887 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:44:11,843 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:11,853 p=121887 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:44:11,893 p=121887 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:44:11,930 p=121887 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:44:11,970 p=121887 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:44:12,007 p=121887 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:44:12,045 p=121887 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:44:12,253 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:12,262 p=121887 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:44:12,300 p=121887 u=root | 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:44:12,339 p=121887 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:44:12,396 p=121887 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:44:12,414 p=121887 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:44:12,425 p=121887 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:44:12,483 p=121887 u=root | 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:44:12,498 p=121887 u=root | 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:44:12,512 p=121887 u=root | 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:44:12,528 p=121887 u=root | 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:44:12,550 p=121887 u=root | 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:44:12,563 p=121887 u=root | 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:44:12,581 p=121887 u=root | 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 09:44:12,597 p=121887 u=root | 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:44:12,612 p=121887 u=root | 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 09:44:12,623 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:12,680 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:12,690 p=121887 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:44:12,753 p=121887 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,768 p=121887 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,783 p=121887 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,799 p=121887 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,814 p=121887 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,830 p=121887 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:44:12,841 p=121887 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:44:12,944 p=121887 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:44:12,988 p=121887 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:44:12,997 p=121887 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:44:13,055 p=121887 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:44:13,124 p=121887 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:44:13,186 p=121887 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:44:13,292 p=121887 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:44:13,331 p=121887 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:44:13,367 p=121887 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:44:13,405 p=121887 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:44:13,446 p=121887 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:44:13,522 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:13,533 p=121887 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:44:13,623 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:13,634 p=121887 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:44:13,753 p=121887 u=root | 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 09:44:13,767 p=121887 u=root | 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:44:13,784 p=121887 u=root | 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 09:44:13,797 p=121887 u=root | 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:44:13,810 p=121887 u=root | 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:44:13,823 p=121887 u=root | 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:44:13,841 p=121887 u=root | 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:44:13,859 p=121887 u=root | 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:44:13,930 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:13,988 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,000 p=121887 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:44:14,040 p=121887 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:44:14,078 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:14,117 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:14,164 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,176 p=121887 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:44:14,218 p=121887 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:44:14,259 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:14,297 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:14,344 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,357 p=121887 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:44:14,396 p=121887 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:44:14,433 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:14,476 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:14,530 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,542 p=121887 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:44:14,584 p=121887 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:44:14,622 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:14,677 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:14,731 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,743 p=121887 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:44:14,786 p=121887 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:44:14,828 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:14,866 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:14,913 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:14,927 p=121887 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:44:14,969 p=121887 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:44:15,009 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:15,050 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:15,099 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,110 p=121887 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:44:15,151 p=121887 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:44:15,191 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:15,231 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:15,282 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,296 p=121887 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:44:15,335 p=121887 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:44:15,375 p=121887 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:44:15,414 p=121887 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:44:15,470 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,481 p=121887 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:44:15,554 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,564 p=121887 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:44:15,614 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,624 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:15,686 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:15,698 p=121887 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:44:15,737 p=121887 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:44:15,798 p=121887 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:44:15,831 p=121887 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:44:15,869 p=121887 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:44:15,908 p=121887 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:44:15,948 p=121887 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:44:15,989 p=121887 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:44:16,031 p=121887 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:44:16,115 p=121887 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:44:16,160 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:16,176 p=121887 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:44:16,222 p=121887 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:44:16,273 p=121887 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:44:16,313 p=121887 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:44:16,351 p=121887 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:44:16,382 p=121887 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:44:16,422 p=121887 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:44:16,463 p=121887 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:44:16,501 p=121887 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:44:16,541 p=121887 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:44:16,583 p=121887 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:44:16,780 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:16,790 p=121887 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:44:17,225 p=121887 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:44:17,382 p=121887 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:44:17,549 p=121887 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:44:17,697 p=121887 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:44:17,851 p=121887 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:44:18,015 p=121887 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:44:18,176 p=121887 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:44:18,335 p=121887 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:44:18,487 p=121887 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:44:18,671 p=121887 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:44:18,839 p=121887 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:44:19,005 p=121887 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:44:19,171 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:44:19,336 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:44:19,494 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:44:19,660 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:44:19,811 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:44:19,985 p=121887 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:44:20,138 p=121887 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:44:20,293 p=121887 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:44:20,450 p=121887 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:44:20,604 p=121887 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:44:20,766 p=121887 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:44:20,929 p=121887 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:44:21,089 p=121887 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:44:21,258 p=121887 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:44:21,412 p=121887 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:44:21,571 p=121887 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:44:21,739 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:44:21,901 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:44:22,066 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:44:22,227 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:44:22,396 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:44:22,558 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:44:22,723 p=121887 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:44:22,891 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:44:23,045 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:44:23,204 p=121887 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:44:23,367 p=121887 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:44:23,535 p=121887 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:44:23,689 p=121887 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:44:23,861 p=121887 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:44:24,020 p=121887 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:44:24,177 p=121887 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:44:24,338 p=121887 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:44:24,494 p=121887 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:44:24,660 p=121887 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:44:24,826 p=121887 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:44:25,013 p=121887 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:44:25,170 p=121887 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:44:25,337 p=121887 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:44:25,503 p=121887 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:44:25,669 p=121887 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:44:25,692 p=121887 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:44:25,894 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:25,904 p=121887 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:44:25,939 p=121887 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:44:25,977 p=121887 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:44:26,013 p=121887 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:44:26,056 p=121887 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:44:26,091 p=121887 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:44:26,126 p=121887 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:44:26,160 p=121887 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:44:26,196 p=121887 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:44:26,232 p=121887 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:44:26,268 p=121887 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:44:26,305 p=121887 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:44:26,343 p=121887 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:44:26,383 p=121887 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:44:26,418 p=121887 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:44:26,453 p=121887 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:44:26,489 p=121887 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:44:26,525 p=121887 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:44:26,562 p=121887 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:44:26,598 p=121887 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:44:26,629 p=121887 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:44:26,665 p=121887 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:44:26,701 p=121887 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:44:26,737 p=121887 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:44:26,780 p=121887 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:44:26,817 p=121887 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:44:26,852 p=121887 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:44:26,888 p=121887 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:44:26,930 p=121887 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:44:26,968 p=121887 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:44:27,005 p=121887 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:44:27,045 p=121887 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:44:27,103 p=121887 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:44:27,138 p=121887 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:44:27,174 p=121887 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:44:27,210 p=121887 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:44:27,247 p=121887 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:44:27,283 p=121887 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:44:27,483 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:27,496 p=121887 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:44:27,691 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:27,702 p=121887 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:44:27,927 p=121887 u=root | 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': 1568281465.65, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568281465.65, u'inode': 235506, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568281465.65, 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:44:27,938 p=121887 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:44:28,135 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:28,147 p=121887 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:44:28,341 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:28,354 p=121887 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:44:28,406 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:28,416 p=121887 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:44:28,462 p=121887 u=root | 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:44:28,473 p=121887 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:44:28,703 p=121887 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:44:28,874 p=121887 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:44:28,883 p=121887 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:44:29,087 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:29,097 p=121887 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:44:29,582 p=121887 u=root | 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:44:29,748 p=121887 u=root | 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:44:29,927 p=121887 u=root | 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:44:29,941 p=121887 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:44:30,141 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:30,150 p=121887 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:44:30,349 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:30,359 p=121887 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:44:30,551 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:30,560 p=121887 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:44:30,751 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:30,761 p=121887 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:44:30,793 p=121887 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:44:33,994 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:34,004 p=121887 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:44:34,257 p=121887 u=root | 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:44:34,492 p=121887 u=root | 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:44:34,502 p=121887 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:44:34,719 p=121887 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:44:34,913 p=121887 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:44:35,123 p=121887 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:44:35,310 p=121887 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:44:35,498 p=121887 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:44:35,671 p=121887 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:44:35,683 p=121887 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:44:35,885 p=121887 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:44:36,112 p=121887 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:44:36,316 p=121887 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:44:36,518 p=121887 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:44:36,710 p=121887 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:44:36,721 p=121887 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:44:36,904 p=121887 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:44:37,082 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:37,092 p=121887 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:44:37,130 p=121887 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:44:37,169 p=121887 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:44:37,492 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:37,524 p=121887 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:44:37,761 p=121887 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:44:37,951 p=121887 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:44:37,961 p=121887 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:44:38,291 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:38,300 p=121887 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:44:38,487 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:38,497 p=121887 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:44:39,503 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:39,513 p=121887 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:44:39,553 p=121887 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:44:39,589 p=121887 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:44:39,626 p=121887 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:44:39,666 p=121887 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:44:39,706 p=121887 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:44:39,750 p=121887 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:44:39,789 p=121887 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:44:39,829 p=121887 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:44:39,869 p=121887 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 09:44:39,912 p=121887 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:44:39,953 p=121887 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 09:44:39,995 p=121887 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:44:40,034 p=121887 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 09:44:40,244 p=121887 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 09:44:40,398 p=121887 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 09:44:40,560 p=121887 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 09:44:40,716 p=121887 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 09:44:40,728 p=121887 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 09:44:40,776 p=121887 u=root | ok: [localhost] 2019-09-12 09:44:40,787 p=121887 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 09:44:40,826 p=121887 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 09:44:40,864 p=121887 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 09:44:40,902 p=121887 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 09:44:40,940 p=121887 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:44:40,989 p=121887 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 09:44:40,998 p=121887 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 09:44:41,039 p=121887 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 09:44:41,079 p=121887 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 09:44:41,286 p=121887 u=root | changed: [localhost] 2019-09-12 09:44:41,298 p=121887 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 09:46:14,491 p=121887 u=root | changed: [localhost] 2019-09-12 09:46:14,503 p=121887 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:46:14,562 p=121887 u=root | 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-root/tmp/ansible-tmp-1568281481.34-14371428047621/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-root/tmp/ansible-tmp-1568281481.34-14371428047621/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:46:14,574 p=121887 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 09:46:14,628 p=121887 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 09:46:14,631 p=121887 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 09:46:14,631 p=121887 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 09:56:16,856 passlib.registry registered 'md5_crypt' handler: 2019-09-12 09:56:16,868 p=127337 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 09:56:17,068 p=127337 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 09:56:17,477 p=127337 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 09:56:17,621 p=127337 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 09:56:17,777 p=127337 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 09:56:17,925 p=127337 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 09:56:17,935 p=127337 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 09:56:18,014 p=127337 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 09:56:18,053 p=127337 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 09:56:18,092 p=127337 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 09:56:18,130 p=127337 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 09:56:18,170 p=127337 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 09:56:18,205 p=127337 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:56:18,247 p=127337 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 09:56:18,287 p=127337 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 09:56:18,711 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:18,720 p=127337 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 09:56:18,754 p=127337 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 09:56:18,937 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:18,946 p=127337 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 09:56:18,986 p=127337 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 09:56:19,021 p=127337 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 09:56:19,067 p=127337 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 09:56:19,110 p=127337 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 09:56:19,150 p=127337 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:56:19,190 p=127337 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 09:56:19,417 p=127337 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 09:56:19,624 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:19,633 p=127337 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 09:56:19,671 p=127337 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 09:56:19,863 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:19,874 p=127337 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 09:56:19,917 p=127337 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 09:56:19,961 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:19,971 p=127337 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 09:56:20,009 p=127337 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 09:56:20,057 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,066 p=127337 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 09:56:20,131 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,142 p=127337 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 09:56:20,191 p=127337 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 09:56:20,237 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,247 p=127337 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 09:56:20,293 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,303 p=127337 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 09:56:20,346 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,357 p=127337 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 09:56:20,413 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,423 p=127337 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 09:56:20,462 p=127337 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 09:56:20,504 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,514 p=127337 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 09:56:20,555 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,566 p=127337 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 09:56:20,610 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,619 p=127337 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 09:56:20,667 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,679 p=127337 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 09:56:20,719 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:20,729 p=127337 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 09:56:20,928 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:20,937 p=127337 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 09:56:21,155 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,165 p=127337 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 09:56:21,212 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,222 p=127337 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 09:56:21,275 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,286 p=127337 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 09:56:21,469 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,478 p=127337 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 09:56:21,524 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,535 p=127337 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 09:56:21,721 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:21,732 p=127337 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 09:56:21,776 p=127337 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 09:56:21,814 p=127337 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 09:56:21,860 p=127337 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 09:56:21,899 p=127337 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 09:56:21,935 p=127337 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 09:56:21,975 p=127337 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 09:56:22,015 p=127337 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 09:56:22,052 p=127337 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 09:56:22,088 p=127337 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 09:56:22,126 p=127337 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 09:56:22,162 p=127337 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 09:56:22,200 p=127337 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 09:56:22,241 p=127337 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 09:56:22,283 p=127337 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 09:56:22,322 p=127337 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 09:56:22,360 p=127337 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 09:56:22,398 p=127337 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 09:56:22,435 p=127337 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 09:56:22,642 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:22,652 p=127337 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 09:56:22,850 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:22,861 p=127337 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 09:56:22,898 p=127337 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 09:56:22,944 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:22,954 p=127337 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:56:22,993 p=127337 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 09:56:23,031 p=127337 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 09:56:23,488 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:23,497 p=127337 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 09:56:23,535 p=127337 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 09:56:23,718 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:23,727 p=127337 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 09:56:23,764 p=127337 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 09:56:24,202 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:24,212 p=127337 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 09:56:24,400 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:24,409 p=127337 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 09:56:24,451 p=127337 u=root | 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:56:24,462 p=127337 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:56:24,503 p=127337 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 09:56:24,545 p=127337 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 09:56:24,587 p=127337 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 09:56:24,630 p=127337 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 09:56:24,683 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:24,730 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:24,741 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:24,798 p=127337 u=root | ok: [localhost] => (item=None) 2019-09-12 09:56:24,813 p=127337 u=root | ok: [localhost] => (item=None) 2019-09-12 09:56:24,827 p=127337 u=root | ok: [localhost] => (item=None) 2019-09-12 09:56:24,841 p=127337 u=root | ok: [localhost] => (item=None) 2019-09-12 09:56:24,843 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:24,853 p=127337 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:56:24,912 p=127337 u=root | 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 09:56:24,921 p=127337 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 09:56:24,963 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:24,974 p=127337 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 09:56:25,013 p=127337 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 09:56:25,052 p=127337 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 09:56:25,092 p=127337 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 09:56:25,133 p=127337 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 09:56:25,172 p=127337 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 09:56:25,381 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:25,392 p=127337 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 09:56:25,432 p=127337 u=root | 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:56:25,470 p=127337 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 09:56:25,526 p=127337 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 09:56:25,539 p=127337 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 09:56:25,549 p=127337 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 09:56:25,609 p=127337 u=root | 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:56:25,623 p=127337 u=root | 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:56:25,638 p=127337 u=root | 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:56:25,654 p=127337 u=root | 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:56:25,673 p=127337 u=root | 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:56:25,690 p=127337 u=root | 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:56:25,705 p=127337 u=root | 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 09:56:25,721 p=127337 u=root | 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:56:25,736 p=127337 u=root | 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 09:56:25,746 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:25,793 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:25,804 p=127337 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 09:56:25,869 p=127337 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,887 p=127337 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,905 p=127337 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,922 p=127337 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,940 p=127337 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,958 p=127337 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 09:56:25,968 p=127337 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 09:56:26,075 p=127337 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 09:56:26,122 p=127337 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 09:56:26,132 p=127337 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 09:56:26,191 p=127337 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 09:56:26,264 p=127337 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 09:56:26,324 p=127337 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 09:56:26,421 p=127337 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 09:56:26,459 p=127337 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 09:56:26,498 p=127337 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 09:56:26,539 p=127337 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 09:56:26,578 p=127337 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 09:56:26,665 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:26,677 p=127337 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 09:56:26,771 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:26,780 p=127337 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:56:26,898 p=127337 u=root | 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 09:56:26,911 p=127337 u=root | 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:56:26,924 p=127337 u=root | 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 09:56:26,936 p=127337 u=root | 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:56:26,949 p=127337 u=root | 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:56:26,962 p=127337 u=root | 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:56:26,975 p=127337 u=root | 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:56:26,990 p=127337 u=root | 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:56:27,055 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:27,115 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:27,129 p=127337 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 09:56:27,178 p=127337 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 09:56:27,224 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:27,265 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:27,322 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:27,334 p=127337 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 09:56:27,375 p=127337 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 09:56:27,414 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:27,453 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:27,501 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:27,514 p=127337 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 09:56:27,557 p=127337 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 09:56:27,598 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:27,640 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:27,692 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:27,704 p=127337 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 09:56:27,745 p=127337 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 09:56:27,785 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:27,827 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:27,881 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:27,896 p=127337 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 09:56:27,940 p=127337 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 09:56:27,981 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:28,022 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:28,073 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,085 p=127337 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 09:56:28,126 p=127337 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 09:56:28,166 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:28,206 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:28,255 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,268 p=127337 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 09:56:28,310 p=127337 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 09:56:28,351 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:28,391 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:28,440 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,453 p=127337 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 09:56:28,493 p=127337 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 09:56:28,534 p=127337 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 09:56:28,573 p=127337 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 09:56:28,625 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,635 p=127337 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 09:56:28,699 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,709 p=127337 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 09:56:28,762 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,772 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:28,837 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:28,847 p=127337 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 09:56:28,885 p=127337 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 09:56:28,941 p=127337 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 09:56:28,976 p=127337 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 09:56:29,012 p=127337 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 09:56:29,053 p=127337 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 09:56:29,098 p=127337 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 09:56:29,139 p=127337 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 09:56:29,183 p=127337 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 09:56:29,274 p=127337 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 09:56:29,317 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:29,332 p=127337 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 09:56:29,379 p=127337 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 09:56:29,426 p=127337 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 09:56:29,494 p=127337 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 09:56:29,535 p=127337 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 09:56:29,567 p=127337 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 09:56:29,612 p=127337 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 09:56:29,653 p=127337 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 09:56:29,694 p=127337 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 09:56:29,733 p=127337 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 09:56:29,776 p=127337 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 09:56:29,987 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:29,997 p=127337 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 09:56:30,447 p=127337 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 09:56:30,610 p=127337 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 09:56:30,781 p=127337 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 09:56:30,936 p=127337 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 09:56:31,104 p=127337 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 09:56:31,270 p=127337 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 09:56:31,434 p=127337 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 09:56:31,599 p=127337 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 09:56:31,762 p=127337 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 09:56:31,932 p=127337 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 09:56:32,089 p=127337 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 09:56:32,250 p=127337 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 09:56:32,419 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 09:56:32,587 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 09:56:32,756 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 09:56:32,925 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:56:33,082 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 09:56:33,252 p=127337 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 09:56:33,408 p=127337 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 09:56:33,582 p=127337 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 09:56:33,751 p=127337 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 09:56:33,921 p=127337 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 09:56:34,081 p=127337 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 09:56:34,250 p=127337 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 09:56:34,419 p=127337 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 09:56:34,582 p=127337 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 09:56:34,753 p=127337 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 09:56:34,917 p=127337 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 09:56:35,076 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 09:56:35,236 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 09:56:35,400 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 09:56:35,556 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 09:56:35,716 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 09:56:35,875 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 09:56:36,033 p=127337 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 09:56:36,187 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 09:56:36,344 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 09:56:36,502 p=127337 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 09:56:36,679 p=127337 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 09:56:36,855 p=127337 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 09:56:37,013 p=127337 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 09:56:37,174 p=127337 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 09:56:37,333 p=127337 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 09:56:37,502 p=127337 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 09:56:37,671 p=127337 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 09:56:37,831 p=127337 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 09:56:38,004 p=127337 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 09:56:38,174 p=127337 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 09:56:38,354 p=127337 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 09:56:38,514 p=127337 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 09:56:38,675 p=127337 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 09:56:38,845 p=127337 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 09:56:39,006 p=127337 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 09:56:39,034 p=127337 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 09:56:39,236 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:39,246 p=127337 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 09:56:39,283 p=127337 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 09:56:39,321 p=127337 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 09:56:39,359 p=127337 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 09:56:39,396 p=127337 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 09:56:39,434 p=127337 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 09:56:39,471 p=127337 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 09:56:39,505 p=127337 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 09:56:39,542 p=127337 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 09:56:39,580 p=127337 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 09:56:39,616 p=127337 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 09:56:39,654 p=127337 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 09:56:39,690 p=127337 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 09:56:39,727 p=127337 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 09:56:39,762 p=127337 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 09:56:39,799 p=127337 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 09:56:39,836 p=127337 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 09:56:39,873 p=127337 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 09:56:39,913 p=127337 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 09:56:39,949 p=127337 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 09:56:39,982 p=127337 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 09:56:40,019 p=127337 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 09:56:40,058 p=127337 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 09:56:40,104 p=127337 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 09:56:40,143 p=127337 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 09:56:40,181 p=127337 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 09:56:40,217 p=127337 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 09:56:40,255 p=127337 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 09:56:40,294 p=127337 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 09:56:40,330 p=127337 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 09:56:40,368 p=127337 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 09:56:40,404 p=127337 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 09:56:40,440 p=127337 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 09:56:40,476 p=127337 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 09:56:40,512 p=127337 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 09:56:40,548 p=127337 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 09:56:40,590 p=127337 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 09:56:40,627 p=127337 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 09:56:40,818 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:40,827 p=127337 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 09:56:41,022 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:41,032 p=127337 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 09:56:41,259 p=127337 u=root | 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': 1568282198.986, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568282198.986, u'inode': 261197, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568282198.986, 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:56:41,270 p=127337 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 09:56:41,482 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:41,494 p=127337 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 09:56:41,696 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:41,706 p=127337 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 09:56:41,757 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:41,768 p=127337 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:56:41,817 p=127337 u=root | 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:56:41,827 p=127337 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 09:56:42,037 p=127337 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 09:56:42,206 p=127337 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 09:56:42,217 p=127337 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 09:56:42,435 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:42,446 p=127337 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 09:56:42,962 p=127337 u=root | 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:56:43,130 p=127337 u=root | 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:56:43,298 p=127337 u=root | 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:56:43,310 p=127337 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 09:56:43,502 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:43,512 p=127337 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 09:56:43,717 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:43,727 p=127337 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 09:56:43,943 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:43,953 p=127337 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 09:56:44,152 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:44,162 p=127337 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 09:56:44,196 p=127337 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 09:56:47,535 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:47,551 p=127337 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 09:56:47,833 p=127337 u=root | 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:56:48,050 p=127337 u=root | 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:56:48,061 p=127337 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 09:56:48,303 p=127337 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:56:48,500 p=127337 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 09:56:48,692 p=127337 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 09:56:48,884 p=127337 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:56:49,057 p=127337 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:56:49,229 p=127337 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 09:56:49,243 p=127337 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 09:56:49,461 p=127337 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 09:56:49,724 p=127337 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 09:56:49,931 p=127337 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 09:56:50,141 p=127337 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 09:56:50,322 p=127337 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 09:56:50,336 p=127337 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 09:56:50,519 p=127337 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 09:56:50,717 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:50,728 p=127337 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 09:56:50,770 p=127337 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 09:56:50,810 p=127337 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 09:56:51,122 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:51,135 p=127337 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 09:56:51,373 p=127337 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 09:56:51,549 p=127337 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 09:56:51,565 p=127337 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 09:56:51,918 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:51,929 p=127337 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 09:56:52,125 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:52,135 p=127337 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 09:56:53,604 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:53,614 p=127337 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 09:56:53,658 p=127337 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 09:56:53,695 p=127337 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 09:56:53,732 p=127337 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 09:56:53,772 p=127337 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 09:56:53,811 p=127337 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:56:53,851 p=127337 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:56:53,892 p=127337 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 09:56:53,933 p=127337 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:56:53,973 p=127337 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 09:56:54,014 p=127337 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:56:54,053 p=127337 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 09:56:54,093 p=127337 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 09:56:54,131 p=127337 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 09:56:54,336 p=127337 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 09:56:54,490 p=127337 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 09:56:54,646 p=127337 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 09:56:54,832 p=127337 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 09:56:54,844 p=127337 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 09:56:54,888 p=127337 u=root | ok: [localhost] 2019-09-12 09:56:54,899 p=127337 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 09:56:54,936 p=127337 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 09:56:54,976 p=127337 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 09:56:55,014 p=127337 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 09:56:55,052 p=127337 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 09:56:55,099 p=127337 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 09:56:55,109 p=127337 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 09:56:55,151 p=127337 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 09:56:55,194 p=127337 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 09:56:55,408 p=127337 u=root | changed: [localhost] 2019-09-12 09:56:55,417 p=127337 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 10:04:11,334 p=127337 u=root | changed: [localhost] 2019-09-12 10:04:11,348 p=127337 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:04:11,408 p=127337 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568282215.46-80175351593459/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-12 10:04:11,419 p=127337 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 10:04:11,470 p=127337 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 10:04:11,473 p=127337 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:04:11,473 p=127337 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 10:31:29,667 passlib.registry registered 'md5_crypt' handler: 2019-09-12 10:31:29,678 p=136056 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 10:31:29,874 p=136056 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 10:31:30,258 p=136056 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 10:31:30,394 p=136056 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 10:31:30,542 p=136056 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 10:31:30,683 p=136056 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 10:31:30,694 p=136056 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 10:31:30,772 p=136056 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 10:31:30,812 p=136056 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 10:31:30,852 p=136056 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 10:31:30,886 p=136056 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 10:31:30,924 p=136056 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 10:31:30,958 p=136056 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:31:30,998 p=136056 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 10:31:31,036 p=136056 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 10:31:31,447 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:31,456 p=136056 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 10:31:31,495 p=136056 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 10:31:31,667 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:31,677 p=136056 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 10:31:31,714 p=136056 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 10:31:31,749 p=136056 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 10:31:31,805 p=136056 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 10:31:31,844 p=136056 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 10:31:31,881 p=136056 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:31:31,920 p=136056 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 10:31:32,158 p=136056 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 10:31:32,363 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:32,375 p=136056 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 10:31:32,413 p=136056 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 10:31:32,609 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:32,621 p=136056 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 10:31:32,662 p=136056 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 10:31:32,705 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:32,715 p=136056 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 10:31:32,752 p=136056 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 10:31:32,797 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:32,810 p=136056 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 10:31:32,871 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:32,881 p=136056 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 10:31:32,925 p=136056 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 10:31:32,966 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:32,975 p=136056 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 10:31:33,018 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,028 p=136056 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 10:31:33,068 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,081 p=136056 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 10:31:33,140 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,149 p=136056 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 10:31:33,188 p=136056 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 10:31:33,229 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,238 p=136056 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 10:31:33,280 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,290 p=136056 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 10:31:33,333 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,342 p=136056 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 10:31:33,386 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,398 p=136056 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 10:31:33,440 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,450 p=136056 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 10:31:33,647 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:33,656 p=136056 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 10:31:33,868 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,878 p=136056 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 10:31:33,926 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,935 p=136056 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 10:31:33,985 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:33,995 p=136056 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 10:31:34,196 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:34,206 p=136056 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 10:31:34,253 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:34,263 p=136056 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 10:31:34,444 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:34,453 p=136056 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 10:31:34,496 p=136056 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 10:31:34,534 p=136056 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 10:31:34,573 p=136056 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 10:31:34,608 p=136056 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 10:31:34,645 p=136056 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 10:31:34,681 p=136056 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 10:31:34,718 p=136056 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 10:31:34,755 p=136056 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 10:31:34,792 p=136056 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 10:31:34,828 p=136056 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 10:31:34,863 p=136056 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 10:31:34,900 p=136056 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 10:31:34,943 p=136056 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 10:31:34,983 p=136056 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 10:31:35,020 p=136056 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 10:31:35,057 p=136056 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 10:31:35,095 p=136056 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 10:31:35,133 p=136056 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 10:31:35,353 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:35,363 p=136056 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 10:31:35,563 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:35,573 p=136056 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 10:31:35,609 p=136056 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 10:31:35,653 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:35,662 p=136056 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:31:35,699 p=136056 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:31:35,738 p=136056 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 10:31:36,185 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:36,194 p=136056 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 10:31:36,231 p=136056 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 10:31:36,408 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:36,418 p=136056 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 10:31:36,456 p=136056 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 10:31:36,903 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:36,912 p=136056 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 10:31:37,093 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:37,103 p=136056 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:31:37,145 p=136056 u=root | 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:31:37,155 p=136056 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:31:37,196 p=136056 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:31:37,239 p=136056 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 10:31:37,280 p=136056 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 10:31:37,325 p=136056 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 10:31:37,370 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:37,416 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:37,426 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:37,480 p=136056 u=root | ok: [localhost] => (item=None) 2019-09-12 10:31:37,492 p=136056 u=root | ok: [localhost] => (item=None) 2019-09-12 10:31:37,506 p=136056 u=root | ok: [localhost] => (item=None) 2019-09-12 10:31:37,520 p=136056 u=root | ok: [localhost] => (item=None) 2019-09-12 10:31:37,521 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:37,530 p=136056 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:31:37,589 p=136056 u=root | 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 10:31:37,599 p=136056 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 10:31:37,642 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:37,652 p=136056 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:31:37,696 p=136056 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 10:31:37,749 p=136056 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 10:31:37,796 p=136056 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 10:31:37,837 p=136056 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 10:31:37,879 p=136056 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 10:31:38,084 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:38,098 p=136056 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 10:31:38,137 p=136056 u=root | 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:31:38,177 p=136056 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 10:31:38,228 p=136056 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 10:31:38,241 p=136056 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 10:31:38,251 p=136056 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 10:31:38,310 p=136056 u=root | 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:31:38,325 p=136056 u=root | 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:31:38,348 p=136056 u=root | 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:31:38,367 p=136056 u=root | 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:31:38,382 p=136056 u=root | 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:31:38,398 p=136056 u=root | 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:31:38,412 p=136056 u=root | 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 10:31:38,428 p=136056 u=root | 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:31:38,445 p=136056 u=root | 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 10:31:38,455 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:38,499 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:38,512 p=136056 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 10:31:38,580 p=136056 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,594 p=136056 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,612 p=136056 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,632 p=136056 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,649 p=136056 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,666 p=136056 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:31:38,677 p=136056 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 10:31:38,782 p=136056 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 10:31:38,828 p=136056 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 10:31:38,838 p=136056 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 10:31:38,902 p=136056 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 10:31:38,983 p=136056 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 10:31:39,041 p=136056 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 10:31:39,151 p=136056 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 10:31:39,190 p=136056 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 10:31:39,229 p=136056 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 10:31:39,269 p=136056 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 10:31:39,310 p=136056 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 10:31:39,381 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:39,391 p=136056 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 10:31:39,482 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:39,491 p=136056 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:31:39,614 p=136056 u=root | 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 10:31:39,627 p=136056 u=root | 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:31:39,642 p=136056 u=root | 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 10:31:39,655 p=136056 u=root | 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:31:39,668 p=136056 u=root | 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:31:39,681 p=136056 u=root | 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:31:39,694 p=136056 u=root | 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:31:39,708 p=136056 u=root | 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:31:39,775 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:39,825 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:39,837 p=136056 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 10:31:39,879 p=136056 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 10:31:39,919 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:39,958 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,006 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,018 p=136056 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 10:31:40,059 p=136056 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 10:31:40,098 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:40,142 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,194 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,206 p=136056 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 10:31:40,248 p=136056 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 10:31:40,287 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:40,326 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,377 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,391 p=136056 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 10:31:40,431 p=136056 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 10:31:40,473 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:40,515 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,569 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,584 p=136056 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 10:31:40,625 p=136056 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 10:31:40,665 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:40,704 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,754 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,766 p=136056 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 10:31:40,810 p=136056 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 10:31:40,850 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:40,891 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:40,942 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:40,956 p=136056 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 10:31:40,999 p=136056 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 10:31:41,040 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:41,080 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:41,129 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:41,142 p=136056 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 10:31:41,185 p=136056 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 10:31:41,224 p=136056 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:31:41,266 p=136056 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 10:31:41,328 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:41,338 p=136056 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 10:31:41,400 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:41,410 p=136056 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 10:31:41,462 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:41,472 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:41,542 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:41,553 p=136056 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 10:31:41,597 p=136056 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 10:31:41,659 p=136056 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 10:31:41,693 p=136056 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 10:31:41,730 p=136056 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 10:31:41,773 p=136056 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 10:31:41,816 p=136056 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 10:31:41,857 p=136056 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 10:31:41,902 p=136056 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:31:41,990 p=136056 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:31:42,031 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:42,047 p=136056 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 10:31:42,094 p=136056 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 10:31:42,146 p=136056 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 10:31:42,188 p=136056 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 10:31:42,229 p=136056 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 10:31:42,260 p=136056 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 10:31:42,299 p=136056 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 10:31:42,338 p=136056 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 10:31:42,377 p=136056 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 10:31:42,418 p=136056 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 10:31:42,461 p=136056 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 10:31:42,661 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:42,672 p=136056 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 10:31:43,119 p=136056 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 10:31:43,263 p=136056 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 10:31:43,431 p=136056 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 10:31:43,588 p=136056 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 10:31:43,750 p=136056 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 10:31:43,904 p=136056 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 10:31:44,068 p=136056 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 10:31:44,223 p=136056 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 10:31:44,378 p=136056 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 10:31:44,537 p=136056 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 10:31:44,700 p=136056 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 10:31:44,857 p=136056 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 10:31:45,024 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 10:31:45,190 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 10:31:45,345 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 10:31:45,504 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:31:45,659 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 10:31:45,823 p=136056 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 10:31:45,979 p=136056 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 10:31:46,150 p=136056 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 10:31:46,311 p=136056 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 10:31:46,465 p=136056 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:31:46,620 p=136056 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 10:31:46,781 p=136056 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 10:31:46,947 p=136056 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 10:31:47,112 p=136056 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 10:31:47,268 p=136056 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 10:31:47,439 p=136056 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 10:31:47,598 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 10:31:47,758 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 10:31:47,920 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 10:31:48,079 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 10:31:48,243 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 10:31:48,399 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 10:31:48,567 p=136056 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 10:31:48,731 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 10:31:48,895 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 10:31:49,066 p=136056 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 10:31:49,236 p=136056 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 10:31:49,397 p=136056 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 10:31:49,559 p=136056 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 10:31:49,716 p=136056 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 10:31:49,910 p=136056 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 10:31:50,077 p=136056 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 10:31:50,236 p=136056 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 10:31:50,392 p=136056 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 10:31:50,552 p=136056 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 10:31:50,744 p=136056 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 10:31:50,902 p=136056 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 10:31:51,071 p=136056 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 10:31:51,239 p=136056 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 10:31:51,406 p=136056 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 10:31:51,566 p=136056 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 10:31:51,589 p=136056 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 10:31:51,786 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:51,796 p=136056 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 10:31:51,833 p=136056 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 10:31:51,871 p=136056 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 10:31:51,906 p=136056 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 10:31:51,944 p=136056 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 10:31:51,981 p=136056 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 10:31:52,018 p=136056 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 10:31:52,056 p=136056 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 10:31:52,092 p=136056 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 10:31:52,129 p=136056 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 10:31:52,169 p=136056 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 10:31:52,207 p=136056 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 10:31:52,245 p=136056 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 10:31:52,283 p=136056 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 10:31:52,319 p=136056 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 10:31:52,355 p=136056 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 10:31:52,391 p=136056 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 10:31:52,428 p=136056 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 10:31:52,467 p=136056 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 10:31:52,506 p=136056 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 10:31:52,538 p=136056 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 10:31:52,574 p=136056 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 10:31:52,612 p=136056 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 10:31:52,648 p=136056 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 10:31:52,686 p=136056 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 10:31:52,723 p=136056 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 10:31:52,759 p=136056 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 10:31:52,796 p=136056 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 10:31:52,835 p=136056 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 10:31:52,872 p=136056 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 10:31:52,909 p=136056 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 10:31:52,951 p=136056 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 10:31:52,989 p=136056 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 10:31:53,028 p=136056 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 10:31:53,065 p=136056 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 10:31:53,102 p=136056 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 10:31:53,139 p=136056 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 10:31:53,175 p=136056 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 10:31:53,378 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:53,388 p=136056 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 10:31:53,583 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:53,593 p=136056 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 10:31:53,811 p=136056 u=root | 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': 1568284311.547, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568284311.547, u'inode': 289458, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568284311.547, 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:31:53,821 p=136056 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 10:31:54,032 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:54,042 p=136056 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 10:31:54,236 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:54,246 p=136056 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 10:31:54,320 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:54,330 p=136056 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:31:54,377 p=136056 u=root | 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:31:54,387 p=136056 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 10:31:54,592 p=136056 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 10:31:54,774 p=136056 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 10:31:54,785 p=136056 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 10:31:54,978 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:54,990 p=136056 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 10:31:55,472 p=136056 u=root | 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:31:55,637 p=136056 u=root | 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:31:55,803 p=136056 u=root | 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:31:55,815 p=136056 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 10:31:56,014 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:56,025 p=136056 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 10:31:56,221 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:56,231 p=136056 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 10:31:56,425 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:56,435 p=136056 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 10:31:56,624 p=136056 u=root | ok: [localhost] 2019-09-12 10:31:56,634 p=136056 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 10:31:56,665 p=136056 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 10:31:59,842 p=136056 u=root | changed: [localhost] 2019-09-12 10:31:59,853 p=136056 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 10:32:00,108 p=136056 u=root | 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:32:00,336 p=136056 u=root | 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:32:00,349 p=136056 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 10:32:00,598 p=136056 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:32:00,785 p=136056 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 10:32:00,976 p=136056 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 10:32:01,161 p=136056 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:32:01,330 p=136056 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:32:01,513 p=136056 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 10:32:01,526 p=136056 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 10:32:01,731 p=136056 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 10:32:02,004 p=136056 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:32:02,201 p=136056 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 10:32:02,392 p=136056 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:32:02,569 p=136056 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:32:02,584 p=136056 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 10:32:02,773 p=136056 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 10:32:02,957 p=136056 u=root | ok: [localhost] 2019-09-12 10:32:02,966 p=136056 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 10:32:03,012 p=136056 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 10:32:03,062 p=136056 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 10:32:03,369 p=136056 u=root | changed: [localhost] 2019-09-12 10:32:03,379 p=136056 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 10:32:03,605 p=136056 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 10:32:03,790 p=136056 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 10:32:03,801 p=136056 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 10:32:04,161 p=136056 u=root | changed: [localhost] 2019-09-12 10:32:04,172 p=136056 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 10:32:04,385 p=136056 u=root | changed: [localhost] 2019-09-12 10:32:04,395 p=136056 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 10:32:05,866 p=136056 u=root | changed: [localhost] 2019-09-12 10:32:05,875 p=136056 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 10:32:05,913 p=136056 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 10:32:05,953 p=136056 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 10:32:05,994 p=136056 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 10:32:06,035 p=136056 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 10:32:06,077 p=136056 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:32:06,117 p=136056 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:32:06,156 p=136056 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:32:06,198 p=136056 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:32:06,252 p=136056 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 10:32:06,296 p=136056 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:32:06,341 p=136056 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 10:32:06,382 p=136056 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:32:06,424 p=136056 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 10:32:06,646 p=136056 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 10:32:06,809 p=136056 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 10:32:06,973 p=136056 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 10:32:07,130 p=136056 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 10:32:07,141 p=136056 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 10:32:07,185 p=136056 u=root | ok: [localhost] 2019-09-12 10:32:07,196 p=136056 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 10:32:07,235 p=136056 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 10:32:07,273 p=136056 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 10:32:07,312 p=136056 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 10:32:07,351 p=136056 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:32:07,399 p=136056 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 10:32:07,409 p=136056 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 10:32:07,451 p=136056 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 10:32:07,494 p=136056 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 10:32:07,693 p=136056 u=root | changed: [localhost] 2019-09-12 10:32:07,703 p=136056 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 10:33:40,022 p=136056 u=root | changed: [localhost] 2019-09-12 10:33:40,037 p=136056 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:33:40,099 p=136056 u=root | 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-root/tmp/ansible-tmp-1568284327.74-186630279421027/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-root/tmp/ansible-tmp-1568284327.74-186630279421027/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:33:40,110 p=136056 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 10:33:40,160 p=136056 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 10:33:40,163 p=136056 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:33:40,164 p=136056 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 10:37:08,916 passlib.registry registered 'md5_crypt' handler: 2019-09-12 10:37:08,928 p=137864 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 10:37:09,130 p=137864 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 10:37:09,513 p=137864 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 10:37:09,669 p=137864 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 10:37:09,836 p=137864 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 10:37:09,981 p=137864 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 10:37:09,998 p=137864 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 10:37:10,087 p=137864 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 10:37:10,128 p=137864 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 10:37:10,171 p=137864 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 10:37:10,206 p=137864 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 10:37:10,244 p=137864 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 10:37:10,280 p=137864 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:37:10,320 p=137864 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 10:37:10,357 p=137864 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 10:37:10,766 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:10,775 p=137864 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 10:37:10,810 p=137864 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 10:37:11,000 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:11,009 p=137864 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 10:37:11,045 p=137864 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 10:37:11,079 p=137864 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 10:37:11,125 p=137864 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 10:37:11,162 p=137864 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 10:37:11,199 p=137864 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:37:11,237 p=137864 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 10:37:11,471 p=137864 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 10:37:11,659 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:11,668 p=137864 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 10:37:11,707 p=137864 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 10:37:11,896 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:11,907 p=137864 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 10:37:11,947 p=137864 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 10:37:11,991 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,001 p=137864 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 10:37:12,039 p=137864 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 10:37:12,097 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,106 p=137864 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 10:37:12,168 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,178 p=137864 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 10:37:12,216 p=137864 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 10:37:12,261 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,271 p=137864 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 10:37:12,317 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,327 p=137864 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 10:37:12,372 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,384 p=137864 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 10:37:12,442 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,452 p=137864 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 10:37:12,492 p=137864 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 10:37:12,531 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,541 p=137864 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 10:37:12,583 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,592 p=137864 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 10:37:12,637 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,648 p=137864 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 10:37:12,694 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,703 p=137864 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 10:37:12,744 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:12,754 p=137864 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 10:37:12,956 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:12,965 p=137864 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 10:37:13,181 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,190 p=137864 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 10:37:13,235 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,246 p=137864 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 10:37:13,293 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,303 p=137864 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 10:37:13,489 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,498 p=137864 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 10:37:13,544 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,554 p=137864 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 10:37:13,741 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:13,751 p=137864 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 10:37:13,794 p=137864 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 10:37:13,834 p=137864 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 10:37:13,875 p=137864 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 10:37:13,914 p=137864 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 10:37:13,950 p=137864 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 10:37:13,986 p=137864 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 10:37:14,022 p=137864 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 10:37:14,058 p=137864 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 10:37:14,095 p=137864 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 10:37:14,131 p=137864 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 10:37:14,167 p=137864 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 10:37:14,204 p=137864 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 10:37:14,240 p=137864 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 10:37:14,276 p=137864 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 10:37:14,313 p=137864 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 10:37:14,349 p=137864 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 10:37:14,384 p=137864 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 10:37:14,420 p=137864 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 10:37:14,631 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:14,642 p=137864 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 10:37:14,850 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:14,862 p=137864 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 10:37:14,903 p=137864 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 10:37:14,948 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:14,958 p=137864 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:37:14,997 p=137864 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:37:15,034 p=137864 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 10:37:15,463 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:15,473 p=137864 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 10:37:15,511 p=137864 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 10:37:15,704 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:15,713 p=137864 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 10:37:15,752 p=137864 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 10:37:16,203 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:16,213 p=137864 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 10:37:16,405 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:16,417 p=137864 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:37:16,461 p=137864 u=root | 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:37:16,471 p=137864 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:37:16,513 p=137864 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:37:16,559 p=137864 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 10:37:16,604 p=137864 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 10:37:16,647 p=137864 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 10:37:16,691 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:16,736 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:16,747 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:16,805 p=137864 u=root | ok: [localhost] => (item=None) 2019-09-12 10:37:16,821 p=137864 u=root | ok: [localhost] => (item=None) 2019-09-12 10:37:16,833 p=137864 u=root | ok: [localhost] => (item=None) 2019-09-12 10:37:16,861 p=137864 u=root | ok: [localhost] => (item=None) 2019-09-12 10:37:16,863 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:16,879 p=137864 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:37:16,939 p=137864 u=root | 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 10:37:16,950 p=137864 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 10:37:16,994 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:17,005 p=137864 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:37:17,044 p=137864 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 10:37:17,084 p=137864 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 10:37:17,125 p=137864 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 10:37:17,169 p=137864 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 10:37:17,208 p=137864 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 10:37:17,427 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:17,436 p=137864 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 10:37:17,476 p=137864 u=root | 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:37:17,517 p=137864 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 10:37:17,574 p=137864 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 10:37:17,588 p=137864 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 10:37:17,597 p=137864 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 10:37:17,656 p=137864 u=root | 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:37:17,668 p=137864 u=root | 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:37:17,686 p=137864 u=root | 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:37:17,699 p=137864 u=root | 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:37:17,716 p=137864 u=root | 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:37:17,731 p=137864 u=root | 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:37:17,745 p=137864 u=root | 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 10:37:17,763 p=137864 u=root | 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:37:17,778 p=137864 u=root | 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 10:37:17,789 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:17,832 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:17,842 p=137864 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 10:37:17,915 p=137864 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:17,940 p=137864 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:17,954 p=137864 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:17,971 p=137864 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:17,992 p=137864 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:18,010 p=137864 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:37:18,020 p=137864 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 10:37:18,149 p=137864 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 10:37:18,216 p=137864 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 10:37:18,228 p=137864 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 10:37:18,290 p=137864 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 10:37:18,371 p=137864 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 10:37:18,433 p=137864 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 10:37:18,543 p=137864 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 10:37:18,588 p=137864 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 10:37:18,627 p=137864 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 10:37:18,667 p=137864 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 10:37:18,705 p=137864 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 10:37:18,778 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:18,789 p=137864 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 10:37:18,883 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:18,894 p=137864 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:37:19,023 p=137864 u=root | 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 10:37:19,036 p=137864 u=root | 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:37:19,049 p=137864 u=root | 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 10:37:19,062 p=137864 u=root | 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:37:19,074 p=137864 u=root | 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:37:19,087 p=137864 u=root | 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:37:19,100 p=137864 u=root | 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:37:19,114 p=137864 u=root | 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:37:19,180 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:19,238 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:19,251 p=137864 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 10:37:19,301 p=137864 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 10:37:19,344 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:19,385 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:19,437 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:19,450 p=137864 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 10:37:19,493 p=137864 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 10:37:19,534 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:19,573 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:19,624 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:19,637 p=137864 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 10:37:19,686 p=137864 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 10:37:19,729 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:19,768 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:19,821 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:19,835 p=137864 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 10:37:19,885 p=137864 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 10:37:19,925 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:19,968 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:20,020 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,037 p=137864 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 10:37:20,078 p=137864 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 10:37:20,119 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:20,165 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:20,217 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,229 p=137864 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 10:37:20,273 p=137864 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 10:37:20,315 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:20,356 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:20,408 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,424 p=137864 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 10:37:20,475 p=137864 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 10:37:20,519 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:20,559 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:20,611 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,625 p=137864 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 10:37:20,681 p=137864 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 10:37:20,727 p=137864 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:37:20,775 p=137864 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 10:37:20,839 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,850 p=137864 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 10:37:20,926 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:20,936 p=137864 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 10:37:20,989 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:21,007 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:21,074 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:21,085 p=137864 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 10:37:21,132 p=137864 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 10:37:21,206 p=137864 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 10:37:21,241 p=137864 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 10:37:21,281 p=137864 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 10:37:21,328 p=137864 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 10:37:21,382 p=137864 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 10:37:21,432 p=137864 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 10:37:21,488 p=137864 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:37:21,581 p=137864 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:37:21,626 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:21,643 p=137864 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 10:37:21,705 p=137864 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 10:37:21,759 p=137864 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 10:37:21,802 p=137864 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 10:37:21,848 p=137864 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 10:37:21,886 p=137864 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 10:37:21,927 p=137864 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 10:37:21,973 p=137864 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 10:37:22,021 p=137864 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 10:37:22,074 p=137864 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 10:37:22,123 p=137864 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 10:37:22,331 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:22,343 p=137864 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 10:37:22,785 p=137864 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 10:37:22,954 p=137864 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 10:37:23,127 p=137864 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 10:37:23,305 p=137864 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 10:37:23,474 p=137864 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 10:37:23,635 p=137864 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 10:37:23,810 p=137864 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 10:37:23,989 p=137864 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 10:37:24,160 p=137864 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 10:37:24,331 p=137864 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 10:37:24,502 p=137864 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 10:37:24,692 p=137864 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 10:37:24,866 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 10:37:25,031 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 10:37:25,192 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 10:37:25,361 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:37:25,524 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 10:37:25,705 p=137864 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 10:37:25,867 p=137864 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 10:37:26,033 p=137864 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 10:37:26,193 p=137864 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 10:37:26,360 p=137864 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:37:26,526 p=137864 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 10:37:26,685 p=137864 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 10:37:26,840 p=137864 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 10:37:27,004 p=137864 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 10:37:27,166 p=137864 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 10:37:27,342 p=137864 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 10:37:27,501 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 10:37:27,663 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 10:37:27,828 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 10:37:27,995 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 10:37:28,159 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 10:37:28,325 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 10:37:28,494 p=137864 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 10:37:28,659 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 10:37:28,821 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 10:37:28,992 p=137864 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 10:37:29,163 p=137864 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 10:37:29,327 p=137864 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 10:37:29,499 p=137864 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 10:37:29,655 p=137864 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 10:37:29,813 p=137864 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 10:37:29,986 p=137864 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 10:37:30,167 p=137864 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 10:37:30,323 p=137864 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 10:37:30,505 p=137864 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 10:37:30,674 p=137864 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 10:37:30,851 p=137864 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 10:37:31,018 p=137864 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 10:37:31,181 p=137864 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 10:37:31,352 p=137864 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 10:37:31,513 p=137864 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 10:37:31,537 p=137864 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 10:37:31,736 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:31,751 p=137864 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 10:37:31,790 p=137864 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 10:37:31,827 p=137864 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 10:37:31,864 p=137864 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 10:37:31,905 p=137864 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 10:37:31,941 p=137864 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 10:37:31,979 p=137864 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 10:37:32,015 p=137864 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 10:37:32,051 p=137864 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 10:37:32,087 p=137864 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 10:37:32,125 p=137864 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 10:37:32,161 p=137864 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 10:37:32,199 p=137864 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 10:37:32,240 p=137864 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 10:37:32,277 p=137864 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 10:37:32,313 p=137864 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 10:37:32,351 p=137864 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 10:37:32,388 p=137864 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 10:37:32,426 p=137864 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 10:37:32,462 p=137864 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 10:37:32,507 p=137864 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 10:37:32,545 p=137864 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 10:37:32,581 p=137864 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 10:37:32,621 p=137864 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 10:37:32,662 p=137864 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 10:37:32,698 p=137864 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 10:37:32,735 p=137864 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 10:37:32,772 p=137864 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 10:37:32,809 p=137864 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 10:37:32,846 p=137864 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 10:37:32,883 p=137864 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 10:37:32,922 p=137864 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 10:37:32,960 p=137864 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 10:37:33,000 p=137864 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 10:37:33,044 p=137864 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 10:37:33,083 p=137864 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 10:37:33,123 p=137864 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 10:37:33,163 p=137864 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 10:37:33,372 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:33,381 p=137864 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 10:37:33,571 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:33,583 p=137864 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 10:37:33,804 p=137864 u=root | 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': 1568284651.491, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568284651.491, u'inode': 295044, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568284651.491, 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:37:33,814 p=137864 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 10:37:34,010 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:34,025 p=137864 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 10:37:34,232 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:34,244 p=137864 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 10:37:34,294 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:34,305 p=137864 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:37:34,355 p=137864 u=root | 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:37:34,366 p=137864 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 10:37:34,588 p=137864 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 10:37:34,759 p=137864 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 10:37:34,770 p=137864 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 10:37:34,972 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:34,984 p=137864 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 10:37:35,506 p=137864 u=root | 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:37:35,666 p=137864 u=root | 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:37:35,844 p=137864 u=root | 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:37:35,855 p=137864 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 10:37:36,047 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:36,057 p=137864 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 10:37:36,256 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:36,266 p=137864 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 10:37:36,468 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:36,478 p=137864 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 10:37:36,676 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:36,687 p=137864 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 10:37:36,721 p=137864 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 10:37:39,994 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:40,004 p=137864 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 10:37:40,263 p=137864 u=root | 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:37:40,476 p=137864 u=root | 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:37:40,487 p=137864 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 10:37:40,727 p=137864 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:37:40,908 p=137864 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 10:37:41,095 p=137864 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 10:37:41,280 p=137864 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:37:41,472 p=137864 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:37:41,645 p=137864 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 10:37:41,659 p=137864 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 10:37:41,858 p=137864 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 10:37:42,096 p=137864 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:37:42,301 p=137864 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 10:37:42,503 p=137864 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:37:42,688 p=137864 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:37:42,700 p=137864 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 10:37:42,880 p=137864 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 10:37:43,071 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:43,081 p=137864 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 10:37:43,121 p=137864 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 10:37:43,161 p=137864 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 10:37:43,478 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:43,488 p=137864 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 10:37:43,728 p=137864 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 10:37:43,916 p=137864 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 10:37:43,928 p=137864 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 10:37:44,272 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:44,282 p=137864 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 10:37:44,481 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:44,493 p=137864 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 10:37:45,694 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:45,704 p=137864 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 10:37:45,746 p=137864 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 10:37:45,786 p=137864 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 10:37:45,826 p=137864 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 10:37:45,869 p=137864 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 10:37:45,911 p=137864 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:37:45,953 p=137864 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:37:45,997 p=137864 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:37:46,039 p=137864 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:37:46,079 p=137864 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 10:37:46,121 p=137864 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:37:46,162 p=137864 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 10:37:46,204 p=137864 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:37:46,248 p=137864 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 10:37:46,470 p=137864 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 10:37:46,635 p=137864 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 10:37:46,802 p=137864 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 10:37:46,964 p=137864 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 10:37:46,977 p=137864 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 10:37:47,028 p=137864 u=root | ok: [localhost] 2019-09-12 10:37:47,039 p=137864 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 10:37:47,080 p=137864 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 10:37:47,120 p=137864 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 10:37:47,159 p=137864 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 10:37:47,199 p=137864 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:37:47,247 p=137864 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 10:37:47,258 p=137864 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 10:37:47,300 p=137864 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 10:37:47,350 p=137864 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 10:37:47,563 p=137864 u=root | changed: [localhost] 2019-09-12 10:37:47,573 p=137864 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 10:39:19,356 p=137864 u=root | changed: [localhost] 2019-09-12 10:39:19,370 p=137864 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:39:19,432 p=137864 u=root | 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-root/tmp/ansible-tmp-1568284667.62-138045650903404/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-root/tmp/ansible-tmp-1568284667.62-138045650903404/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:39:19,442 p=137864 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 10:39:19,496 p=137864 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 10:39:19,498 p=137864 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:39:19,499 p=137864 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 10:51:22,401 passlib.registry registered 'md5_crypt' handler: 2019-09-12 10:51:22,412 p=141170 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 10:51:22,602 p=141170 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 10:51:22,990 p=141170 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 10:51:23,144 p=141170 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 10:51:23,290 p=141170 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 10:51:23,442 p=141170 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 10:51:23,458 p=141170 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 10:51:23,543 p=141170 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 10:51:23,585 p=141170 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 10:51:23,631 p=141170 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 10:51:23,672 p=141170 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 10:51:23,723 p=141170 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 10:51:23,761 p=141170 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:51:23,802 p=141170 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 10:51:23,839 p=141170 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 10:51:24,240 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:24,249 p=141170 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 10:51:24,283 p=141170 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 10:51:24,456 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:24,467 p=141170 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 10:51:24,514 p=141170 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 10:51:24,559 p=141170 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 10:51:24,608 p=141170 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 10:51:24,654 p=141170 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 10:51:24,692 p=141170 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:51:24,735 p=141170 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 10:51:24,983 p=141170 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 10:51:25,201 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:25,214 p=141170 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 10:51:25,257 p=141170 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 10:51:25,450 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:25,461 p=141170 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 10:51:25,501 p=141170 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 10:51:25,544 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,554 p=141170 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 10:51:25,592 p=141170 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 10:51:25,640 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,653 p=141170 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 10:51:25,726 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,736 p=141170 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 10:51:25,773 p=141170 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 10:51:25,816 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,830 p=141170 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 10:51:25,876 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,885 p=141170 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 10:51:25,927 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:25,936 p=141170 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 10:51:25,995 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,004 p=141170 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 10:51:26,043 p=141170 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 10:51:26,082 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,093 p=141170 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 10:51:26,145 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,155 p=141170 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 10:51:26,202 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,211 p=141170 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 10:51:26,262 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,272 p=141170 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 10:51:26,315 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,324 p=141170 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 10:51:26,523 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:26,533 p=141170 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 10:51:26,737 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,751 p=141170 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 10:51:26,801 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,811 p=141170 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 10:51:26,857 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:26,867 p=141170 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 10:51:27,062 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:27,076 p=141170 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 10:51:27,130 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:27,140 p=141170 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 10:51:27,338 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:27,348 p=141170 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 10:51:27,395 p=141170 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 10:51:27,438 p=141170 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 10:51:27,479 p=141170 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 10:51:27,519 p=141170 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 10:51:27,557 p=141170 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 10:51:27,594 p=141170 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 10:51:27,631 p=141170 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 10:51:27,668 p=141170 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 10:51:27,702 p=141170 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 10:51:27,738 p=141170 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 10:51:27,774 p=141170 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 10:51:27,813 p=141170 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 10:51:27,854 p=141170 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 10:51:27,890 p=141170 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 10:51:27,927 p=141170 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 10:51:27,962 p=141170 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 10:51:28,001 p=141170 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 10:51:28,037 p=141170 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 10:51:28,244 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:28,254 p=141170 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 10:51:28,456 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:28,466 p=141170 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 10:51:28,506 p=141170 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 10:51:28,552 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:28,562 p=141170 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:51:28,601 p=141170 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 10:51:28,640 p=141170 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 10:51:29,082 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:29,091 p=141170 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 10:51:29,132 p=141170 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 10:51:29,322 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:29,331 p=141170 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 10:51:29,371 p=141170 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 10:51:29,823 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:29,833 p=141170 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 10:51:30,032 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:30,042 p=141170 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 10:51:30,090 p=141170 u=root | 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:51:30,099 p=141170 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:51:30,142 p=141170 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 10:51:30,193 p=141170 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 10:51:30,238 p=141170 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 10:51:30,280 p=141170 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 10:51:30,327 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:30,378 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:30,388 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:30,443 p=141170 u=root | ok: [localhost] => (item=None) 2019-09-12 10:51:30,455 p=141170 u=root | ok: [localhost] => (item=None) 2019-09-12 10:51:30,469 p=141170 u=root | ok: [localhost] => (item=None) 2019-09-12 10:51:30,486 p=141170 u=root | ok: [localhost] => (item=None) 2019-09-12 10:51:30,487 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:30,498 p=141170 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:51:30,563 p=141170 u=root | 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 10:51:30,573 p=141170 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 10:51:30,618 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:30,629 p=141170 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 10:51:30,669 p=141170 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 10:51:30,707 p=141170 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 10:51:30,746 p=141170 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 10:51:30,785 p=141170 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 10:51:30,823 p=141170 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 10:51:31,035 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:31,044 p=141170 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 10:51:31,082 p=141170 u=root | 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:51:31,121 p=141170 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 10:51:31,174 p=141170 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 10:51:31,187 p=141170 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 10:51:31,198 p=141170 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 10:51:31,255 p=141170 u=root | 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:51:31,268 p=141170 u=root | 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:51:31,282 p=141170 u=root | 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:51:31,297 p=141170 u=root | 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:51:31,312 p=141170 u=root | 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:51:31,328 p=141170 u=root | 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:51:31,341 p=141170 u=root | 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 10:51:31,356 p=141170 u=root | 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:51:31,373 p=141170 u=root | 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 10:51:31,384 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:31,430 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:31,440 p=141170 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 10:51:31,497 p=141170 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,514 p=141170 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,530 p=141170 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,551 p=141170 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,565 p=141170 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,584 p=141170 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 10:51:31,593 p=141170 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 10:51:31,706 p=141170 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 10:51:31,754 p=141170 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 10:51:31,764 p=141170 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 10:51:31,822 p=141170 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 10:51:31,898 p=141170 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 10:51:31,959 p=141170 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 10:51:32,064 p=141170 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 10:51:32,103 p=141170 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 10:51:32,145 p=141170 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 10:51:32,184 p=141170 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 10:51:32,223 p=141170 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 10:51:32,294 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:32,304 p=141170 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 10:51:32,402 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:32,411 p=141170 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:51:32,540 p=141170 u=root | 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 10:51:32,553 p=141170 u=root | 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:51:32,566 p=141170 u=root | 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 10:51:32,579 p=141170 u=root | 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:51:32,592 p=141170 u=root | 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:51:32,605 p=141170 u=root | 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:51:32,618 p=141170 u=root | 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:51:32,632 p=141170 u=root | 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:51:32,699 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:32,750 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:32,763 p=141170 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 10:51:32,805 p=141170 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 10:51:32,846 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:32,887 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:32,942 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:32,953 p=141170 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 10:51:32,998 p=141170 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 10:51:33,038 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:33,077 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:33,125 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:33,138 p=141170 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 10:51:33,180 p=141170 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 10:51:33,224 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:33,262 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:33,318 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:33,331 p=141170 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 10:51:33,371 p=141170 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 10:51:33,410 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:33,452 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:33,502 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:33,516 p=141170 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 10:51:33,557 p=141170 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 10:51:33,596 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:33,635 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:33,683 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:33,695 p=141170 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 10:51:33,735 p=141170 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 10:51:33,785 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:33,824 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:33,871 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:33,884 p=141170 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 10:51:33,924 p=141170 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 10:51:33,963 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:34,004 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:34,054 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,067 p=141170 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 10:51:34,109 p=141170 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 10:51:34,149 p=141170 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 10:51:34,186 p=141170 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 10:51:34,238 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,247 p=141170 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 10:51:34,310 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,320 p=141170 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 10:51:34,372 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,383 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:34,447 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,457 p=141170 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 10:51:34,495 p=141170 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 10:51:34,555 p=141170 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 10:51:34,589 p=141170 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 10:51:34,626 p=141170 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 10:51:34,666 p=141170 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 10:51:34,710 p=141170 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 10:51:34,751 p=141170 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 10:51:34,794 p=141170 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 10:51:34,878 p=141170 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 10:51:34,922 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:34,939 p=141170 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 10:51:34,986 p=141170 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 10:51:35,037 p=141170 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 10:51:35,077 p=141170 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 10:51:35,117 p=141170 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 10:51:35,149 p=141170 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 10:51:35,191 p=141170 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 10:51:35,235 p=141170 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 10:51:35,277 p=141170 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 10:51:35,321 p=141170 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 10:51:35,367 p=141170 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 10:51:35,561 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:35,570 p=141170 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 10:51:36,011 p=141170 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 10:51:36,168 p=141170 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 10:51:36,331 p=141170 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 10:51:36,490 p=141170 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 10:51:36,662 p=141170 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 10:51:36,821 p=141170 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 10:51:36,983 p=141170 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 10:51:37,144 p=141170 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 10:51:37,320 p=141170 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 10:51:37,490 p=141170 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 10:51:37,652 p=141170 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 10:51:37,816 p=141170 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 10:51:37,974 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 10:51:38,144 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 10:51:38,307 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 10:51:38,477 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:51:38,636 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 10:51:38,797 p=141170 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 10:51:38,964 p=141170 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 10:51:39,127 p=141170 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 10:51:39,293 p=141170 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 10:51:39,457 p=141170 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 10:51:39,629 p=141170 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 10:51:39,791 p=141170 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 10:51:39,954 p=141170 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 10:51:40,132 p=141170 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 10:51:40,303 p=141170 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 10:51:40,474 p=141170 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 10:51:40,648 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 10:51:40,820 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 10:51:40,993 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 10:51:41,168 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 10:51:41,338 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 10:51:41,509 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 10:51:41,669 p=141170 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 10:51:41,833 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 10:51:42,005 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 10:51:42,174 p=141170 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 10:51:42,335 p=141170 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 10:51:42,503 p=141170 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 10:51:42,676 p=141170 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 10:51:42,842 p=141170 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 10:51:43,018 p=141170 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 10:51:43,183 p=141170 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 10:51:43,352 p=141170 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 10:51:43,513 p=141170 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 10:51:43,682 p=141170 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 10:51:43,852 p=141170 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 10:51:44,025 p=141170 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 10:51:44,196 p=141170 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 10:51:44,358 p=141170 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 10:51:44,523 p=141170 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 10:51:44,686 p=141170 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 10:51:44,716 p=141170 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 10:51:44,912 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:44,924 p=141170 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 10:51:44,969 p=141170 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 10:51:45,007 p=141170 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 10:51:45,043 p=141170 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 10:51:45,079 p=141170 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 10:51:45,115 p=141170 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 10:51:45,151 p=141170 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 10:51:45,188 p=141170 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 10:51:45,229 p=141170 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 10:51:45,268 p=141170 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 10:51:45,304 p=141170 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 10:51:45,351 p=141170 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 10:51:45,388 p=141170 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 10:51:45,424 p=141170 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 10:51:45,460 p=141170 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 10:51:45,497 p=141170 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 10:51:45,535 p=141170 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 10:51:45,571 p=141170 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 10:51:45,607 p=141170 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 10:51:45,644 p=141170 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 10:51:45,677 p=141170 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 10:51:45,713 p=141170 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 10:51:45,749 p=141170 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 10:51:45,785 p=141170 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 10:51:45,821 p=141170 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 10:51:45,859 p=141170 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 10:51:45,896 p=141170 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 10:51:45,933 p=141170 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 10:51:45,972 p=141170 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 10:51:46,009 p=141170 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 10:51:46,046 p=141170 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 10:51:46,081 p=141170 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 10:51:46,118 p=141170 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 10:51:46,159 p=141170 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 10:51:46,196 p=141170 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 10:51:46,235 p=141170 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 10:51:46,276 p=141170 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 10:51:46,312 p=141170 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 10:51:46,507 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:46,517 p=141170 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 10:51:46,715 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:46,725 p=141170 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 10:51:46,934 p=141170 u=root | 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': 1568285504.666, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568285504.666, u'inode': 304096, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568285504.666, 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:51:46,944 p=141170 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 10:51:47,146 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:47,157 p=141170 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 10:51:47,359 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:47,371 p=141170 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 10:51:47,421 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:47,432 p=141170 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:51:47,481 p=141170 u=root | 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:51:47,492 p=141170 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 10:51:47,699 p=141170 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 10:51:47,878 p=141170 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 10:51:47,890 p=141170 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 10:51:48,088 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:48,099 p=141170 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 10:51:48,610 p=141170 u=root | 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:51:48,771 p=141170 u=root | 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:51:48,954 p=141170 u=root | 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:51:48,967 p=141170 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 10:51:49,160 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:49,170 p=141170 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 10:51:49,390 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:49,400 p=141170 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 10:51:49,600 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:49,610 p=141170 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 10:51:49,811 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:49,821 p=141170 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 10:51:49,852 p=141170 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 10:51:53,142 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:53,156 p=141170 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 10:51:53,428 p=141170 u=root | 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:51:53,658 p=141170 u=root | 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:51:53,668 p=141170 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 10:51:53,905 p=141170 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:51:54,087 p=141170 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 10:51:54,275 p=141170 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 10:51:54,465 p=141170 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:51:54,646 p=141170 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:51:54,819 p=141170 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 10:51:54,830 p=141170 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 10:51:55,033 p=141170 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 10:51:55,279 p=141170 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 10:51:55,476 p=141170 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 10:51:55,668 p=141170 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 10:51:55,850 p=141170 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 10:51:55,862 p=141170 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 10:51:56,044 p=141170 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 10:51:56,228 p=141170 u=root | ok: [localhost] 2019-09-12 10:51:56,238 p=141170 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 10:51:56,279 p=141170 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 10:51:56,319 p=141170 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 10:51:56,635 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:56,646 p=141170 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 10:51:56,879 p=141170 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 10:51:57,075 p=141170 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 10:51:57,086 p=141170 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 10:51:57,437 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:57,448 p=141170 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 10:51:57,658 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:57,668 p=141170 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 10:51:59,481 p=141170 u=root | changed: [localhost] 2019-09-12 10:51:59,492 p=141170 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 10:51:59,531 p=141170 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 10:51:59,571 p=141170 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 10:51:59,610 p=141170 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 10:51:59,650 p=141170 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 10:51:59,691 p=141170 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:51:59,730 p=141170 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:51:59,769 p=141170 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 10:51:59,809 p=141170 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:51:59,851 p=141170 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 10:51:59,892 p=141170 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:51:59,932 p=141170 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 10:51:59,976 p=141170 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 10:52:00,022 p=141170 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 10:52:00,246 p=141170 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 10:52:00,406 p=141170 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 10:52:00,579 p=141170 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 10:52:00,749 p=141170 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 10:52:00,778 p=141170 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 10:52:00,824 p=141170 u=root | ok: [localhost] 2019-09-12 10:52:00,836 p=141170 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 10:52:00,876 p=141170 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 10:52:00,914 p=141170 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 10:52:00,953 p=141170 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 10:52:00,994 p=141170 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:52:01,044 p=141170 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 10:52:01,055 p=141170 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 10:52:01,109 p=141170 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 10:52:01,168 p=141170 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 10:52:01,378 p=141170 u=root | changed: [localhost] 2019-09-12 10:52:01,388 p=141170 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 10:59:09,998 p=141170 u=root | changed: [localhost] 2019-09-12 10:59:10,012 p=141170 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 10:59:10,072 p=141170 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568285521.43-197322695759225/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-12 10:59:10,087 p=141170 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 10:59:10,137 p=141170 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 10:59:10,141 p=141170 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 10:59:10,141 p=141170 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 11:48:55,930 passlib.registry registered 'md5_crypt' handler: 2019-09-12 11:48:55,942 p=149501 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 11:48:56,142 p=149501 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 11:48:56,563 p=149501 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 11:48:56,715 p=149501 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 11:48:56,882 p=149501 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 11:48:57,037 p=149501 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 11:48:57,048 p=149501 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 11:48:57,126 p=149501 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 11:48:57,168 p=149501 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 11:48:57,211 p=149501 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 11:48:57,251 p=149501 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 11:48:57,294 p=149501 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 11:48:57,333 p=149501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:48:57,378 p=149501 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 11:48:57,419 p=149501 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 11:48:57,842 p=149501 u=root | changed: [localhost] 2019-09-12 11:48:57,852 p=149501 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 11:48:57,888 p=149501 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 11:48:58,086 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:58,096 p=149501 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 11:48:58,136 p=149501 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 11:48:58,173 p=149501 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 11:48:58,223 p=149501 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 11:48:58,263 p=149501 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 11:48:58,305 p=149501 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:48:58,347 p=149501 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 11:48:58,583 p=149501 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 11:48:58,789 p=149501 u=root | changed: [localhost] 2019-09-12 11:48:58,800 p=149501 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 11:48:58,840 p=149501 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 11:48:59,041 p=149501 u=root | changed: [localhost] 2019-09-12 11:48:59,051 p=149501 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 11:48:59,091 p=149501 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 11:48:59,137 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,146 p=149501 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 11:48:59,192 p=149501 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 11:48:59,240 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,251 p=149501 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 11:48:59,315 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,327 p=149501 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 11:48:59,369 p=149501 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 11:48:59,414 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,425 p=149501 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 11:48:59,476 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,486 p=149501 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 11:48:59,537 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,547 p=149501 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 11:48:59,609 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,619 p=149501 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 11:48:59,662 p=149501 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 11:48:59,705 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,716 p=149501 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 11:48:59,764 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,775 p=149501 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 11:48:59,825 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,840 p=149501 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 11:48:59,894 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,904 p=149501 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 11:48:59,948 p=149501 u=root | ok: [localhost] 2019-09-12 11:48:59,958 p=149501 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 11:49:00,184 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:00,196 p=149501 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 11:49:00,419 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:00,432 p=149501 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 11:49:00,480 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:00,490 p=149501 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 11:49:00,538 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:00,549 p=149501 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 11:49:00,742 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:00,752 p=149501 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 11:49:00,804 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:00,816 p=149501 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 11:49:01,017 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:01,030 p=149501 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 11:49:01,079 p=149501 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 11:49:01,125 p=149501 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 11:49:01,171 p=149501 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 11:49:01,213 p=149501 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 11:49:01,264 p=149501 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 11:49:01,303 p=149501 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 11:49:01,345 p=149501 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 11:49:01,389 p=149501 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 11:49:01,431 p=149501 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 11:49:01,472 p=149501 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 11:49:01,513 p=149501 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 11:49:01,558 p=149501 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 11:49:01,599 p=149501 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 11:49:01,639 p=149501 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 11:49:01,678 p=149501 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 11:49:01,718 p=149501 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 11:49:01,759 p=149501 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 11:49:01,799 p=149501 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 11:49:02,042 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:02,054 p=149501 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 11:49:02,281 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:02,291 p=149501 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 11:49:02,332 p=149501 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 11:49:02,380 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:02,391 p=149501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:49:02,435 p=149501 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:49:02,486 p=149501 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 11:49:02,976 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:02,986 p=149501 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 11:49:03,028 p=149501 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 11:49:03,223 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:03,235 p=149501 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 11:49:03,278 p=149501 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 11:49:03,746 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:03,756 p=149501 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 11:49:03,968 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:03,979 p=149501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:49:04,029 p=149501 u=root | 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 11:49:04,042 p=149501 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:49:04,089 p=149501 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:49:04,135 p=149501 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 11:49:04,180 p=149501 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 11:49:04,226 p=149501 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 11:49:04,271 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:04,317 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:04,328 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:04,385 p=149501 u=root | ok: [localhost] => (item=None) 2019-09-12 11:49:04,397 p=149501 u=root | ok: [localhost] => (item=None) 2019-09-12 11:49:04,412 p=149501 u=root | ok: [localhost] => (item=None) 2019-09-12 11:49:04,427 p=149501 u=root | ok: [localhost] => (item=None) 2019-09-12 11:49:04,428 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:04,437 p=149501 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:49:04,500 p=149501 u=root | 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 11:49:04,510 p=149501 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 11:49:04,556 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:04,567 p=149501 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:49:04,608 p=149501 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 11:49:04,649 p=149501 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 11:49:04,692 p=149501 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 11:49:04,734 p=149501 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 11:49:04,778 p=149501 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 11:49:04,996 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:05,006 p=149501 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 11:49:05,048 p=149501 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 11:49:05,095 p=149501 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 11:49:05,166 p=149501 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 11:49:05,174 p=149501 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 11:49:05,185 p=149501 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 11:49:05,245 p=149501 u=root | 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 11:49:05,262 p=149501 u=root | 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 11:49:05,277 p=149501 u=root | 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 11:49:05,291 p=149501 u=root | 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 11:49:05,306 p=149501 u=root | 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 11:49:05,321 p=149501 u=root | 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 11:49:05,337 p=149501 u=root | 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 11:49:05,352 p=149501 u=root | 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 11:49:05,373 p=149501 u=root | 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 11:49:05,384 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:05,435 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:05,446 p=149501 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 11:49:05,531 p=149501 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,538 p=149501 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,567 p=149501 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,582 p=149501 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,599 p=149501 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,616 p=149501 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:49:05,627 p=149501 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 11:49:05,747 p=149501 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 11:49:05,798 p=149501 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 11:49:05,809 p=149501 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 11:49:05,870 p=149501 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 11:49:05,945 p=149501 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 11:49:06,008 p=149501 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 11:49:06,117 p=149501 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 11:49:06,158 p=149501 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 11:49:06,200 p=149501 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 11:49:06,243 p=149501 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 11:49:06,286 p=149501 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 11:49:06,367 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:06,378 p=149501 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 11:49:06,480 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:06,491 p=149501 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:49:06,611 p=149501 u=root | 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 11:49:06,624 p=149501 u=root | 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 11:49:06,637 p=149501 u=root | 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 11:49:06,650 p=149501 u=root | 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 11:49:06,663 p=149501 u=root | 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 11:49:06,678 p=149501 u=root | 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 11:49:06,743 p=149501 u=root | 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 11:49:06,757 p=149501 u=root | 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 11:49:06,773 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:06,829 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:06,845 p=149501 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 11:49:06,890 p=149501 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 11:49:06,930 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:06,972 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:07,027 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:07,040 p=149501 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 11:49:07,086 p=149501 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 11:49:07,130 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:07,173 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:07,226 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:07,243 p=149501 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 11:49:07,293 p=149501 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 11:49:07,350 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:07,400 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:07,460 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:07,478 p=149501 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 11:49:07,526 p=149501 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 11:49:07,569 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:07,613 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:07,671 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:07,684 p=149501 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 11:49:07,729 p=149501 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 11:49:07,777 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:07,821 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:07,875 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:07,889 p=149501 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 11:49:07,936 p=149501 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 11:49:07,983 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:08,027 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:08,083 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,095 p=149501 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 11:49:08,143 p=149501 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 11:49:08,188 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:08,231 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:08,292 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,307 p=149501 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 11:49:08,355 p=149501 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 11:49:08,398 p=149501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:49:08,459 p=149501 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 11:49:08,525 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,536 p=149501 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 11:49:08,608 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,619 p=149501 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 11:49:08,680 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,691 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:08,765 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:08,775 p=149501 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 11:49:08,816 p=149501 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 11:49:08,876 p=149501 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 11:49:08,920 p=149501 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 11:49:08,964 p=149501 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 11:49:09,010 p=149501 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 11:49:09,054 p=149501 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 11:49:09,100 p=149501 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 11:49:09,148 p=149501 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:49:09,240 p=149501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:49:09,288 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:09,305 p=149501 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 11:49:09,354 p=149501 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 11:49:09,404 p=149501 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 11:49:09,448 p=149501 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 11:49:09,491 p=149501 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 11:49:09,524 p=149501 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 11:49:09,570 p=149501 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 11:49:09,611 p=149501 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 11:49:09,665 p=149501 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 11:49:09,712 p=149501 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 11:49:09,757 p=149501 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 11:49:09,972 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:09,983 p=149501 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 11:49:10,470 p=149501 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 11:49:10,643 p=149501 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 11:49:10,815 p=149501 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 11:49:10,999 p=149501 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 11:49:11,165 p=149501 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 11:49:11,342 p=149501 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 11:49:11,509 p=149501 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 11:49:11,685 p=149501 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 11:49:11,846 p=149501 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 11:49:12,014 p=149501 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 11:49:12,185 p=149501 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 11:49:12,354 p=149501 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 11:49:12,560 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 11:49:12,731 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 11:49:12,899 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 11:49:13,084 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:49:13,254 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 11:49:13,440 p=149501 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 11:49:13,604 p=149501 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 11:49:13,781 p=149501 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 11:49:13,952 p=149501 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 11:49:14,127 p=149501 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:49:14,292 p=149501 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 11:49:14,472 p=149501 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 11:49:14,641 p=149501 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 11:49:14,810 p=149501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 11:49:14,982 p=149501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 11:49:15,151 p=149501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 11:49:15,325 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 11:49:15,497 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 11:49:15,665 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 11:49:15,840 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 11:49:16,016 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 11:49:16,209 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 11:49:16,384 p=149501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 11:49:16,559 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 11:49:16,728 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 11:49:16,901 p=149501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 11:49:17,083 p=149501 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 11:49:17,273 p=149501 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 11:49:17,443 p=149501 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 11:49:17,610 p=149501 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 11:49:17,789 p=149501 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 11:49:17,966 p=149501 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 11:49:18,145 p=149501 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 11:49:18,323 p=149501 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 11:49:18,491 p=149501 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 11:49:18,656 p=149501 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 11:49:18,826 p=149501 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 11:49:19,006 p=149501 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 11:49:19,171 p=149501 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 11:49:19,346 p=149501 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 11:49:19,520 p=149501 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 11:49:19,547 p=149501 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 11:49:19,761 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:19,773 p=149501 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 11:49:19,813 p=149501 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 11:49:19,854 p=149501 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 11:49:19,895 p=149501 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 11:49:19,935 p=149501 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 11:49:19,974 p=149501 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 11:49:20,016 p=149501 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 11:49:20,055 p=149501 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 11:49:20,108 p=149501 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 11:49:20,151 p=149501 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 11:49:20,195 p=149501 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 11:49:20,248 p=149501 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 11:49:20,297 p=149501 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 11:49:20,346 p=149501 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 11:49:20,392 p=149501 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 11:49:20,443 p=149501 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 11:49:20,490 p=149501 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 11:49:20,530 p=149501 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 11:49:20,569 p=149501 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 11:49:20,608 p=149501 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 11:49:20,643 p=149501 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 11:49:20,685 p=149501 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 11:49:20,731 p=149501 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 11:49:20,773 p=149501 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 11:49:20,817 p=149501 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 11:49:20,858 p=149501 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 11:49:20,913 p=149501 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 11:49:20,954 p=149501 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 11:49:20,999 p=149501 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 11:49:21,040 p=149501 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 11:49:21,081 p=149501 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 11:49:21,123 p=149501 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 11:49:21,177 p=149501 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 11:49:21,217 p=149501 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 11:49:21,255 p=149501 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 11:49:21,302 p=149501 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 11:49:21,343 p=149501 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 11:49:21,384 p=149501 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 11:49:21,608 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:21,623 p=149501 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 11:49:21,842 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:21,855 p=149501 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 11:49:22,116 p=149501 u=root | 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': 1568288959.502, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568288959.502, u'inode': 329147, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568288959.502, 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 11:49:22,131 p=149501 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 11:49:22,352 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:22,363 p=149501 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 11:49:22,565 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:22,577 p=149501 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 11:49:22,628 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:22,640 p=149501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:49:22,690 p=149501 u=root | 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 11:49:22,706 p=149501 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 11:49:22,973 p=149501 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 11:49:23,167 p=149501 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 11:49:23,180 p=149501 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 11:49:23,423 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:23,437 p=149501 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 11:49:23,984 p=149501 u=root | 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 11:49:24,163 p=149501 u=root | 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 11:49:24,351 p=149501 u=root | 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 11:49:24,364 p=149501 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 11:49:24,586 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:24,597 p=149501 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 11:49:24,828 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:24,840 p=149501 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 11:49:25,056 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:25,066 p=149501 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 11:49:25,294 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:25,306 p=149501 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 11:49:25,345 p=149501 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 11:49:28,648 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:28,660 p=149501 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 11:49:28,936 p=149501 u=root | 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 11:49:29,172 p=149501 u=root | 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 11:49:29,184 p=149501 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 11:49:29,437 p=149501 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:49:29,630 p=149501 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 11:49:29,825 p=149501 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 11:49:30,037 p=149501 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:49:30,226 p=149501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:49:30,412 p=149501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 11:49:30,425 p=149501 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 11:49:30,637 p=149501 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 11:49:30,885 p=149501 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:49:31,089 p=149501 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 11:49:31,312 p=149501 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:49:31,508 p=149501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:49:31,522 p=149501 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 11:49:31,718 p=149501 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 11:49:31,911 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:31,921 p=149501 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 11:49:31,965 p=149501 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 11:49:32,010 p=149501 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 11:49:32,365 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:32,375 p=149501 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 11:49:32,652 p=149501 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 11:49:32,854 p=149501 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 11:49:32,872 p=149501 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 11:49:33,292 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:33,306 p=149501 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 11:49:33,519 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:33,531 p=149501 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 11:49:34,385 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:34,399 p=149501 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 11:49:34,444 p=149501 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 11:49:34,487 p=149501 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 11:49:34,531 p=149501 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 11:49:34,588 p=149501 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 11:49:34,633 p=149501 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:49:34,676 p=149501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:49:34,719 p=149501 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:49:34,763 p=149501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:49:34,809 p=149501 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 11:49:34,853 p=149501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:49:34,899 p=149501 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 11:49:34,945 p=149501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:49:34,989 p=149501 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 11:49:35,213 p=149501 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 11:49:35,389 p=149501 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 11:49:35,571 p=149501 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 11:49:35,748 p=149501 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 11:49:35,760 p=149501 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 11:49:35,814 p=149501 u=root | ok: [localhost] 2019-09-12 11:49:35,826 p=149501 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 11:49:35,867 p=149501 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 11:49:35,912 p=149501 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 11:49:35,957 p=149501 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 11:49:36,007 p=149501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:49:36,059 p=149501 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 11:49:36,070 p=149501 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 11:49:36,124 p=149501 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 11:49:36,171 p=149501 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 11:49:36,397 p=149501 u=root | changed: [localhost] 2019-09-12 11:49:36,408 p=149501 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 11:51:09,570 p=149501 u=root | changed: [localhost] 2019-09-12 11:51:09,586 p=149501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:51:09,652 p=149501 u=root | 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-root/tmp/ansible-tmp-1568288976.46-151303412449705/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-root/tmp/ansible-tmp-1568288976.46-151303412449705/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 11:51:09,662 p=149501 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 11:51:09,714 p=149501 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 11:51:09,717 p=149501 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 11:51:09,717 p=149501 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 11:51:57,085 passlib.registry registered 'md5_crypt' handler: 2019-09-12 11:51:57,096 p=151018 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 11:51:57,290 p=151018 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 11:51:57,703 p=151018 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 11:51:57,853 p=151018 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 11:51:58,005 p=151018 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 11:51:58,172 p=151018 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 11:51:58,182 p=151018 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 11:51:58,266 p=151018 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 11:51:58,312 p=151018 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 11:51:58,354 p=151018 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 11:51:58,391 p=151018 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 11:51:58,436 p=151018 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 11:51:58,476 p=151018 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:51:58,522 p=151018 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 11:51:58,581 p=151018 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 11:51:59,018 p=151018 u=root | changed: [localhost] 2019-09-12 11:51:59,027 p=151018 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 11:51:59,065 p=151018 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 11:51:59,250 p=151018 u=root | ok: [localhost] 2019-09-12 11:51:59,261 p=151018 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 11:51:59,304 p=151018 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 11:51:59,344 p=151018 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 11:51:59,391 p=151018 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 11:51:59,430 p=151018 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 11:51:59,474 p=151018 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:51:59,515 p=151018 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 11:51:59,764 p=151018 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 11:51:59,962 p=151018 u=root | changed: [localhost] 2019-09-12 11:51:59,973 p=151018 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 11:52:00,014 p=151018 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 11:52:00,225 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:00,240 p=151018 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 11:52:00,283 p=151018 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 11:52:00,332 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,343 p=151018 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 11:52:00,383 p=151018 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 11:52:00,431 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,442 p=151018 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 11:52:00,508 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,520 p=151018 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 11:52:00,561 p=151018 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 11:52:00,605 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,617 p=151018 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 11:52:00,668 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,680 p=151018 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 11:52:00,723 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,736 p=151018 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 11:52:00,798 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,809 p=151018 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 11:52:00,853 p=151018 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 11:52:00,900 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,910 p=151018 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 11:52:00,955 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:00,965 p=151018 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 11:52:01,015 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,027 p=151018 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 11:52:01,079 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,090 p=151018 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 11:52:01,137 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,147 p=151018 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 11:52:01,359 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:01,370 p=151018 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 11:52:01,586 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,597 p=151018 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 11:52:01,645 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,656 p=151018 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 11:52:01,708 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,720 p=151018 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 11:52:01,922 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,932 p=151018 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 11:52:01,987 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:01,998 p=151018 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 11:52:02,195 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:02,205 p=151018 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 11:52:02,255 p=151018 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 11:52:02,299 p=151018 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 11:52:02,343 p=151018 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 11:52:02,383 p=151018 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 11:52:02,422 p=151018 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 11:52:02,463 p=151018 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 11:52:02,503 p=151018 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 11:52:02,545 p=151018 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 11:52:02,586 p=151018 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 11:52:02,627 p=151018 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 11:52:02,669 p=151018 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 11:52:02,709 p=151018 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 11:52:02,750 p=151018 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 11:52:02,790 p=151018 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 11:52:02,831 p=151018 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 11:52:02,873 p=151018 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 11:52:02,913 p=151018 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 11:52:02,955 p=151018 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 11:52:03,193 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:03,204 p=151018 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 11:52:03,429 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:03,442 p=151018 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 11:52:03,482 p=151018 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 11:52:03,530 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:03,541 p=151018 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:52:03,583 p=151018 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:52:03,624 p=151018 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 11:52:04,089 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:04,100 p=151018 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 11:52:04,143 p=151018 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 11:52:04,344 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:04,354 p=151018 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 11:52:04,396 p=151018 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 11:52:04,862 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:04,874 p=151018 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 11:52:05,072 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:05,083 p=151018 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:52:05,130 p=151018 u=root | 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 11:52:05,141 p=151018 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:52:05,187 p=151018 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:52:05,232 p=151018 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 11:52:05,281 p=151018 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 11:52:05,328 p=151018 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 11:52:05,376 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:05,424 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:05,437 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:05,501 p=151018 u=root | ok: [localhost] => (item=None) 2019-09-12 11:52:05,513 p=151018 u=root | ok: [localhost] => (item=None) 2019-09-12 11:52:05,526 p=151018 u=root | ok: [localhost] => (item=None) 2019-09-12 11:52:05,544 p=151018 u=root | ok: [localhost] => (item=None) 2019-09-12 11:52:05,545 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:05,556 p=151018 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:52:05,626 p=151018 u=root | 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 11:52:05,636 p=151018 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 11:52:05,687 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:05,700 p=151018 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:52:05,742 p=151018 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 11:52:05,784 p=151018 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 11:52:05,827 p=151018 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 11:52:05,872 p=151018 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 11:52:05,914 p=151018 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 11:52:06,133 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:06,143 p=151018 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 11:52:06,186 p=151018 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 11:52:06,230 p=151018 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 11:52:06,286 p=151018 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 11:52:06,299 p=151018 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 11:52:06,309 p=151018 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 11:52:06,369 p=151018 u=root | 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 11:52:06,384 p=151018 u=root | 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 11:52:06,398 p=151018 u=root | 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 11:52:06,415 p=151018 u=root | 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 11:52:06,428 p=151018 u=root | 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 11:52:06,442 p=151018 u=root | 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 11:52:06,456 p=151018 u=root | 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 11:52:06,471 p=151018 u=root | 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 11:52:06,486 p=151018 u=root | 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 11:52:06,497 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:06,546 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:06,556 p=151018 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 11:52:06,620 p=151018 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,642 p=151018 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,659 p=151018 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,676 p=151018 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,692 p=151018 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,707 p=151018 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:52:06,718 p=151018 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 11:52:06,831 p=151018 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 11:52:06,884 p=151018 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 11:52:06,895 p=151018 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 11:52:06,972 p=151018 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 11:52:07,067 p=151018 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 11:52:07,128 p=151018 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 11:52:07,233 p=151018 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 11:52:07,275 p=151018 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 11:52:07,316 p=151018 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 11:52:07,373 p=151018 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 11:52:07,416 p=151018 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 11:52:07,494 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:07,505 p=151018 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 11:52:07,600 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:07,615 p=151018 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:52:07,742 p=151018 u=root | 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 11:52:07,756 p=151018 u=root | 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 11:52:07,769 p=151018 u=root | 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 11:52:07,783 p=151018 u=root | 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 11:52:07,796 p=151018 u=root | 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 11:52:07,810 p=151018 u=root | 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 11:52:07,888 p=151018 u=root | 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 11:52:07,901 p=151018 u=root | 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 11:52:07,917 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:07,971 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:07,985 p=151018 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 11:52:08,029 p=151018 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 11:52:08,073 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:08,115 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:08,166 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:08,179 p=151018 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 11:52:08,221 p=151018 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 11:52:08,268 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:08,312 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:08,367 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:08,380 p=151018 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 11:52:08,423 p=151018 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 11:52:08,464 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:08,506 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:08,565 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:08,580 p=151018 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 11:52:08,624 p=151018 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 11:52:08,673 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:08,717 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:08,770 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:08,783 p=151018 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 11:52:08,833 p=151018 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 11:52:08,875 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:08,919 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:08,979 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:08,993 p=151018 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 11:52:09,036 p=151018 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 11:52:09,084 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:09,132 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:09,185 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,199 p=151018 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 11:52:09,245 p=151018 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 11:52:09,290 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:09,333 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:09,392 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,406 p=151018 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 11:52:09,461 p=151018 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 11:52:09,506 p=151018 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:52:09,552 p=151018 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 11:52:09,620 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,630 p=151018 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 11:52:09,696 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,706 p=151018 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 11:52:09,760 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,770 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:09,837 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:09,849 p=151018 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 11:52:09,889 p=151018 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 11:52:09,946 p=151018 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 11:52:09,982 p=151018 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 11:52:10,021 p=151018 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 11:52:10,066 p=151018 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 11:52:10,111 p=151018 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 11:52:10,156 p=151018 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 11:52:10,204 p=151018 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:52:10,316 p=151018 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:52:10,363 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:10,380 p=151018 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 11:52:10,429 p=151018 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 11:52:10,480 p=151018 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 11:52:10,525 p=151018 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 11:52:10,567 p=151018 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 11:52:10,601 p=151018 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 11:52:10,645 p=151018 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 11:52:10,689 p=151018 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 11:52:10,735 p=151018 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 11:52:10,782 p=151018 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 11:52:10,829 p=151018 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 11:52:11,051 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:11,061 p=151018 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 11:52:11,543 p=151018 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 11:52:11,711 p=151018 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 11:52:11,890 p=151018 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 11:52:12,066 p=151018 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 11:52:12,238 p=151018 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 11:52:12,417 p=151018 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 11:52:12,586 p=151018 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 11:52:12,759 p=151018 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 11:52:12,937 p=151018 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 11:52:13,118 p=151018 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 11:52:13,286 p=151018 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 11:52:13,464 p=151018 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 11:52:13,641 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 11:52:13,806 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 11:52:13,981 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 11:52:14,148 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:52:14,321 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 11:52:14,489 p=151018 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 11:52:14,660 p=151018 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 11:52:14,839 p=151018 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 11:52:15,015 p=151018 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 11:52:15,193 p=151018 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:52:15,364 p=151018 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 11:52:15,541 p=151018 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 11:52:15,706 p=151018 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 11:52:15,887 p=151018 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 11:52:16,049 p=151018 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 11:52:16,223 p=151018 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 11:52:16,401 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 11:52:16,582 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 11:52:16,750 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 11:52:16,916 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 11:52:17,085 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 11:52:17,264 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 11:52:17,434 p=151018 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 11:52:17,627 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 11:52:17,812 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 11:52:17,994 p=151018 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 11:52:18,164 p=151018 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 11:52:18,331 p=151018 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 11:52:18,500 p=151018 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 11:52:18,673 p=151018 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 11:52:18,850 p=151018 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 11:52:19,025 p=151018 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 11:52:19,201 p=151018 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 11:52:19,383 p=151018 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 11:52:19,563 p=151018 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 11:52:19,741 p=151018 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 11:52:19,917 p=151018 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 11:52:20,097 p=151018 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 11:52:20,293 p=151018 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 11:52:20,483 p=151018 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 11:52:20,666 p=151018 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 11:52:20,690 p=151018 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 11:52:20,899 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:20,912 p=151018 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 11:52:20,954 p=151018 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 11:52:20,997 p=151018 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 11:52:21,038 p=151018 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 11:52:21,083 p=151018 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 11:52:21,150 p=151018 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 11:52:21,190 p=151018 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 11:52:21,230 p=151018 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 11:52:21,270 p=151018 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 11:52:21,309 p=151018 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 11:52:21,350 p=151018 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 11:52:21,394 p=151018 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 11:52:21,435 p=151018 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 11:52:21,486 p=151018 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 11:52:21,527 p=151018 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 11:52:21,576 p=151018 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 11:52:21,619 p=151018 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 11:52:21,667 p=151018 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 11:52:21,706 p=151018 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 11:52:21,747 p=151018 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 11:52:21,786 p=151018 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 11:52:21,826 p=151018 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 11:52:21,878 p=151018 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 11:52:21,919 p=151018 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 11:52:21,962 p=151018 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 11:52:22,001 p=151018 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 11:52:22,041 p=151018 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 11:52:22,090 p=151018 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 11:52:22,131 p=151018 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 11:52:22,171 p=151018 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 11:52:22,212 p=151018 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 11:52:22,261 p=151018 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 11:52:22,311 p=151018 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 11:52:22,356 p=151018 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 11:52:22,410 p=151018 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 11:52:22,452 p=151018 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 11:52:22,493 p=151018 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 11:52:22,539 p=151018 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 11:52:22,766 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:22,778 p=151018 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 11:52:22,987 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:22,998 p=151018 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 11:52:23,260 p=151018 u=root | 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': 1568289140.644, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568289140.644, u'inode': 335034, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568289140.645, 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 11:52:23,273 p=151018 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 11:52:23,510 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:23,521 p=151018 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 11:52:23,738 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:23,748 p=151018 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 11:52:23,804 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:23,816 p=151018 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:52:23,881 p=151018 u=root | 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 11:52:23,893 p=151018 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 11:52:24,129 p=151018 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 11:52:24,308 p=151018 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 11:52:24,319 p=151018 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 11:52:24,535 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:24,547 p=151018 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 11:52:25,126 p=151018 u=root | 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 11:52:25,309 p=151018 u=root | 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 11:52:25,515 p=151018 u=root | 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 11:52:25,529 p=151018 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 11:52:25,744 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:25,755 p=151018 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 11:52:25,989 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:26,006 p=151018 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 11:52:26,233 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:26,243 p=151018 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 11:52:26,455 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:26,468 p=151018 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 11:52:26,507 p=151018 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 11:52:29,955 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:29,966 p=151018 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 11:52:30,238 p=151018 u=root | 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 11:52:30,467 p=151018 u=root | 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 11:52:30,479 p=151018 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 11:52:30,722 p=151018 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:52:30,922 p=151018 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 11:52:31,130 p=151018 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 11:52:31,331 p=151018 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:52:31,514 p=151018 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:52:31,704 p=151018 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 11:52:31,720 p=151018 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 11:52:31,927 p=151018 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 11:52:32,190 p=151018 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:52:32,402 p=151018 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 11:52:32,608 p=151018 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:52:32,797 p=151018 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:52:32,808 p=151018 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 11:52:32,995 p=151018 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 11:52:33,192 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:33,204 p=151018 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 11:52:33,249 p=151018 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 11:52:33,294 p=151018 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 11:52:33,651 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:33,661 p=151018 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 11:52:33,906 p=151018 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 11:52:34,100 p=151018 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 11:52:34,115 p=151018 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 11:52:34,492 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:34,505 p=151018 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 11:52:34,716 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:34,728 p=151018 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 11:52:35,967 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:35,981 p=151018 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 11:52:36,026 p=151018 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 11:52:36,068 p=151018 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 11:52:36,109 p=151018 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 11:52:36,155 p=151018 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 11:52:36,204 p=151018 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:52:36,248 p=151018 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:52:36,290 p=151018 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:52:36,332 p=151018 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:52:36,375 p=151018 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 11:52:36,422 p=151018 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:52:36,467 p=151018 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 11:52:36,512 p=151018 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:52:36,561 p=151018 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 11:52:36,794 p=151018 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 11:52:36,973 p=151018 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 11:52:37,149 p=151018 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 11:52:37,312 p=151018 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 11:52:37,324 p=151018 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 11:52:37,380 p=151018 u=root | ok: [localhost] 2019-09-12 11:52:37,392 p=151018 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 11:52:37,434 p=151018 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 11:52:37,476 p=151018 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 11:52:37,519 p=151018 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 11:52:37,567 p=151018 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:52:37,619 p=151018 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 11:52:37,630 p=151018 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 11:52:37,678 p=151018 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 11:52:37,731 p=151018 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 11:52:37,955 p=151018 u=root | changed: [localhost] 2019-09-12 11:52:37,965 p=151018 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 11:53:42,002 p=151018 u=root | changed: [localhost] 2019-09-12 11:53:42,025 p=151018 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:53:42,097 p=151018 u=root | 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-root/tmp/ansible-tmp-1568289158.02-109779986235700/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-root/tmp/ansible-tmp-1568289158.02-109779986235700/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 11:53:42,108 p=151018 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 11:53:42,160 p=151018 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 11:53:42,163 p=151018 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 11:53:42,163 p=151018 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 11:55:28,109 passlib.registry registered 'md5_crypt' handler: 2019-09-12 11:55:28,121 p=152565 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 11:55:28,322 p=152565 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 11:55:28,768 p=152565 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 11:55:28,930 p=152565 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 11:55:29,087 p=152565 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 11:55:29,253 p=152565 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 11:55:29,264 p=152565 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 11:55:29,354 p=152565 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 11:55:29,397 p=152565 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 11:55:29,446 p=152565 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 11:55:29,484 p=152565 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 11:55:29,526 p=152565 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 11:55:29,566 p=152565 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:55:29,612 p=152565 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 11:55:29,654 p=152565 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 11:55:30,088 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:30,099 p=152565 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 11:55:30,143 p=152565 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 11:55:30,340 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:30,350 p=152565 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 11:55:30,388 p=152565 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 11:55:30,427 p=152565 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 11:55:30,477 p=152565 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 11:55:30,520 p=152565 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 11:55:30,567 p=152565 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:55:30,608 p=152565 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 11:55:30,863 p=152565 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 11:55:31,065 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:31,075 p=152565 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 11:55:31,116 p=152565 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 11:55:31,323 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:31,335 p=152565 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 11:55:31,381 p=152565 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 11:55:31,432 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,443 p=152565 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 11:55:31,484 p=152565 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 11:55:31,534 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,545 p=152565 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 11:55:31,612 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,622 p=152565 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 11:55:31,663 p=152565 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 11:55:31,707 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,718 p=152565 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 11:55:31,767 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,776 p=152565 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 11:55:31,823 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,833 p=152565 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 11:55:31,893 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:31,904 p=152565 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 11:55:31,945 p=152565 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 11:55:31,990 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,001 p=152565 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 11:55:32,049 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,061 p=152565 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 11:55:32,111 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,121 p=152565 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 11:55:32,169 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,180 p=152565 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 11:55:32,223 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,233 p=152565 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 11:55:32,451 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:32,461 p=152565 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 11:55:32,675 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,685 p=152565 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 11:55:32,737 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,749 p=152565 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 11:55:32,797 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:32,807 p=152565 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 11:55:33,006 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:33,016 p=152565 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 11:55:33,066 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:33,076 p=152565 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 11:55:33,270 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:33,281 p=152565 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 11:55:33,330 p=152565 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 11:55:33,373 p=152565 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 11:55:33,415 p=152565 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 11:55:33,453 p=152565 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 11:55:33,493 p=152565 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 11:55:33,532 p=152565 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 11:55:33,573 p=152565 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 11:55:33,619 p=152565 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 11:55:33,659 p=152565 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 11:55:33,701 p=152565 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 11:55:33,745 p=152565 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 11:55:33,786 p=152565 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 11:55:33,825 p=152565 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 11:55:33,864 p=152565 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 11:55:33,904 p=152565 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 11:55:33,943 p=152565 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 11:55:33,982 p=152565 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 11:55:34,022 p=152565 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 11:55:34,255 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:34,266 p=152565 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 11:55:34,491 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:34,502 p=152565 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 11:55:34,546 p=152565 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 11:55:34,600 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:34,610 p=152565 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:55:34,654 p=152565 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:55:34,694 p=152565 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 11:55:35,158 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:35,169 p=152565 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 11:55:35,212 p=152565 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 11:55:35,411 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:35,424 p=152565 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 11:55:35,466 p=152565 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 11:55:35,930 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:35,943 p=152565 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 11:55:36,161 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:36,172 p=152565 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:55:36,221 p=152565 u=root | 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 11:55:36,232 p=152565 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:55:36,280 p=152565 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:55:36,328 p=152565 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 11:55:36,373 p=152565 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 11:55:36,418 p=152565 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 11:55:36,465 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:36,511 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:36,523 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:36,582 p=152565 u=root | ok: [localhost] => (item=None) 2019-09-12 11:55:36,595 p=152565 u=root | ok: [localhost] => (item=None) 2019-09-12 11:55:36,610 p=152565 u=root | ok: [localhost] => (item=None) 2019-09-12 11:55:36,625 p=152565 u=root | ok: [localhost] => (item=None) 2019-09-12 11:55:36,625 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:36,636 p=152565 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:55:36,701 p=152565 u=root | 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 11:55:36,710 p=152565 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 11:55:36,754 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:36,764 p=152565 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:55:36,803 p=152565 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 11:55:36,844 p=152565 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 11:55:36,887 p=152565 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 11:55:36,932 p=152565 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 11:55:36,980 p=152565 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 11:55:37,209 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:37,220 p=152565 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 11:55:37,266 p=152565 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 11:55:37,311 p=152565 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 11:55:37,370 p=152565 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 11:55:37,385 p=152565 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 11:55:37,395 p=152565 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 11:55:37,455 p=152565 u=root | 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 11:55:37,470 p=152565 u=root | 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 11:55:37,485 p=152565 u=root | 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 11:55:37,508 p=152565 u=root | 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 11:55:37,522 p=152565 u=root | 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 11:55:37,537 p=152565 u=root | 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 11:55:37,551 p=152565 u=root | 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 11:55:37,566 p=152565 u=root | 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 11:55:37,587 p=152565 u=root | 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 11:55:37,599 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:37,651 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:37,661 p=152565 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 11:55:37,744 p=152565 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,760 p=152565 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,776 p=152565 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,792 p=152565 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,815 p=152565 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,831 p=152565 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:55:37,843 p=152565 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 11:55:37,963 p=152565 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 11:55:38,018 p=152565 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 11:55:38,030 p=152565 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 11:55:38,096 p=152565 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 11:55:38,173 p=152565 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 11:55:38,234 p=152565 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 11:55:38,340 p=152565 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 11:55:38,381 p=152565 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 11:55:38,423 p=152565 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 11:55:38,468 p=152565 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 11:55:38,510 p=152565 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 11:55:38,590 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:38,605 p=152565 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 11:55:38,701 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:38,716 p=152565 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:55:38,843 p=152565 u=root | 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 11:55:38,857 p=152565 u=root | 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 11:55:38,870 p=152565 u=root | 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 11:55:38,883 p=152565 u=root | 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 11:55:38,896 p=152565 u=root | 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 11:55:38,910 p=152565 u=root | 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 11:55:38,989 p=152565 u=root | 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 11:55:39,002 p=152565 u=root | 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 11:55:39,018 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:39,074 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:39,090 p=152565 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 11:55:39,135 p=152565 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 11:55:39,176 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:39,222 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:39,276 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:39,288 p=152565 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 11:55:39,334 p=152565 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 11:55:39,377 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:39,426 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:39,483 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:39,496 p=152565 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 11:55:39,539 p=152565 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 11:55:39,593 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:39,640 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:39,696 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:39,712 p=152565 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 11:55:39,770 p=152565 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 11:55:39,813 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:39,857 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:39,910 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:39,923 p=152565 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 11:55:39,968 p=152565 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 11:55:40,012 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:40,055 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:40,108 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,122 p=152565 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 11:55:40,170 p=152565 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 11:55:40,214 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:40,256 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:40,309 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,322 p=152565 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 11:55:40,368 p=152565 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 11:55:40,413 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:40,457 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:40,515 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,528 p=152565 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 11:55:40,571 p=152565 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 11:55:40,615 p=152565 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:55:40,667 p=152565 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 11:55:40,729 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,743 p=152565 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 11:55:40,818 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,835 p=152565 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 11:55:40,897 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,907 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:40,981 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:40,994 p=152565 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 11:55:41,037 p=152565 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 11:55:41,096 p=152565 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 11:55:41,132 p=152565 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 11:55:41,173 p=152565 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 11:55:41,222 p=152565 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 11:55:41,267 p=152565 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 11:55:41,313 p=152565 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 11:55:41,373 p=152565 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:55:41,464 p=152565 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:55:41,512 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:41,529 p=152565 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 11:55:41,580 p=152565 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 11:55:41,634 p=152565 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 11:55:41,680 p=152565 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 11:55:41,726 p=152565 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 11:55:41,760 p=152565 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 11:55:41,806 p=152565 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 11:55:41,852 p=152565 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 11:55:41,901 p=152565 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 11:55:41,952 p=152565 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 11:55:41,999 p=152565 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 11:55:42,230 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:42,241 p=152565 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 11:55:42,726 p=152565 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 11:55:42,891 p=152565 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 11:55:43,064 p=152565 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 11:55:43,241 p=152565 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 11:55:43,417 p=152565 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 11:55:43,589 p=152565 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 11:55:43,762 p=152565 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 11:55:43,930 p=152565 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 11:55:44,099 p=152565 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 11:55:44,276 p=152565 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 11:55:44,445 p=152565 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 11:55:44,629 p=152565 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 11:55:44,798 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 11:55:44,973 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 11:55:45,139 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 11:55:45,305 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:55:45,471 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 11:55:45,638 p=152565 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 11:55:45,810 p=152565 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 11:55:45,974 p=152565 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 11:55:46,156 p=152565 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 11:55:46,324 p=152565 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:55:46,496 p=152565 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 11:55:46,672 p=152565 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 11:55:46,850 p=152565 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 11:55:47,031 p=152565 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 11:55:47,197 p=152565 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 11:55:47,370 p=152565 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 11:55:47,545 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 11:55:47,710 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 11:55:47,878 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 11:55:48,049 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 11:55:48,221 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 11:55:48,402 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 11:55:48,575 p=152565 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 11:55:48,753 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 11:55:48,928 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 11:55:49,103 p=152565 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 11:55:49,282 p=152565 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 11:55:49,464 p=152565 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 11:55:49,642 p=152565 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 11:55:49,820 p=152565 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 11:55:49,990 p=152565 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 11:55:50,158 p=152565 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 11:55:50,332 p=152565 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 11:55:50,515 p=152565 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 11:55:50,708 p=152565 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 11:55:50,887 p=152565 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 11:55:51,076 p=152565 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 11:55:51,269 p=152565 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 11:55:51,448 p=152565 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 11:55:51,632 p=152565 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 11:55:51,826 p=152565 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 11:55:51,852 p=152565 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 11:55:52,067 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:52,078 p=152565 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 11:55:52,118 p=152565 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 11:55:52,163 p=152565 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 11:55:52,206 p=152565 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 11:55:52,246 p=152565 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 11:55:52,286 p=152565 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 11:55:52,325 p=152565 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 11:55:52,366 p=152565 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 11:55:52,405 p=152565 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 11:55:52,446 p=152565 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 11:55:52,486 p=152565 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 11:55:52,527 p=152565 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 11:55:52,573 p=152565 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 11:55:52,612 p=152565 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 11:55:52,653 p=152565 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 11:55:52,692 p=152565 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 11:55:52,732 p=152565 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 11:55:52,773 p=152565 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 11:55:52,813 p=152565 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 11:55:52,856 p=152565 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 11:55:52,895 p=152565 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 11:55:52,935 p=152565 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 11:55:52,979 p=152565 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 11:55:53,026 p=152565 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 11:55:53,075 p=152565 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 11:55:53,116 p=152565 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 11:55:53,158 p=152565 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 11:55:53,198 p=152565 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 11:55:53,245 p=152565 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 11:55:53,287 p=152565 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 11:55:53,327 p=152565 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 11:55:53,368 p=152565 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 11:55:53,411 p=152565 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 11:55:53,451 p=152565 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 11:55:53,490 p=152565 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 11:55:53,530 p=152565 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 11:55:53,569 p=152565 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 11:55:53,609 p=152565 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 11:55:53,820 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:53,830 p=152565 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 11:55:54,035 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:54,046 p=152565 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 11:55:54,279 p=152565 u=root | 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': 1568289351.805, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568289351.805, u'inode': 337478, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568289351.805, 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 11:55:54,290 p=152565 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 11:55:54,508 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:54,519 p=152565 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 11:55:54,728 p=152565 u=root | changed: [localhost] 2019-09-12 11:55:54,740 p=152565 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 11:55:54,796 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:54,807 p=152565 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:55:54,859 p=152565 u=root | 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 11:55:54,869 p=152565 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 11:55:55,102 p=152565 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 11:55:55,286 p=152565 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 11:55:55,298 p=152565 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 11:55:55,537 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:55,549 p=152565 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 11:55:56,114 p=152565 u=root | 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 11:55:56,311 p=152565 u=root | 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 11:55:56,489 p=152565 u=root | 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 11:55:56,501 p=152565 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 11:55:56,706 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:56,717 p=152565 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 11:55:56,935 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:56,947 p=152565 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 11:55:57,167 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:57,177 p=152565 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 11:55:57,383 p=152565 u=root | ok: [localhost] 2019-09-12 11:55:57,394 p=152565 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 11:55:57,430 p=152565 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 11:56:00,562 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:00,572 p=152565 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 11:56:00,839 p=152565 u=root | 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 11:56:01,069 p=152565 u=root | 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 11:56:01,080 p=152565 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 11:56:01,319 p=152565 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:56:01,515 p=152565 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 11:56:01,710 p=152565 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 11:56:01,924 p=152565 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:56:02,116 p=152565 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:56:02,308 p=152565 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 11:56:02,322 p=152565 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 11:56:02,537 p=152565 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 11:56:02,791 p=152565 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:56:02,998 p=152565 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 11:56:03,217 p=152565 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:56:03,406 p=152565 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:56:03,419 p=152565 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 11:56:03,601 p=152565 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 11:56:03,792 p=152565 u=root | ok: [localhost] 2019-09-12 11:56:03,803 p=152565 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 11:56:03,860 p=152565 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 11:56:03,904 p=152565 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 11:56:04,258 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:04,270 p=152565 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 11:56:04,512 p=152565 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 11:56:04,710 p=152565 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 11:56:04,720 p=152565 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 11:56:05,086 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:05,097 p=152565 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 11:56:05,300 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:05,311 p=152565 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 11:56:06,744 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:06,754 p=152565 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 11:56:06,795 p=152565 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 11:56:06,839 p=152565 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 11:56:06,881 p=152565 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 11:56:06,927 p=152565 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 11:56:06,974 p=152565 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:56:07,018 p=152565 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:56:07,066 p=152565 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:56:07,117 p=152565 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:56:07,163 p=152565 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 11:56:07,207 p=152565 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:56:07,253 p=152565 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 11:56:07,298 p=152565 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:56:07,344 p=152565 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 11:56:07,588 p=152565 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 11:56:07,755 p=152565 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 11:56:07,938 p=152565 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 11:56:08,127 p=152565 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 11:56:08,140 p=152565 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 11:56:08,190 p=152565 u=root | ok: [localhost] 2019-09-12 11:56:08,201 p=152565 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 11:56:08,246 p=152565 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 11:56:08,286 p=152565 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 11:56:08,328 p=152565 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 11:56:08,371 p=152565 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:56:08,421 p=152565 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 11:56:08,432 p=152565 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 11:56:08,479 p=152565 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 11:56:08,526 p=152565 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 11:56:08,765 p=152565 u=root | changed: [localhost] 2019-09-12 11:56:08,776 p=152565 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 11:57:12,870 p=152565 u=root | changed: [localhost] 2019-09-12 11:57:12,899 p=152565 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:57:12,965 p=152565 u=root | 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-root/tmp/ansible-tmp-1568289368.82-209972168189000/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-root/tmp/ansible-tmp-1568289368.82-209972168189000/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 11:57:12,976 p=152565 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 11:57:13,028 p=152565 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 11:57:13,031 p=152565 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 11:57:13,032 p=152565 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 11:58:18,517 passlib.registry registered 'md5_crypt' handler: 2019-09-12 11:58:18,529 p=154035 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 11:58:18,740 p=154035 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 11:58:19,174 p=154035 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 11:58:19,332 p=154035 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 11:58:19,501 p=154035 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 11:58:19,665 p=154035 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 11:58:19,676 p=154035 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 11:58:19,755 p=154035 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 11:58:19,799 p=154035 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 11:58:19,844 p=154035 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 11:58:19,882 p=154035 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 11:58:19,928 p=154035 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 11:58:19,966 p=154035 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:58:20,009 p=154035 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 11:58:20,050 p=154035 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 11:58:20,496 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:20,507 p=154035 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 11:58:20,552 p=154035 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 11:58:20,757 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:20,767 p=154035 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 11:58:20,806 p=154035 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 11:58:20,844 p=154035 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 11:58:20,894 p=154035 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 11:58:20,935 p=154035 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 11:58:20,976 p=154035 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:58:21,018 p=154035 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 11:58:21,278 p=154035 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 11:58:21,492 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:21,503 p=154035 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 11:58:21,545 p=154035 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 11:58:21,756 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:21,766 p=154035 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 11:58:21,810 p=154035 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 11:58:21,863 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:21,875 p=154035 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 11:58:21,918 p=154035 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 11:58:21,967 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:21,978 p=154035 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 11:58:22,048 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,058 p=154035 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 11:58:22,100 p=154035 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 11:58:22,147 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,158 p=154035 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 11:58:22,206 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,216 p=154035 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 11:58:22,262 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,273 p=154035 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 11:58:22,337 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,348 p=154035 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 11:58:22,389 p=154035 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 11:58:22,431 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,442 p=154035 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 11:58:22,486 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,496 p=154035 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 11:58:22,547 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,558 p=154035 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 11:58:22,610 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,621 p=154035 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 11:58:22,669 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:22,681 p=154035 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 11:58:22,916 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:22,934 p=154035 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 11:58:23,171 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,183 p=154035 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 11:58:23,241 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,252 p=154035 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 11:58:23,303 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,318 p=154035 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 11:58:23,533 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,545 p=154035 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 11:58:23,603 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,620 p=154035 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 11:58:23,823 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:23,836 p=154035 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 11:58:23,888 p=154035 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 11:58:23,936 p=154035 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 11:58:23,980 p=154035 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 11:58:24,020 p=154035 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 11:58:24,067 p=154035 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 11:58:24,108 p=154035 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 11:58:24,152 p=154035 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 11:58:24,195 p=154035 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 11:58:24,236 p=154035 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 11:58:24,284 p=154035 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 11:58:24,325 p=154035 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 11:58:24,365 p=154035 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 11:58:24,407 p=154035 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 11:58:24,449 p=154035 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 11:58:24,494 p=154035 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 11:58:24,538 p=154035 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 11:58:24,578 p=154035 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 11:58:24,619 p=154035 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 11:58:24,875 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:24,888 p=154035 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 11:58:25,147 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:25,160 p=154035 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 11:58:25,203 p=154035 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 11:58:25,257 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:25,268 p=154035 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:58:25,314 p=154035 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 11:58:25,357 p=154035 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 11:58:25,851 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:25,861 p=154035 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 11:58:25,912 p=154035 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 11:58:26,129 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:26,139 p=154035 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 11:58:26,182 p=154035 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 11:58:26,676 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:26,689 p=154035 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 11:58:26,903 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:26,914 p=154035 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 11:58:26,967 p=154035 u=root | 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 11:58:26,978 p=154035 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:58:27,024 p=154035 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 11:58:27,071 p=154035 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 11:58:27,126 p=154035 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 11:58:27,175 p=154035 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 11:58:27,225 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:27,277 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:27,288 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:27,349 p=154035 u=root | ok: [localhost] => (item=None) 2019-09-12 11:58:27,365 p=154035 u=root | ok: [localhost] => (item=None) 2019-09-12 11:58:27,378 p=154035 u=root | ok: [localhost] => (item=None) 2019-09-12 11:58:27,393 p=154035 u=root | ok: [localhost] => (item=None) 2019-09-12 11:58:27,395 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:27,405 p=154035 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:58:27,469 p=154035 u=root | 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 11:58:27,481 p=154035 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 11:58:27,531 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:27,543 p=154035 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 11:58:27,594 p=154035 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 11:58:27,650 p=154035 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 11:58:27,695 p=154035 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 11:58:27,744 p=154035 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 11:58:27,791 p=154035 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 11:58:28,020 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:28,031 p=154035 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 11:58:28,074 p=154035 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 11:58:28,120 p=154035 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 11:58:28,182 p=154035 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 11:58:28,194 p=154035 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 11:58:28,206 p=154035 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 11:58:28,270 p=154035 u=root | 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 11:58:28,284 p=154035 u=root | 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 11:58:28,300 p=154035 u=root | 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 11:58:28,330 p=154035 u=root | 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 11:58:28,338 p=154035 u=root | 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 11:58:28,356 p=154035 u=root | 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 11:58:28,372 p=154035 u=root | 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 11:58:28,389 p=154035 u=root | 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 11:58:28,407 p=154035 u=root | 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 11:58:28,417 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:28,479 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:28,490 p=154035 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 11:58:28,554 p=154035 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,568 p=154035 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,584 p=154035 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,601 p=154035 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,616 p=154035 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,634 p=154035 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 11:58:28,644 p=154035 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 11:58:28,759 p=154035 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 11:58:28,833 p=154035 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 11:58:28,844 p=154035 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 11:58:28,907 p=154035 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 11:58:28,983 p=154035 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 11:58:29,047 p=154035 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 11:58:29,149 p=154035 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 11:58:29,192 p=154035 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 11:58:29,236 p=154035 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 11:58:29,279 p=154035 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 11:58:29,323 p=154035 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 11:58:29,406 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:29,417 p=154035 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 11:58:29,522 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:29,535 p=154035 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:58:29,680 p=154035 u=root | 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 11:58:29,695 p=154035 u=root | 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 11:58:29,709 p=154035 u=root | 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 11:58:29,723 p=154035 u=root | 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 11:58:29,737 p=154035 u=root | 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 11:58:29,804 p=154035 u=root | 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 11:58:29,818 p=154035 u=root | 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 11:58:29,831 p=154035 u=root | 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 11:58:29,848 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:29,903 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:29,918 p=154035 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 11:58:29,967 p=154035 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 11:58:30,014 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:30,057 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:30,110 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:30,124 p=154035 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 11:58:30,169 p=154035 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 11:58:30,214 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:30,259 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:30,315 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:30,328 p=154035 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 11:58:30,375 p=154035 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 11:58:30,424 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:30,468 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:30,524 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:30,538 p=154035 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 11:58:30,583 p=154035 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 11:58:30,628 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:30,671 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:30,735 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:30,748 p=154035 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 11:58:30,804 p=154035 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 11:58:30,851 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:30,899 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:30,952 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:30,966 p=154035 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 11:58:31,015 p=154035 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 11:58:31,060 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:31,102 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:31,167 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,179 p=154035 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 11:58:31,226 p=154035 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 11:58:31,270 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:31,313 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:31,371 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,385 p=154035 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 11:58:31,438 p=154035 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 11:58:31,482 p=154035 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 11:58:31,526 p=154035 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 11:58:31,580 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,591 p=154035 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 11:58:31,663 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,676 p=154035 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 11:58:31,732 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,742 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:31,811 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:31,821 p=154035 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 11:58:31,863 p=154035 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 11:58:31,925 p=154035 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 11:58:31,963 p=154035 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 11:58:32,006 p=154035 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 11:58:32,051 p=154035 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 11:58:32,097 p=154035 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 11:58:32,141 p=154035 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 11:58:32,191 p=154035 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 11:58:32,288 p=154035 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 11:58:32,340 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:32,357 p=154035 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 11:58:32,408 p=154035 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 11:58:32,459 p=154035 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 11:58:32,503 p=154035 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 11:58:32,548 p=154035 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 11:58:32,582 p=154035 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 11:58:32,630 p=154035 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 11:58:32,673 p=154035 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 11:58:32,717 p=154035 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 11:58:32,769 p=154035 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 11:58:32,815 p=154035 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 11:58:33,021 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:33,031 p=154035 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 11:58:33,523 p=154035 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 11:58:33,689 p=154035 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 11:58:33,856 p=154035 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 11:58:34,036 p=154035 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 11:58:34,215 p=154035 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 11:58:34,399 p=154035 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 11:58:34,565 p=154035 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 11:58:34,737 p=154035 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 11:58:34,908 p=154035 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 11:58:35,093 p=154035 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 11:58:35,278 p=154035 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 11:58:35,471 p=154035 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 11:58:35,649 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 11:58:35,831 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 11:58:36,005 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 11:58:36,186 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:58:36,364 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 11:58:36,536 p=154035 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 11:58:36,715 p=154035 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 11:58:36,900 p=154035 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 11:58:37,079 p=154035 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 11:58:37,257 p=154035 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 11:58:37,432 p=154035 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 11:58:37,612 p=154035 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 11:58:37,796 p=154035 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 11:58:37,966 p=154035 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 11:58:38,153 p=154035 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 11:58:38,343 p=154035 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 11:58:38,516 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 11:58:38,686 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 11:58:38,854 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 11:58:39,035 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 11:58:39,210 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 11:58:39,376 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 11:58:39,548 p=154035 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 11:58:39,716 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 11:58:39,885 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 11:58:40,063 p=154035 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 11:58:40,252 p=154035 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 11:58:40,439 p=154035 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 11:58:40,616 p=154035 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 11:58:40,792 p=154035 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 11:58:40,969 p=154035 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 11:58:41,148 p=154035 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 11:58:41,332 p=154035 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 11:58:41,504 p=154035 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 11:58:41,691 p=154035 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 11:58:41,864 p=154035 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 11:58:42,038 p=154035 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 11:58:42,220 p=154035 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 11:58:42,396 p=154035 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 11:58:42,566 p=154035 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 11:58:42,747 p=154035 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 11:58:42,778 p=154035 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 11:58:42,997 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:43,008 p=154035 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 11:58:43,048 p=154035 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 11:58:43,089 p=154035 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 11:58:43,140 p=154035 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 11:58:43,181 p=154035 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 11:58:43,221 p=154035 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 11:58:43,265 p=154035 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 11:58:43,303 p=154035 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 11:58:43,343 p=154035 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 11:58:43,384 p=154035 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 11:58:43,423 p=154035 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 11:58:43,465 p=154035 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 11:58:43,510 p=154035 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 11:58:43,554 p=154035 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 11:58:43,596 p=154035 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 11:58:43,639 p=154035 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 11:58:43,679 p=154035 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 11:58:43,719 p=154035 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 11:58:43,760 p=154035 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 11:58:43,801 p=154035 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 11:58:43,837 p=154035 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 11:58:43,880 p=154035 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 11:58:43,921 p=154035 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 11:58:43,968 p=154035 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 11:58:44,010 p=154035 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 11:58:44,050 p=154035 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 11:58:44,091 p=154035 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 11:58:44,129 p=154035 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 11:58:44,171 p=154035 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 11:58:44,212 p=154035 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 11:58:44,253 p=154035 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 11:58:44,294 p=154035 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 11:58:44,337 p=154035 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 11:58:44,380 p=154035 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 11:58:44,420 p=154035 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 11:58:44,460 p=154035 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 11:58:44,500 p=154035 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 11:58:44,540 p=154035 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 11:58:44,755 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:44,765 p=154035 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 11:58:44,969 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:44,981 p=154035 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 11:58:45,218 p=154035 u=root | 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': 1568289522.717, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568289522.717, u'inode': 342461, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568289522.718, 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 11:58:45,229 p=154035 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 11:58:45,437 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:45,449 p=154035 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 11:58:45,652 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:45,663 p=154035 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 11:58:45,716 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:45,727 p=154035 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:58:45,783 p=154035 u=root | 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 11:58:45,795 p=154035 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 11:58:46,021 p=154035 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 11:58:46,205 p=154035 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 11:58:46,217 p=154035 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 11:58:46,435 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:46,447 p=154035 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 11:58:47,003 p=154035 u=root | 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 11:58:47,179 p=154035 u=root | 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 11:58:47,363 p=154035 u=root | 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 11:58:47,376 p=154035 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 11:58:47,618 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:47,629 p=154035 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 11:58:47,857 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:47,867 p=154035 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 11:58:48,096 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:48,107 p=154035 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 11:58:48,319 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:48,329 p=154035 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 11:58:48,369 p=154035 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 11:58:51,659 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:51,670 p=154035 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 11:58:51,956 p=154035 u=root | 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 11:58:52,181 p=154035 u=root | 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 11:58:52,194 p=154035 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 11:58:52,446 p=154035 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:58:52,643 p=154035 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 11:58:52,843 p=154035 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 11:58:53,056 p=154035 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:58:53,245 p=154035 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:58:53,447 p=154035 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 11:58:53,461 p=154035 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 11:58:53,685 p=154035 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 11:58:53,962 p=154035 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 11:58:54,180 p=154035 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 11:58:54,387 p=154035 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 11:58:54,581 p=154035 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 11:58:54,595 p=154035 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 11:58:54,777 p=154035 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 11:58:54,975 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:54,986 p=154035 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 11:58:55,030 p=154035 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 11:58:55,074 p=154035 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 11:58:55,442 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:55,452 p=154035 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 11:58:55,700 p=154035 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 11:58:55,895 p=154035 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 11:58:55,907 p=154035 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 11:58:56,287 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:56,298 p=154035 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 11:58:56,521 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:56,531 p=154035 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 11:58:57,613 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:57,624 p=154035 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 11:58:57,666 p=154035 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 11:58:57,707 p=154035 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 11:58:57,750 p=154035 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 11:58:57,794 p=154035 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 11:58:57,839 p=154035 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:58:57,883 p=154035 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:58:57,927 p=154035 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 11:58:57,969 p=154035 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:58:58,012 p=154035 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 11:58:58,057 p=154035 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:58:58,102 p=154035 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 11:58:58,145 p=154035 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 11:58:58,191 p=154035 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 11:58:58,419 p=154035 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 11:58:58,586 p=154035 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 11:58:58,751 p=154035 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 11:58:58,920 p=154035 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 11:58:58,932 p=154035 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 11:58:58,985 p=154035 u=root | ok: [localhost] 2019-09-12 11:58:58,996 p=154035 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 11:58:59,037 p=154035 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 11:58:59,079 p=154035 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 11:58:59,121 p=154035 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 11:58:59,164 p=154035 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 11:58:59,217 p=154035 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 11:58:59,227 p=154035 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 11:58:59,276 p=154035 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 11:58:59,325 p=154035 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 11:58:59,562 p=154035 u=root | changed: [localhost] 2019-09-12 11:58:59,573 p=154035 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 12:06:08,668 p=154035 u=root | changed: [localhost] 2019-09-12 12:06:08,693 p=154035 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:06:08,763 p=154035 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568289539.62-114336930049430/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-12 12:06:08,773 p=154035 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 12:06:08,829 p=154035 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 12:06:08,832 p=154035 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 12:06:08,832 p=154035 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 12:13:42,571 passlib.registry registered 'md5_crypt' handler: 2019-09-12 12:13:42,582 p=157072 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 12:13:42,783 p=157072 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 12:13:43,211 p=157072 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 12:13:43,366 p=157072 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 12:13:43,520 p=157072 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 12:13:43,675 p=157072 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 12:13:43,686 p=157072 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 12:13:43,773 p=157072 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 12:13:43,816 p=157072 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 12:13:43,860 p=157072 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 12:13:43,898 p=157072 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 12:13:43,940 p=157072 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 12:13:43,983 p=157072 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:13:44,030 p=157072 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 12:13:44,073 p=157072 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 12:13:44,506 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:44,517 p=157072 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 12:13:44,557 p=157072 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 12:13:44,741 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:44,751 p=157072 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 12:13:44,789 p=157072 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 12:13:44,825 p=157072 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 12:13:44,875 p=157072 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 12:13:44,917 p=157072 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 12:13:44,961 p=157072 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 12:13:45,002 p=157072 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 12:13:45,234 p=157072 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 12:13:45,435 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:45,445 p=157072 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 12:13:45,487 p=157072 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 12:13:45,688 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:45,698 p=157072 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 12:13:45,740 p=157072 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 12:13:45,791 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:45,801 p=157072 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 12:13:45,843 p=157072 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 12:13:45,891 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:45,901 p=157072 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 12:13:45,964 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:45,975 p=157072 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 12:13:46,017 p=157072 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 12:13:46,062 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,073 p=157072 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 12:13:46,120 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,131 p=157072 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 12:13:46,177 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,187 p=157072 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 12:13:46,251 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,262 p=157072 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 12:13:46,312 p=157072 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 12:13:46,358 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,370 p=157072 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 12:13:46,415 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,426 p=157072 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 12:13:46,473 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,484 p=157072 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 12:13:46,533 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,544 p=157072 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 12:13:46,588 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:46,598 p=157072 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 12:13:46,804 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:46,815 p=157072 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 12:13:47,037 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,047 p=157072 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 12:13:47,096 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,105 p=157072 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 12:13:47,154 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,164 p=157072 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 12:13:47,375 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,386 p=157072 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 12:13:47,446 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,458 p=157072 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 12:13:47,669 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:47,679 p=157072 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 12:13:47,727 p=157072 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 12:13:47,772 p=157072 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 12:13:47,815 p=157072 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 12:13:47,856 p=157072 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 12:13:47,898 p=157072 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 12:13:47,943 p=157072 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 12:13:47,988 p=157072 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 12:13:48,029 p=157072 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 12:13:48,072 p=157072 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 12:13:48,113 p=157072 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 12:13:48,160 p=157072 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 12:13:48,200 p=157072 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 12:13:48,240 p=157072 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 12:13:48,280 p=157072 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 12:13:48,320 p=157072 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 12:13:48,361 p=157072 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 12:13:48,402 p=157072 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 12:13:48,443 p=157072 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 12:13:48,668 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:48,680 p=157072 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 12:13:48,902 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:48,912 p=157072 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 12:13:48,953 p=157072 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 12:13:49,003 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:49,013 p=157072 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:13:49,054 p=157072 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 12:13:49,096 p=157072 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 12:13:49,586 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:49,596 p=157072 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 12:13:49,647 p=157072 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 12:13:49,844 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:49,854 p=157072 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 12:13:49,897 p=157072 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 12:13:50,405 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:50,417 p=157072 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 12:13:50,634 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:50,645 p=157072 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:13:50,693 p=157072 u=root | 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 12:13:50,703 p=157072 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 12:13:50,748 p=157072 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 12:13:50,794 p=157072 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 12:13:50,838 p=157072 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 12:13:50,884 p=157072 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 12:13:50,932 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:50,993 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:51,004 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:51,067 p=157072 u=root | ok: [localhost] => (item=None) 2019-09-12 12:13:51,081 p=157072 u=root | ok: [localhost] => (item=None) 2019-09-12 12:13:51,096 p=157072 u=root | ok: [localhost] => (item=None) 2019-09-12 12:13:51,110 p=157072 u=root | ok: [localhost] => (item=None) 2019-09-12 12:13:51,112 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:51,123 p=157072 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 12:13:51,186 p=157072 u=root | 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 12:13:51,199 p=157072 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 12:13:51,246 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:51,259 p=157072 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 12:13:51,304 p=157072 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 12:13:51,347 p=157072 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 12:13:51,392 p=157072 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 12:13:51,443 p=157072 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 12:13:51,488 p=157072 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 12:13:51,714 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:51,728 p=157072 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 12:13:51,782 p=157072 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 12:13:51,826 p=157072 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 12:13:51,882 p=157072 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 12:13:51,896 p=157072 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 12:13:51,907 p=157072 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 12:13:51,966 p=157072 u=root | 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 12:13:51,982 p=157072 u=root | 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 12:13:51,997 p=157072 u=root | 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 12:13:52,012 p=157072 u=root | 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 12:13:52,028 p=157072 u=root | 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 12:13:52,044 p=157072 u=root | 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 12:13:52,059 p=157072 u=root | 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 12:13:52,076 p=157072 u=root | 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 12:13:52,092 p=157072 u=root | 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 12:13:52,103 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:52,155 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:52,166 p=157072 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 12:13:52,230 p=157072 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,244 p=157072 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,260 p=157072 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,275 p=157072 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,291 p=157072 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,305 p=157072 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:13:52,317 p=157072 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 12:13:52,425 p=157072 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 12:13:52,475 p=157072 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 12:13:52,486 p=157072 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 12:13:52,554 p=157072 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 12:13:52,629 p=157072 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 12:13:52,692 p=157072 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 12:13:52,794 p=157072 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 12:13:52,836 p=157072 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 12:13:52,879 p=157072 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 12:13:52,920 p=157072 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 12:13:52,969 p=157072 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 12:13:53,057 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:53,068 p=157072 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 12:13:53,175 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:53,186 p=157072 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 12:13:53,315 p=157072 u=root | 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 12:13:53,333 p=157072 u=root | 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 12:13:53,347 p=157072 u=root | 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 12:13:53,365 p=157072 u=root | 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 12:13:53,380 p=157072 u=root | 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 12:13:53,393 p=157072 u=root | 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 12:13:53,407 p=157072 u=root | 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 12:13:53,422 p=157072 u=root | 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 12:13:53,497 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:53,551 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:53,566 p=157072 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 12:13:53,613 p=157072 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 12:13:53,660 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:53,704 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:53,758 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:53,778 p=157072 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 12:13:53,829 p=157072 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 12:13:53,874 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:53,918 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:53,975 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:53,989 p=157072 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 12:13:54,034 p=157072 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 12:13:54,081 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:54,125 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:54,189 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:54,202 p=157072 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 12:13:54,250 p=157072 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 12:13:54,303 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:54,348 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:54,405 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:54,418 p=157072 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 12:13:54,466 p=157072 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 12:13:54,511 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:54,559 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:54,619 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:54,634 p=157072 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 12:13:54,680 p=157072 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 12:13:54,724 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:54,766 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:54,821 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:54,835 p=157072 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 12:13:54,880 p=157072 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 12:13:54,922 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:54,965 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:55,020 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:55,032 p=157072 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 12:13:55,077 p=157072 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 12:13:55,122 p=157072 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:13:55,166 p=157072 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 12:13:55,224 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:55,235 p=157072 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 12:13:55,303 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:55,317 p=157072 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 12:13:55,380 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:55,393 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:55,469 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:55,485 p=157072 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 12:13:55,530 p=157072 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 12:13:55,590 p=157072 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 12:13:55,631 p=157072 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 12:13:55,672 p=157072 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 12:13:55,719 p=157072 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 12:13:55,767 p=157072 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 12:13:55,816 p=157072 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 12:13:55,869 p=157072 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 12:13:55,964 p=157072 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:13:56,010 p=157072 u=root | ok: [localhost] 2019-09-12 12:13:56,028 p=157072 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 12:13:56,081 p=157072 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 12:13:56,130 p=157072 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 12:13:56,174 p=157072 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 12:13:56,218 p=157072 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 12:13:56,253 p=157072 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 12:13:56,296 p=157072 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 12:13:56,339 p=157072 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 12:13:56,383 p=157072 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 12:13:56,429 p=157072 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 12:13:56,477 p=157072 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 12:13:56,699 p=157072 u=root | changed: [localhost] 2019-09-12 12:13:56,709 p=157072 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 12:13:57,176 p=157072 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 12:13:57,343 p=157072 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 12:13:57,516 p=157072 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 12:13:57,684 p=157072 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 12:13:57,858 p=157072 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 12:13:58,028 p=157072 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 12:13:58,206 p=157072 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 12:13:58,378 p=157072 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 12:13:58,555 p=157072 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 12:13:58,733 p=157072 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 12:13:58,899 p=157072 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 12:13:59,084 p=157072 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 12:13:59,253 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 12:13:59,431 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 12:13:59,611 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 12:13:59,782 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 12:13:59,965 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 12:14:00,132 p=157072 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 12:14:00,320 p=157072 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 12:14:00,498 p=157072 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 12:14:00,670 p=157072 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 12:14:00,841 p=157072 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 12:14:01,012 p=157072 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 12:14:01,182 p=157072 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 12:14:01,352 p=157072 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 12:14:01,526 p=157072 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 12:14:01,701 p=157072 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 12:14:01,875 p=157072 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 12:14:02,046 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 12:14:02,234 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 12:14:02,407 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 12:14:02,593 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 12:14:02,770 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 12:14:02,939 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 12:14:03,124 p=157072 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 12:14:03,308 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 12:14:03,476 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 12:14:03,653 p=157072 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 12:14:03,824 p=157072 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 12:14:04,018 p=157072 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 12:14:04,186 p=157072 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 12:14:04,362 p=157072 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 12:14:04,545 p=157072 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 12:14:04,729 p=157072 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 12:14:04,915 p=157072 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 12:14:05,091 p=157072 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 12:14:05,263 p=157072 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 12:14:05,435 p=157072 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 12:14:05,617 p=157072 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 12:14:05,797 p=157072 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 12:14:05,965 p=157072 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 12:14:06,146 p=157072 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 12:14:06,323 p=157072 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 12:14:06,362 p=157072 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 12:14:06,588 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:06,603 p=157072 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 12:14:06,647 p=157072 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 12:14:06,690 p=157072 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 12:14:06,732 p=157072 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 12:14:06,774 p=157072 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 12:14:06,815 p=157072 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 12:14:06,855 p=157072 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 12:14:06,894 p=157072 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 12:14:06,935 p=157072 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 12:14:06,975 p=157072 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 12:14:07,016 p=157072 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 12:14:07,056 p=157072 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 12:14:07,095 p=157072 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 12:14:07,137 p=157072 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 12:14:07,178 p=157072 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 12:14:07,221 p=157072 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 12:14:07,261 p=157072 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 12:14:07,305 p=157072 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 12:14:07,345 p=157072 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 12:14:07,387 p=157072 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 12:14:07,423 p=157072 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 12:14:07,480 p=157072 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 12:14:07,521 p=157072 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 12:14:07,563 p=157072 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 12:14:07,609 p=157072 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 12:14:07,651 p=157072 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 12:14:07,693 p=157072 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 12:14:07,734 p=157072 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 12:14:07,776 p=157072 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 12:14:07,818 p=157072 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 12:14:07,864 p=157072 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 12:14:07,907 p=157072 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 12:14:07,948 p=157072 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 12:14:07,993 p=157072 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 12:14:08,037 p=157072 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 12:14:08,081 p=157072 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 12:14:08,123 p=157072 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 12:14:08,167 p=157072 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 12:14:08,382 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:08,392 p=157072 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 12:14:08,598 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:08,609 p=157072 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 12:14:08,844 p=157072 u=root | 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': 1568290446.303, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568290446.303, u'inode': 351507, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568290446.303, 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 12:14:08,855 p=157072 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 12:14:09,065 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:09,077 p=157072 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 12:14:09,285 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:09,297 p=157072 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 12:14:09,356 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:09,368 p=157072 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:14:09,425 p=157072 u=root | 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 12:14:09,436 p=157072 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 12:14:09,656 p=157072 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 12:14:09,834 p=157072 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 12:14:09,846 p=157072 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 12:14:10,061 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:10,074 p=157072 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 12:14:10,626 p=157072 u=root | 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 12:14:10,802 p=157072 u=root | 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 12:14:10,985 p=157072 u=root | 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 12:14:10,998 p=157072 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 12:14:11,208 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:11,222 p=157072 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 12:14:11,440 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:11,452 p=157072 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 12:14:11,679 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:11,693 p=157072 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 12:14:11,906 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:11,917 p=157072 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 12:14:11,954 p=157072 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 12:14:15,179 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:15,189 p=157072 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 12:14:15,450 p=157072 u=root | 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 12:14:15,679 p=157072 u=root | 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 12:14:15,691 p=157072 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 12:14:15,939 p=157072 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 12:14:16,148 p=157072 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 12:14:16,368 p=157072 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 12:14:16,569 p=157072 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 12:14:16,768 p=157072 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 12:14:16,951 p=157072 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 12:14:16,967 p=157072 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 12:14:17,202 p=157072 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 12:14:17,465 p=157072 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 12:14:17,679 p=157072 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 12:14:17,892 p=157072 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 12:14:18,089 p=157072 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 12:14:18,101 p=157072 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 12:14:18,303 p=157072 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 12:14:18,513 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:18,524 p=157072 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 12:14:18,569 p=157072 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 12:14:18,612 p=157072 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 12:14:18,965 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:18,979 p=157072 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 12:14:19,225 p=157072 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 12:14:19,435 p=157072 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 12:14:19,451 p=157072 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 12:14:19,845 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:19,856 p=157072 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 12:14:20,070 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:20,081 p=157072 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 12:14:20,884 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:20,897 p=157072 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 12:14:20,952 p=157072 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 12:14:20,998 p=157072 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 12:14:21,053 p=157072 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 12:14:21,109 p=157072 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 12:14:21,157 p=157072 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 12:14:21,202 p=157072 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:14:21,244 p=157072 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 12:14:21,289 p=157072 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:14:21,336 p=157072 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 12:14:21,386 p=157072 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:14:21,430 p=157072 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 12:14:21,474 p=157072 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:14:21,518 p=157072 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 12:14:21,752 p=157072 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 12:14:21,931 p=157072 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 12:14:22,108 p=157072 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 12:14:22,281 p=157072 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 12:14:22,295 p=157072 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 12:14:22,357 p=157072 u=root | ok: [localhost] 2019-09-12 12:14:22,368 p=157072 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 12:14:22,411 p=157072 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 12:14:22,463 p=157072 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 12:14:22,515 p=157072 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 12:14:22,573 p=157072 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:14:22,630 p=157072 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 12:14:22,641 p=157072 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 12:14:22,688 p=157072 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 12:14:22,739 p=157072 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 12:14:22,973 p=157072 u=root | changed: [localhost] 2019-09-12 12:14:22,983 p=157072 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 12:21:30,864 p=157072 u=root | changed: [localhost] 2019-09-12 12:21:30,888 p=157072 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:21:30,957 p=157072 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568290463.03-278407581957928/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-12 12:21:30,969 p=157072 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 12:21:31,025 p=157072 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 12:21:31,028 p=157072 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 12:21:31,028 p=157072 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-12 12:26:21,230 passlib.registry registered 'md5_crypt' handler: 2019-09-12 12:26:21,242 p=159781 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-12 12:26:21,442 p=159781 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-12 12:26:21,878 p=159781 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-12 12:26:22,039 p=159781 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-12 12:26:22,197 p=159781 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-12 12:26:22,364 p=159781 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-12 12:26:22,376 p=159781 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-12 12:26:22,469 p=159781 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-12 12:26:22,515 p=159781 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-12 12:26:22,560 p=159781 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-12 12:26:22,599 p=159781 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-12 12:26:22,642 p=159781 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-12 12:26:22,682 p=159781 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:26:22,727 p=159781 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-12 12:26:22,771 p=159781 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-12 12:26:23,232 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:23,242 p=159781 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-12 12:26:23,279 p=159781 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-12 12:26:23,468 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:23,478 p=159781 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-12 12:26:23,519 p=159781 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-12 12:26:23,561 p=159781 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-12 12:26:23,620 p=159781 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-12 12:26:23,668 p=159781 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-12 12:26:23,716 p=159781 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 12:26:23,767 p=159781 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-12 12:26:24,020 p=159781 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-12 12:26:24,225 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:24,235 p=159781 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-12 12:26:24,278 p=159781 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-12 12:26:24,482 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:24,494 p=159781 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-12 12:26:24,536 p=159781 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-12 12:26:24,585 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:24,595 p=159781 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-12 12:26:24,641 p=159781 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-12 12:26:24,703 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:24,716 p=159781 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-12 12:26:24,792 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:24,803 p=159781 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-12 12:26:24,847 p=159781 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-12 12:26:24,900 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:24,913 p=159781 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-12 12:26:24,965 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:24,977 p=159781 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-12 12:26:25,025 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,036 p=159781 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-12 12:26:25,098 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,109 p=159781 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-12 12:26:25,156 p=159781 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-12 12:26:25,204 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,214 p=159781 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-12 12:26:25,262 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,272 p=159781 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-12 12:26:25,322 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,333 p=159781 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-12 12:26:25,381 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,391 p=159781 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-12 12:26:25,436 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,446 p=159781 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-12 12:26:25,694 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:25,703 p=159781 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-12 12:26:25,961 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:25,972 p=159781 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-12 12:26:26,027 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:26,039 p=159781 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-12 12:26:26,093 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:26,103 p=159781 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-12 12:26:26,299 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:26,310 p=159781 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-12 12:26:26,360 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:26,371 p=159781 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-12 12:26:26,581 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:26,592 p=159781 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-12 12:26:26,638 p=159781 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-12 12:26:26,682 p=159781 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-12 12:26:26,735 p=159781 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-12 12:26:26,782 p=159781 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-12 12:26:26,831 p=159781 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-12 12:26:26,873 p=159781 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-12 12:26:26,923 p=159781 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-12 12:26:26,967 p=159781 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-12 12:26:27,008 p=159781 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-12 12:26:27,056 p=159781 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-12 12:26:27,100 p=159781 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-12 12:26:27,152 p=159781 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-12 12:26:27,193 p=159781 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-12 12:26:27,234 p=159781 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-12 12:26:27,283 p=159781 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-12 12:26:27,327 p=159781 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-12 12:26:27,368 p=159781 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-12 12:26:27,409 p=159781 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-12 12:26:27,658 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:27,670 p=159781 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-12 12:26:27,939 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:27,952 p=159781 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-12 12:26:27,996 p=159781 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-12 12:26:28,048 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:28,059 p=159781 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:26:28,108 p=159781 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-12 12:26:28,152 p=159781 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-12 12:26:28,658 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:28,672 p=159781 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-12 12:26:28,724 p=159781 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-12 12:26:28,929 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:28,946 p=159781 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-12 12:26:28,992 p=159781 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-12 12:26:29,491 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:29,502 p=159781 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-12 12:26:29,704 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:29,715 p=159781 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-12 12:26:29,766 p=159781 u=root | 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 12:26:29,778 p=159781 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-12 12:26:29,822 p=159781 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-12 12:26:29,871 p=159781 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-12 12:26:29,916 p=159781 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-12 12:26:29,965 p=159781 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-12 12:26:30,012 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:30,060 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:30,072 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:30,130 p=159781 u=root | ok: [localhost] => (item=None) 2019-09-12 12:26:30,149 p=159781 u=root | ok: [localhost] => (item=None) 2019-09-12 12:26:30,165 p=159781 u=root | ok: [localhost] => (item=None) 2019-09-12 12:26:30,181 p=159781 u=root | ok: [localhost] => (item=None) 2019-09-12 12:26:30,183 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:30,194 p=159781 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 12:26:30,262 p=159781 u=root | 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 12:26:30,277 p=159781 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-12 12:26:30,328 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:30,340 p=159781 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-12 12:26:30,382 p=159781 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-12 12:26:30,425 p=159781 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-12 12:26:30,467 p=159781 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-12 12:26:30,515 p=159781 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-12 12:26:30,559 p=159781 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-12 12:26:30,802 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:30,814 p=159781 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-12 12:26:30,860 p=159781 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-12 12:26:30,904 p=159781 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-12 12:26:30,962 p=159781 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-12 12:26:30,974 p=159781 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-12 12:26:30,985 p=159781 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-12 12:26:31,045 p=159781 u=root | 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 12:26:31,059 p=159781 u=root | 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 12:26:31,074 p=159781 u=root | 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 12:26:31,091 p=159781 u=root | 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 12:26:31,104 p=159781 u=root | 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 12:26:31,119 p=159781 u=root | 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 12:26:31,134 p=159781 u=root | 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 12:26:31,147 p=159781 u=root | 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 12:26:31,162 p=159781 u=root | 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 12:26:31,174 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:31,225 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:31,235 p=159781 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-12 12:26:31,300 p=159781 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,315 p=159781 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,330 p=159781 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,346 p=159781 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,362 p=159781 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,379 p=159781 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-12 12:26:31,389 p=159781 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-12 12:26:31,500 p=159781 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-12 12:26:31,562 p=159781 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-12 12:26:31,573 p=159781 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-12 12:26:31,639 p=159781 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-12 12:26:31,720 p=159781 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-12 12:26:31,787 p=159781 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-12 12:26:31,891 p=159781 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-12 12:26:31,951 p=159781 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-12 12:26:31,997 p=159781 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-12 12:26:32,039 p=159781 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-12 12:26:32,084 p=159781 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-12 12:26:32,161 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:32,172 p=159781 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-12 12:26:32,280 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:32,290 p=159781 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 12:26:32,413 p=159781 u=root | 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 12:26:32,427 p=159781 u=root | 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 12:26:32,441 p=159781 u=root | 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 12:26:32,455 p=159781 u=root | 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 12:26:32,468 p=159781 u=root | 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 12:26:32,483 p=159781 u=root | 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 12:26:32,498 p=159781 u=root | 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 12:26:32,565 p=159781 u=root | 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 12:26:32,581 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:32,633 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:32,648 p=159781 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-12 12:26:32,694 p=159781 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-12 12:26:32,743 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:32,787 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:32,838 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:32,851 p=159781 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-12 12:26:32,897 p=159781 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-12 12:26:32,941 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:32,987 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:33,042 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:33,055 p=159781 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-12 12:26:33,101 p=159781 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-12 12:26:33,151 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:33,197 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:33,258 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:33,271 p=159781 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-12 12:26:33,323 p=159781 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-12 12:26:33,369 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:33,413 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:33,468 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:33,480 p=159781 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-12 12:26:33,528 p=159781 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-12 12:26:33,572 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:33,615 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:33,671 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:33,685 p=159781 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-12 12:26:33,734 p=159781 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-12 12:26:33,777 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:33,821 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:33,874 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:33,887 p=159781 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-12 12:26:33,937 p=159781 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-12 12:26:33,986 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:34,029 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:34,088 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:34,102 p=159781 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-12 12:26:34,147 p=159781 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-12 12:26:34,193 p=159781 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-12 12:26:34,236 p=159781 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-12 12:26:34,295 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:34,306 p=159781 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-12 12:26:34,381 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:34,392 p=159781 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-12 12:26:34,451 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:34,462 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:34,530 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:34,541 p=159781 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-12 12:26:34,581 p=159781 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-12 12:26:34,643 p=159781 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-12 12:26:34,678 p=159781 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-12 12:26:34,720 p=159781 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-12 12:26:34,764 p=159781 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-12 12:26:34,809 p=159781 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-12 12:26:34,854 p=159781 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-12 12:26:34,900 p=159781 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-12 12:26:34,995 p=159781 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-12 12:26:35,043 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:35,061 p=159781 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-12 12:26:35,112 p=159781 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-12 12:26:35,170 p=159781 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-12 12:26:35,214 p=159781 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-12 12:26:35,259 p=159781 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-12 12:26:35,296 p=159781 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-12 12:26:35,341 p=159781 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-12 12:26:35,386 p=159781 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-12 12:26:35,428 p=159781 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-12 12:26:35,472 p=159781 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-12 12:26:35,521 p=159781 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-12 12:26:35,742 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:35,752 p=159781 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-12 12:26:36,205 p=159781 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-12 12:26:36,371 p=159781 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-12 12:26:36,538 p=159781 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-12 12:26:36,705 p=159781 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-12 12:26:36,893 p=159781 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-12 12:26:37,072 p=159781 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-12 12:26:37,251 p=159781 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-12 12:26:37,424 p=159781 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-12 12:26:37,599 p=159781 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-12 12:26:37,788 p=159781 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-12 12:26:37,958 p=159781 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-12 12:26:38,141 p=159781 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-12 12:26:38,318 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-12 12:26:38,491 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-12 12:26:38,675 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-12 12:26:38,851 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 12:26:39,051 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-12 12:26:39,231 p=159781 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-12 12:26:39,412 p=159781 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-12 12:26:39,581 p=159781 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-12 12:26:39,768 p=159781 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-12 12:26:39,938 p=159781 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-12 12:26:40,111 p=159781 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-12 12:26:40,287 p=159781 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-12 12:26:40,461 p=159781 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-12 12:26:40,636 p=159781 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-12 12:26:40,819 p=159781 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-12 12:26:41,008 p=159781 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-12 12:26:41,190 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-12 12:26:41,392 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-12 12:26:41,568 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-12 12:26:41,741 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-12 12:26:41,913 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-12 12:26:42,086 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-12 12:26:42,264 p=159781 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-12 12:26:42,436 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-12 12:26:42,620 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-12 12:26:42,794 p=159781 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-12 12:26:42,979 p=159781 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-12 12:26:43,162 p=159781 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-12 12:26:43,336 p=159781 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-12 12:26:43,516 p=159781 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-12 12:26:43,710 p=159781 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-12 12:26:43,888 p=159781 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-12 12:26:44,071 p=159781 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-12 12:26:44,250 p=159781 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-12 12:26:44,428 p=159781 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-12 12:26:44,606 p=159781 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-12 12:26:44,790 p=159781 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-12 12:26:44,974 p=159781 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-12 12:26:45,156 p=159781 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-12 12:26:45,321 p=159781 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-12 12:26:45,495 p=159781 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-12 12:26:45,526 p=159781 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-12 12:26:45,741 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:45,753 p=159781 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-12 12:26:45,794 p=159781 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-12 12:26:45,835 p=159781 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-12 12:26:45,875 p=159781 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-12 12:26:45,917 p=159781 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-12 12:26:45,967 p=159781 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-12 12:26:46,009 p=159781 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-12 12:26:46,050 p=159781 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-12 12:26:46,091 p=159781 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-12 12:26:46,131 p=159781 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-12 12:26:46,170 p=159781 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-12 12:26:46,211 p=159781 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-12 12:26:46,251 p=159781 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-12 12:26:46,291 p=159781 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-12 12:26:46,331 p=159781 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-12 12:26:46,377 p=159781 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-12 12:26:46,419 p=159781 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-12 12:26:46,459 p=159781 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-12 12:26:46,502 p=159781 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-12 12:26:46,544 p=159781 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-12 12:26:46,581 p=159781 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-12 12:26:46,625 p=159781 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-12 12:26:46,671 p=159781 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-12 12:26:46,715 p=159781 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-12 12:26:46,758 p=159781 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-12 12:26:46,799 p=159781 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-12 12:26:46,839 p=159781 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-12 12:26:46,882 p=159781 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-12 12:26:46,925 p=159781 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-12 12:26:46,967 p=159781 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-12 12:26:47,009 p=159781 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-12 12:26:47,052 p=159781 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-12 12:26:47,100 p=159781 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-12 12:26:47,143 p=159781 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-12 12:26:47,189 p=159781 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-12 12:26:47,229 p=159781 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-12 12:26:47,269 p=159781 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-12 12:26:47,309 p=159781 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-12 12:26:47,521 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:47,532 p=159781 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-12 12:26:47,738 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:47,748 p=159781 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-12 12:26:47,977 p=159781 u=root | 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': 1568291205.474, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568291205.473, u'inode': 360015, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568291205.474, 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 12:26:47,988 p=159781 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-12 12:26:48,197 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:48,209 p=159781 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-12 12:26:48,418 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:48,438 p=159781 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-12 12:26:48,493 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:48,505 p=159781 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:26:48,555 p=159781 u=root | 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 12:26:48,569 p=159781 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-12 12:26:48,798 p=159781 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-12 12:26:48,982 p=159781 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-12 12:26:48,995 p=159781 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-12 12:26:49,205 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:49,216 p=159781 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-12 12:26:49,765 p=159781 u=root | 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 12:26:49,943 p=159781 u=root | 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 12:26:50,136 p=159781 u=root | 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 12:26:50,156 p=159781 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-12 12:26:50,371 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:50,397 p=159781 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-12 12:26:50,616 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:50,626 p=159781 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-12 12:26:50,833 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:50,851 p=159781 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-12 12:26:51,063 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:51,074 p=159781 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-12 12:26:51,118 p=159781 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-12 12:26:54,326 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:54,340 p=159781 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-12 12:26:54,632 p=159781 u=root | 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 12:26:54,875 p=159781 u=root | 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 12:26:54,887 p=159781 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-12 12:26:55,139 p=159781 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-12 12:26:55,342 p=159781 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-12 12:26:55,545 p=159781 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-12 12:26:55,766 p=159781 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 12:26:55,950 p=159781 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 12:26:56,140 p=159781 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-12 12:26:56,154 p=159781 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-12 12:26:56,360 p=159781 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-12 12:26:56,614 p=159781 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-12 12:26:56,818 p=159781 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-12 12:26:57,057 p=159781 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-12 12:26:57,255 p=159781 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-12 12:26:57,269 p=159781 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-12 12:26:57,448 p=159781 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-12 12:26:57,646 p=159781 u=root | ok: [localhost] 2019-09-12 12:26:57,656 p=159781 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-12 12:26:57,700 p=159781 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-12 12:26:57,744 p=159781 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-12 12:26:58,119 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:58,130 p=159781 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-12 12:26:58,383 p=159781 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-12 12:26:58,590 p=159781 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-12 12:26:58,604 p=159781 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-12 12:26:58,981 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:58,992 p=159781 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-12 12:26:59,211 p=159781 u=root | changed: [localhost] 2019-09-12 12:26:59,222 p=159781 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-12 12:27:00,791 p=159781 u=root | changed: [localhost] 2019-09-12 12:27:00,802 p=159781 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-12 12:27:00,843 p=159781 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-12 12:27:00,884 p=159781 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-12 12:27:00,931 p=159781 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-12 12:27:00,979 p=159781 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-12 12:27:01,026 p=159781 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-12 12:27:01,071 p=159781 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:27:01,117 p=159781 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-12 12:27:01,160 p=159781 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:27:01,204 p=159781 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-12 12:27:01,247 p=159781 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:27:01,294 p=159781 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-12 12:27:01,338 p=159781 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-12 12:27:01,382 p=159781 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-12 12:27:01,607 p=159781 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-12 12:27:01,776 p=159781 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-12 12:27:01,952 p=159781 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-12 12:27:02,114 p=159781 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-12 12:27:02,126 p=159781 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-12 12:27:02,177 p=159781 u=root | ok: [localhost] 2019-09-12 12:27:02,188 p=159781 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-12 12:27:02,230 p=159781 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-12 12:27:02,274 p=159781 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-12 12:27:02,318 p=159781 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-12 12:27:02,361 p=159781 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:27:02,414 p=159781 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-12 12:27:02,425 p=159781 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-12 12:27:02,471 p=159781 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-12 12:27:02,518 p=159781 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-12 12:27:02,732 p=159781 u=root | changed: [localhost] 2019-09-12 12:27:02,742 p=159781 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-12 12:34:10,596 p=159781 u=root | changed: [localhost] 2019-09-12 12:34:10,611 p=159781 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-12 12:34:10,686 p=159781 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568291222.79-77156826599865/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-12 12:34:10,697 p=159781 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-12 12:34:10,750 p=159781 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-12 12:34:10,752 p=159781 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-12 12:34:10,753 p=159781 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-13 05:31:49,052 passlib.registry registered 'md5_crypt' handler: 2019-09-13 05:31:49,064 p=285501 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-13 05:31:49,264 p=285501 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-13 05:31:49,656 p=285501 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-13 05:31:49,810 p=285501 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-13 05:31:49,960 p=285501 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-13 05:31:50,113 p=285501 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-13 05:31:50,124 p=285501 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-13 05:31:50,202 p=285501 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-13 05:31:50,244 p=285501 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-13 05:31:50,285 p=285501 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-13 05:31:50,324 p=285501 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-13 05:31:50,366 p=285501 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-13 05:31:50,404 p=285501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:31:50,448 p=285501 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-13 05:31:50,487 p=285501 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-13 05:31:50,923 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:50,932 p=285501 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-13 05:31:50,972 p=285501 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-13 05:31:51,157 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:51,167 p=285501 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-13 05:31:51,204 p=285501 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-13 05:31:51,240 p=285501 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-13 05:31:51,288 p=285501 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-13 05:31:51,330 p=285501 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-13 05:31:51,372 p=285501 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 05:31:51,411 p=285501 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-13 05:31:51,644 p=285501 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-13 05:31:51,842 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:51,852 p=285501 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-13 05:31:51,894 p=285501 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-13 05:31:52,093 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:52,102 p=285501 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-13 05:31:52,142 p=285501 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-13 05:31:52,187 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,197 p=285501 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-13 05:31:52,238 p=285501 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-13 05:31:52,285 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,295 p=285501 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-13 05:31:52,357 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,367 p=285501 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-13 05:31:52,406 p=285501 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-13 05:31:52,449 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,459 p=285501 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-13 05:31:52,510 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,539 p=285501 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-13 05:31:52,585 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,595 p=285501 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-13 05:31:52,656 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,667 p=285501 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-13 05:31:52,711 p=285501 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-13 05:31:52,754 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,766 p=285501 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-13 05:31:52,811 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,821 p=285501 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-13 05:31:52,871 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,881 p=285501 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-13 05:31:52,935 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:52,946 p=285501 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-13 05:31:53,011 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,021 p=285501 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-13 05:31:53,219 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:53,228 p=285501 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-13 05:31:53,442 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,452 p=285501 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-13 05:31:53,503 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,513 p=285501 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-13 05:31:53,563 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,574 p=285501 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-13 05:31:53,773 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,784 p=285501 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-13 05:31:53,836 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:53,847 p=285501 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-13 05:31:54,046 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:54,055 p=285501 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-13 05:31:54,109 p=285501 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-13 05:31:54,150 p=285501 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-13 05:31:54,192 p=285501 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-13 05:31:54,233 p=285501 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-13 05:31:54,274 p=285501 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-13 05:31:54,316 p=285501 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-13 05:31:54,360 p=285501 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-13 05:31:54,400 p=285501 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-13 05:31:54,440 p=285501 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-13 05:31:54,478 p=285501 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-13 05:31:54,517 p=285501 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-13 05:31:54,556 p=285501 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-13 05:31:54,594 p=285501 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-13 05:31:54,633 p=285501 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-13 05:31:54,671 p=285501 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-13 05:31:54,711 p=285501 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-13 05:31:54,752 p=285501 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-13 05:31:54,794 p=285501 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-13 05:31:55,016 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:55,028 p=285501 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-13 05:31:55,255 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:55,265 p=285501 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-13 05:31:55,311 p=285501 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-13 05:31:55,360 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:55,371 p=285501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:31:55,423 p=285501 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 05:31:55,464 p=285501 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-13 05:31:55,945 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:55,955 p=285501 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-13 05:31:55,997 p=285501 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-13 05:31:56,198 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:56,208 p=285501 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-13 05:31:56,249 p=285501 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-13 05:31:56,728 p=285501 u=root | changed: [localhost] 2019-09-13 05:31:56,738 p=285501 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-13 05:31:56,933 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:56,944 p=285501 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:31:56,992 p=285501 u=root | 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-13 05:31:57,003 p=285501 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-13 05:31:57,051 p=285501 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-13 05:31:57,101 p=285501 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-13 05:31:57,149 p=285501 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-13 05:31:57,196 p=285501 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-13 05:31:57,251 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:31:57,304 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:57,316 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:31:57,378 p=285501 u=root | ok: [localhost] => (item=None) 2019-09-13 05:31:57,396 p=285501 u=root | ok: [localhost] => (item=None) 2019-09-13 05:31:57,412 p=285501 u=root | ok: [localhost] => (item=None) 2019-09-13 05:31:57,428 p=285501 u=root | ok: [localhost] => (item=None) 2019-09-13 05:31:57,429 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:57,438 p=285501 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 05:31:57,503 p=285501 u=root | 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-13 05:31:57,513 p=285501 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-13 05:31:57,561 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:57,581 p=285501 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 05:31:57,635 p=285501 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-13 05:31:57,678 p=285501 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-13 05:31:57,727 p=285501 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-13 05:31:57,773 p=285501 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-13 05:31:57,818 p=285501 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-13 05:31:58,054 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:58,065 p=285501 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-13 05:31:58,108 p=285501 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-13 05:31:58,156 p=285501 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-13 05:31:58,220 p=285501 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-13 05:31:58,238 p=285501 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-13 05:31:58,248 p=285501 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-13 05:31:58,306 p=285501 u=root | 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-13 05:31:58,322 p=285501 u=root | 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-13 05:31:58,341 p=285501 u=root | 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-13 05:31:58,362 p=285501 u=root | 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-13 05:31:58,381 p=285501 u=root | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-13 05:31:58,404 p=285501 u=root | 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-13 05:31:58,419 p=285501 u=root | ok: [localhost] => (item={'value': u'192.168.204.0/28', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/28" } 2019-09-13 05:31:58,437 p=285501 u=root | 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-13 05:31:58,461 p=285501 u=root | 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-13 05:31:58,471 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:31:58,523 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:58,532 p=285501 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-13 05:31:58,596 p=285501 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,615 p=285501 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,635 p=285501 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,648 p=285501 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,664 p=285501 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,680 p=285501 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:31:58,690 p=285501 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-13 05:31:58,805 p=285501 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-13 05:31:58,854 p=285501 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-13 05:31:58,865 p=285501 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-13 05:31:58,934 p=285501 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-13 05:31:59,018 p=285501 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-13 05:31:59,088 p=285501 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-13 05:31:59,207 p=285501 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-13 05:31:59,253 p=285501 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-13 05:31:59,295 p=285501 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-13 05:31:59,341 p=285501 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-13 05:31:59,390 p=285501 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-13 05:31:59,468 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:59,479 p=285501 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-13 05:31:59,573 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:59,584 p=285501 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 05:31:59,715 p=285501 u=root | 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-13 05:31:59,728 p=285501 u=root | 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-13 05:31:59,742 p=285501 u=root | 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-13 05:31:59,755 p=285501 u=root | 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-13 05:31:59,768 p=285501 u=root | 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-13 05:31:59,781 p=285501 u=root | 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-13 05:31:59,800 p=285501 u=root | 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-13 05:31:59,816 p=285501 u=root | 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-13 05:31:59,899 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:31:59,952 p=285501 u=root | ok: [localhost] 2019-09-13 05:31:59,966 p=285501 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-13 05:32:00,014 p=285501 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-13 05:32:00,057 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:00,099 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:00,156 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:00,169 p=285501 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-13 05:32:00,222 p=285501 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-13 05:32:00,266 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:00,315 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:00,374 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:00,390 p=285501 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-13 05:32:00,443 p=285501 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-13 05:32:00,494 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:00,539 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:00,597 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:00,611 p=285501 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-13 05:32:00,658 p=285501 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-13 05:32:00,711 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:00,756 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:00,811 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:00,834 p=285501 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-13 05:32:00,890 p=285501 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-13 05:32:00,933 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:00,978 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:01,040 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,052 p=285501 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-13 05:32:01,097 p=285501 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-13 05:32:01,143 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:01,192 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:01,250 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,264 p=285501 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-13 05:32:01,312 p=285501 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-13 05:32:01,357 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:01,410 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:01,468 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,489 p=285501 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-13 05:32:01,534 p=285501 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-13 05:32:01,584 p=285501 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:32:01,630 p=285501 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-13 05:32:01,690 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,701 p=285501 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-13 05:32:01,772 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,787 p=285501 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-13 05:32:01,849 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,863 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:01,930 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:01,943 p=285501 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-13 05:32:01,984 p=285501 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-13 05:32:02,048 p=285501 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-13 05:32:02,085 p=285501 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-13 05:32:02,125 p=285501 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-13 05:32:02,174 p=285501 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-13 05:32:02,228 p=285501 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-13 05:32:02,278 p=285501 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-13 05:32:02,327 p=285501 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 05:32:02,428 p=285501 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:32:02,475 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:02,492 p=285501 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-13 05:32:02,545 p=285501 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-13 05:32:02,596 p=285501 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-13 05:32:02,648 p=285501 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-13 05:32:02,691 p=285501 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-13 05:32:02,727 p=285501 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-13 05:32:02,773 p=285501 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-13 05:32:02,817 p=285501 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-13 05:32:02,861 p=285501 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-13 05:32:02,907 p=285501 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-13 05:32:02,955 p=285501 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-13 05:32:03,175 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:03,184 p=285501 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-13 05:32:03,657 p=285501 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-13 05:32:03,837 p=285501 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-13 05:32:04,011 p=285501 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-13 05:32:04,192 p=285501 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-13 05:32:04,365 p=285501 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-13 05:32:04,527 p=285501 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-13 05:32:04,698 p=285501 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-13 05:32:04,870 p=285501 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-13 05:32:05,041 p=285501 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-13 05:32:05,220 p=285501 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-13 05:32:05,392 p=285501 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-13 05:32:05,566 p=285501 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-13 05:32:05,732 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-13 05:32:05,910 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-13 05:32:06,085 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-13 05:32:06,265 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 05:32:06,433 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-13 05:32:06,610 p=285501 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-13 05:32:06,785 p=285501 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-13 05:32:06,950 p=285501 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-13 05:32:07,123 p=285501 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-13 05:32:07,292 p=285501 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 05:32:07,459 p=285501 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-13 05:32:07,621 p=285501 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-13 05:32:07,787 p=285501 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-13 05:32:07,961 p=285501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-13 05:32:08,127 p=285501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-13 05:32:08,310 p=285501 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-13 05:32:08,480 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-13 05:32:08,657 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-13 05:32:08,859 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-13 05:32:09,053 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-13 05:32:09,216 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-13 05:32:09,387 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-13 05:32:09,554 p=285501 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-13 05:32:09,723 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-13 05:32:09,886 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-13 05:32:10,055 p=285501 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-13 05:32:10,234 p=285501 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-13 05:32:10,406 p=285501 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-13 05:32:10,579 p=285501 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-13 05:32:10,751 p=285501 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-13 05:32:10,918 p=285501 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-13 05:32:11,091 p=285501 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-13 05:32:11,254 p=285501 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-13 05:32:11,417 p=285501 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-13 05:32:11,598 p=285501 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-13 05:32:11,773 p=285501 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-13 05:32:11,937 p=285501 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-13 05:32:12,104 p=285501 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-13 05:32:12,269 p=285501 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-13 05:32:12,434 p=285501 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-13 05:32:12,604 p=285501 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-13 05:32:12,634 p=285501 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-13 05:32:12,843 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:12,854 p=285501 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-13 05:32:12,893 p=285501 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-13 05:32:12,933 p=285501 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-13 05:32:12,972 p=285501 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-13 05:32:13,012 p=285501 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-13 05:32:13,056 p=285501 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-13 05:32:13,097 p=285501 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-13 05:32:13,137 p=285501 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-13 05:32:13,175 p=285501 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-13 05:32:13,216 p=285501 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-13 05:32:13,257 p=285501 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-13 05:32:13,299 p=285501 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-13 05:32:13,339 p=285501 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-13 05:32:13,378 p=285501 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-13 05:32:13,423 p=285501 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-13 05:32:13,464 p=285501 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-13 05:32:13,504 p=285501 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-13 05:32:13,545 p=285501 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-13 05:32:13,595 p=285501 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-13 05:32:13,635 p=285501 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-13 05:32:13,671 p=285501 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-13 05:32:13,713 p=285501 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-13 05:32:13,753 p=285501 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-13 05:32:13,793 p=285501 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-13 05:32:13,833 p=285501 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-13 05:32:13,872 p=285501 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-13 05:32:13,914 p=285501 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-13 05:32:13,956 p=285501 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-13 05:32:14,002 p=285501 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-13 05:32:14,045 p=285501 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-13 05:32:14,085 p=285501 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-13 05:32:14,124 p=285501 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-13 05:32:14,163 p=285501 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-13 05:32:14,204 p=285501 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-13 05:32:14,249 p=285501 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-13 05:32:14,289 p=285501 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-13 05:32:14,329 p=285501 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-13 05:32:14,368 p=285501 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-13 05:32:14,576 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:14,588 p=285501 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-13 05:32:14,798 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:14,809 p=285501 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-13 05:32:15,031 p=285501 u=root | 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': 1568352732.581, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568352732.581, u'inode': 748127, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568352732.581, 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-13 05:32:15,042 p=285501 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-13 05:32:15,249 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:15,260 p=285501 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-13 05:32:15,460 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:15,471 p=285501 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-13 05:32:15,529 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:15,540 p=285501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:32:15,592 p=285501 u=root | 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-13 05:32:15,605 p=285501 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-13 05:32:15,836 p=285501 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-13 05:32:16,012 p=285501 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-13 05:32:16,022 p=285501 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-13 05:32:16,235 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:16,247 p=285501 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-13 05:32:16,769 p=285501 u=root | 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-13 05:32:16,959 p=285501 u=root | 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-13 05:32:17,138 p=285501 u=root | 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-13 05:32:17,149 p=285501 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-13 05:32:17,353 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:17,364 p=285501 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-13 05:32:17,589 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:17,599 p=285501 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-13 05:32:17,812 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:17,824 p=285501 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-13 05:32:18,032 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:18,042 p=285501 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-13 05:32:18,079 p=285501 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-13 05:32:21,387 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:21,398 p=285501 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-13 05:32:21,654 p=285501 u=root | 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-13 05:32:21,884 p=285501 u=root | 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-13 05:32:21,895 p=285501 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-13 05:32:22,134 p=285501 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-13 05:32:22,323 p=285501 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-13 05:32:22,520 p=285501 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-13 05:32:22,723 p=285501 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 05:32:22,910 p=285501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 05:32:23,101 p=285501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-13 05:32:23,114 p=285501 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-13 05:32:23,332 p=285501 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-13 05:32:23,573 p=285501 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-13 05:32:23,780 p=285501 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-13 05:32:24,003 p=285501 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 05:32:24,204 p=285501 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 05:32:24,215 p=285501 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-13 05:32:24,397 p=285501 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-13 05:32:24,585 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:24,596 p=285501 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-13 05:32:24,638 p=285501 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-13 05:32:24,686 p=285501 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-13 05:32:25,052 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:25,066 p=285501 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-13 05:32:25,312 p=285501 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-13 05:32:25,510 p=285501 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-13 05:32:25,521 p=285501 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-13 05:32:25,878 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:25,895 p=285501 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-13 05:32:26,116 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:26,127 p=285501 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-13 05:32:27,843 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:27,859 p=285501 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-13 05:32:27,905 p=285501 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-13 05:32:27,948 p=285501 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-13 05:32:27,993 p=285501 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-13 05:32:28,038 p=285501 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-13 05:32:28,082 p=285501 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-13 05:32:28,128 p=285501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:32:28,170 p=285501 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-13 05:32:28,214 p=285501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:32:28,257 p=285501 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-13 05:32:28,302 p=285501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:32:28,344 p=285501 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-13 05:32:28,386 p=285501 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:32:28,429 p=285501 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-13 05:32:28,665 p=285501 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-13 05:32:28,826 p=285501 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-13 05:32:28,992 p=285501 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-13 05:32:29,160 p=285501 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-13 05:32:29,171 p=285501 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-13 05:32:29,225 p=285501 u=root | ok: [localhost] 2019-09-13 05:32:29,236 p=285501 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-13 05:32:29,276 p=285501 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-13 05:32:29,318 p=285501 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-13 05:32:29,364 p=285501 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-13 05:32:29,406 p=285501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:32:29,454 p=285501 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-13 05:32:29,465 p=285501 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-13 05:32:29,511 p=285501 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-13 05:32:29,556 p=285501 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-13 05:32:29,767 p=285501 u=root | changed: [localhost] 2019-09-13 05:32:29,780 p=285501 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-13 05:39:39,241 p=285501 u=root | changed: [localhost] 2019-09-13 05:39:39,256 p=285501 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:39:39,329 p=285501 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568352749.83-68595262425165/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-13 05:39:39,340 p=285501 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-13 05:39:39,392 p=285501 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-13 05:39:39,395 p=285501 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-13 05:39:39,395 p=285501 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-13 05:44:25,838 passlib.registry registered 'md5_crypt' handler: 2019-09-13 05:44:25,849 p=288166 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-13 05:44:26,045 p=288166 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-13 05:44:26,444 p=288166 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-13 05:44:26,597 p=288166 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-13 05:44:26,754 p=288166 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-13 05:44:26,911 p=288166 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-13 05:44:26,923 p=288166 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-13 05:44:27,010 p=288166 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-13 05:44:27,051 p=288166 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-13 05:44:27,095 p=288166 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-13 05:44:27,133 p=288166 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-13 05:44:27,174 p=288166 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-13 05:44:27,212 p=288166 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:44:27,254 p=288166 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-13 05:44:27,294 p=288166 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-13 05:44:27,725 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:27,735 p=288166 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-13 05:44:27,770 p=288166 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-13 05:44:27,966 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:27,977 p=288166 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-13 05:44:28,014 p=288166 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-13 05:44:28,051 p=288166 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-13 05:44:28,101 p=288166 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-13 05:44:28,145 p=288166 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-13 05:44:28,185 p=288166 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 05:44:28,225 p=288166 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-13 05:44:28,457 p=288166 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-13 05:44:28,658 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:28,668 p=288166 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-13 05:44:28,710 p=288166 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-13 05:44:28,904 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:28,917 p=288166 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-13 05:44:28,960 p=288166 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-13 05:44:29,006 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,017 p=288166 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-13 05:44:29,056 p=288166 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-13 05:44:29,106 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,116 p=288166 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-13 05:44:29,178 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,188 p=288166 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-13 05:44:29,227 p=288166 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-13 05:44:29,271 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,281 p=288166 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-13 05:44:29,328 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,338 p=288166 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-13 05:44:29,383 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,393 p=288166 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-13 05:44:29,452 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,463 p=288166 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-13 05:44:29,508 p=288166 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-13 05:44:29,555 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,567 p=288166 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-13 05:44:29,611 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,621 p=288166 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-13 05:44:29,668 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,679 p=288166 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-13 05:44:29,726 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,736 p=288166 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-13 05:44:29,780 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:29,791 p=288166 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-13 05:44:30,005 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:30,015 p=288166 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-13 05:44:30,230 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,240 p=288166 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-13 05:44:30,294 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,303 p=288166 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-13 05:44:30,354 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,364 p=288166 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-13 05:44:30,550 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,560 p=288166 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-13 05:44:30,608 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,618 p=288166 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-13 05:44:30,810 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:30,820 p=288166 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-13 05:44:30,864 p=288166 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-13 05:44:30,904 p=288166 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-13 05:44:30,945 p=288166 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-13 05:44:30,986 p=288166 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-13 05:44:31,026 p=288166 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-13 05:44:31,067 p=288166 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-13 05:44:31,111 p=288166 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-13 05:44:31,150 p=288166 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-13 05:44:31,188 p=288166 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-13 05:44:31,226 p=288166 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-13 05:44:31,266 p=288166 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-13 05:44:31,306 p=288166 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-13 05:44:31,345 p=288166 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-13 05:44:31,386 p=288166 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-13 05:44:31,425 p=288166 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-13 05:44:31,467 p=288166 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-13 05:44:31,510 p=288166 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-13 05:44:31,550 p=288166 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-13 05:44:31,771 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:31,782 p=288166 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-13 05:44:32,010 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:32,020 p=288166 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-13 05:44:32,063 p=288166 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-13 05:44:32,110 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:32,120 p=288166 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:44:32,164 p=288166 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 05:44:32,209 p=288166 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-13 05:44:32,696 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:32,706 p=288166 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-13 05:44:32,749 p=288166 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-13 05:44:32,952 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:32,962 p=288166 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-13 05:44:33,004 p=288166 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-13 05:44:33,477 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:33,489 p=288166 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-13 05:44:33,698 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:33,708 p=288166 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 05:44:33,755 p=288166 u=root | 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-13 05:44:33,772 p=288166 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-13 05:44:33,819 p=288166 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-13 05:44:33,869 p=288166 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-13 05:44:33,918 p=288166 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-13 05:44:33,963 p=288166 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-13 05:44:34,008 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:34,055 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:34,066 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:34,121 p=288166 u=root | ok: [localhost] => (item=None) 2019-09-13 05:44:34,134 p=288166 u=root | ok: [localhost] => (item=None) 2019-09-13 05:44:34,147 p=288166 u=root | ok: [localhost] => (item=None) 2019-09-13 05:44:34,162 p=288166 u=root | ok: [localhost] => (item=None) 2019-09-13 05:44:34,163 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:34,172 p=288166 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 05:44:34,233 p=288166 u=root | 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-13 05:44:34,244 p=288166 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-13 05:44:34,288 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:34,299 p=288166 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 05:44:34,342 p=288166 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-13 05:44:34,383 p=288166 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-13 05:44:34,430 p=288166 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-13 05:44:34,472 p=288166 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-13 05:44:34,513 p=288166 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-13 05:44:34,736 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:34,746 p=288166 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-13 05:44:34,787 p=288166 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-13 05:44:34,833 p=288166 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-13 05:44:34,888 p=288166 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-13 05:44:34,901 p=288166 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-13 05:44:34,912 p=288166 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-13 05:44:34,970 p=288166 u=root | 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-13 05:44:34,984 p=288166 u=root | 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-13 05:44:34,999 p=288166 u=root | 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-13 05:44:35,013 p=288166 u=root | 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-13 05:44:35,027 p=288166 u=root | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-13 05:44:35,041 p=288166 u=root | 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-13 05:44:35,056 p=288166 u=root | ok: [localhost] => (item={'value': u'192.168.204.0/28', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/28" } 2019-09-13 05:44:35,077 p=288166 u=root | 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-13 05:44:35,095 p=288166 u=root | 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-13 05:44:35,105 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:35,154 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:35,164 p=288166 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-13 05:44:35,228 p=288166 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,247 p=288166 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,262 p=288166 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,279 p=288166 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,296 p=288166 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,312 p=288166 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 05:44:35,323 p=288166 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-13 05:44:35,432 p=288166 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-13 05:44:35,487 p=288166 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-13 05:44:35,498 p=288166 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-13 05:44:35,560 p=288166 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-13 05:44:35,636 p=288166 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-13 05:44:35,701 p=288166 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-13 05:44:35,808 p=288166 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-13 05:44:35,851 p=288166 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-13 05:44:35,899 p=288166 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-13 05:44:35,942 p=288166 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-13 05:44:35,985 p=288166 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-13 05:44:36,063 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:36,073 p=288166 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-13 05:44:36,175 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:36,185 p=288166 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 05:44:36,308 p=288166 u=root | 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-13 05:44:36,322 p=288166 u=root | 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-13 05:44:36,335 p=288166 u=root | 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-13 05:44:36,348 p=288166 u=root | 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-13 05:44:36,361 p=288166 u=root | 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-13 05:44:36,374 p=288166 u=root | 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-13 05:44:36,388 p=288166 u=root | 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-13 05:44:36,402 p=288166 u=root | 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-13 05:44:36,471 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:36,524 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:36,538 p=288166 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-13 05:44:36,584 p=288166 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-13 05:44:36,627 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:36,672 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:36,724 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:36,737 p=288166 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-13 05:44:36,785 p=288166 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-13 05:44:36,828 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:36,870 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:36,920 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:36,935 p=288166 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-13 05:44:36,980 p=288166 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-13 05:44:37,029 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:37,076 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:37,136 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:37,148 p=288166 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-13 05:44:37,204 p=288166 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-13 05:44:37,248 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:37,298 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:37,353 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:37,369 p=288166 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-13 05:44:37,425 p=288166 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-13 05:44:37,470 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:37,519 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:37,577 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:37,597 p=288166 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-13 05:44:37,648 p=288166 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-13 05:44:37,692 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:37,740 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:37,794 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:37,808 p=288166 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-13 05:44:37,852 p=288166 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-13 05:44:37,895 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:37,939 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:37,996 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,009 p=288166 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-13 05:44:38,055 p=288166 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-13 05:44:38,097 p=288166 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 05:44:38,139 p=288166 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-13 05:44:38,195 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,206 p=288166 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-13 05:44:38,285 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,296 p=288166 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-13 05:44:38,352 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,362 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:38,435 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,449 p=288166 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-13 05:44:38,488 p=288166 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-13 05:44:38,546 p=288166 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-13 05:44:38,580 p=288166 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-13 05:44:38,619 p=288166 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-13 05:44:38,663 p=288166 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-13 05:44:38,714 p=288166 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-13 05:44:38,757 p=288166 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-13 05:44:38,801 p=288166 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 05:44:38,888 p=288166 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 05:44:38,933 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:38,955 p=288166 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-13 05:44:39,006 p=288166 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-13 05:44:39,056 p=288166 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-13 05:44:39,100 p=288166 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-13 05:44:39,141 p=288166 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-13 05:44:39,177 p=288166 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-13 05:44:39,221 p=288166 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-13 05:44:39,263 p=288166 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-13 05:44:39,305 p=288166 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-13 05:44:39,351 p=288166 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-13 05:44:39,397 p=288166 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-13 05:44:39,630 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:39,643 p=288166 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-13 05:44:40,097 p=288166 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-13 05:44:40,266 p=288166 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-13 05:44:40,431 p=288166 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-13 05:44:40,593 p=288166 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-13 05:44:40,759 p=288166 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-13 05:44:40,923 p=288166 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-13 05:44:41,092 p=288166 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-13 05:44:41,260 p=288166 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-13 05:44:41,439 p=288166 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-13 05:44:41,611 p=288166 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-13 05:44:41,780 p=288166 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-13 05:44:41,945 p=288166 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-13 05:44:42,117 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-13 05:44:42,292 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-13 05:44:42,456 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-13 05:44:42,621 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 05:44:42,795 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-13 05:44:42,962 p=288166 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-13 05:44:43,144 p=288166 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-13 05:44:43,310 p=288166 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-13 05:44:43,497 p=288166 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-13 05:44:43,674 p=288166 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 05:44:43,844 p=288166 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-13 05:44:44,011 p=288166 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-13 05:44:44,176 p=288166 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-13 05:44:44,355 p=288166 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-13 05:44:44,515 p=288166 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-13 05:44:44,683 p=288166 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-13 05:44:44,857 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-13 05:44:45,032 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-13 05:44:45,205 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-13 05:44:45,376 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-13 05:44:45,555 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-13 05:44:45,724 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-13 05:44:45,898 p=288166 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-13 05:44:46,074 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-13 05:44:46,248 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-13 05:44:46,417 p=288166 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-13 05:44:46,577 p=288166 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-13 05:44:46,746 p=288166 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-13 05:44:46,914 p=288166 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-13 05:44:47,085 p=288166 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-13 05:44:47,258 p=288166 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-13 05:44:47,426 p=288166 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-13 05:44:47,597 p=288166 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-13 05:44:47,768 p=288166 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-13 05:44:47,937 p=288166 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-13 05:44:48,109 p=288166 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-13 05:44:48,288 p=288166 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-13 05:44:48,467 p=288166 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-13 05:44:48,632 p=288166 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-13 05:44:48,803 p=288166 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-13 05:44:48,972 p=288166 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-13 05:44:49,001 p=288166 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-13 05:44:49,221 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:49,232 p=288166 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-13 05:44:49,272 p=288166 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-13 05:44:49,311 p=288166 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-13 05:44:49,349 p=288166 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-13 05:44:49,388 p=288166 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-13 05:44:49,426 p=288166 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-13 05:44:49,468 p=288166 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-13 05:44:49,522 p=288166 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-13 05:44:49,563 p=288166 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-13 05:44:49,603 p=288166 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-13 05:44:49,642 p=288166 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-13 05:44:49,684 p=288166 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-13 05:44:49,724 p=288166 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-13 05:44:49,767 p=288166 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-13 05:44:49,808 p=288166 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-13 05:44:49,848 p=288166 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-13 05:44:49,892 p=288166 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-13 05:44:49,932 p=288166 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-13 05:44:49,970 p=288166 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-13 05:44:50,011 p=288166 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-13 05:44:50,045 p=288166 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-13 05:44:50,085 p=288166 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-13 05:44:50,143 p=288166 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-13 05:44:50,183 p=288166 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-13 05:44:50,222 p=288166 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-13 05:44:50,260 p=288166 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-13 05:44:50,304 p=288166 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-13 05:44:50,345 p=288166 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-13 05:44:50,403 p=288166 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-13 05:44:50,445 p=288166 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-13 05:44:50,485 p=288166 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-13 05:44:50,526 p=288166 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-13 05:44:50,566 p=288166 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-13 05:44:50,614 p=288166 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-13 05:44:50,654 p=288166 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-13 05:44:50,695 p=288166 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-13 05:44:50,754 p=288166 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-13 05:44:50,797 p=288166 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-13 05:44:51,025 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:51,034 p=288166 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-13 05:44:51,230 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:51,240 p=288166 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-13 05:44:51,464 p=288166 u=root | 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': 1568353488.95, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568353488.95, u'inode': 754432, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568353488.95, 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-13 05:44:51,475 p=288166 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-13 05:44:51,685 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:51,695 p=288166 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-13 05:44:51,909 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:51,924 p=288166 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-13 05:44:51,984 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:51,995 p=288166 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:44:52,047 p=288166 u=root | 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-13 05:44:52,057 p=288166 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-13 05:44:52,280 p=288166 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-13 05:44:52,458 p=288166 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-13 05:44:52,472 p=288166 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-13 05:44:52,679 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:52,694 p=288166 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-13 05:44:53,256 p=288166 u=root | 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-13 05:44:53,445 p=288166 u=root | 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-13 05:44:53,636 p=288166 u=root | 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-13 05:44:53,647 p=288166 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-13 05:44:53,855 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:53,865 p=288166 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-13 05:44:54,085 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:54,097 p=288166 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-13 05:44:54,310 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:54,321 p=288166 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-13 05:44:54,531 p=288166 u=root | ok: [localhost] 2019-09-13 05:44:54,541 p=288166 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-13 05:44:54,581 p=288166 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-13 05:44:57,759 p=288166 u=root | changed: [localhost] 2019-09-13 05:44:57,769 p=288166 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-13 05:44:58,056 p=288166 u=root | 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-13 05:44:58,296 p=288166 u=root | 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-13 05:44:58,306 p=288166 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-13 05:44:58,547 p=288166 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-13 05:44:58,751 p=288166 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-13 05:44:58,966 p=288166 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-13 05:44:59,174 p=288166 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 05:44:59,358 p=288166 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 05:44:59,548 p=288166 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-13 05:44:59,560 p=288166 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-13 05:44:59,787 p=288166 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-13 05:45:00,052 p=288166 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-13 05:45:00,270 p=288166 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-13 05:45:00,490 p=288166 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 05:45:00,683 p=288166 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 05:45:00,695 p=288166 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-13 05:45:00,912 p=288166 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-13 05:45:01,119 p=288166 u=root | ok: [localhost] 2019-09-13 05:45:01,135 p=288166 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-13 05:45:01,183 p=288166 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-13 05:45:01,230 p=288166 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-13 05:45:01,604 p=288166 u=root | changed: [localhost] 2019-09-13 05:45:01,614 p=288166 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-13 05:45:01,880 p=288166 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-13 05:45:02,077 p=288166 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-13 05:45:02,088 p=288166 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-13 05:45:02,478 p=288166 u=root | changed: [localhost] 2019-09-13 05:45:02,493 p=288166 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-13 05:45:02,702 p=288166 u=root | changed: [localhost] 2019-09-13 05:45:02,714 p=288166 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-13 05:45:04,191 p=288166 u=root | changed: [localhost] 2019-09-13 05:45:04,202 p=288166 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-13 05:45:04,249 p=288166 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-13 05:45:04,303 p=288166 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-13 05:45:04,359 p=288166 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-13 05:45:04,407 p=288166 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-13 05:45:04,452 p=288166 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-13 05:45:04,496 p=288166 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:45:04,540 p=288166 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-13 05:45:04,585 p=288166 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:45:04,631 p=288166 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-13 05:45:04,679 p=288166 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:45:04,727 p=288166 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-13 05:45:04,773 p=288166 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 05:45:04,819 p=288166 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-13 05:45:05,060 p=288166 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-13 05:45:05,220 p=288166 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-13 05:45:05,388 p=288166 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-13 05:45:05,556 p=288166 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-13 05:45:05,568 p=288166 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-13 05:45:05,617 p=288166 u=root | ok: [localhost] 2019-09-13 05:45:05,629 p=288166 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-13 05:45:05,670 p=288166 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-13 05:45:05,715 p=288166 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-13 05:45:05,759 p=288166 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-13 05:45:05,801 p=288166 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:45:05,852 p=288166 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-13 05:45:05,862 p=288166 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-13 05:45:05,913 p=288166 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-13 05:45:05,963 p=288166 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-13 05:45:06,188 p=288166 u=root | changed: [localhost] 2019-09-13 05:45:06,202 p=288166 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-13 05:52:14,050 p=288166 u=root | changed: [localhost] 2019-09-13 05:52:14,065 p=288166 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 05:52:14,135 p=288166 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568353506.25-237303987234532/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-13 05:52:14,147 p=288166 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-13 05:52:14,201 p=288166 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-13 05:52:14,204 p=288166 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-13 05:52:14,205 p=288166 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1 2019-09-13 06:00:59,743 passlib.registry registered 'md5_crypt' handler: 2019-09-13 06:00:59,755 p=294089 u=root | PLAY [all] ************************************************************************************************************************************************************************************* 2019-09-13 06:00:59,952 p=294089 u=root | TASK [stat] ************************************************************************************************************************************************************************************ 2019-09-13 06:01:00,374 p=294089 u=root | ok: [localhost -> localhost] => (item=/root/secrets.yml) 2019-09-13 06:01:00,527 p=294089 u=root | ok: [localhost -> localhost] => (item=/root/localhost_secrets.yml) 2019-09-13 06:01:00,697 p=294089 u=root | ok: [localhost -> localhost] => (item=/root/site.yml) 2019-09-13 06:01:00,867 p=294089 u=root | ok: [localhost -> localhost] => (item=/root/localhost.yml) 2019-09-13 06:01:00,893 p=294089 u=root | TASK [include_vars] **************************************************************************************************************************************************************************** 2019-09-13 06:01:00,992 p=294089 u=root | TASK [prepare-env : Set SSH port] ************************************************************************************************************************************************************** 2019-09-13 06:01:01,050 p=294089 u=root | TASK [prepare-env : Update SSH known hosts] **************************************************************************************************************************************************** 2019-09-13 06:01:01,104 p=294089 u=root | TASK [prepare-env : Check connectivity] ******************************************************************************************************************************************************** 2019-09-13 06:01:01,145 p=294089 u=root | TASK [prepare-env : Fail if host is unreachable] *********************************************************************************************************************************************** 2019-09-13 06:01:01,189 p=294089 u=root | TASK [prepare-env : Fail if password change response sequence is not defined] ****************************************************************************************************************** 2019-09-13 06:01:01,253 p=294089 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 06:01:01,310 p=294089 u=root | TASK [prepare-env : Change initial password] *************************************************************************************************************************************************** 2019-09-13 06:01:01,357 p=294089 u=root | TASK [prepare-env : Look for unmistakenly StarlingX package] *********************************************************************************************************************************** 2019-09-13 06:01:01,835 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:01,846 p=294089 u=root | TASK [prepare-env : Fail if host is not running the right image] ******************************************************************************************************************************* 2019-09-13 06:01:01,884 p=294089 u=root | TASK [prepare-env : Check initial config flag] ************************************************************************************************************************************************* 2019-09-13 06:01:02,076 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:02,087 p=294089 u=root | TASK [prepare-env : Fail if bootstrap is in restore mode and the host has been unlocked] ******************************************************************************************************* 2019-09-13 06:01:02,138 p=294089 u=root | TASK [prepare-env : Set skip_play flag for host] *********************************************************************************************************************************************** 2019-09-13 06:01:02,192 p=294089 u=root | TASK [prepare-env : Skip remaining tasks if host is already unlocked] ************************************************************************************************************************** 2019-09-13 06:01:02,251 p=294089 u=root | TASK [prepare-env : Check if restore is in progress if bootstrap is with restore mode] ********************************************************************************************************* 2019-09-13 06:01:02,295 p=294089 u=root | TASK [prepare-env : Fail if restore is already in progress] ************************************************************************************************************************************ 2019-09-13 06:01:02,338 p=294089 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 06:01:02,381 p=294089 u=root | TASK [prepare-env : Fail if any of the mandatory configurations are not defined] *************************************************************************************************************** 2019-09-13 06:01:02,691 p=294089 u=root | TASK [prepare-env : Retrieve software version number] ****************************************************************************************************************************************** 2019-09-13 06:01:02,906 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:02,916 p=294089 u=root | TASK [prepare-env : Fail if software version is not defined] *********************************************************************************************************************************** 2019-09-13 06:01:02,957 p=294089 u=root | TASK [prepare-env : Retrieve system type] ****************************************************************************************************************************************************** 2019-09-13 06:01:03,159 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:03,169 p=294089 u=root | TASK [prepare-env : Fail if system type is not defined] **************************************************************************************************************************************** 2019-09-13 06:01:03,211 p=294089 u=root | TASK [prepare-env : Set software version, system type config path facts] *********************************************************************************************************************** 2019-09-13 06:01:03,264 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,274 p=294089 u=root | TASK [prepare-env : Fail if host software version is not supported by this playbook] *********************************************************************************************************** 2019-09-13 06:01:03,315 p=294089 u=root | TASK [prepare-env : Set config path facts] ***************************************************************************************************************************************************** 2019-09-13 06:01:03,363 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,374 p=294089 u=root | TASK [prepare-env : Set initial address facts if not defined. They will be updated later] ****************************************************************************************************** 2019-09-13 06:01:03,440 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,451 p=294089 u=root | TASK [prepare-env : set_fact] ****************************************************************************************************************************************************************** 2019-09-13 06:01:03,495 p=294089 u=root | TASK [prepare-env : Set default registries dictionary] ***************************************************************************************************************************************** 2019-09-13 06:01:03,544 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,555 p=294089 u=root | TASK [prepare-env : Merge user and default registries dictionaries] **************************************************************************************************************************** 2019-09-13 06:01:03,604 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,621 p=294089 u=root | TASK [prepare-env : Initialize some flags to be used in subsequent roles/tasks] **************************************************************************************************************** 2019-09-13 06:01:03,678 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,690 p=294089 u=root | TASK [prepare-env : Set initial facts] ********************************************************************************************************************************************************* 2019-09-13 06:01:03,757 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,768 p=294089 u=root | TASK [prepare-env : Turn on use_docker_proxy flag] ********************************************************************************************************************************************* 2019-09-13 06:01:03,814 p=294089 u=root | TASK [prepare-env : Set default values for individual platform registries and registry secrets] ************************************************************************************************ 2019-09-13 06:01:03,860 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,870 p=294089 u=root | TASK [prepare-env : Set default values for OpenID connect] ************************************************************************************************************************************* 2019-09-13 06:01:03,919 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,930 p=294089 u=root | TASK [prepare-env : Set default values for docker proxies if not defined] ********************************************************************************************************************** 2019-09-13 06:01:03,980 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:03,991 p=294089 u=root | TASK [prepare-env : Set default values for kubernetes certificate parameters if not defined] *************************************************************************************************** 2019-09-13 06:01:04,047 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,060 p=294089 u=root | TASK [prepare-env : Set bootstrap output file] ************************************************************************************************************************************************* 2019-09-13 06:01:04,107 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,117 p=294089 u=root | TASK [prepare-env : Check Docker status] ******************************************************************************************************************************************************* 2019-09-13 06:01:04,329 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:04,342 p=294089 u=root | TASK [prepare-env : Look for openrc file] ****************************************************************************************************************************************************** 2019-09-13 06:01:04,572 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,584 p=294089 u=root | TASK [prepare-env : Turn on replayed flag] ***************************************************************************************************************************************************** 2019-09-13 06:01:04,633 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,644 p=294089 u=root | TASK [prepare-env : Turn off save_password flag] *********************************************************************************************************************************************** 2019-09-13 06:01:04,693 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,704 p=294089 u=root | TASK [prepare-env : Check the overall status of the previous play] ***************************************************************************************************************************** 2019-09-13 06:01:04,899 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,911 p=294089 u=root | TASK [prepare-env : Turn on incomplete_bootstrap flag if the previous play did not complete] *************************************************************************************************** 2019-09-13 06:01:04,960 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:04,970 p=294089 u=root | TASK [prepare-env : Check the initial database population status] ****************************************************************************************************************************** 2019-09-13 06:01:05,166 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:05,177 p=294089 u=root | TASK [prepare-env : Turn on initial_db_populated and restart_services flags if initial db population did complete] ***************************************************************************** 2019-09-13 06:01:05,222 p=294089 u=root | TASK [prepare-env : Remove bootstrap_completed flag for the current play if the previous play succeeded] *************************************************************************************** 2019-09-13 06:01:05,263 p=294089 u=root | TASK [prepare-env : Turn on initial_db_populated flag] ***************************************************************************************************************************************** 2019-09-13 06:01:05,306 p=294089 u=root | TASK [prepare-env : Find previous config file for this host] *********************************************************************************************************************************** 2019-09-13 06:01:05,345 p=294089 u=root | TASK [prepare-env : Turn on last_config_file_exists flag] ************************************************************************************************************************************** 2019-09-13 06:01:05,387 p=294089 u=root | TASK [prepare-env : Set last config file to import (local)] ************************************************************************************************************************************ 2019-09-13 06:01:05,431 p=294089 u=root | TASK [prepare-env : Set last config file to import (remote)] *********************************************************************************************************************************** 2019-09-13 06:01:05,474 p=294089 u=root | TASK [prepare-env : Fetch previous config file from this host] ********************************************************************************************************************************* 2019-09-13 06:01:05,514 p=294089 u=root | TASK [prepare-env : Read in last config values] ************************************************************************************************************************************************ 2019-09-13 06:01:05,554 p=294089 u=root | TASK [prepare-env : Turn on system attributes reconfiguration flag] **************************************************************************************************************************** 2019-09-13 06:01:05,601 p=294089 u=root | TASK [prepare-env : Convert previous docker no proxy config value for comparison] ************************************************************************************************************** 2019-09-13 06:01:05,651 p=294089 u=root | TASK [prepare-env : Turn on docker reconfiguration flag if docker config is changed] *********************************************************************************************************** 2019-09-13 06:01:05,704 p=294089 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if management and/or oam network config is changed] ************************************************************************* 2019-09-13 06:01:05,745 p=294089 u=root | TASK [prepare-env : Turn on service endpoints reconfiguration flag if distributed_cloud_role is changed] *************************************************************************************** 2019-09-13 06:01:05,785 p=294089 u=root | TASK [prepare-env : Turn on network reconfiguration flag if any of the network related config is changed] ************************************************************************************** 2019-09-13 06:01:05,824 p=294089 u=root | TASK [prepare-env : Turn on restart services flag if management/oam/cluster network or docker config is changed] ******************************************************************************* 2019-09-13 06:01:05,863 p=294089 u=root | TASK [prepare-env : Turn on restart services flag if Kubernetes OpenID config is changed] ****************************************************************************************************** 2019-09-13 06:01:05,903 p=294089 u=root | TASK [prepare-env : Turn off save_config_to_db flag] ******************************************************************************************************************************************* 2019-09-13 06:01:05,943 p=294089 u=root | TASK [prepare-env : Check volume groups] ******************************************************************************************************************************************************* 2019-09-13 06:01:06,195 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:06,206 p=294089 u=root | TASK [prepare-env : Check size of root disk] *************************************************************************************************************************************************** 2019-09-13 06:01:06,447 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:06,458 p=294089 u=root | TASK [prepare-env : Update root disk index for remote play] ************************************************************************************************************************************ 2019-09-13 06:01:06,499 p=294089 u=root | TASK [prepare-env : Set root disk and root disk size facts] ************************************************************************************************************************************ 2019-09-13 06:01:06,549 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:06,560 p=294089 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 06:01:06,604 p=294089 u=root | TASK [prepare-env : include_tasks] ************************************************************************************************************************************************************* 2019-09-13 06:01:06,649 p=294089 u=root | TASK [prepare-env : Look for branding tar file] ************************************************************************************************************************************************ 2019-09-13 06:01:07,148 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:07,157 p=294089 u=root | TASK [prepare-env : Fail if there are more than one branding tar files] ************************************************************************************************************************ 2019-09-13 06:01:07,199 p=294089 u=root | TASK [prepare-env : Look for other branding files] ********************************************************************************************************************************************* 2019-09-13 06:01:07,396 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:07,406 p=294089 u=root | TASK [prepare-env : Fail if the branding filename is not valid] ******************************************************************************************************************************** 2019-09-13 06:01:07,446 p=294089 u=root | TASK [prepare-env : Mark environment as Ansible bootstrap] ************************************************************************************************************************************* 2019-09-13 06:01:07,918 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:07,928 p=294089 u=root | TASK [prepare-env : Set up Ansible remote tmp dir] ********************************************************************************************************************************************* 2019-09-13 06:01:08,125 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:08,135 p=294089 u=root | TASK [prepare-env : debug] ********************************************************************************************************************************************************************* 2019-09-13 06:01:08,185 p=294089 u=root | 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-13 06:01:08,195 p=294089 u=root | TASK [validate-config : Check k8s_registry credentials] **************************************************************************************************************************************** 2019-09-13 06:01:08,244 p=294089 u=root | TASK [validate-config : Check gcr_registry credentials] **************************************************************************************************************************************** 2019-09-13 06:01:08,292 p=294089 u=root | TASK [validate-config : Check quay_registry credentials] *************************************************************************************************************************************** 2019-09-13 06:01:08,337 p=294089 u=root | TASK [validate-config : Check docker_registry credentials] ************************************************************************************************************************************* 2019-09-13 06:01:08,382 p=294089 u=root | TASK [validate-config : Check unified registry credentials] ************************************************************************************************************************************ 2019-09-13 06:01:08,427 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:08,474 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:08,483 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:08,544 p=294089 u=root | ok: [localhost] => (item=None) 2019-09-13 06:01:08,556 p=294089 u=root | ok: [localhost] => (item=None) 2019-09-13 06:01:08,569 p=294089 u=root | ok: [localhost] => (item=None) 2019-09-13 06:01:08,581 p=294089 u=root | ok: [localhost] => (item=None) 2019-09-13 06:01:08,584 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:08,594 p=294089 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 06:01:08,656 p=294089 u=root | 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-13 06:01:08,667 p=294089 u=root | TASK [validate-config : Set system mode fact] ************************************************************************************************************************************************** 2019-09-13 06:01:08,713 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:08,722 p=294089 u=root | TASK [validate-config : debug] ***************************************************************************************************************************************************************** 2019-09-13 06:01:08,764 p=294089 u=root | TASK [validate-config : Set system mode to duplex for Standard system] ************************************************************************************************************************* 2019-09-13 06:01:08,808 p=294089 u=root | TASK [validate-config : Validate system mode if system type is All-in-one] ********************************************************************************************************************* 2019-09-13 06:01:08,851 p=294089 u=root | TASK [validate-config : Validate distributed cloud role] *************************************************************************************************************************************** 2019-09-13 06:01:08,893 p=294089 u=root | TASK [validate-config : Validate system type if distributed cloud role is system controller] *************************************************************************************************** 2019-09-13 06:01:08,936 p=294089 u=root | TASK [validate-config : Checking registered timezones] ***************************************************************************************************************************************** 2019-09-13 06:01:09,152 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:09,162 p=294089 u=root | TASK [validate-config : Fail if provided timezone is unknown] ********************************************************************************************************************************** 2019-09-13 06:01:09,204 p=294089 u=root | TASK [validate-config : Fail if the number of dns servers provided is not at least 1 and no more than 3] *************************************************************************************** 2019-09-13 06:01:09,257 p=294089 u=root | TASK [validate-config : Check format of DNS server IP(s)] ************************************************************************************************************************************** 2019-09-13 06:01:09,316 p=294089 u=root | ok: [localhost] => (item=8.8.8.8) => { "msg": "DNS Server: 8.8.8.8" } 2019-09-13 06:01:09,330 p=294089 u=root | ok: [localhost] => (item=8.8.4.4) => { "msg": "DNS Server: 8.8.4.4" } 2019-09-13 06:01:09,340 p=294089 u=root | TASK [validate-config : Validate provided subnets (both IPv4 & IPv6 notations)] **************************************************************************************************************** 2019-09-13 06:01:09,404 p=294089 u=root | 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-13 06:01:09,418 p=294089 u=root | 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-13 06:01:09,434 p=294089 u=root | 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-13 06:01:09,449 p=294089 u=root | 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-13 06:01:09,463 p=294089 u=root | ok: [localhost] => (item={'value': u'169.254.202.0/24', 'key': u'pxeboot_subnet'}) => { "msg": "pxeboot_subnet: 169.254.202.0/24" } 2019-09-13 06:01:09,480 p=294089 u=root | 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-13 06:01:09,497 p=294089 u=root | ok: [localhost] => (item={'value': u'192.168.204.0/28', 'key': u'management_subnet'}) => { "msg": "management_subnet: 192.168.204.0/28" } 2019-09-13 06:01:09,512 p=294089 u=root | 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-13 06:01:09,527 p=294089 u=root | 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-13 06:01:09,539 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:09,589 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:09,599 p=294089 u=root | TASK [validate-config : Validate all network subnets are IPv4] ********************************************************************************************************************************* 2019-09-13 06:01:09,673 p=294089 u=root | ok: [localhost] => (item=192.168.204.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,688 p=294089 u=root | ok: [localhost] => (item=192.168.206.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,704 p=294089 u=root | ok: [localhost] => (item=172.16.0.0/16) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,720 p=294089 u=root | ok: [localhost] => (item=10.96.0.0/12) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,735 p=294089 u=root | ok: [localhost] => (item=10.10.10.0/24) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,751 p=294089 u=root | ok: [localhost] => (item=239.1.1.0/28) => { "msg": "All infrastructure and cluster subnets must be the same IP version" } 2019-09-13 06:01:09,762 p=294089 u=root | TASK [validate-config : Validate all network subnets are IPv6] ********************************************************************************************************************************* 2019-09-13 06:01:09,871 p=294089 u=root | TASK [validate-config : Validate pxeboot subnet is IPv4] *************************************************************************************************************************************** 2019-09-13 06:01:09,923 p=294089 u=root | ok: [localhost] => { "msg": "pxeboot_subnet subnet must always be IPv4" } 2019-09-13 06:01:09,935 p=294089 u=root | TASK [validate-config : Fail if cluster pod/service subnet size is too small (minimum size = 65536)] ******************************************************************************************* 2019-09-13 06:01:10,003 p=294089 u=root | TASK [validate-config : Fail if pxeboot/management/multicast subnet size is too small (minimum size = 16)] ************************************************************************************* 2019-09-13 06:01:10,078 p=294089 u=root | TASK [validate-config : Fail if the size of the remaining subnets is too small (minimum size = 8)] ********************************************************************************************* 2019-09-13 06:01:10,141 p=294089 u=root | TASK [validate-config : Generate warning if subnet prefix is not typical for Standard systems] ************************************************************************************************* 2019-09-13 06:01:10,248 p=294089 u=root | TASK [validate-config : Fail if IPv6 prefix length is too short] ******************************************************************************************************************************* 2019-09-13 06:01:10,292 p=294089 u=root | TASK [validate-config : Fail if management address allocation is misconfigured] **************************************************************************************************************** 2019-09-13 06:01:10,333 p=294089 u=root | TASK [validate-config : Fail if cluster-host address allocation is misconfigured] ************************************************************************************************************** 2019-09-13 06:01:10,375 p=294089 u=root | TASK [validate-config : Fail if management start or end address is not configured for System Controller] *************************************************************************************** 2019-09-13 06:01:10,417 p=294089 u=root | TASK [validate-config : Set default start and end addresses based on provided subnets] ********************************************************************************************************* 2019-09-13 06:01:10,499 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:10,510 p=294089 u=root | TASK [validate-config : Build address pairs for validation, merging default and user provided values] ****************************************************************************************** 2019-09-13 06:01:10,614 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:10,624 p=294089 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 06:01:10,745 p=294089 u=root | 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-13 06:01:10,759 p=294089 u=root | 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-13 06:01:10,773 p=294089 u=root | 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-13 06:01:10,788 p=294089 u=root | 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-13 06:01:10,802 p=294089 u=root | 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-13 06:01:10,816 p=294089 u=root | 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-13 06:01:10,829 p=294089 u=root | 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-13 06:01:10,845 p=294089 u=root | 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-13 06:01:10,920 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:10,972 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:10,986 p=294089 u=root | TASK [validate-config : Validate oam_node start and end address format] ************************************************************************************************************************ 2019-09-13 06:01:11,031 p=294089 u=root | TASK [validate-config : Validate oam_node start and end range] ********************************************************************************************************************************* 2019-09-13 06:01:11,074 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:11,117 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:11,169 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:11,182 p=294089 u=root | TASK [validate-config : Validate cluster_pod start and end address format] ********************************************************************************************************************* 2019-09-13 06:01:11,233 p=294089 u=root | TASK [validate-config : Validate cluster_pod start and end range] ****************************************************************************************************************************** 2019-09-13 06:01:11,284 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:11,330 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:11,385 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:11,397 p=294089 u=root | TASK [validate-config : Validate management start and end address format] ********************************************************************************************************************** 2019-09-13 06:01:11,443 p=294089 u=root | TASK [validate-config : Validate management start and end range] ******************************************************************************************************************************* 2019-09-13 06:01:11,485 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:11,528 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:11,584 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:11,599 p=294089 u=root | TASK [validate-config : Validate multicast start and end address format] *********************************************************************************************************************** 2019-09-13 06:01:11,644 p=294089 u=root | TASK [validate-config : Validate multicast start and end range] ******************************************************************************************************************************** 2019-09-13 06:01:11,694 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:11,743 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:11,800 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:11,813 p=294089 u=root | TASK [validate-config : Validate cluster_service start and end address format] ***************************************************************************************************************** 2019-09-13 06:01:11,860 p=294089 u=root | TASK [validate-config : Validate cluster_service start and end range] ************************************************************************************************************************** 2019-09-13 06:01:11,904 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:11,949 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:12,006 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,020 p=294089 u=root | TASK [validate-config : Validate oam start and end address format] ***************************************************************************************************************************** 2019-09-13 06:01:12,074 p=294089 u=root | TASK [validate-config : Validate oam start and end range] ************************************************************************************************************************************** 2019-09-13 06:01:12,118 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:12,163 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:12,219 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,231 p=294089 u=root | TASK [validate-config : Validate cluster_host start and end address format] ******************************************************************************************************************** 2019-09-13 06:01:12,277 p=294089 u=root | TASK [validate-config : Validate cluster_host start and end range] ***************************************************************************************************************************** 2019-09-13 06:01:12,321 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:12,363 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:12,416 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,431 p=294089 u=root | TASK [validate-config : Validate pxeboot start and end address format] ************************************************************************************************************************* 2019-09-13 06:01:12,475 p=294089 u=root | TASK [validate-config : Validate pxeboot start and end range] ********************************************************************************************************************************** 2019-09-13 06:01:12,519 p=294089 u=root | TASK [validate-config : Fail if address range did not meet required criteria] ****************************************************************************************************************** 2019-09-13 06:01:12,561 p=294089 u=root | TASK [validate-config : Set floating addresses based on subnets or start addresses] ************************************************************************************************************ 2019-09-13 06:01:12,618 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,628 p=294089 u=root | TASK [validate-config : Set derived facts for subsequent tasks/roles] ************************************************************************************************************************** 2019-09-13 06:01:12,697 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,708 p=294089 u=root | TASK [validate-config : Set facts for IP address provisioning against loopback interface] ****************************************************************************************************** 2019-09-13 06:01:12,764 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,775 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:12,845 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:12,857 p=294089 u=root | TASK [validate-config : Set default no-proxy address list (non simplex)] *********************************************************************************************************************** 2019-09-13 06:01:12,900 p=294089 u=root | TASK [validate-config : Validate http proxy urls] ********************************************************************************************************************************************** 2019-09-13 06:01:12,964 p=294089 u=root | TASK [validate-config : Validate no proxy addresses] ******************************************************************************************************************************************* 2019-09-13 06:01:13,001 p=294089 u=root | TASK [validate-config : Add user defined no-proxy address list to default] ********************************************************************************************************************* 2019-09-13 06:01:13,044 p=294089 u=root | TASK [validate-config : Fail if secure registry flag is misconfigured] ************************************************************************************************************************* 2019-09-13 06:01:13,090 p=294089 u=root | TASK [validate-config : Default the unified registry to secure if not specified] *************************************************************************************************************** 2019-09-13 06:01:13,134 p=294089 u=root | TASK [validate-config : Turn on use_unified_registry flag] ************************************************************************************************************************************* 2019-09-13 06:01:13,178 p=294089 u=root | TASK [validate-config : Update use_default_registries flag] ************************************************************************************************************************************ 2019-09-13 06:01:13,225 p=294089 u=root | TASK [validate-config : include] *************************************************************************************************************************************************************** 2019-09-13 06:01:13,321 p=294089 u=root | TASK [validate-config : set_fact] ************************************************************************************************************************************************************** 2019-09-13 06:01:13,366 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:13,383 p=294089 u=root | TASK [validate-config : Check if images archive location exists] ******************************************************************************************************************************* 2019-09-13 06:01:13,432 p=294089 u=root | TASK [validate-config : Get list of archived files] ******************************************************************************************************************************************** 2019-09-13 06:01:13,483 p=294089 u=root | TASK [validate-config : Turn on images archive flag] ******************************************************************************************************************************************* 2019-09-13 06:01:13,527 p=294089 u=root | TASK [validate-config : Validate apiserver_cert_sans list] ************************************************************************************************************************************* 2019-09-13 06:01:13,570 p=294089 u=root | TASK [validate-config : Validate apiserver_cert_sans entries] ********************************************************************************************************************************** 2019-09-13 06:01:13,605 p=294089 u=root | TASK [validate-config : Verify that either both Kubernetes root ca cert and key are defined or not at all] ************************************************************************************* 2019-09-13 06:01:13,648 p=294089 u=root | TASK [validate-config : Check for k8s_root_ca_cert file] *************************************************************************************************************************************** 2019-09-13 06:01:13,690 p=294089 u=root | TASK [validate-config : Check for k8s_root_ca_key file] **************************************************************************************************************************************** 2019-09-13 06:01:13,733 p=294089 u=root | TASK [validate-config : Check for ssl_ca_cert file] ******************************************************************************************************************************************** 2019-09-13 06:01:13,776 p=294089 u=root | TASK [validate-config : Check OpenID Connect parameters] *************************************************************************************************************************************** 2019-09-13 06:01:13,821 p=294089 u=root | TASK [validate-config : Create config workdir] ************************************************************************************************************************************************* 2019-09-13 06:01:14,021 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:14,034 p=294089 u=root | TASK [validate-config : Generate config ini file for python sysinv db population script] ******************************************************************************************************* 2019-09-13 06:01:14,515 p=294089 u=root | changed: [localhost] => (item=[BOOTSTRAP_CONFIG]) 2019-09-13 06:01:14,673 p=294089 u=root | changed: [localhost] => (item=CONTROLLER_HOSTNAME=controller-0) 2019-09-13 06:01:14,842 p=294089 u=root | changed: [localhost] => (item=SYSTEM_TYPE=All-in-one) 2019-09-13 06:01:15,012 p=294089 u=root | changed: [localhost] => (item=SYSTEM_MODE=simplex) 2019-09-13 06:01:15,179 p=294089 u=root | changed: [localhost] => (item=TIMEZONE=UTC) 2019-09-13 06:01:15,356 p=294089 u=root | changed: [localhost] => (item=DISTRIBUTED_CLOUD_ROLE=none) 2019-09-13 06:01:15,524 p=294089 u=root | changed: [localhost] => (item=REGION_NAME=RegionOne) 2019-09-13 06:01:15,691 p=294089 u=root | changed: [localhost] => (item=SW_VERSION=19.09) 2019-09-13 06:01:15,877 p=294089 u=root | changed: [localhost] => (item=NAMESERVERS=8.8.8.8,8.8.4.4) 2019-09-13 06:01:16,039 p=294089 u=root | changed: [localhost] => (item=PXEBOOT_SUBNET=169.254.202.0/24) 2019-09-13 06:01:16,208 p=294089 u=root | changed: [localhost] => (item=PXEBOOT_START_ADDRESS=169.254.202.2) 2019-09-13 06:01:16,383 p=294089 u=root | changed: [localhost] => (item=PXEBOOT_END_ADDRESS=169.254.202.254) 2019-09-13 06:01:16,552 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_SUBNET=192.168.204.0/28) 2019-09-13 06:01:16,721 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_START_ADDRESS=192.168.204.2) 2019-09-13 06:01:16,901 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_END_ADDRESS=192.168.204.14) 2019-09-13 06:01:17,067 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 06:01:17,232 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_INTERFACE=lo) 2019-09-13 06:01:17,398 p=294089 u=root | changed: [localhost] => (item=CONTROLLER_0_ADDRESS=192.168.204.3) 2019-09-13 06:01:17,569 p=294089 u=root | changed: [localhost] => (item=CLUSTER_HOST_SUBNET=192.168.206.0/24) 2019-09-13 06:01:17,744 p=294089 u=root | changed: [localhost] => (item=CLUSTER_HOST_START_ADDRESS=192.168.206.2) 2019-09-13 06:01:17,909 p=294089 u=root | changed: [localhost] => (item=CLUSTER_HOST_END_ADDRESS=192.168.206.254) 2019-09-13 06:01:18,105 p=294089 u=root | changed: [localhost] => (item=CLUSTER_HOST_DYNAMIC_ADDRESS_ALLOCATION=True) 2019-09-13 06:01:18,277 p=294089 u=root | changed: [localhost] => (item=CLUSTER_POD_SUBNET=172.16.0.0/16) 2019-09-13 06:01:18,442 p=294089 u=root | changed: [localhost] => (item=CLUSTER_POD_START_ADDRESS=172.16.0.1) 2019-09-13 06:01:18,614 p=294089 u=root | changed: [localhost] => (item=CLUSTER_POD_END_ADDRESS=172.16.255.254) 2019-09-13 06:01:18,785 p=294089 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_SUBNET=10.96.0.0/12) 2019-09-13 06:01:18,955 p=294089 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_START_ADDRESS=10.96.0.1) 2019-09-13 06:01:19,138 p=294089 u=root | changed: [localhost] => (item=CLUSTER_SERVICE_END_ADDRESS=10.96.0.1) 2019-09-13 06:01:19,320 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_SUBNET=10.10.10.0/24) 2019-09-13 06:01:19,503 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_START_ADDRESS=10.10.10.1) 2019-09-13 06:01:19,668 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_END_ADDRESS=10.10.10.254) 2019-09-13 06:01:19,832 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_GATEWAY_ADDRESS=10.10.10.1) 2019-09-13 06:01:20,000 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_FLOATING_ADDRESS=10.10.10.2) 2019-09-13 06:01:20,180 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_0_ADDRESS=10.10.10.3) 2019-09-13 06:01:20,357 p=294089 u=root | changed: [localhost] => (item=EXTERNAL_OAM_1_ADDRESS=10.10.10.4) 2019-09-13 06:01:20,542 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_SUBNET=239.1.1.0/28) 2019-09-13 06:01:20,711 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_START_ADDRESS=239.1.1.1) 2019-09-13 06:01:20,884 p=294089 u=root | changed: [localhost] => (item=MANAGEMENT_MULTICAST_END_ADDRESS=239.1.1.14) 2019-09-13 06:01:21,052 p=294089 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_SUBNET=none) 2019-09-13 06:01:21,222 p=294089 u=root | changed: [localhost] => (item=SYSTEM_CONTROLLER_FLOATING_ADDRESS=none) 2019-09-13 06:01:21,406 p=294089 u=root | changed: [localhost] => (item=DOCKER_HTTP_PROXY=undef) 2019-09-13 06:01:21,574 p=294089 u=root | changed: [localhost] => (item=DOCKER_HTTPS_PROXY=undef) 2019-09-13 06:01:21,766 p=294089 u=root | changed: [localhost] => (item=DOCKER_NO_PROXY=) 2019-09-13 06:01:21,946 p=294089 u=root | changed: [localhost] => (item=K8S_REGISTRY=k8s.gcr.io) 2019-09-13 06:01:22,125 p=294089 u=root | changed: [localhost] => (item=GCR_REGISTRY=gcr.io) 2019-09-13 06:01:22,302 p=294089 u=root | changed: [localhost] => (item=QUAY_REGISTRY=quay.io) 2019-09-13 06:01:22,481 p=294089 u=root | changed: [localhost] => (item=DOCKER_REGISTRY=docker.io) 2019-09-13 06:01:22,650 p=294089 u=root | changed: [localhost] => (item=USE_DEFAULT_REGISTRIES=True) 2019-09-13 06:01:22,824 p=294089 u=root | changed: [localhost] => (item=IS_SECURE_REGISTRY=True) 2019-09-13 06:01:23,015 p=294089 u=root | changed: [localhost] => (item=RECONFIGURE_ENDPOINTS=False) 2019-09-13 06:01:23,193 p=294089 u=root | changed: [localhost] => (item=INITIAL_DB_POPULATED=False) 2019-09-13 06:01:23,371 p=294089 u=root | changed: [localhost] => (item=INCOMPLETE_BOOTSTRAP=True) 2019-09-13 06:01:23,540 p=294089 u=root | changed: [localhost] => (item=APISERVER_SANS=) 2019-09-13 06:01:23,574 p=294089 u=root | TASK [validate-config : Write simplex flag] **************************************************************************************************************************************************** 2019-09-13 06:01:23,801 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:23,813 p=294089 u=root | TASK [store-passwd : debug] ******************************************************************************************************************************************************************** 2019-09-13 06:01:23,855 p=294089 u=root | TASK [store-passwd : set_fact] ***************************************************************************************************************************************************************** 2019-09-13 06:01:23,897 p=294089 u=root | TASK [store-passwd : Print warning if admin credentials are not stored in vault] *************************************************************************************************************** 2019-09-13 06:01:23,938 p=294089 u=root | TASK [store-passwd : Set admin username and password facts] ************************************************************************************************************************************ 2019-09-13 06:01:23,981 p=294089 u=root | TASK [store-passwd : Look for password rules file] ********************************************************************************************************************************************* 2019-09-13 06:01:24,022 p=294089 u=root | TASK [store-passwd : Fail if password rules file is missing] *********************************************************************************************************************************** 2019-09-13 06:01:24,062 p=294089 u=root | TASK [store-passwd : Get password rules] ******************************************************************************************************************************************************* 2019-09-13 06:01:24,109 p=294089 u=root | TASK [store-passwd : Get password rules description] ******************************************************************************************************************************************* 2019-09-13 06:01:24,151 p=294089 u=root | TASK [store-passwd : Set password regex facts] ************************************************************************************************************************************************* 2019-09-13 06:01:24,191 p=294089 u=root | TASK [store-passwd : Fail if password regex cannot be found] *********************************************************************************************************************************** 2019-09-13 06:01:24,232 p=294089 u=root | TASK [store-passwd : Set password regex description fact] ************************************************************************************************************************************** 2019-09-13 06:01:24,274 p=294089 u=root | TASK [store-passwd : Validate admin password] ************************************************************************************************************************************************** 2019-09-13 06:01:24,314 p=294089 u=root | TASK [store-passwd : Fail if provided admin password does not meet required complexity] ******************************************************************************************************** 2019-09-13 06:01:24,356 p=294089 u=root | TASK [store-passwd : Store admin password] ***************************************************************************************************************************************************** 2019-09-13 06:01:24,397 p=294089 u=root | TASK [store-passwd : Set temp keyring directory fact] ****************************************************************************************************************************************** 2019-09-13 06:01:24,438 p=294089 u=root | TASK [store-passwd : Create temp keyring directory] ******************************************************************************************************************************************** 2019-09-13 06:01:24,479 p=294089 u=root | TASK [store-passwd : Strip the leading '/' from keyring directory and assign it to a new variable] ********************************************************************************************* 2019-09-13 06:01:24,522 p=294089 u=root | TASK [store-passwd : Prefetch the keyring from the tarball] ************************************************************************************************************************************ 2019-09-13 06:01:24,563 p=294089 u=root | TASK [store-passwd : Remove the unwanted directory] ******************************************************************************************************************************************** 2019-09-13 06:01:24,604 p=294089 u=root | TASK [store-passwd : Store service passwords] ************************************************************************************************************************************************** 2019-09-13 06:01:24,639 p=294089 u=root | TASK [apply-bootstrap-manifest : Create config workdir] **************************************************************************************************************************************** 2019-09-13 06:01:24,679 p=294089 u=root | TASK [apply-bootstrap-manifest : Generating static config data] ******************************************************************************************************************************** 2019-09-13 06:01:24,719 p=294089 u=root | TASK [apply-bootstrap-manifest : Fail if static hieradata cannot be generated] ***************************************************************************************************************** 2019-09-13 06:01:24,759 p=294089 u=root | TASK [apply-bootstrap-manifest : Set ssh_config tmp dir fact] ********************************************************************************************************************************** 2019-09-13 06:01:24,799 p=294089 u=root | TASK [apply-bootstrap-manifest : Strip the leading '/' from directories and assign them to new variables] ************************************************************************************** 2019-09-13 06:01:24,841 p=294089 u=root | TASK [apply-bootstrap-manifest : Prefetch static hieradata] ************************************************************************************************************************************ 2019-09-13 06:01:24,894 p=294089 u=root | TASK [apply-bootstrap-manifest : Look for ssh_config dir in the backup tarball] **************************************************************************************************************** 2019-09-13 06:01:24,934 p=294089 u=root | TASK [apply-bootstrap-manifest : Create temp ssh_config dir] *********************************************************************************************************************************** 2019-09-13 06:01:24,975 p=294089 u=root | TASK [apply-bootstrap-manifest : Prefetch ssh_config] ****************************************************************************************************************************************** 2019-09-13 06:01:25,015 p=294089 u=root | TASK [apply-bootstrap-manifest : Remove the unwanted directory] ******************************************************************************************************************************** 2019-09-13 06:01:25,057 p=294089 u=root | TASK [apply-bootstrap-manifest : Applying puppet bootstrap manifest] *************************************************************************************************************************** 2019-09-13 06:01:25,097 p=294089 u=root | TASK [apply-bootstrap-manifest : Fail if puppet manifest apply script returns an error] ******************************************************************************************************** 2019-09-13 06:01:25,137 p=294089 u=root | TASK [apply-bootstrap-manifest : Ensure Puppet directory exists] ******************************************************************************************************************************* 2019-09-13 06:01:25,178 p=294089 u=root | TASK [apply-bootstrap-manifest : Persist puppet working files] ********************************************************************************************************************************* 2019-09-13 06:01:25,218 p=294089 u=root | TASK [persist-config : Check if keyring data has been persisted] ******************************************************************************************************************************* 2019-09-13 06:01:25,258 p=294089 u=root | TASK [persist-config : Delete the previous python_keyring directory if exists] ***************************************************************************************************************** 2019-09-13 06:01:25,300 p=294089 u=root | TASK [persist-config : Persist keyring data] *************************************************************************************************************************************************** 2019-09-13 06:01:25,345 p=294089 u=root | TASK [persist-config : Ensure replicated config parent directory exists] *********************************************************************************************************************** 2019-09-13 06:01:25,547 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:25,557 p=294089 u=root | TASK [persist-config : Get list of new config files] ******************************************************************************************************************************************* 2019-09-13 06:01:25,756 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:25,767 p=294089 u=root | TASK [persist-config : Remove existing config files from permanent location] ******************************************************************************************************************* 2019-09-13 06:01:26,006 p=294089 u=root | 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': 1568354483.521, u'gr_name': u'root', u'path': u'/tmp/config/bootstrap_config', u'xusr': False, u'atime': 1568354483.521, u'inode': 791518, u'isgid': False, u'size': 1674, u'isdir': False, u'ctime': 1568354483.521, 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-13 06:01:26,021 p=294089 u=root | TASK [persist-config : Move new config files to permanent location] **************************************************************************************************************************** 2019-09-13 06:01:26,260 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:26,272 p=294089 u=root | TASK [persist-config : Delete working config directory] **************************************************************************************************************************************** 2019-09-13 06:01:26,476 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:26,492 p=294089 u=root | TASK [persist-config : Set Postgres, PXE, branding config directory fact] ********************************************************************************************************************** 2019-09-13 06:01:26,554 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:26,566 p=294089 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 06:01:26,619 p=294089 u=root | 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-13 06:01:26,631 p=294089 u=root | TASK [persist-config : Ensure Postres, PXE config directories exist] *************************************************************************************************************************** 2019-09-13 06:01:26,868 p=294089 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/postgresql) 2019-09-13 06:01:27,042 p=294089 u=root | ok: [localhost] => (item=/opt/platform/config/19.09/pxelinux.cfg) 2019-09-13 06:01:27,052 p=294089 u=root | TASK [persist-config : Get list of Postgres conf files] **************************************************************************************************************************************** 2019-09-13 06:01:27,272 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:27,286 p=294089 u=root | TASK [persist-config : Copy postgres conf files for mate] ************************************************************************************************************************************** 2019-09-13 06:01:27,872 p=294089 u=root | 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-13 06:01:28,050 p=294089 u=root | 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-13 06:01:28,221 p=294089 u=root | 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-13 06:01:28,235 p=294089 u=root | TASK [persist-config : Create a symlink to PXE config files] *********************************************************************************************************************************** 2019-09-13 06:01:28,447 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:28,458 p=294089 u=root | TASK [persist-config : Check if copying of branding files for mate is required] **************************************************************************************************************** 2019-09-13 06:01:28,684 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:28,694 p=294089 u=root | TASK [persist-config : Ensure branding config directory exists] ******************************************************************************************************************************** 2019-09-13 06:01:28,916 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:28,927 p=294089 u=root | TASK [persist-config : Check if branding tar files exist (there should be only one)] *********************************************************************************************************** 2019-09-13 06:01:29,135 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:29,145 p=294089 u=root | TASK [persist-config : Copy branding tar files] ************************************************************************************************************************************************ 2019-09-13 06:01:29,181 p=294089 u=root | TASK [persist-config : Get grub default kernel] ************************************************************************************************************************************************ 2019-09-13 06:01:32,403 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:32,418 p=294089 u=root | TASK [persist-config : Add default security feature to kernel parameters] ********************************************************************************************************************** 2019-09-13 06:01:32,706 p=294089 u=root | 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-13 06:01:32,917 p=294089 u=root | 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-13 06:01:32,929 p=294089 u=root | TASK [persist-config : Resize filesystems (default)] ******************************************************************************************************************************************* 2019-09-13 06:01:33,171 p=294089 u=root | changed: [localhost] => (item=lvextend -L20G /dev/cgts-vg/pgsql-lv) 2019-09-13 06:01:33,377 p=294089 u=root | changed: [localhost] => (item=lvextend -L16G /dev/cgts-vg/dockerdistribution-lv) 2019-09-13 06:01:33,581 p=294089 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/backup-lv) 2019-09-13 06:01:33,792 p=294089 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 06:01:33,970 p=294089 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 06:01:34,157 p=294089 u=root | changed: [localhost] => (item=resize2fs /dev/drbd8) 2019-09-13 06:01:34,169 p=294089 u=root | TASK [persist-config : Fail if file system resizing failed for a reason other than it has been done already] *********************************************************************************** 2019-09-13 06:01:34,380 p=294089 u=root | TASK [persist-config : Further resize if root disk size is larger than 240G] ******************************************************************************************************************* 2019-09-13 06:01:34,647 p=294089 u=root | changed: [localhost] => (item=lvextend -L40G /dev/cgts-vg/pgsql-lv) 2019-09-13 06:01:34,852 p=294089 u=root | changed: [localhost] => (item=lvextend -L50G /dev/cgts-vg/backup-lv) 2019-09-13 06:01:35,069 p=294089 u=root | changed: [localhost] => (item=drbdadm -- --assume-peer-has-space resize all) 2019-09-13 06:01:35,255 p=294089 u=root | changed: [localhost] => (item=resize2fs /dev/drbd0) 2019-09-13 06:01:35,268 p=294089 u=root | TASK [persist-config : Fail if additional resizing failed for a reason other than it has been done already] ************************************************************************************ 2019-09-13 06:01:35,453 p=294089 u=root | TASK [persist-config : Check if custom banner exists] ****************************************************************************************************************************************** 2019-09-13 06:01:35,652 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:35,663 p=294089 u=root | TASK [persist-config : Apply custom banner] **************************************************************************************************************************************************** 2019-09-13 06:01:35,712 p=294089 u=root | TASK [persist-config : Fail if banner customization failed] ************************************************************************************************************************************ 2019-09-13 06:01:35,785 p=294089 u=root | TASK [persist-config : Shutdown Maintenance services] ****************************************************************************************************************************************** 2019-09-13 06:01:36,143 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:36,153 p=294089 u=root | TASK [persist-config : Shutdown FM services] *************************************************************************************************************************************************** 2019-09-13 06:01:36,433 p=294089 u=root | changed: [localhost] => (item=/etc/init.d/fminit stop) 2019-09-13 06:01:36,665 p=294089 u=root | changed: [localhost] => (item=/etc/init.d/fm-api stop) 2019-09-13 06:01:36,680 p=294089 u=root | TASK [persist-config : Shut down and remove Kubernetes components] ***************************************************************************************************************************** 2019-09-13 06:01:37,076 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:37,091 p=294089 u=root | TASK [persist-config : Clear etcd data cache] ************************************************************************************************************************************************** 2019-09-13 06:01:37,309 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:37,323 p=294089 u=root | TASK [persist-config : Restart etcd] *********************************************************************************************************************************************************** 2019-09-13 06:01:38,331 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:38,345 p=294089 u=root | TASK [persist-config : Set facts derived from previous network configurations] ***************************************************************************************************************** 2019-09-13 06:01:38,386 p=294089 u=root | TASK [persist-config : Set facts derived from previous floating addresses] ********************************************************************************************************************* 2019-09-13 06:01:38,425 p=294089 u=root | TASK [persist-config : Set facts for the removal of addresses assigned to loopback interface] ************************************************************************************************** 2019-09-13 06:01:38,467 p=294089 u=root | TASK [persist-config : Remove loopback interface in sysinv db and associated addresses] ******************************************************************************************************** 2019-09-13 06:01:38,518 p=294089 u=root | TASK [persist-config : Fail if removing interface addresses failed for reason other than it has been done already] ***************************************************************************** 2019-09-13 06:01:38,566 p=294089 u=root | TASK [persist-config : Create Barbican secret for k8s registry if credentials exist] *********************************************************************************************************** 2019-09-13 06:01:38,611 p=294089 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 06:01:38,661 p=294089 u=root | TASK [persist-config : Create Barbican secret for gcr registry if credentials exist] *********************************************************************************************************** 2019-09-13 06:01:38,706 p=294089 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 06:01:38,753 p=294089 u=root | TASK [persist-config : Create Barbican secret for quay registry if credentials exist] ********************************************************************************************************** 2019-09-13 06:01:38,797 p=294089 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 06:01:38,842 p=294089 u=root | TASK [persist-config : Create Barbican secret for docker registry if credentials exist] ******************************************************************************************************** 2019-09-13 06:01:38,889 p=294089 u=root | TASK [persist-config : set_fact] *************************************************************************************************************************************************************** 2019-09-13 06:01:38,932 p=294089 u=root | TASK [persist-config : Append config ini file with Barbican secret uuid] *********************************************************************************************************************** 2019-09-13 06:01:39,146 p=294089 u=root | changed: [localhost] => (item=K8S_REGISTRY_SECRET=none) 2019-09-13 06:01:39,313 p=294089 u=root | changed: [localhost] => (item=GCR_REGISTRY_SECRET=none) 2019-09-13 06:01:39,475 p=294089 u=root | changed: [localhost] => (item=QUAY_REGISTRY_SECRET=none) 2019-09-13 06:01:39,641 p=294089 u=root | changed: [localhost] => (item=DOCKER_REGISTRY_SECRET=none) 2019-09-13 06:01:39,652 p=294089 u=root | TASK [persist-config : Set input parameters to populate config script] ************************************************************************************************************************* 2019-09-13 06:01:39,709 p=294089 u=root | ok: [localhost] 2019-09-13 06:01:39,721 p=294089 u=root | TASK [persist-config : Update input parameters with reconfigure system flag] ******************************************************************************************************************* 2019-09-13 06:01:39,762 p=294089 u=root | TASK [persist-config : Update input parameters with reconfigure network flag] ****************************************************************************************************************** 2019-09-13 06:01:39,804 p=294089 u=root | TASK [persist-config : Update input parameters with reconfigure service flag] ****************************************************************************************************************** 2019-09-13 06:01:39,851 p=294089 u=root | TASK [persist-config : Update input parameters if config from previous play has not been generated or is missing] ****************************************************************************** 2019-09-13 06:01:39,891 p=294089 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 06:01:39,939 p=294089 u=root | ok: [localhost] => { "script_input": "/opt/platform/config/19.09/bootstrap_config" } 2019-09-13 06:01:39,950 p=294089 u=root | TASK [persist-config : Remove the endpoint reconfig flag before reconfiguring the service endpoints] ******************************************************************************************* 2019-09-13 06:01:40,000 p=294089 u=root | TASK [persist-config : Remove the system controller database config flag before reconfigure role] ********************************************************************************************** 2019-09-13 06:01:40,049 p=294089 u=root | TASK [persist-config : Add the management floating address] ************************************************************************************************************************************ 2019-09-13 06:01:40,286 p=294089 u=root | changed: [localhost] 2019-09-13 06:01:40,298 p=294089 u=root | TASK [persist-config : Saving config in sysinv database] *************************************************************************************************************************************** 2019-09-13 06:08:47,937 p=294089 u=root | changed: [localhost] 2019-09-13 06:08:47,951 p=294089 u=root | TASK [persist-config : debug] ****************************************************************************************************************************************************************** 2019-09-13 06:08:48,019 p=294089 u=root | 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 \"cgtsclient.common.http\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 984, in \n inventory_config_complete_wait(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 909, in inventory_config_complete_wait\n wait_initial_inventory_complete(client, controller)\n File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 900, in wait_initial_inventory_complete\n raise ConfigFail('Timeout waiting for controller inventory '\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion\n", "stderr_lines": [ "No handlers could be found for logger \"cgtsclient.common.http\"", "Traceback (most recent call last):", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 984, in ", " inventory_config_complete_wait(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 909, in inventory_config_complete_wait", " wait_initial_inventory_complete(client, controller)", " File \"/tmp/.ansible-root/tmp/ansible-tmp-1568354500.35-257365133381662/populate_initial_config.py\", line 900, in wait_initial_inventory_complete", " raise ConfigFail('Timeout waiting for controller inventory '", "controllerconfig.common.exceptions.ConfigFail: Timeout waiting for controller inventory completion" ], "stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.\nPopulating load config...\nLoad config completed.\nPopulating management network...\nPopulating pxeboot network...\nPopulating oam network...\nPopulating multicast network...\nPopulating cluster host network...\nPopulating cluster pod network...\nPopulating cluster service network...\nNetwork config completed.\nPopulating/Updating DNS config...\nDNS config completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = false\nInstall output = text\nHost values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}\nHost controller-0 created.\nFailed to update the initial system config.\n", "stdout_lines": [ "Populating system config...", "System type is All-in-one", "System config completed.", "Populating load config...", "Load config completed.", "Populating management network...", "Populating pxeboot network...", "Populating oam network...", "Populating multicast network...", "Populating cluster host network...", "Populating cluster pod network...", "Populating cluster service network...", "Network config completed.", "Populating/Updating DNS config...", "DNS config completed.", "Management mac = 00:00:00:00:00:00", "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0", "Console = tty0", "Tboot = false", "Install output = text", "Host values = {'tboot': 'false', 'install_output': 'text', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 'invprovision': 'provisioning', 'administrative': 'locked', 'personality': 'controller'}", "Host controller-0 created.", "Failed to update the initial system config." ] } } 2019-09-13 06:08:48,030 p=294089 u=root | TASK [persist-config : Fail if populate config script throws an exception] ********************************************************************************************************************* 2019-09-13 06:08:48,083 p=294089 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."} 2019-09-13 06:08:48,085 p=294089 u=root | PLAY RECAP ************************************************************************************************************************************************************************************* 2019-09-13 06:08:48,086 p=294089 u=root | localhost : ok=98 changed=27 unreachable=0 failed=1