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

2014-03-11 Thread Daniel Kuffner
Hi, what is the error reported by docker? Can you post the docker registry log? What version of docker do you use? I assume you use devstack master branch? thank you, Daniel On Tue, Mar 11, 2014 at 1:19 PM, urgensherpa sherpa.ur...@outlook.com wrote: Hello!, i can run docker containers and

[openstack-dev] [nova][network] Gateway in network_info seems not to be correct

2014-02-12 Thread Daniel Kuffner
Hi All, I'm currently trying out the docker in FlatDHCPManager multi_host mode. I figured out that my instance are not pingable. The reason for that is that they get the wrong gateway assigned. Currently we use the gateway field provided by the network_info object. That works great in a single

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

2014-01-13 Thread Daniel Kuffner
/ Best Regards, Swapnil On Thu, Jan 9, 2014 at 7:37 PM, Daniel Kuffner daniel.kuff...@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 swapnilkulkarni2...@gmail.com wrote

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

2014-01-09 Thread Daniel Kuffner
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

Re: [openstack-dev] [Nova][Docker] Environment variables

2013-12-17 Thread Daniel Kuffner
Actually Daniel P. Barrange comment is interesting. He states that a configuration per instance would also be beneficial for Cinder. The configuration is essentially needed to change the bootstrap of the image. If you look at a docker image in abstract way then that is the same thing - a

[openstack-dev] [Nova][Docker] Environment variables

2013-12-16 Thread Daniel Kuffner
Hi All, I have submitted a new blueprint which addresses the a common pattern in the docker world. A usual pattern in the docker world is to use environment variables to configure a container. docker run -e SQL_URL=postgres://user:password@/db my-app The nova docker driver doesn't support to

Re: [openstack-dev] [Nova][Docker] Environment variables

2013-12-16 Thread Daniel Kuffner
public resources to read. I kind of missed it. Most likely it was before I was part of this community :) thanks, Daniel On Mon, Dec 16, 2013 at 4:07 PM, Russell Bryant rbry...@redhat.com wrote: On 12/16/2013 09:27 AM, Daniel Kuffner wrote: Hi All, I have submitted a new blueprint which addresses

Re: [openstack-dev] [Nova][Docker] Environment variables

2013-12-16 Thread Daniel Kuffner
soon. Regards chuck On Mon, Dec 16, 2013 at 10:07 AM, Russell Bryant rbry...@redhat.com wrote: On 12/16/2013 09:27 AM, Daniel Kuffner wrote: Hi All, I have submitted a new blueprint which addresses the a common pattern in the docker world. A usual pattern in the docker world

Re: [openstack-dev] [Nova][Docker] Environment variables

2013-12-16 Thread Daniel Kuffner
That would be great, I have also a couple of change request waiting for approval. Would be good to know if it has any relevance in the future. https://review.openstack.org/#/c/59824/ https://review.openstack.org/#/c/62182/ https://review.openstack.org/#/c/62183/

Re: [openstack-dev] [Nova][Docker] What are the plans or thoughts about providing volumes aka folder mounts

2013-12-08 Thread Daniel Kuffner
Yes agree it not very cloud like. Thanks for pointing out the Manila project, didn't know about it. On Fri, Dec 6, 2013 at 5:25 PM, Russell Bryant rbry...@redhat.com wrote: On 12/06/2013 10:54 AM, Daniel Kuffner wrote: Hi All, We are using in our company for a prototype the docker

[openstack-dev] [Nova][Docker] What are the plans or thoughts about providing volumes aka folder mounts

2013-12-06 Thread Daniel Kuffner
Hi All, We are using in our company for a prototype the docker hypervisor on openstack. We have the need to mount a folder inside of a container. To achieve this goal I have implemented a hack which allows to specify a folder mount via nova metadata. For example a heat template could look like: