mirror timeouts in upstream causing undercloud and standalone failures

Bug #1889122 reported by wes hayutin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Ronelle Landy
Revision history for this message
wes hayutin (weshayutin) wrote :

total hits: 1149
build_branch
  57% stable/train
  33% master
  8% stable/ussuri
  1% stable/stein
build_change
  30% 741332
  8% 743213
  5% 742287
  4% 741228
  4% 742483
build_hostids
  26% 8fff2b99b52d9369c460de43685c4f39059dc99f7b3eef95ec34e8a5
  7% b4b06d164c2a9f69eee6b6bde4382dfed5682dd44da846c0134dfbc5 47da96835961f850d0ef05089fb470e390e2f029601225ae2fc7a16c
  5% d1d66ea3cd7d86ae99e4ee6b4ccc30ff7e4e1fc3e1bb15ed06a375f4 3b588bf9b46984dcbcac2ef8d1e12fd7812a3c543a913e3d951faef8
  4% 5580c89f426017543dbb351de01fb9103575519b0474fae25a22bd73
  3% 3302d80fd0f10672210f806712e5ca99344a304e7b8dfeadc8319d20
build_name
  26% tripleo-ci-centos-7-standalone-upgrade-train
  9% tripleo-ci-centos-7-scenario007-multinode-oooq-container
  6% tripleo-ci-centos-8-containers-undercloud-minion
  6% tripleo-ci-centos-7-standalone
  5% tripleo-ci-centos-8-containerized-undercloud-upgrades
build_node
  52% centos-7
  47% centos-8
build_queue
  84% check
  15% gate
build_status
  100% FAILURE
build_zuul_url
  100% N/A
filename
  100% logs/undercloud/var/log/extra/logstash.txt
log_url
  26% https://dd4052db8565b5d0b0a5-9615cbb5198f5afd96e5019ab78d9def.ssl.cf2.rackcdn.com/741332/3/check/tripleo-ci-centos-7-standalone-upgrade-train/851ea31/logs/undercloud/var/log/extra/logstash.txt
  7% https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_102/743213/1/check/tripleo-ci-centos-7-scenario007-multinode-oooq-container/1028f52/logs/undercloud/var/log/extra/logstash.txt
  5% https://d2c0df89678523ab2148-bae68f4f9acafcdb88c180c1d5a48439.ssl.cf1.rackcdn.com/742287/1/gate/tripleo-ci-centos-8-containers-undercloud-minion/bbba903/logs/undercloud/var/log/extra/logstash.txt
  4% https://69ea250b4e216e013859-23d868cf2a4e074c6e4235ff4566c9f8.ssl.cf1.rackcdn.com/742483/3/gate/tripleo-ci-centos-7-standalone/78a2080/logs/undercloud/var/log/extra/logstash.txt
  3% https://b97e2975f6c80d5d3d55-1c226250a98cd4d99fb41889c8344fe0.ssl.cf1.rackcdn.com/742866/3/check/tripleo-ci-centos-8-containerized-undercloud-upgrades/234e34b/logs/undercloud/var/log/extra/logstash.txt
node_provider
  30% vexxhost-ca-ymq-1
  25% ovh-bhs1
  15% rax-dfw
  13% rax-iad
  9% inap-mtl01
port
  26% 36474
  8% 34044
  5% 51836
  4% 43420
  4% 51092
project
  50% openstack/tripleo-common
  24% openstack/tripleo-heat-templates
  9% openstack/tripleo-ansible
  8% openstack/python-tripleoclient
  4% openstack/tripleo-ci
tags
  100% logstash.txt console postci
voting
  54% 0
  45% 1
zuul_attempts
  96% 1
  3% 2
zuul_executor
  31% ze04.openstack.org
  15% ze03.openstack.org
  13% ze06.openstack.org
  7% ze09.openstack.org
  7% ze12.openstack.org

Revision history for this message
wes hayutin (weshayutin) wrote :

