new promoter fails to push to registry

Bug #1850527 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Ran a rhel8 master promotion (in the new promoter w/ latest master code from ci-config)

Errors:

1) errors:\ndenied: requested access to the resource is denied\nerror parsing HTTP 401 response body: unexpected end of JSON input: \"\""

2) denied: requested access to the resource is denied", "unauthorized: authentication required"

Details:

2019-10-28 18:39:55,883 p=7562 u=centos | TASK [containers-promote : attempt a push to the logged in registry] ****************************
2019-10-28 18:39:57,734 p=7562 u=centos | fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker build -t docker.io/tripleomaster/nop - && docker push docker.io/tripleomaster/nop\n", "delta": "0:00:01.676065", "end": "2019-10-28 18:39:57.706603", "msg": "non-zero return code", "rc": 1, "start": "2019-10-28 18:39:56.030538", "stderr": "errors:\ndenied: requested access to the resource is denied\nerror parsing HTTP 401 response body: unexpected end of JSON input: \"\"", "stderr_lines": ["errors:", "denied: requested access to the resource is denied", "error parsing HTTP 401 response body: unexpected end of JSON input: \"\""], "stdout": "Sending build context to Docker daemon 2.048kB\r\r\nStep 1/3 : FROM scratch\n ---> \nStep 2/3 : CMD touch foo\n ---> Running in 185d15639e28\nRemoving intermediate container 185d15639e28\n ---> 279335f9075b\nStep 3/3 : ENTRYPOINT \"\"\n ---> Running in 1496484253bc\nRemoving intermediate container 1496484253bc\n ---> 971e8790315a\nSuccessfully built 971e8790315a\nSuccessfully tagged tripleomaster/nop:latest\nThe push refers to repository [docker.io/tripleomaster/nop]", "stdout_lines": ["Sending build context to Docker daemon 2.048kB", "", "Step 1/3 : FROM scratch", " ---> ", "Step 2/3 : CMD touch foo", " ---> Running in 185d15639e28", "Removing intermediate container 185d15639e28", " ---> 279335f9075b", "Step 3/3 : ENTRYPOINT \"\"", " ---> Running in 1496484253bc", "Removing intermediate container 1496484253bc", " ---> 971e8790315a", "Successfully built 971e8790315a", "Successfully tagged tripleomaster/nop:latest", "The push refers to repository [docker.io/tripleomaster/nop]"]}

2019-10-28 18:39:57,758 p=7562 u=centos | TASK [containers-promote : debug] ***************************************************************
2019-10-28 18:39:57,773 p=7562 u=centos | ok: [localhost] => {
    "msg": "The workaround to test login failed, but we've seen it failing before and other push operation passing.\nWe'll leave this rescue branch until the workaround is fixed, so we don't fail but we don't forget\n"
}

[...]

2019-10-28 19:46:20,375 p=7562 u=centos | TASK [containers-promote : Push container manifests to docker.io] *******************************
2019-10-28 19:46:21,483 p=7562 u=centos | failed: [localhost] (item=aodh-api) => {"ansible_loop_var": "item", "changed": true, "cmd": "docker manifest push -p docker.io/tripleomaster/rhel-binary-aodh-api:a158b862eaf99f0f3018496adf076b53
8ae5a64d_00146212_manifest\n", "delta": "0:00:00.841711", "end": "2019-10-28 19:46:21.445193", "item": "aodh-api", "msg": "non-zero return code", "rc": 1, "start": "2019-10-28 19:46:20.603482", "stderr": "failed to put manifest docker.io/
tripleomaster/rhel-binary-aodh-api:a158b862eaf99f0f3018496adf076b538ae5a64d_00146212_manifest: errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required", "stderr_lines": ["failed to put manifest d
ocker.io/tripleomaster/rhel-binary-aodh-api:a158b862eaf99f0f3018496adf076b538ae5a64d_00146212_manifest: errors:", "denied: requested access to the resource is denied", "unauthorized: authentication required"], "stdout": "", "stdout_lines"
: []}

Tags: ci
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
Revision history for this message
Marios Andreou (marios-b) wrote :

moving this to fix released since panda pushed rhel8 train and queens containers with new promoter code

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
Marios Andreou (marios-b) wrote :

please move back if you disgree

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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