1. 19 Oct, 2020 9 commits
  2. 17 Oct, 2020 3 commits
  3. 16 Oct, 2020 6 commits
    • Loïc Dachary's avatar
      Merge branch 'retry_log_function_name' into 'master' · 6ce997a7
      Loïc Dachary authored
      @retry: display what is retried
      
      See merge request !315
      6ce997a7
    • Pilou's avatar
      @retry: display what is retried · 236dfa4e
      Pilou authored
      and use lazy interpolation.
      236dfa4e
    • Loïc Dachary's avatar
      Merge branch 'use_ifup_systemd_unit' into 'master' · abf37b65
      Loïc Dachary authored
      Use ifup systemd units, use default DHCP client config file, clean /etc/network/interfaces.d
      
      See merge request !314
      abf37b65
    • Pilou's avatar
      Use default DHCP client configuration file · 4927e2bb
      Pilou authored
      As spotted by Loic, a DHCP configuration file per network interface
      isn't needed anymore: unwanted options for unrouted interface are
      already ignored.
      4927e2bb
    • Pilou's avatar
      Remove all files below /etc/network/interfaces.d/ · aec64f4e
      Pilou authored
      A configuration file per network interface is generated, other files can
      be deleted.
      
      Using OVH, /etc/network/interfaces.d/50-cloud-init.cfg doesn't exist
      but /etc/network/interfaces.d/50-cloud-init does.
      aec64f4e
    • Pilou's avatar
      Network interfaces are managed by ifup unit: use it · 8ee6362b
      Pilou authored
      * mark ROUTED iface as 'allow-hotplug'
      * fix status of ifup@NOT_ROUTED systemd unit
      
      - without this patch (using OVH or Fuga provider):
      
          $ systemctl status ifup@eth1.service
          ● ifup@eth1.service - ifup for eth1
             Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled)
             Active: failed (Result: exit-code) since Wed 2020-10-14 13:55:15 UTC; 1h 49min ago
            Process: 1463 ExecStart=/bin/sh -ec ifup --allow=hotplug eth1; ifquery --state eth1 (code=exited, status=1/FAILURE)
           Main PID: 1463 (code=exited, status=1/FAILURE)
      
          Oct 14 13:55:04 bind-host dhclient[1473]: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
          Oct 14 13:55:04 bind-host sh[1463]: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
          Oct 14 13:55:15 bind-host dhclient[1473]: No DHCPOFFERS received.
          Oct 14 13:55:15 bind-host sh[1463]: No DHCPOFFERS received.
          Oct 14 13:55:15 bind-host sh[1463]: No working leases in persistent database - sleeping.
          Oct 14 13:55:15 bind-host dhclient[1473]: No working leases in persistent database - sleeping.
          Oct 14 13:55:15 bind-host systemd[1]: ifup@eth1.service: Main process exited, code=exited, status=1/FAILURE
          Oct 14 13:55:15 bind-host systemd[1]: ifup@eth1.service: Failed with result 'exit-code'.
      
      - with this patch (using OVH or Fuga provider):
      
          $ systemctl status ifup@eth1.service
          ● ifup@eth1.service - ifup for eth1
             Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled)
             Active: active (exited) since Thu 2020-10-15 00:56:22 UTC; 10min ago
            Process: 1583 ExecStart=/bin/sh -ec ifup --allow=hotplug eth1; ifquery --state eth1 (code=exited, status=0/SUCCESS)
           Main PID: 1583 (code=exited, status=0/SUCCESS)
                  Tasks: 1 (limit: 2319)
             Memory: 1.7M
             CGroup: /system.slice/ifup@eth1.service
                             └─1610 /sbin/dhclient -4 -v -pf /run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases -I -cf /etc/dhcp/dhclient_no_routers.conf eth1
      
          Oct 15 00:56:22 bind-host dhclient[1610]: Listening on LPF/eth1/fa:16:3e:6c:00:9e
          Oct 15 00:56:22 bind-host dhclient[1610]: Sending on   LPF/eth1/fa:16:3e:6c:00:9e
          Oct 15 00:56:22 bind-host dhclient[1610]: Sending on   Socket/fallback
          Oct 15 00:56:22 bind-host dhclient[1610]: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
          Oct 15 00:56:22 bind-host dhclient[1610]: DHCPOFFER of 10.30.20.114 from 10.30.20.3
          Oct 15 00:56:22 bind-host dhclient[1610]: DHCPREQUEST for 10.30.20.114 on eth1 to 255.255.255.255 port 67
          Oct 15 00:56:22 bind-host dhclient[1610]: DHCPACK of 10.30.20.114 from 10.30.20.3
          Oct 15 00:56:22 bind-host dhclient[1610]: bound to 10.30.20.114 -- renewal in 41620 seconds.
      8ee6362b
  4. 15 Oct, 2020 1 commit
  5. 14 Oct, 2020 3 commits
  6. 13 Oct, 2020 3 commits
    • Pilou's avatar
      cloud-init: force deconfiguration of the network ifaces · 4002c874
      Pilou authored
      In /var/log/cloud-init-output.log, avoid "ifdown: interface eth0 not
      configured" and "RTNETLINK answers: File exists" messages:
      
          + ifdown eth0
          ifdown: interface eth0 not configured
          [...]
          + ifup eth0
          [...]
          Listening on LPF/eth0/02:68:f7:f9:7a:b0
          Sending on   LPF/eth0/02:68:f7:f9:7a:b0
          Sending on   Socket/fallback
          DHCPREQUEST for 185.78.198.12 on eth0 to 255.255.255.255 port 67
          DHCPACK of 185.78.198.12 from 185.78.196.1
          RTNETLINK answers: File exists
      
      Output with this patch:
      
          + ifdown --force eth0
          Removed stale PID file
          [...]
          + ifup eth0
          [...]
          Listening on LPF/eth0/02:d5:5b:58:d5:9d
          Sending on   LPF/eth0/02:d5:5b:58:d5:9d
          Sending on   Socket/fallback
          DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
          DHCPOFFER of 185.78.198.12 from 185.78.196.1
          DHCPREQUEST for 185.78.198.12 on eth0 to 255.255.255.255 port 67
          DHCPACK of 185.78.198.12 from 185.78.196.1
      4002c874
    • Pilou's avatar
      stack creation: add missing 'image' parameter · f7d7e897
      Pilou authored
      Fixes #309
      f7d7e897
    • Loïc Dachary's avatar
      Merge branch 'delete_unshared_network_only' into 'master' · 5ce0f022
      Loïc Dachary authored
      Delete unshared networks only
      
      See merge request !310
      5ce0f022
  7. 12 Oct, 2020 3 commits
  8. 11 Oct, 2020 4 commits
  9. 10 Oct, 2020 5 commits
  10. 06 Oct, 2020 2 commits
  11. 30 Sep, 2020 1 commit