[openstack-dev] [Openstack][Nova][Docker] Devstack with docker driver
Swapnil Kulkarni
swapnilkulkarni2608 at gmail.com
Thu Jan 9 14:24:45 UTC 2014
Hi Daniel,
I think it was some proxy issue prohibiting from the download. I downloaded
the correct docker-registry.tar.gz and stack.sh completed but with some
issues remain related to image availability. The docker push is getting *"HTTP
code 500 while uploading metadata: invalid character '<' looking for
beginning of value"* error. I did a search for the error and found [1] on
ask.openstack which states firewall could be an issue, which is not I guess
in my situation. Any ideas?
[1] https://ask.openstack.org/en/question/8320/docker-push-error/
Best Regards,
Swapnil
On Thu, Jan 9, 2014 at 7:37 PM, Daniel Kuffner <daniel.kuffner at gmail.com>wrote:
> 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
> >
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140109/2b084bb9/attachment.html>
More information about the OpenStack-dev
mailing list