2019-04-11 19:05:39 |
Nagasai Vinaykumar Kapalavai |
description |
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:
bash quickstart.sh -R master-tripleo-ci -v --tags all --teardown all --nodes config/nodes/3ctlr_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
Basically I'm trying for a 3 controller, 1 compute and 1 supplement node
deployment. After asking the question around in the upstream irc channel,
got to know that there isn't much testing done for this nodes type deployment. And unfortunately the log file also didn't produce much info in which further direction that one need to look into.
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 |
|