[openstack-dev] [sahara] changing host name and /etc/hosts in container

Zhidong Yu zdyu2000 at gmail.com
Fri Oct 31 05:39:13 UTC 2014


Hi Trevor,

Thanks for your response! We use Sahara to launch virtual nodes in
containers, i.e. replacing KVM with Docker in Nova.

The nature of this problem is about configuration management. This is
actually a common issue in cloud based, horizontally scaled app. Sahara may
need some advanced implementation in this. Not sure if confd/etcd/fleet
could address this issue.

Unfortunately I won't be at the summit. My colleague Zhongyue (who is Oslo
core, by the way) will be there and he will attend the Sahara meetings.

Thanks, Zhidong


On Thu, Oct 30, 2014 at 10:18 PM, Trevor McKay <tmckay at redhat.com> wrote:

> Zhidong,
>
>  Thanks for your question.  I personally don't have an answer, but I
> think we definitely should bring up the possibility of dockerization for
> Sahara at the design summit next week.  It may be something we want to
> formalize for Kilo.  Will you be at the summit?
>
> Just to be clear, are you running Sahara itself in a container, or
> launching node instances in containers?
>
> I'll take a look and see if I can find anything useful about the ip
> assignment/hostname sequence for node instances during launch.
>
> Best,
>
> Trevor
>
> On Thu, 2014-10-30 at 16:46 +0800, Zhidong Yu wrote:
> > Hello hackers,
> >
> > We are experimenting Sahara with Docker container (nova-docker) and
> > ran into an issue that Sahara needs to change the host name
> > and /etc/hosts which is not allowed in container. I am wondering if
> > there is any easy way to work around this by hacking into Sahara?
> >
> >
> > thanks, Zhidong
> >
> > _______________________________________________
> > 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/20141031/c7f15757/attachment.html>


More information about the OpenStack-dev mailing list