[14:33:49] <weshay|ruck> sean-k-mooney, sounds like that may impact mirrors too?
[14:33:50] <sean-k-mooney> the next time a nova patch merges teh promote jobs will run so its not really an issue
[14:34:06] <clarkb> sean-k-mooney: weshay|ruck I think they are separate issues
[14:34:11] <weshay|ruck> k
[14:34:31] <clarkb> sean-k-mooney: your issue was related to afs mounts on the zuul executors not being done before containers started. We've fixed that by restarting the containers and added systemd boot ordering ot have docker start after afs
[14:34:51] <sean-k-mooney> clarkb: cool
[14:35:14] <clarkb> weshay|ruck: your issue is going through the mirrors which run no containers so shouldn't have the same issue
[14:35:28] <sean-k-mooney> i assumed it was a trasiant issue i just got a zull email and noticed it failed.
[14:35:51] <clarkb> weshay|ruck: your issue is dockerhub rate limiting us
[14:35:58] <weshay|ruck> OH NO
[14:36:02] <clarkb> weshay|ruck: last week I think that came up because rdo was doing a million releases or something
[14:36:02] <weshay|ruck> the day has come??
[14:36:18] <weshay|ruck> crap
[14:36:19] <clarkb> and ya'll were going to address that by not trying to consume every single one of them or something
[14:36:39] <clarkb> but the too many requests is coming from docker hub
[14:36:45] <weshay|ruck> ok.. well tbh I'm suprised it took so long
[14:36:49] <weshay|ruck> k
[14:36:54] <clarkb> and generally we don't see it if we're able to use cached layers because we rarely hit docker hub

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.opendev.org/743432

Changed in tripleo:
assignee: nobody → wes hayutin (weshayutin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)

Fix proposed to branch: master
Review: https://review.opendev.org/743433

Changed in tripleo:
assignee: wes hayutin (weshayutin) → chandan kumar (chkumar246)
Changed in tripleo:
assignee: chandan kumar (chkumar246) → Sandeep Yadav (sandeepyadav93)
assignee: Sandeep Yadav (sandeepyadav93) → chandan kumar (chkumar246)
Changed in tripleo:
assignee: chandan kumar (chkumar246) → Sandeep Yadav (sandeepyadav93)
Changed in tripleo:
milestone: victoria-2 → victoria-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/743629

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.opendev.org/743704

Changed in tripleo:
assignee: Sandeep Yadav (sandeepyadav93) → chandan kumar (chkumar246)
Revision history for this message
wes hayutin (weshayutin) wrote :
Changed in tripleo:
assignee: chandan kumar (chkumar246) → Alex Schultz (alex-schultz)
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → chandan kumar (chkumar246)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.opendev.org/743629
Reason: meh failed in gate the kolla build

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/743629
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d3af31414747f28508e236b1fea8db7601fa2e7b
Submitter: Zuul
Branch: master

commit d3af31414747f28508e236b1fea8db7601fa2e7b
Author: Alex Schultz <email address hidden>
Date: Tue Jul 28 14:42:59 2020 -0600

    Handle redirects for blobs better

    This patch adds a new function that checks if a response was a redirect
    for an a request and removes the Authorization header that we usually
    send if it is not one of our trusted hosts. This prevents authorization
    keys from going to insecure places. This is similar logic that exists in
    the moby registry code[0].

    Additionally improves the cachability of blobs from docker.io because
    they are redirects to files that exist on a CDN that doesn't actually
    require authentication. The upstream CI registry caching system doesn't
    cache any requests with the Authorization header per the apache cache
    documentation[1].

    [0] https://github.com/moby/moby/blob/a072d726c753c3b02232e6a7b08d7e7ce79fffa5/registry/registry.go#L140-L174
    [1] https://httpd.apache.org/docs/2.4/caching.html

    Change-Id: I415eec5d307ac73456aa556db9d61ceac1eaa565
    Partial-Bug: #1889122

wes hayutin (weshayutin)
Changed in tripleo:
status: In Progress → Fix Released
wes hayutin (weshayutin)
Changed in tripleo:
status: Fix Released → In Progress
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/744466

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/744467

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.opendev.org/743433
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=bde0d0084ce37a4e66f74e1c2164eaea06cb3b51
Submitter: Zuul
Branch: master

commit bde0d0084ce37a4e66f74e1c2164eaea06cb3b51
Author: Wes Hayutin <email address hidden>
Date: Mon Jul 27 16:38:45 2020 -0600

    Add native variable to locally build containers

    atm there is an option to turn on local container
    builds for standalone that is defined in zuul only.
    ATM we are considering turning this on for all standalone
    master jobs to reduce the load on docker.io

    This change updates the release vars to to switch it
    on for master. By default in standalone role master
    and ussuri will build locally.

    Depends-On: https://review.opendev.org/#/c/743691/

    Partial-Bug: #1889122
    Change-Id: I32793b94525ece1e64f7924f3f29a7dc2655a588

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/744466
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=aa4825cb53fc4d0b0740f4b4834cf702fcd19f66
Submitter: Zuul
Branch: stable/ussuri

