[openstack-dev] [Openstack][Nova][Docker] Devstack with docker driver

Daniel Kuffner daniel.kuffner at gmail.com
Thu Jan 9 14:07:23 UTC 2014


The tar file seem to be corrupt, the tools script downloads it to:

./files/docker-registry.tar.gz

On Thu, Jan 9, 2014 at 11:17 AM, Swapnil Kulkarni
<swapnilkulkarni2608 at gmail.com> wrote:
> Hi Daniel,
>
> I removed the existing images and executed ./tools/docker/install_docker.sh.
> I am facing new issue related to docker-registry,
>
> Error: exit status 2: tar: This does not look like a tar archive
>
> is the size 945 bytes correct for docker-registry image?
>
>
> Best Regards,
> Swapnil
>
> On Thu, Jan 9, 2014 at 1:35 PM, Daniel Kuffner <daniel.kuffner at gmail.com>
> wrote:
>>
>> Hi Swapnil,
>>
>> Looks like the docker-registry image is broken, since it cannot find
>> run.sh inside the container.
>>
>> >> 2014/01/09 06:36:15 Unable to locate ./docker-registry/run.sh
>>
>> Maybe you could try to remove and re-import image
>>
>>
>>     docker rmi docker-registry
>>
>> and then execute
>>
>>     ./tools/docker/install_docker.sh
>>
>> again.
>>
>>
>>
>> On Thu, Jan 9, 2014 at 7:42 AM, Swapnil Kulkarni
>> <swapnilkulkarni2608 at gmail.com> wrote:
>> > Hi Eric,
>> >
>> > I tried running the 'docker run' command without -d and it gets
>> > following
>> > error
>> >
>> > $ sudo docker run -d=false -p 5042:5000 -e SETTINGS_FLAVOR=openstack -e
>> > OS_USERNAME=admin -e OS_PASSWORD=password -e OS_TENANT_NAME=admin -e
>> > OS_GLANCE_URL=http://127.0.0.1:9292 -e
>> > OS_AUTH_URL=http://127.0.0.1:35357/v2.0 docker-registry
>> > ./docker-registry/run.sh
>> > lxc-start: No such file or directory -
>> > stat(/proc/16438/root/dev//console)
>> > 2014/01/09 06:36:15 Unable to locate ./docker-registry/run.sh
>> >
>> > On the other hand,
>> >
>> > If I run the failing command just after stack.sh fails with -d,  it
>> > works
>> > fine,
>> >
>> > sudo docker run -d -p 5042:5000 -e SETTINGS_FLAVOR=openstack -e
>> > OS_USERNAME=admin -e OS_PASSWORD=password -e OS_TENANT_NAME=admin -e
>> > OS_GLANCE_URL=http://127.0.0.1:9292 -e
>> > OS_AUTH_URL=http://127.0.0.1:35357/v2.0 docker-registry
>> > ./docker-registry/run.sh
>> > 5b737f8d2282114c1a0cfc4f25bc7c9ef8c5da7e0d8fa7ed9ccee0be81cddafc
>> >
>> > Best Regards,
>> > Swapnil
>> >
>> >
>> > On Wed, Jan 8, 2014 at 8:29 PM, Eric Windisch <eric at windisch.us> wrote:
>> >>
>> >> On Tue, Jan 7, 2014 at 11:13 PM, Swapnil Kulkarni
>> >> <swapnilkulkarni2608 at gmail.com> wrote:
>> >>>
>> >>> Let me know in case I can be of any help getting this resolved.
>> >>
>> >>
>> >> Please try running the failing 'docker run' command manually and
>> >> without
>> >> the '-d' argument. I've been able to reproduce  an error myself, but
>> >> wish to
>> >> confirm that this matches the error you're seeing.
>> >>
>> >> Regards,
>> >> Eric Windisch
>> >>
>> >> _______________________________________________
>> >> OpenStack-dev mailing list
>> >> OpenStack-dev at lists.openstack.org
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > OpenStack-dev mailing list
>> > OpenStack-dev at lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> >
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list