cloud-init 17.1 setting eth0 to manual start when launching instance in private subnet AWS EC2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
AWS EC2 - No network config specified on this AMI by default
Launching new suse-sles-
BOOTPROTO=dhcp
MTU=9000
REMOTE_IPADDR=
STARTMODE=manual
CLOUD_NETCONFIG
USERCONTROL=no
ETHTOOL_OPTIONS=
Network will start on the first launch but fail on subsequent restarts or stop and starts since the script is set to manual. This only happens when the instance is launched without a public IP (within a private subnet).
Output of cloud-init.log where config is applied:
2017-11-19 05:57:29,742 - stages.py[INFO]: Applying network configuration from ds bringup=True: {'version': 1, 'config': [{'subnets': [], 'type': 'physical', 'name': 'eth0', 'mac_address': '06:9d:
iface eth0 inet manual
into {'lo': {'auto': True, 'ipv6': {}}, 'eth0': {'ipv6': {}}}
Also noticed the following error in the cloud-init-
2017-11-19 06:44:32,421 - __init_
Downgraded cloud-init to version 7.9 on the instance and created a new AMI, this works fine and the network script is set to STARTMODE=onboot, also no error in cloud-init-
Changed in cloud-init: | |
status: | Fix Released → Won't Fix |
Robert, could you look at this?
I think you might even have filed a fix for it.