[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#867594: marked as done (cloud.debian.org: vms lease the same dhcp ipv4 address in kvm/libvirt)



Your message dated Thu, 27 Jul 2017 17:33:53 -0300
with message-id <20170727203353.sjz7v32dkqn44w6o@debian.org>
and subject line Re: Bug#868679: (no subject)
has caused the Debian Bug report #868679,
regarding cloud.debian.org: vms lease the same dhcp ipv4 address in kvm/libvirt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
868679: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868679
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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)

--- End Message ---
--- Begin Message ---
On Fri, Jul 21, 2017 at 02:32:02PM -0300, Antonio Terceiro wrote:
> On Fri, Jul 21, 2017 at 03:42:21PM +0200, Emmanuel Kasper wrote:
> > I commited the fix above in
> > git.debian.org:/git/cloud/debian-vm-templates.git
> 
> Thanks!
> 
> > the next box rebuild will have this included.
> > 
> 
> FWIW, I am planning to rebuild boxes for libvirt and lxc over the
> weekend

Updated boxes including the have been uploaded, so I am closing this
bug.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: