[rdo-dev] Attempt to reproduce Carlos Camacho simplest deployment (controller+compute) . It fails when running overcloud_prep_containers.sh

Boris Derzhavets bderzhavets at hotmail.com
Sat Feb 24 12:52:18 UTC 2018


At the moment  I am able to commit deployment and get back to error :-

2018-02-24 12:13:53Z [overcloud]: CREATE_FAILED  list index out of range


How long takes for commit "Do not use the 3rd argument of yaql groupBy"

I2887011f6baf4867d422579b116b5e143acf5679<https://review.openstack.org/#/q/I2887011f6baf4867d422579b116b5e143acf5679>

to get into current-passed-ci  trunk ?


In meantime

[root at undercloud yum.repos.d]# cat delorean.repo
[delorean]
name=delorean
baseurl=https://trunk.rdoproject.org/centos7-master/17/a5/17a57d99b10f5872520e1a395214f80c9cfd1a65_c30c070f/
gpgcheck=0
enabled=1
priority=20

which points to package tripleo-heat-templates been built on 01/22/18

Same package in https://trunk.rdoproject.org/centos7-master-head/report.html

has date  2018-02-23 23:28:24, which obviously has critical patch.


Thanks

Boris.

________________________________
From: Michele Baldessari <michele at acksyn.org>
Sent: Saturday, February 24, 2018 11:16 AM
To: Boris Derzhavets
Cc: dev at lists.rdoproject.org
Subject: Re: [rdo-dev] Attempt to reproduce Carlos Camacho simplest deployment (controller+compute) . It fails when running overcloud_prep_containers.sh

On Fri, Feb 23, 2018 at 07:52:49AM +0000, Boris Derzhavets wrote:
> In meantime script  overcloud_prep_containers.sh crashes with log log.
>
> This behavior stays the same for about several  days already.
>
> -----------------------------------------------
>
> overcloud_prep_containers.log
>
> -----------------------------------------------
>
> 2018-02-23 07:21:27 | Trying paths: ['/home/stack/.docker/config.json', '/home/stack/.dockercfg']
> 2018-02-23 07:21:27 | No config file found
> 2018-02-23 07:21:27 | http://localhost:None "GET /version HTTP/1.1" 200 299
> 2018-02-23 07:21:27 | Running skopeo inspect docker://docker.io/tripleomaster/centos-binary-gnocchi-api:current-tripleo-rdo
> 2018-02-23 07:21:28 | Extracting
> 2018-02-23 07:21:28 | Extracting
> 2018-02-23 07:21:28 | None: None
> 2018-02-23 07:21:28 | Traceback (most recent call last):
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
> 2018-02-23 07:21:28 |     result = cmd.run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
> 2018-02-23 07:21:28 |     super(Command, self).run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
> 2018-02-23 07:21:28 |     return super(Command, self).run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
> 2018-02-23 07:21:28 |     return_code = self.take_action(parsed_args) or 0
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleoclient/v1/container_image.py", line 66, in take_action
> 2018-02-23 07:21:28 |     uploader.upload()
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 94, in upload
> 2018-02-23 07:21:28 |     uploader.run_tasks()
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 354, in run_tasks
> 2018-02-23 07:21:28 |     for result in p.map(docker_upload, self.upload_tasks):
> 2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
> 2018-02-23 07:21:28 |     return self.map_async(func, iterable, chunksize).get()
> 2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
> 2018-02-23 07:21:28 |     raise self._value
> 2018-02-23 07:21:28 | ReadTimeoutError: None: None
> 2018-02-23 07:21:28 | clean_up UploadImage: None: None
> 2018-02-23 07:21:28 | Traceback (most recent call last):
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
> 2018-02-23 07:21:28 |     ret_val = super(OpenStackShell, self).run(argv)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
> 2018-02-23 07:21:28 |     result = self.run_subcommand(remainder)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
> 2018-02-23 07:21:28 |     ret_value = super(OpenStackShell, self).run_subcommand(argv)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
> 2018-02-23 07:21:28 |     result = cmd.run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
> 2018-02-23 07:21:28 |     super(Command, self).run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
> 2018-02-23 07:21:28 |     return super(Command, self).run(parsed_args)
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
> 2018-02-23 07:21:28 |     return_code = self.take_action(parsed_args) or 0
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleoclient/v1/container_image.py", line 66, in take_action
> 2018-02-23 07:21:28 |     uploader.upload()
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 94, in upload
> 2018-02-23 07:21:28 |     uploader.run_tasks()
> 2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 354, in run_tasks
> 2018-02-23 07:21:28 |     for result in p.map(docker_upload, self.upload_tasks):
> 2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
> 2018-02-23 07:21:28 |     return self.map_async(func, iterable, chunksize).get()
> 2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
> 2018-02-23 07:21:28 |     raise self._value
> 2018-02-23 07:21:28 | ReadTimeoutError: None: None
> 2018-02-23 07:21:28 |
> 2018-02-23 07:21:28 | END return value: 1

FWIW I have observed this one too (although not 100% of time, it is
frequent enough): https://bugs.launchpad.net/tripleo/+bug/1749663
Bug #1749663 “openstack overcloud container image upload fails f...” : Bugs : tripleo<https://bugs.launchpad.net/tripleo/+bug/1749663>
bugs.launchpad.net
Via https://bugs.launchpad.net/tripleo/+bug/1746305 and https://review.openstack.org/#/c/539383/ we made the image upload a bit more resilient. I seem to be still hitting it rather often: Extracting Extracting Extracting Pull complete imagename: docker.io/tripleomaster/centos-binary-neutron-dhcp-agent:current-tripleo-rdo Trying paths: ['/home/stack/.docker/config.json', '/home/stack/.dockercfg'] No config file found None: None Traceback (most recent call last): File "/usr/lib/python2.7/site...


Rerunning the command a few times gets past it.
--
Michele Baldessari            <michele at acksyn.org>
C2A5 9DA3 9961 4FFB E01B  D0BC DDD4 DCCB 7515 5C6D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20180224/aab65bd6/attachment.html>


More information about the dev mailing list