Can't docker push when using newer docker daemon?

Description

With this patch
<https://github.com/oVirt/ovirt-openshift-extensions/pull/136>I'm building
multi-stage images in my builds, and I'm trying to push them to quay.
The docker push was working without any problems before the daemon change.
The difference is that now the docker client is inside a container, which
is inside mock, which has
the docker socket of a docker daemon version 18.

Docker login succeeds according to the job logs

The push when uploading layers:

[2019-05-19T06:12:03.008Z] + make push-containers PUSH_LATEST=0
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1059>[2019-05-19T06:12:03.008Z]
Login Succeeded
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1060>[2019-05-19T06:12:03.008Z]
docker push quay.io/rgolangh/ovirt-flexvolume-driver:0.4.0-11.gd0ead0b
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1061>[2019-05-19T06:12:03.008Z]
The push refers to repository
[quay.io/rgolangh/ovirt-flexvolume-driver]
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1062>[2019-05-19T06:12:03.008Z]
bf535c6e5461: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1063>[2019-05-19T06:12:03.008Z]
e6318b33302c: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1064>[2019-05-19T06:12:03.008Z]
a3890b39a2b2: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1065>[2019-05-19T06:12:03.008Z]
e78e5b504103: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1066>[2019-05-19T06:12:03.008Z]
f7fa4accb0ea: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1067>[2019-05-19T06:12:03.008Z]
35265ad107f5: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1068>[2019-05-19T06:12:03.008Z]
4765a2d3f85d: Preparing
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1069>[2019-05-19T06:12:03.008Z]
35265ad107f5: Waiting
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1070>[2019-05-19T06:12:03.008Z]
4765a2d3f85d: Waiting
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1071>[2019-05-19T06:12:03.008Z]
unauthorized: access to the requested resource is not authorized
<https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-openshift-extensions_standard-check-pr/detail/oVirt_ovirt-openshift-extensions_standard-check-pr/175/pipeline#step-156-log-1072>[2019-05-19T06:12:03.008Z]
make: *** [container-push-ovirt-flexvolume-driver] Error 1

Can I get the daemon logs? anyone see it? any advice?

Status

Assignee

Ehud Yonasi

Reporter

Roy Golan

Blocked By

None

Priority

Medium
Configure