openSUSE/wicked — pull request #271 by kmroz (2014-06-04 14:24:52+00:00)
Title: Bnc874609

bnc#874609 - No dhcp information logged by wicked
=====================================

Tested on fux.arch.suse.de as follows:
--------------------------------------------------
# wicked ifreload all
# wicked ifdown ib0
# wicked ifup ib0

fux:~/wicked/git/:[0]# grep -rni "dhcp4" /var/log/messages

1:2014-06-04T16:17:42.020445+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: Request to acquire DHCPv4 lease with UUID 852a8f53-2243-0300-050a-000004000000
2:2014-06-04T16:17:42.020817+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: Initiating DHCPv4 discovery (ifindex 2)
3:2014-06-04T16:17:42.037019+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: Received offer for 10.121.8.133 from 10.121.0.100
4:2014-06-04T16:17:42.037311+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: Requesting DHCPv4 lease with timeout 60
7:2014-06-04T16:17:42.052389+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: Committed DHCPv4 lease with address 10.121.8.133, for 14400 seconds
8:2014-06-04T16:17:42.052681+02:00 fux wickedd-dhcp4[2563]: enp1s0f0: DHCPv4 lease is configured with renewal time of 7200 seconds and rebind time of 12600 seconds
9:2014-06-04T16:17:42.053219+02:00 fux wickedd-dhcp4[2563]: ib0: Request to acquire DHCPv4 lease with UUID 852a8f53-2243-0300-050a-000006000000
10:2014-06-04T16:17:42.053512+02:00 fux wickedd-dhcp4[2563]: ib0: Initiating DHCPv4 discovery (ifindex 4)
11:2014-06-04T16:17:42.100675+02:00 fux wickedd-dhcp4[2563]: ib0: Received offer for 192.168.0.15 from 192.168.0.1
12:2014-06-04T16:17:42.100970+02:00 fux wickedd-dhcp4[2563]: ib0: Requesting DHCPv4 lease with timeout 60
14:2014-06-04T16:17:42.176307+02:00 fux wickedd-dhcp4[2563]: ib0: Committed DHCPv4 lease with address 192.168.0.15, for 300 seconds
15:2014-06-04T16:17:42.176642+02:00 fux wickedd-dhcp4[2563]: ib0: DHCPv4 lease is configured with renewal time of 150 seconds and rebind time of 262 seconds
28:2014-06-04T16:18:21.092898+02:00 fux wickedd-dhcp4[2563]: ib0: Request to release DHCPv4 lease with UUID 852a8f53-2243-0300-050a-000006000000
29:2014-06-04T16:18:21.172282+02:00 fux wickedd-dhcp4[2563]: ib0: Dropped DHCPv4 lease with UUID 852a8f53-2243-0300-050a-000006000000
33:2014-06-04T16:18:24.766898+02:00 fux wickedd-dhcp4[2563]: ib0: Request to acquire DHCPv4 lease with UUID 852a8f53-2243-0300-050a-000009000000
34:2014-06-04T16:18:24.767160+02:00 fux wickedd-dhcp4[2563]: ib0: Initiating DHCPv4 discovery (ifindex 4)
36:2014-06-04T16:18:24.804798+02:00 fux wickedd-dhcp4[2563]: ib0: Received offer for 192.168.0.15 from 192.168.0.1
37:2014-06-04T16:18:24.805105+02:00 fux wickedd-dhcp4[2563]: ib0: Requesting DHCPv4 lease with timeout 60
39:2014-06-04T16:18:24.916292+02:00 fux wickedd-dhcp4[2563]: ib0: Committed DHCPv4 lease with address 192.168.0.15, for 300 seconds
40:2014-06-04T16:18:24.916588+02:00 fux wickedd-dhcp4[2563]: ib0: DHCPv4 lease is configured with renewal time of 150 seconds and rebind time of 262 seconds

