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

2014-11-04 Thread Sergey Lukjanov
Probably Designate could help us doing it?

On Fri, Oct 31, 2014 at 6:39 AM, Zhidong Yu zdyu2...@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 tmc...@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@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



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


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

2014-10-30 Thread Trevor McKay
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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-10-30 Thread Zhidong Yu
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 tmc...@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@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev