Bug#867594: cloud.debian.org: vms lease the same dhcp ipv4 address in kvm/libvirt

2017-07-07 Thread Franck Reverdin
Package: cloud.debian.org
Severity: important

official debian/stretch64 v9.0.0 vagrant box has wrong dhcp configuration.

As far as I understand, Stretch switched to using DHCP Client Identifier (DUID)
by default, which is generated from /etc/machine-ip, which should be different
due to installation procedure. As Vagrant boxes have no regular installation
procedure, machine_id is embedded into the box, and so, is the same for
all vms and Client Identifier also. As libvirt uses that DUID for assigning
IPv4 addresses, all stretch vms get the same initial IP - new one
makes unusable all previously started.

As DHCP client has an option to use MAC for DUID (or instead DUID?), I propose
to update network config inside vagrant box to use MAC.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968), LANGUAGE=en_US.utf8 (charmap=locale: Cannot set LC_CTYPE to 
default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Re: Urgent: Clound images for Stretch announcement

2017-07-07 Thread Cédric Boutillier
Hi,

The current paragraph for Google Compute Engine paragraph mainly points
to the wiki page https://wiki.debian.org/Cloud/GoogleComputeEngineImage

If this source is mainly used to point readers of the blog post to some
information, I think that some content should be added/edited for people
who would be new to this platform.

For example, there are several commands using the gcloud tool.  I
understand that `gcloud` is a tool which is available when you install
the Google Cloud SDK (I first tried to see if there was a Debian package
providing it).

Another example is the paragraph about working with future images. Now
that Debian stretch images are available, the "(like Debian Stretch
atm)" may possibly be removed?

Can someone familiar with these GCE images do these small edits?

Thanks!


Cédric