← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1733226] Re: cloud-init-local service fails on SUSE distros

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1733226

Title:
  cloud-init-local service fails on SUSE distros

Status in cloud-init:
  Expired

Bug description:
  openSUSE and SLES use wicked for network handling and not dhclient.
  The cloud-init-local code assumes dhclient and thus fails:

  # systemctl status cloud-init-local.service
  ● cloud-init-local.service - Initial cloud-init job (pre-networking)
     Loaded: loaded (/usr/lib/systemd/system/cloud-init-local.service; enabled; vendor preset: disabled)
     Active: active (exited) since Sun 2017-11-19 20:30:21 UTC; 1min 11s ago
    Process: 2395 ExecStart=/bin/touch /run/cloud-init/network-config-ready (code=exited, status=0/SUCCESS)
    Process: 767 ExecStart=/usr/bin/cloud-init init --local (code=exited, status=0/SUCCESS)
   Main PID: 2395 (code=exited, status=0/SUCCESS)
      Tasks: 1 (limit: 512)
     CGroup: /system.slice/cloud-init-local.service
             └─2385 /var/tmp/cloud-init/cloud-init-dhcp-7j3ocQ/dhclient -1 -v -lf /var/tmp/cloud-init/cloud-init-dhcp-7j3ocQ/dhcp.leases -pf /var/tmp/cloud-init/cloud-init-dhcp-7j3ocQ/dhclient.pid eth0 -sf /bin/...

  Nov 19 20:30:16 ip-172-30-3-185 dhclient[2361]: Listening on LPF/eth0/0e:63:90:3b:cf:02
  Nov 19 20:30:16 ip-172-30-3-185 dhclient[2361]: Sending on   LPF/eth0/0e:63:90:3b:cf:02
  Nov 19 20:30:16 ip-172-30-3-185 dhclient[2361]: Sending on   Socket/fallback
  Nov 19 20:30:16 ip-172-30-3-185 dhclient[2361]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0x23a9b285)
  Nov 19 20:30:16 ip-172-30-3-185 dhclient[2361]: DHCPOFFER from 172.30.3.1
  Nov 19 20:30:21 ip-172-30-3-185 dhclient[2361]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x23a9b285)
  Nov 19 20:30:21 ip-172-30-3-185 dhclient[2361]: DHCPACK from 172.30.3.1 (xid=0x23a9b285)
  Nov 19 20:30:21 ip-172-30-3-185 dhclient[2385]: Can't create /var/tmp/cloud-init/cloud-init-dhcp-7j3ocQ/dhclient.pid: No such file or directory
  Nov 19 20:30:21 ip-172-30-3-185 dhclient[2385]: receive_packet failed on eth0: Network is down
  Nov 19 20:30:21 ip-172-30-3-185 systemd[1]: Started Initial cloud-init job (pre-networking).

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1733226/+subscriptions


References