← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2015946] [NEW] After cloud-init init --local is executed, ephemeral IP do not cleanup

 

Public bug reported:

Reproduction Procedure:
1、Configuring the dhclient.conf file:
send host-name = gethostname();

request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        dhcp6.name-servers, dhcp6.domain-search,
        netbios-name-servers, netbios-scope, interface-mtu,
        ntp-servers, classless-static-routes;

supersede domain-name-servers 8.8.8.8;
supersede domain-search "mydomain.example.com";
supersede classless-static-routes 0 192.168.0.1;

timeout 60;
retry 300;
script "/sbin/dhclient-script";

2、bonding nic to bond0
nmcli con add type bond con-name bond0 ifname bond0 mode active-backup
nmcli con add type bond-slave ifname enp3s0 master bond0
nmcli con up bond-slave-enp3s0

3、running cloud-init init --local
4、ephemeral IP do not cleanup (enp3s0)
... ...
2: enp3s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP group default qlen 1000
    link/ether 52:54:00:e9:cb:d9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.172.208/16 brd 192.168.255.255 scope global dynamic enp3s0
       valid_lft 33689sec preferred_lft 33689sec
... ...
5: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:e9:cb:d9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.172.208/16 brd 192.168.255.255 scope global dynamic noprefixroute bond0
       valid_lft 33675sec preferred_lft 33675sec
    inet6 fe80::6e8f:d5d9:fa69:b1ba/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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/2015946

Title:
  After cloud-init init --local is executed, ephemeral IP do not cleanup

Status in cloud-init:
  New

Bug description:
  Reproduction Procedure:
  1、Configuring the dhclient.conf file:
  send host-name = gethostname();

  request subnet-mask, broadcast-address, time-offset, routers,
          domain-name, domain-name-servers, domain-search, host-name,
          dhcp6.name-servers, dhcp6.domain-search,
          netbios-name-servers, netbios-scope, interface-mtu,
          ntp-servers, classless-static-routes;

  supersede domain-name-servers 8.8.8.8;
  supersede domain-search "mydomain.example.com";
  supersede classless-static-routes 0 192.168.0.1;

  timeout 60;
  retry 300;
  script "/sbin/dhclient-script";

  2、bonding nic to bond0
  nmcli con add type bond con-name bond0 ifname bond0 mode active-backup
  nmcli con add type bond-slave ifname enp3s0 master bond0
  nmcli con up bond-slave-enp3s0

  3、running cloud-init init --local
  4、ephemeral IP do not cleanup (enp3s0)
  ... ...
  2: enp3s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP group default qlen 1000
      link/ether 52:54:00:e9:cb:d9 brd ff:ff:ff:ff:ff:ff
      inet 192.168.172.208/16 brd 192.168.255.255 scope global dynamic enp3s0
         valid_lft 33689sec preferred_lft 33689sec
  ... ...
  5: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 52:54:00:e9:cb:d9 brd ff:ff:ff:ff:ff:ff
      inet 192.168.172.208/16 brd 192.168.255.255 scope global dynamic noprefixroute bond0
         valid_lft 33675sec preferred_lft 33675sec
      inet6 fe80::6e8f:d5d9:fa69:b1ba/64 scope link noprefixroute
         valid_lft forever preferred_lft forever

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



Follow ups