docker tag fails with a 'Invalid repository name'

Bug #1310954 reported by Julien Vey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-docker
Fix Committed
Low
Unassigned

Bug Description

Within devstack, the driver, at some point, try to issue the following command :

    docker tag cirros:latest cirros-0.3.1-x86_64-uec

This one fails with an error :

    Invalid repository name (ex: "registry.domain.tld/myrepos")

I found the root cause is a dot in the image tag, as described in the docker repo here https://github.com/dotcloud/docker/issues/5103

This bug is intended to track the upstream bug in case someone hits it.

A workaround is to set the env var DEFAULT_IMAGE_NAME=cirros

Revision history for this message
Erica Windisch (ewindisch) wrote :

It looks like the upstream bug is resolved now.

Note that there would still be an issue with

     'docker tag cirros:latest cirros-0.3.1-x86_64-uec',

However, the devstack plugin doesn't do that.. It does the following which should (and appears to) work:

    'docker tag cirros:latest registry.host/cirros-0.3.1-x86_64-uec'.

Since the usage of image tagging from devstack with the latest versions of Docker seems to work, this is being closed.

Changed in nova-docker:
importance: Undecided → Low
status: New → Fix Committed
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.