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

Sergey Lukjanov slukjanov at mirantis.com
Tue Nov 4 09:27:38 UTC 2014


Probably Designate could help us doing it?

On Fri, Oct 31, 2014 at 6:39 AM, Zhidong Yu <zdyu2000 at gmail.com> wrote:

> 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
>>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Sincerely yours,
Sergey Lukjanov
Sahara Technical Lead
(OpenStack Data Processing)
Principal Software Engineer
Mirantis Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141104/aa9eb372/attachment.html>


More information about the OpenStack-dev mailing list