fux:~/wicked/git/:[0]# grep -rni "dhcp6" /var/log/messages

5:2014-06-04T16:17:42.038370+02:00 fux wickedd-dhcp6[2562]: enp1s0f0: Request to acquire DHCPv6 lease with UUID 852a8f53-2243-0300-050a-000005000000 in mode auto
6:2014-06-04T16:17:42.038682+02:00 fux wickedd-dhcp6[2562]: enp1s0f0: Initiating DHCPv6 Server Solicitation
16:2014-06-04T16:17:42.652547+02:00 fux wickedd-dhcp6[2562]: ib0: Request to acquire DHCPv6 lease with UUID 852a8f53-2243-0300-050a-000007000000 in mode managed
17:2014-06-04T16:17:42.652914+02:00 fux wickedd-dhcp6[2562]: ib0: Initiating DHCPv6 Server Solicitation
18:2014-06-04T16:17:43.032313+02:00 fux wickedd-dhcp6[2562]: enp1s0f0: Accepting best DHCPv6 lease offer with weight 256 from server 00:01:00:01:17:0e:c7:37:00:04:23:d3:29:90
19:2014-06-04T16:17:43.032655+02:00 fux wickedd-dhcp6[2562]: enp1s0f0: Committed DHCPv6 lease with addresses:
20:2014-06-04T16:17:43.032946+02:00 fux wickedd-dhcp6[2562]: 2620:113:80c0:8000:10:121:8:133
21:2014-06-04T16:17:43.033228+02:00 fux wickedd-dhcp6[2562]: enp1s0f0: DHCPv6 lease is configured with renewal time of 3600 seconds and rebind time of 7200 seconds
23:2014-06-04T16:17:44.766584+02:00 fux wickedd-dhcp6[2562]: ib0: Accepting best DHCPv6 rapid-commit lease offer with weight 1 from server 00:01:00:20:1a:c8:70:0c
24:2014-06-04T16:17:44.766941+02:00 fux wickedd-dhcp6[2562]: ib0: Committed DHCPv6 lease with addresses:
25:2014-06-04T16:17:44.767221+02:00 fux wickedd-dhcp6[2562]: fc00:501:ffff:100::18
26:2014-06-04T16:17:44.767508+02:00 fux wickedd-dhcp6[2562]: ib0: DHCPv6 lease is configured with renewal time of 359 seconds and rebind time of 575 seconds
30:2014-06-04T16:18:21.423917+02:00 fux wickedd-dhcp6[2562]: ib0: Request to release DHCPv6 lease with UUID 852a8f53-2243-0300-050a-000007000000
31:2014-06-04T16:18:21.424295+02:00 fux wickedd-dhcp6[2562]: ib0: Dropped DHCPv6 lease with UUID 852a8f53-2243-0300-050a-000007000000
38:2014-06-04T16:18:24.805398+02:00 fux wickedd-dhcp6[2562]: ib0: Request to acquire DHCPv6 lease with UUID 852a8f53-2243-0300-050a-00000a000000 in mode managed
41:2014-06-04T16:18:26.568309+02:00 fux wickedd-dhcp6[2562]: ib0: Initiating DHCPv6 Server Solicitation
42:2014-06-04T16:18:28.529211+02:00 fux wickedd-dhcp6[2562]: ib0: Accepting best DHCPv6 rapid-commit lease offer with weight 1 from server 00:01:00:20:1a:c8:70:0c
43:2014-06-04T16:18:28.529529+02:00 fux wickedd-dhcp6[2562]: ib0: Committed DHCPv6 lease with addresses:
44:2014-06-04T16:18:28.529777+02:00 fux wickedd-dhcp6[2562]: fc00:501:ffff:100::18
45:2014-06-04T16:18:28.530015+02:00 fux wickedd-dhcp6[2562]: ib0: DHCPv6 lease is configured with renewal time of 359 seconds and rebind time of 575 seconds