[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, Nov 14, 2019 at 10:45 PM Edward Haas wrote: > > > > On Thu, Nov 14, 2019 at 10:37 PM Nir Soffer wrote: >> >> On Thu, Nov 14, 2019 at 10:32 PM Edward Haas wrote: >> > >> > >> > >> > On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer wrote: >> >> >> >> On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: >> >> > >> >> > Hi All, >> >> > >> >> > I'm trying to push an image to dockerhub using podman. >> >> > Unfortunately, it does not work, giving me the following error: >> >> > >> >> > ``` >> >> > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 >> >> > Getting image source signatures >> >> > Error: Error copying image to the remote destination: Error trying to >> >> > reuse blob >> >> > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 >> >> > at destination: Error checking whether a blob >> >> > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 >> >> > exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: >> >> > denied: requested access to the resource is denied >> >> > error parsing HTTP 401 response body: unexpected end of JSON input: "" >> >> > ``` >> >> > (podman login docker.io works fine) >> >> > Has anyone encounter something like this? >> >> >> >> Maybe the issue is that we have to create the repository first. >> >> >> >> I created it here: >> >> https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 >> >> >> >> Try to push again. >> >> >> >> I think you should be able to create new repositories. >> >> >> >> Nir >> >> >> > Now I get something else: >> > >> > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 >> > Getting image source signatures >> > Copying blob 55ac6f41bab4 done >> > Copying blob 140282e4f2a3 done >> > Copying blob 9f892f5760ee done >> > Copying blob 602715c702c3 done >> > Copying blob 9e607bb861a7 done >> > Error: Error copying image to the remote destination: Error writing blob: >> > Error initiating layer upload to >> > /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in >> > registry-1.docker.io: errors: >> > denied: requested access to the resource is denied >> > unauthorized: authentication required >> > >> >> I found that the new repo did not have any permissions. Added >> read/write permissions here: >> https://hub.docker.com/orgs/ovirtorg/teams/vdsm/permissions >> >> Can you try again? >> > Thanks, it worked! Huray. We need to document the process of adding new image, maybe in docker/README.md ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/4U3SOCY2BI3NFZFIAL2JKJG74FBZOZKE/
[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, Nov 14, 2019 at 10:32 PM Edward Haas wrote: > > > > On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer wrote: >> >> On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: >> > >> > Hi All, >> > >> > I'm trying to push an image to dockerhub using podman. >> > Unfortunately, it does not work, giving me the following error: >> > >> > ``` >> > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 >> > Getting image source signatures >> > Error: Error copying image to the remote destination: Error trying to >> > reuse blob >> > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 at >> > destination: Error checking whether a blob >> > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 >> > exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: >> > denied: requested access to the resource is denied >> > error parsing HTTP 401 response body: unexpected end of JSON input: "" >> > ``` >> > (podman login docker.io works fine) >> > Has anyone encounter something like this? >> >> Maybe the issue is that we have to create the repository first. >> >> I created it here: >> https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 >> >> Try to push again. >> >> I think you should be able to create new repositories. >> >> Nir >> > Now I get something else: > > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 > Getting image source signatures > Copying blob 55ac6f41bab4 done > Copying blob 140282e4f2a3 done > Copying blob 9f892f5760ee done > Copying blob 602715c702c3 done > Copying blob 9e607bb861a7 done > Error: Error copying image to the remote destination: Error writing blob: > Error initiating layer upload to > /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in > registry-1.docker.io: errors: > denied: requested access to the resource is denied > unauthorized: authentication required > I found that the new repo did not have any permissions. Added read/write permissions here: https://hub.docker.com/orgs/ovirtorg/teams/vdsm/permissions Can you try again? ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/XII43J54ZZBLC25O5EGQH4RSYFGP4JRN/
[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, Nov 14, 2019 at 10:34 PM Petr Horacek wrote: > > > On Thu, 14 Nov 2019, 21:33 Edward Haas, wrote: > >> >> >> On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer wrote: >> >>> On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: >>> > >>> > Hi All, >>> > >>> > I'm trying to push an image to dockerhub using podman. >>> > Unfortunately, it does not work, giving me the following error: >>> > >>> > ``` >>> > $ sudo podman push 2dfe3d835f08 >>> ovirtorg/vdsm-test-func-network-centos-8 >>> > Getting image source signatures >>> > Error: Error copying image to the remote destination: Error trying to >>> reuse blob >>> sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 at >>> destination: Error checking whether a blob >>> sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 >>> exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: >>> > denied: requested access to the resource is denied >>> > error parsing HTTP 401 response body: unexpected end of JSON input: "" >>> > ``` >>> > (podman login docker.io works fine) >>> > Has anyone encounter something like this? >>> >>> Maybe the issue is that we have to create the repository first. >>> >>> I created it here: >>> >>> https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 >>> >>> Try to push again. >>> >>> I think you should be able to create new repositories. >>> >> No, I cannot. >>> Nir >>> >>> Now I get something else: >> >> $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 >> Getting image source signatures >> Copying blob 55ac6f41bab4 done >> Copying blob 140282e4f2a3 done >> Copying blob 9f892f5760ee done >> Copying blob 602715c702c3 done >> Copying blob 9e607bb861a7 done >> Error: Error copying image to the remote destination: Error writing blob: >> Error initiating layer upload to >> /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in >> registry-1.docker.io: errors: >> denied: requested access to the resource is denied >> unauthorized: authentication required >> > docker login > I am logged in, I just do not have permission to ovirtorg. I was able to push ot docker.io/ovirt/vdsm-network-functest-centos-8. >> ___ >> Devel mailing list -- devel@ovirt.org >> To unsubscribe send an email to devel-le...@ovirt.org >> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ >> oVirt Code of Conduct: >> https://www.ovirt.org/community/about/community-guidelines/ >> List Archives: >> https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AU2NG5NWCTLAJQFUVMO5IBDFMIGBK7XS/ >> > ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OGWCHQEIQ5WNYZTZPJ52ELOOOYKR67S2/
[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, 14 Nov 2019, 21:33 Edward Haas, wrote: > > > On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer wrote: > >> On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: >> > >> > Hi All, >> > >> > I'm trying to push an image to dockerhub using podman. >> > Unfortunately, it does not work, giving me the following error: >> > >> > ``` >> > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 >> > Getting image source signatures >> > Error: Error copying image to the remote destination: Error trying to >> reuse blob >> sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 at >> destination: Error checking whether a blob >> sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 >> exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: >> > denied: requested access to the resource is denied >> > error parsing HTTP 401 response body: unexpected end of JSON input: "" >> > ``` >> > (podman login docker.io works fine) >> > Has anyone encounter something like this? >> >> Maybe the issue is that we have to create the repository first. >> >> I created it here: >> >> https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 >> >> Try to push again. >> >> I think you should be able to create new repositories. >> >> Nir >> >> Now I get something else: > > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 > Getting image source signatures > Copying blob 55ac6f41bab4 done > Copying blob 140282e4f2a3 done > Copying blob 9f892f5760ee done > Copying blob 602715c702c3 done > Copying blob 9e607bb861a7 done > Error: Error copying image to the remote destination: Error writing blob: > Error initiating layer upload to > /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in > registry-1.docker.io: errors: > denied: requested access to the resource is denied > unauthorized: authentication required > docker login > > ___ > Devel mailing list -- devel@ovirt.org > To unsubscribe send an email to devel-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AU2NG5NWCTLAJQFUVMO5IBDFMIGBK7XS/ > ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/NPUJZK2GLGN74HHWQXTTFFWG4Q5H3OPD/
[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer wrote: > On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: > > > > Hi All, > > > > I'm trying to push an image to dockerhub using podman. > > Unfortunately, it does not work, giving me the following error: > > > > ``` > > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 > > Getting image source signatures > > Error: Error copying image to the remote destination: Error trying to > reuse blob > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 at > destination: Error checking whether a blob > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 > exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: > > denied: requested access to the resource is denied > > error parsing HTTP 401 response body: unexpected end of JSON input: "" > > ``` > > (podman login docker.io works fine) > > Has anyone encounter something like this? > > Maybe the issue is that we have to create the repository first. > > I created it here: > > https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 > > Try to push again. > > I think you should be able to create new repositories. > > Nir > > Now I get something else: $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 Getting image source signatures Copying blob 55ac6f41bab4 done Copying blob 140282e4f2a3 done Copying blob 9f892f5760ee done Copying blob 602715c702c3 done Copying blob 9e607bb861a7 done Error: Error copying image to the remote destination: Error writing blob: Error initiating layer upload to /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in registry-1.docker.io: errors: denied: requested access to the resource is denied unauthorized: authentication required ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AU2NG5NWCTLAJQFUVMO5IBDFMIGBK7XS/
[ovirt-devel] Re: Pushing container to dockerhub using podman
On Thu, Nov 14, 2019 at 9:29 PM Edward Haas wrote: > > Hi All, > > I'm trying to push an image to dockerhub using podman. > Unfortunately, it does not work, giving me the following error: > > ``` > $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8 > Getting image source signatures > Error: Error copying image to the remote destination: Error trying to reuse > blob sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 > at destination: Error checking whether a blob > sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 > exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors: > denied: requested access to the resource is denied > error parsing HTTP 401 response body: unexpected end of JSON input: "" > ``` > (podman login docker.io works fine) > Has anyone encounter something like this? Maybe the issue is that we have to create the repository first. I created it here: https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8 Try to push again. I think you should be able to create new repositories. Nir ___ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/W3FZAHVZGTUWJZAJNFSRKRKMD57BNACL/