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 ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cloud.debian.org: vms lease the same dhcp ipv4 address in kvm/libvirt
- From: Franck Reverdin <franck.reverdin@azrob.com>
- Date: Fri, 07 Jul 2017 16:16:52 +0000
- Message-id: <[🔎] 149944421233.13790.5245559904748184268.reportbug@localhost>
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 ---
- To: Emmanuel Kasper <manu@debian.org>, 868679-done@bugs.debian.org
- Subject: Re: Bug#868679: (no subject)
- From: Antonio Terceiro <terceiro@debian.org>
- Date: Thu, 27 Jul 2017 17:33:53 -0300
- Message-id: <20170727203353.sjz7v32dkqn44w6o@debian.org>
- In-reply-to: <[🔎] 20170721173202.ijrddcdcupanijhy@debian.org>
- References: <[🔎] d3dd21e6-b5e4-641c-bc8b-4500c509f2ca@debian.org> <[🔎] 20170721173202.ijrddcdcupanijhy@debian.org>
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 ---