commit aa4825cb53fc4d0b0740f4b4834cf702fcd19f66
Author: Alex Schultz <email address hidden>
Date: Tue Jul 28 14:42:59 2020 -0600

    Handle redirects for blobs better

    This patch adds a new function that checks if a response was a redirect
    for an a request and removes the Authorization header that we usually
    send if it is not one of our trusted hosts. This prevents authorization
    keys from going to insecure places. This is similar logic that exists in
    the moby registry code[0].

    Additionally improves the cachability of blobs from docker.io because
    they are redirects to files that exist on a CDN that doesn't actually
    require authentication. The upstream CI registry caching system doesn't
    cache any requests with the Authorization header per the apache cache
    documentation[1].

    [0] https://github.com/moby/moby/blob/a072d726c753c3b02232e6a7b08d7e7ce79fffa5/registry/registry.go#L140-L174
    [1] https://httpd.apache.org/docs/2.4/caching.html

    Change-Id: I415eec5d307ac73456aa556db9d61ceac1eaa565
    Partial-Bug: #1889122
    (cherry picked from commit d3af31414747f28508e236b1fea8db7601fa2e7b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/744467
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=4dd1bd199f45cbc905924f2936733678a07d4255
Submitter: Zuul
Branch: stable/train

commit 4dd1bd199f45cbc905924f2936733678a07d4255
Author: Alex Schultz <email address hidden>
Date: Tue Jul 28 14:42:59 2020 -0600

    Handle redirects for blobs better

    This patch adds a new function that checks if a response was a redirect
    for an a request and removes the Authorization header that we usually
    send if it is not one of our trusted hosts. This prevents authorization
    keys from going to insecure places. This is similar logic that exists in
    the moby registry code[0].

    Additionally improves the cachability of blobs from docker.io because
    they are redirects to files that exist on a CDN that doesn't actually
    require authentication. The upstream CI registry caching system doesn't
    cache any requests with the Authorization header per the apache cache
    documentation[1].

    [0] https://github.com/moby/moby/blob/a072d726c753c3b02232e6a7b08d7e7ce79fffa5/registry/registry.go#L140-L174
    [1] https://httpd.apache.org/docs/2.4/caching.html

    Change-Id: I415eec5d307ac73456aa556db9d61ceac1eaa565
    Partial-Bug: #1889122
    (cherry picked from commit d3af31414747f28508e236b1fea8db7601fa2e7b)

tags: added: in-stable-train
Revision history for this message
Marios Andreou (marios-b) wrote :
Changed in tripleo:
status: Fix Released → Triaged
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

https://review.opendev.org/743704 is needed as well I guess

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Hm, the given logs show that "Error detected in auth headers: error invalid_token" happens too often thus ends up rate limited. This is another issue caused by https://review.opendev.org/#/c/743629/

That needs to be also improved, to produce less retries.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.opendev.org/744913

Changed in tripleo:
assignee: chandan kumar (chkumar246) → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/744918

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/744952

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/744953

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/744954

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/train
Review: https://review.opendev.org/744955

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/744913
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=5602dfd986939d4d2d19a124603c86504eb32b99
Submitter: Zuul
Branch: master

commit 5602dfd986939d4d2d19a124603c86504eb32b99
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:27:53 2020 -0600

    Reduce workers for label lookups

    Using 16 causes excessive auth requests and gets us rate limited
    upstream. Let's make this dynamic so that the upstream VMs will use less
    workers.

    Partial-Bug: #1889122
    Change-Id: Ib6fed59337f3dac07264052aaf2973ec5a69504f

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/744918
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=014d985f0836340b03d3c2cdeaae8717cfd1ea6b
Submitter: Zuul
Branch: master

commit 014d985f0836340b03d3c2cdeaae8717cfd1ea6b
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:42:17 2020 -0600

    Stop doing tag_from_label lookup with tag

    When using specifying ContainerImagePrepare if a tag is explicitly
    provided in a set, the tag_from_label functionality will not be run as
    we use the defined tag for the containers. Previously we would still
    attempt tag lookups even if we wanted a specific tag.

    This would also cause failures during the deployment if using a
    namespace that didn't have the defined tag_from_label format but we
    defined a specific tag we wanted to use. e.g. using a tag with a md5 vs
    a tag_from_label with numbers in it.

    Change-Id: I4966641aed1a21be60d915ea58dda78b80fe0e1f
    Partial-Bug: #1889122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/744954
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=933b52b1bd5178dd9fa1229b4b0175a2da911812
Submitter: Zuul
Branch: stable/train

commit 933b52b1bd5178dd9fa1229b4b0175a2da911812
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:27:53 2020 -0600

    Reduce workers for label lookups

    Using 16 causes excessive auth requests and gets us rate limited
    upstream. Let's make this dynamic so that the upstream VMs will use less
    workers.

    Partial-Bug: #1889122
    Change-Id: Ib6fed59337f3dac07264052aaf2973ec5a69504f
    (cherry picked from commit 5602dfd986939d4d2d19a124603c86504eb32b99)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/744952
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=84fc9430e261b41237fc92e58fc41aaea033ce8f
Submitter: Zuul
Branch: stable/ussuri

commit 84fc9430e261b41237fc92e58fc41aaea033ce8f
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:27:53 2020 -0600

    Reduce workers for label lookups

    Using 16 causes excessive auth requests and gets us rate limited
    upstream. Let's make this dynamic so that the upstream VMs will use less
    workers.

    Partial-Bug: #1889122
    Change-Id: Ib6fed59337f3dac07264052aaf2973ec5a69504f
    (cherry picked from commit 5602dfd986939d4d2d19a124603c86504eb32b99)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/744953
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d3c11cd581dfcd88b86e1a1d17c0c9826fc5676b
Submitter: Zuul
Branch: stable/ussuri

commit d3c11cd581dfcd88b86e1a1d17c0c9826fc5676b
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:42:17 2020 -0600

    Stop doing tag_from_label lookup with tag

    When using specifying ContainerImagePrepare if a tag is explicitly
    provided in a set, the tag_from_label functionality will not be run as
    we use the defined tag for the containers. Previously we would still
    attempt tag lookups even if we wanted a specific tag.

    This would also cause failures during the deployment if using a
    namespace that didn't have the defined tag_from_label format but we
    defined a specific tag we wanted to use. e.g. using a tag with a md5 vs
    a tag_from_label with numbers in it.

    Change-Id: I4966641aed1a21be60d915ea58dda78b80fe0e1f
    Partial-Bug: #1889122
    (cherry picked from commit 014d985f0836340b03d3c2cdeaae8717cfd1ea6b)

Revision history for this message
Marios Andreou (marios-b) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/744955
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=fff6f888a07316c4b2cd612098588a6ebd58a922
Submitter: Zuul
Branch: stable/train

commit fff6f888a07316c4b2cd612098588a6ebd58a922
Author: Alex Schultz <email address hidden>
Date: Wed Aug 5 08:42:17 2020 -0600

    Stop doing tag_from_label lookup with tag

    When using specifying ContainerImagePrepare if a tag is explicitly
    provided in a set, the tag_from_label functionality will not be run as
    we use the defined tag for the containers. Previously we would still
    attempt tag lookups even if we wanted a specific tag.

    This would also cause failures during the deployment if using a
    namespace that didn't have the defined tag_from_label format but we
    defined a specific tag we wanted to use. e.g. using a tag with a md5 vs
    a tag_from_label with numbers in it.

    Change-Id: I4966641aed1a21be60d915ea58dda78b80fe0e1f
    Partial-Bug: #1889122
    (cherry picked from commit 014d985f0836340b03d3c2cdeaae8717cfd1ea6b)

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

This time (see the comment #31) that's not related to _inspect'ing tags but _copy_registry_to_registry:

"ERROR:root:Image prepare failed: 429 Client Error: Too Many Requests for url: http://mirror.ord.rax.opendev.org:8082/v2/tripleotraincentos8/centos-binary-nova-compute-ironic/bl
obs/sha256:0dfe9dc8d91b110ebb357a0f153ab2d826024c34910f10c52fdf1169bd98b55f",
"concurrent.futures.process._RemoteTraceback: ",
"\"\"\"",
"Traceback (most recent call last):",
" File \"/usr/lib64/python3.6/concurrent/futures/process.py\", line 175, in _process_worker",
" r = call_item.fn(*call_item.args, **call_item.kwargs)",
" File \"/usr/lib64/python3.6/concurrent/futures/process.py\", line 153, in _process_chunk",
" return [fn(*args) for args in chunk]",
" File \"/usr/lib64/python3.6/concurrent/futures/process.py\", line 153, in <listcomp>",
" return [fn(*args) for args in chunk]",
" File \"/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py\", line 2559, in upload_task",
" return uploader.upload_image(task)",
" File \"/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py\", line 1545, in upload_image",
" multi_arch=t.multi_arch",
" File \"/usr/lib/python3.6/site-packages/tenacity/__init__.py\", line 292, in wrapped_f",
" return self.call(f, *args, **kw)",
" File \"/usr/lib/python3.6/site-packages/tenacity/__init__.py\", line 358, in call",
" do = self.iter(retry_state=retry_state)",
" File \"/usr/lib/python3.6/site-packages/tenacity/__init__.py\", line 331, in iter",
" raise retry_exc.reraise()",
" File \"/usr/lib/python3.6/site-packages/tenacity/__init__.py\", line 167, in reraise",
" raise self.last_attempt.result()",
" File \"/usr/lib64/python3.6/concurrent/futures/_base.py\", line 425, in result",
" return self.__get_result()",
" File \"/usr/lib64/python3.6/concurrent/futures/_base.py\", line 384, in __get_result",
" raise self._exception",
" File \"/usr/lib/python3.6/site-packages/tenacity/__init__.py\", line 361, in call",
" result = fn(*args, **kwargs)",
" File \"/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py\", line 1920, in _copy_registry_to_registry",

So the means that https://review.opendev.org/744955 will not help here

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/745170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/745170
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d4f6eb64d4a54cfa90d4c1572ef54495f151fea5
Submitter: Zuul
Branch: master

commit d4f6eb64d4a54cfa90d4c1572ef54495f151fea5
Author: Alex Schultz <email address hidden>
Date: Thu Aug 6 09:21:59 2020 -0600

    Add exponential backoff to ratelimited requests

    If we're ratelimited on a request, we should retry the request but back
    off significantly. Previously we're not really handling 429 any
    different than other requests which may lead to the requests being
    retried too quickly.

    Change-Id: I3832332abdfd7daaf373dc0924fec268f159d774
    Related-Bug: #1889372
    Related-bug: #1889122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/ussuri)

Related fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/745322

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/745323

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Bogdan Dobrelya (bogdando) (<email address hidden>) on branch: master
Review: https://review.opendev.org/743704

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/745322
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=be81e6ee690a8a5f8bc15309d333ea8266f43af2
Submitter: Zuul
Branch: stable/ussuri

commit be81e6ee690a8a5f8bc15309d333ea8266f43af2
Author: Alex Schultz <email address hidden>
Date: Thu Aug 6 09:21:59 2020 -0600

    Add exponential backoff to ratelimited requests

    If we're ratelimited on a request, we should retry the request but back
    off significantly. Previously we're not really handling 429 any
    different than other requests which may lead to the requests being
    retried too quickly.

    Change-Id: I3832332abdfd7daaf373dc0924fec268f159d774
    Related-Bug: #1889372
    Related-bug: #1889122
    (cherry picked from commit d4f6eb64d4a54cfa90d4c1572ef54495f151fea5)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/745323
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8b379fb9f0528a1b7b034d1a3f5e1fcfe64201ef
Submitter: Zuul
Branch: stable/train

commit 8b379fb9f0528a1b7b034d1a3f5e1fcfe64201ef
Author: Alex Schultz <email address hidden>
Date: Thu Aug 6 09:21:59 2020 -0600

    Add exponential backoff to ratelimited requests

    If we're ratelimited on a request, we should retry the request but back
    off significantly. Previously we're not really handling 429 any
    different than other requests which may lead to the requests being
    retried too quickly.

    Change-Id: I3832332abdfd7daaf373dc0924fec268f159d774
    Related-Bug: #1889372
    Related-bug: #1889122
    (cherry picked from commit d4f6eb64d4a54cfa90d4c1572ef54495f151fea5)

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in tripleo:
status: Fix Released → Triaged
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
Marios Andreou (marios-b) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → wes hayutin (weshayutin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/746990

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/746993

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-role-collect-logs (master)

Fix proposed to branch: master
Review: https://review.opendev.org/747416

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/746990
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=f4d312f18633c6142964075f74ec7afe582a5c3e
Submitter: Zuul
Branch: master

commit f4d312f18633c6142964075f74ec7afe582a5c3e
Author: Alex Schultz <email address hidden>
Date: Wed Aug 19 10:30:11 2020 -0600

    Add modify_only_with_source

    Currently the modify_only_with_labels has to query the container
    registry to see what containers we should modify. We can use the source
    in from our service to container mapping to limit which containers we
    want to update. In the upstream CI, we only want to modify the kolla or
    tripleo containers as we want to prevent ceph and other related
    containers from being updated.

    Change-Id: I4bff2b96f7b13bde808f929c3567dcf167f1eacd
    Related-Bug: #1889122

Changed in tripleo:
assignee: wes hayutin (weshayutin) → Ronelle Landy (rlandy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-role-collect-logs (master)

Reviewed: https://review.opendev.org/747416
Committed: https://git.openstack.org/cgit/openstack/ansible-role-collect-logs/commit/?id=b411f774b569a76ac54747b5fbe4d0d35f00a061
Submitter: Zuul
Branch: master

commit b411f774b569a76ac54747b5fbe4d0d35f00a061
Author: Wes Hayutin <email address hidden>
Date: Fri Aug 21 07:40:49 2020 -0600

    add sova pattern for new tc exception, ratelimit

    capture errors like..
    tripleo_common.image.exception.ImageRateLimitedException:
    Rate Limited while requesting http://mirror.iad.rax.open
    dev.org:8082/v2/tripleotraincentos8/centos-binary-barbi
    can-api/blobs/sha256:debac393b2f14

    Partial-Bug: #1889122
    Change-Id: Ie444f4e12129a16934afa58d6ae65d16bdfedfae

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/ussuri)

Related fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/747720

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/747721

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/747720
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=0f67579c4db03731907e28d9d7a28e662ef6d9f7
Submitter: Zuul
Branch: stable/ussuri

commit 0f67579c4db03731907e28d9d7a28e662ef6d9f7
Author: Alex Schultz <email address hidden>
Date: Wed Aug 19 10:30:11 2020 -0600

    Add modify_only_with_source

    Currently the modify_only_with_labels has to query the container
    registry to see what containers we should modify. We can use the source
    in from our service to container mapping to limit which containers we
    want to update. In the upstream CI, we only want to modify the kolla or
    tripleo containers as we want to prevent ceph and other related
    containers from being updated.

    Change-Id: I4bff2b96f7b13bde808f929c3567dcf167f1eacd
    Related-Bug: #1889122
    (cherry picked from commit f4d312f18633c6142964075f74ec7afe582a5c3e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/747721
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=78ed3b003901fa7a2df6aba1cc519295a7492e8c
Submitter: Zuul
Branch: stable/train

commit 78ed3b003901fa7a2df6aba1cc519295a7492e8c
Author: Alex Schultz <email address hidden>
Date: Wed Aug 19 10:30:11 2020 -0600

    Add modify_only_with_source

    Currently the modify_only_with_labels has to query the container
    registry to see what containers we should modify. We can use the source
    in from our service to container mapping to limit which containers we
    want to update. In the upstream CI, we only want to modify the kolla or
    tripleo containers as we want to prevent ceph and other related
    containers from being updated.

    Change-Id: I4bff2b96f7b13bde808f929c3567dcf167f1eacd
    Related-Bug: #1889122
    (cherry picked from commit f4d312f18633c6142964075f74ec7afe582a5c3e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.opendev.org/746993

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/746993
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=161099faa3be7130b7843dd72674742e889ca0d7
Submitter: Zuul
Branch: master

commit 161099faa3be7130b7843dd72674742e889ca0d7
Author: Alex Schultz <email address hidden>
Date: Wed Aug 19 10:36:47 2020 -0600

    Use new modify_only_with_source

    The modify_only_with_labels has to query the container registry in order
    to do updates. In the upstream CI we want to limit the containers that
    are to be updated to only if the image_source is 'kolla' or 'tripleo'.

    Change-Id: I9ac9ef61097443a00b39710f122bf147d4012e4c
    Depends-On: https://review.opendev.org/#/c/746990
    Depends-On: https://review.opendev.org/#/c/747721
    Depends-On: https://review.opendev.org/#/c/747720
    Related-Bug: #1889122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by wes hayutin (<email address hidden>) on branch: master
Review: https://review.opendev.org/743432
Reason: https://review.opendev.org/754202

Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
Revision history for this message
Ronelle Landy (rlandy) wrote :

closing this out

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.