Date: Tue, 07 Apr 2020 16:08:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 245426] net/cloud-init 20.1 breaks EC2 instance network Message-ID: <bug-245426-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245426 Bug ID: 245426 Summary: net/cloud-init 20.1 breaks EC2 instance network Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jeremiah.snapp@gmail.com CC: andrey@bsdnir.info Flags: maintainer-feedback?(andrey@bsdnir.info) CC: andrey@bsdnir.info Created attachment 213159 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213159&action= =3Dedit Failed cloud-init output Yesterday I had to start installing the py37-cloud-init package in my FreeB= SD 11 & 12 amd64 Amazon EC2 instances because py27-cloud-init is no longer available. Other than changing the default_user in /usr/local/etc/cloud/cloud.cfg I am using the default cloud-init config. The py37-cloud-init package bumps cloud-init to version 20.1 which seems to have a bug in cloud-init's Local stage because when one of my EC2 instances boots its network connection breaks after running the "service routing rest= art" command at this line. https://github.com/canonical/cloud-init/blob/20.1/cloudinit/net/freebsd.py#= L167 Reference: cloud-init's Local stage https://cloudinit.readthedocs.io/en/latest/topics/boot.html#local I attached the last few lines of the cloud-init output to this issue. While debugging the issue I was able to install the net/cloud-init port and= add "GH_TAGNAME=3D e30599c103ff926e8cbf38f36d1ba071918fc386" to its Makefile so= it would use the latest commit from Canonical's cloud-init repo. This built successfully and worked without breaking the network connection. I prefer to use the package instead of the port so I'm currently working ar= ound the broken network issue by disabling cloud-init's network configuration st= ep which doesn't seem necessary for my needs. I'm disabling that step by putti= ng the following config into /usr/local/etc/cloud/cloud.cfg.d/disable-cloud-init-network-configuration.c= fg. network: config: disabled Reference: disabling cloud-init network configuration https://cloudinit.readthedocs.io/en/latest/topics/network-config.html#disab= ling-network-configuration I'm not familiar enough with FreeBSD's port/package maintenance to know wha= t to suggest for a fix. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245426-7788>