[DISCUSS] Metadata server IP improvement

2017-07-25 Thread Rene Moser
Hi

Speaking about VR improvements: I would like to change the way we need
to find the metadata API.

Currently we do something like "cat
/var/lib/dhclient/dhclient-eth0.leases | grep dhcp-server-identifier |
tail -1" to find the IP of the service.

However, parsing a dhcp lease file is not the best option and it is not
consistent across OS levels.

OpenStack and EC2 AWS uses 169.254.169.254. Would it make sense to adopt
this?

René


Re: [DISCUSS] Move to Debian9 systemvmtemplate

2017-07-25 Thread Wido den Hollander

> Op 24 juli 2017 om 19:07 schreef Rene Moser :
> 
> 
> Hi Rohit
> 
> 
> On 07/23/2017 06:08 PM, Rohit Yadav wrote:
> > All,
> > 
> > 
> > Just want to kick an initial discussion around migration to Debian9 based 
> > systemvmtemplate, and get your feedback on the same.
> > 
> > Here's a work-in-progress PR: https://github.com/apache/cloudstack/pull/2198
> 
> Have you considered to replace veewee by packer?
> 

Packer is really nice indeed. We use it to build our templates [0] which we use 
on CloudStack.

Building the SSVM using Packer should be rather easy I think.

[0]: https://github.com/pcextreme/packer-templates

> Our friends from schubergphilis have already done some work here
> https://github.com/MissionCriticalCloud/systemvm-packer.
> 
> However there would be also an official way to convert the definitions
> https://www.packer.io/guides/veewee-to-packer.html
> 
> Regards René