New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 892424 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 0
Type: Bug



Sign in to add a comment

Moblab is running out of DHCP addresses for containers

Project Member Reported by hadd...@google.com, Oct 4

Issue description


From /var/log/messages

2018-10-04T13:54:33.302605-07:00 ERR dhcpd[2159]: DHCPDISCOVER from 00:16:3e:c8:e9:57 via lxcbr0: network 192.168.231.0/24: no free leases
2018-10-04T13:54:50.906806-07:00 ERR dhcpd[2159]: DHCPDISCOVER from 00:16:3e:c8:e9:57 via lxcbr0: network 192.168.231.0/24: no free leases
2018-10-04T13:54:57.800923-07:00 ERR dhcpd[2159]: DHCPDISCOVER from 00:16:3e:c8:e9:57 via lxcbr0: network 192.168.231.0/24: no free leases
2018-10-04T13:55:05.193659-07:00 ERR dhcpd[2159]: DHCPDISCOVER from 00:16:3e:c8:e9:57 via lxcbr0: network 192.168.231.0/24: no free leases
2018-10-04T13:55:13.317203-07:00 ERR dhcpd[2159]: DHCPDISCOVER from 00:16:3e:c8:e9:57 via lxcbr0: network 192.168.231.0/24: no free leases

It seems like the hostname of the container has changed ( probably with lxc change )

2018-10-04T22:22:42.083455+00:00 INFO dhcpd[2632]: DHCPDISCOVER from 00:16:3e:1b:18:94 via lxcbr0
2018-10-04T22:22:43.084138+00:00 INFO dhcpd[2632]: DHCPOFFER on 192.168.231.102 to 00:16:3e:1b:18:94 (moblab_base_06) via lxcbr0
2018-10-04T22:22:43.094635+00:00 INFO dhcpd[2632]: DHCPREQUEST for 192.168.231.102 (192.168.231.1) from 00:16:3e:1b:18:94 (moblab_base_06) via lxcbr0
2018-10-04T22:22:43.094666+00:00 INFO dhcpd[2632]: DHCPACK on 192.168.231.102 to 00:16:3e:1b:18:94 (moblab_base_06) via lxcbr0


The hostname of the device is the base container rather than the copy of the container.
 
Cc: stephenlin@chromium.org ch...@chromium.org mattmallett@chromium.org
Labels: -Pri-3 Pri-0
Owner: haddowk@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 4

Labels: merge-merged-release-R68-10718.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/19b937b61bce31b3d947061ba7a9d218cb750bbd

commit 19b937b61bce31b3d947061ba7a9d218cb750bbd
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Oct 04 23:30:11 2018

[moblab] Extend the list of hostnames used for containers.

It seems that the container hostname has changed from the
current container to the base container, extend the dhcp
rules so the containers get IP's from the correct pool

BUG= chromium:892424 
TEST=local testing on moblab

Change-Id: Ic58ee31fcf177fcbcc349209f6337c3f1fce8ce7
Reviewed-on: https://chromium-review.googlesource.com/c/1263137
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/19b937b61bce31b3d947061ba7a9d218cb750bbd/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.1-r48.ebuild
[modify] https://crrev.com/19b937b61bce31b3d947061ba7a9d218cb750bbd/project-moblab/chromeos-base/chromeos-bsp-moblab/files/dhcpd-moblab.conf

Status: Fixed (was: Untriaged)
Root cause of this bug is an lxc bug:

https://github.com/lxc/lxc/issues/2380
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/c4a1ceb81cc9076649d752374d2b952b21914ea1

commit c4a1ceb81cc9076649d752374d2b952b21914ea1
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Oct 05 22:43:33 2018

[moblab] Extend the list of hostnames used for containers.

It seems that the container hostname has changed from the
current container to the base container, extend the dhcp
rules so the containers get IP's from the correct pool

BUG= chromium:892424 
TEST=local testing on moblab

Change-Id: Ic58ee31fcf177fcbcc349209f6337c3f1fce8ce7
Reviewed-on: https://chromium-review.googlesource.com/1263136
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>

[rename] https://crrev.com/c4a1ceb81cc9076649d752374d2b952b21914ea1/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.1-r48.ebuild
[modify] https://crrev.com/c4a1ceb81cc9076649d752374d2b952b21914ea1/project-moblab/chromeos-base/chromeos-bsp-moblab/files/dhcpd-moblab.conf

Project Member

Comment 5 by bugdroid1@chromium.org, Oct 5

Labels: merge-merged-release-R70-11021.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/3ba823fad44dc4fe798aa8789f7e043bb1995d37

commit 3ba823fad44dc4fe798aa8789f7e043bb1995d37
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Oct 05 23:12:37 2018

[moblab] Extend the list of hostnames used for containers.

It seems that the container hostname has changed from the
current container to the base container, extend the dhcp
rules so the containers get IP's from the correct pool

BUG= chromium:892424 
TEST=local testing on moblab

Change-Id: Ic58ee31fcf177fcbcc349209f6337c3f1fce8ce7
Reviewed-on: https://chromium-review.googlesource.com/c/1263437
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/3ba823fad44dc4fe798aa8789f7e043bb1995d37/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.1-r48.ebuild
[modify] https://crrev.com/3ba823fad44dc4fe798aa8789f7e043bb1995d37/project-moblab/chromeos-base/chromeos-bsp-moblab/files/dhcpd-moblab.conf

Project Member

Comment 6 by bugdroid1@chromium.org, Oct 5

Labels: merge-merged-release-R69-10895.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/5b03e5233befe2b5ad3e5456c95f058ac7f0b2d4

commit 5b03e5233befe2b5ad3e5456c95f058ac7f0b2d4
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Oct 05 23:12:40 2018

[moblab] Extend the list of hostnames used for containers.

It seems that the container hostname has changed from the
current container to the base container, extend the dhcp
rules so the containers get IP's from the correct pool

BUG= chromium:892424 
TEST=local testing on moblab

Change-Id: Ic58ee31fcf177fcbcc349209f6337c3f1fce8ce7
Reviewed-on: https://chromium-review.googlesource.com/c/1263436
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/5b03e5233befe2b5ad3e5456c95f058ac7f0b2d4/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.1-r48.ebuild
[modify] https://crrev.com/5b03e5233befe2b5ad3e5456c95f058ac7f0b2d4/project-moblab/chromeos-base/chromeos-bsp-moblab/files/dhcpd-moblab.conf

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/moblab/+/391f45919e432b60c7d5696b99db8bf80fc5d6e9

commit 391f45919e432b60c7d5696b99db8bf80fc5d6e9
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Oct 12 08:17:13 2018

[moblab] Add SSP container test.

Ensure that containers can be created and set up networking with
the correct IP addresses from the TestContainer pool

BUG= chromium:892424 
TEST=manual testing on moblab

Change-Id: Iac5833ac4a199601bf2f257a2d0fcc94fefc4b6d
Reviewed-on: https://chromium-review.googlesource.com/1265776
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>

[add] https://crrev.com/391f45919e432b60c7d5696b99db8bf80fc5d6e9/src/tests/ssp-container-integration-test.py

Sign in to add a comment