Ansible timed out issue when running tripleo quickstart installation.
Steps to reproduce:
bash quickstart.sh -R master-tripleo-ci -v --tags all --teardown all --nodes config/nodes/1ctlr_1comp_1supp.yml --config config/general_config/ipa.yml -p quickstart-extras.yml -e undercloud_disk=100 -e undercloud_undercloud_ntp_servers=clock.redhat.com $VIRTHOST
Expected Result:
Successful overcloud deployment.
Actual Result:
ok: [overcloud-controller-0] => (item={'service_name': u'cinder_api', 'step_config': u'include ::tripleo::profile::base::cinder::api', 'puppet_tags': u'cinder_config,cinder_type,file,concat,file_line', 'config_volume': u'cinder_iException occured while running the command
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 30, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 958, in take_action
verbosity=self.app_args.verbose_level)
File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/deployment.py", line 327, in config_download
raise exceptions.DeploymentError("Overcloud configuration failed.")
DeploymentError: Overcloud configuration failed.
Overcloud configuration failed.
nit_tasks', 'config_image': u'192.168.24.1:8787/tripleomaster/centos-binary-cinder-api:current-tripleo', 'volumes': [u'/var/lib/config-data/cinder/etc/cinder/:/etc/cinder/:ro']}) => {
"ansible_facts": { "host_container_puppet_tasks": [
{ "config_image": "192.168.24.1:8787/tripleomaster/centos-binary-keystone:current-tripleo", "config_volume": "keystone_init_tasks", "puppet_tags": "keystone_config,keystone_domain_config,keystone_endpoint,keystone_identity_provider,keystone_paste_ini,keystone_role,keystone_service,keystone_tenant,keystone_user,keystone_user_role,keystone_domain", "service_name": "keystone", "step_config": "include ::tripleo::profile::base::keystone"
},
{ "config_image": "192.168.24.1:8787/tripleomaster/centos-binary-cinder-api:current-tripleo", "config_volume": "cinder_init_tasks", "puppet_tags": "cinder_config,cinder_type,file,concat,file_line", "service_name": "cinder_api", "step_config": "include ::tripleo::profile::base::cinder::api", "volumes": [ "/var/lib/config-data/cinder/etc/cinder/:/etc/cinder/:ro"
]
}
]
},
"changed": false,
"item": { "config_image": "192.168.24.1:8787/tripleomaster/centos-binary-cinder-api:current-tripleo", "config_volume": "cinder_init_tasks", "puppet_tags": "cinder_config,cinder_type,file,concat,file_line", "service_name": "cinder_api", "step_config": "include ::tripleo::profile::base::cinder::api",
"volumes": [ "/var/lib/config-data/cinder/etc/cinder/:/etc/cinder/:ro"
]
}
}
TASK [Write container-puppet-tasks json file for overcloud-controller-2 step 4] ***
Wednesday 10 April 2019 13:24:27 +0000 (0:00:03.057) 0:59:40.395 *******
skipping: [overcloud-controller-2] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-controller-1] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-novacompute-0] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
changed: [overcloud-controller-0] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": true
}
TASK [Run container-puppet tasks (bootstrap tasks) for step 5] *****************
Wednesday 10 April 2019 13:24:30 +0000 (0:00:02.728) 0:59:43.123 *******
skipping: [overcloud-controller-2] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-controller-1] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-novacompute-0] => {
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
Ansible timed out at 3597 seconds.
+ status_code=1
+ openstack stack list
+ grep -q overcloud
+ openstack stack list
+ grep -Eq '(CREATE|UPDATE)_COMPLETE'
+ openstack overcloud status
+ grep -Eq DEPLOY_SUCCESS
+ openstack overcloud failures
+ exit 1
Ansible timed out issue when running tripleo quickstart installation.
Steps to reproduce: nodes/1ctlr_ 1comp_1supp. yml --config config/ general_ config/ ipa.yml -p quickstart- extras. yml -e undercloud_disk=100 -e undercloud_ undercloud_ ntp_servers= clock.redhat. com $VIRTHOST
bash quickstart.sh -R master-tripleo-ci -v --tags all --teardown all --nodes config/
Expected Result:
Successful overcloud deployment.
Actual Result: controller- 0] => (item={ 'service_ name': u'cinder_api', 'step_config': u'include ::tripleo: :profile: :base:: cinder: :api', 'puppet_tags': u'cinder_ config, cinder_ type,file, concat, file_line' , 'config_volume': u'cinder_iException occured while running the command python2. 7/site- packages/ tripleoclient/ command. py", line 30, in run parsed_ args) python2. 7/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) python2. 7/site- packages/ cliff/command. py", line 184, in run action( parsed_ args) or 0 python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 958, in take_action self.app_ args.verbose_ level) python2. 7/site- packages/ tripleoclient/ workflows/ deployment. py", line 327, in config_download DeploymentError ("Overcloud configuration failed.") 24.1:8787/ tripleomaster/ centos- binary- cinder- api:current- tripleo' , 'volumes': [u'/var/ lib/config- data/cinder/ etc/cinder/ :/etc/cinder/ :ro']}) => { facts": {
"host_ container_ puppet_ tasks": [
"config_ image": "192.168. 24.1:8787/ tripleomaster/ centos- binary- keystone: current- tripleo" ,
"config_ volume" : "keystone_ init_tasks" ,
"puppet_ tags": "keystone_ config, keystone_ domain_ config, keystone_ endpoint, keystone_ identity_ provider, keystone_ paste_ini, keystone_ role,keystone_ service, keystone_ tenant, keystone_ user,keystone_ user_role, keystone_ domain" ,
"service_ name": "keystone",
"step_ config" : "include ::tripleo: :profile: :base:: keystone"
"config_ image": "192.168. 24.1:8787/ tripleomaster/ centos- binary- cinder- api:current- tripleo" ,
"config_ volume" : "cinder_ init_tasks" ,
"puppet_ tags": "cinder_ config, cinder_ type,file, concat, file_line" ,
"service_ name": "cinder_api",
"step_ config" : "include ::tripleo: :profile: :base:: cinder: :api",
"volumes" : [
" /var/lib/ config- data/cinder/ etc/cinder/ :/etc/cinder/ :ro"
"config_ image": "192.168. 24.1:8787/ tripleomaster/ centos- binary- cinder- api:current- tripleo" ,
"config_ volume" : "cinder_ init_tasks" ,
"puppet_ tags": "cinder_ config, cinder_ type,file, concat, file_line" ,
"service_ name": "cinder_api",
"step_ config" : "include ::tripleo: :profile: :base:: cinder: :api",
"/ var/lib/ config- data/cinder/ etc/cinder/ :/etc/cinder/ :ro" puppet- tasks json file for overcloud- controller- 2 step 4] *** controller- 2] => { controller- 1] => { novacompute- 0] => { controller- 0] => {
ok: [overcloud-
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
verbosity=
File "/usr/lib/
raise exceptions.
DeploymentError: Overcloud configuration failed.
Overcloud configuration failed.
nit_tasks', 'config_image': u'192.168.
"ansible_
{
},
{
]
}
]
},
"changed": false,
"item": {
"volumes": [
]
}
}
TASK [Write container-
Wednesday 10 April 2019 13:24:27 +0000 (0:00:03.057) 0:59:40.395 *******
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
changed: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": true
}
TASK [Run container-puppet tasks (bootstrap tasks) for step 5] ***************** controller- 2] => { controller- 1] => { novacompute- 0] => {
Wednesday 10 April 2019 13:24:30 +0000 (0:00:02.728) 0:59:43.123 *******
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
skipping: [overcloud-
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
"changed": false
}
Ansible timed out at 3597 seconds. UPDATE) _COMPLETE'
+ status_code=1
+ openstack stack list
+ grep -q overcloud
+ openstack stack list
+ grep -Eq '(CREATE|
+ openstack overcloud status
+ grep -Eq DEPLOY_SUCCESS
+ openstack overcloud failures
+ exit 1