http://defect.opensolaris.org/bz/show_bug.cgi?id=10654

           Summary: Configuring a IPv6 static address doesn't work when
                    DHCPv6 is available.
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: John.Leser at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from John Leser <John.Leser at sun.com> 2009-08-13 15:28:31 UTC 
---
This test case attempts to configure static IPv4 and IPv6 addresses.  The end
result is that the IPv4 static address is configured correctly, but the IPv6
static address is not assigned - instead, DHCPv6 is performed and the address
from the lease is assigned.   These results are for nwam1-build:2009-08-10, and
the tests affected are "nwam event:1-2"

Here is a test log with the details:

15|0 3.7 16|TCM Start
520|0 0 236831 1 1|unknown 10:55:05 Running command: "svcadm enable
svc:/network/physical:nwam"
520|0 0 236831 1 2|unknown 10:55:05 svc svc:/network/physical:nwam is online
after 0s
520|0 0 236831 1 3|unknown 10:55:07 event tests startup complete
400|0 1 1 10:55:06|IC Start
200|0 1 10:55:06|TP Start
520|0 1 236831 1 1|unknown 10:55:07 ASSERT wired_basic_001: Assert text for
wired_basic_001 goes here
520|0 1 236831 1 2|unknown 10:55:07 Iterators for this case:
520|0 1 236831 1 3|unknown 10:55:07    MODE=ipv4-static,ipv6-static
520|0 1 236831 1 4|unknown 10:55:07    NCU_ACTIVATION=manual
520|0 1 236831 1 5|unknown 10:55:07 Running command: "svcadm disable
svc:/network/physical:nwam"
520|0 1 236831 1 6|unknown 10:55:10 svc svc:/network/physical:nwam is disabled
after 3s
520|0 1 236831 1 7|unknown 10:55:10 +++ Applied changes via nwamcfg +++
520|0 1 236831 1 8|unknown 10:55:10 create ncp User
520|0 1 236831 1 9|unknown 10:55:10 create ncu phys e1000g0
520|0 1 236831 1 10|unknown 10:55:10 set activation-mode=manual
520|0 1 236831 1 11|unknown 10:55:10 end
520|0 1 236831 1 12|unknown 10:55:10 create ncu ip e1000g0
520|0 1 236831 1 13|unknown 10:55:10 set ip-version=ipv4,ipv6
520|0 1 236831 1 14|unknown 10:55:10 set ipv4-addrsrc=static
520|0 1 236831 1 15|unknown 10:55:11 set ipv6-addrsrc=static
520|0 1 236831 1 16|unknown 10:55:11 set ipv4-addr=10.8.57.93/24
520|0 1 236831 1 17|unknown 10:55:11 set
ipv6-addr=2002:a08:39f0:1:214:4fff:fe20:8224/64
520|0 1 236831 1 18|unknown 10:55:11 end
520|0 1 236831 1 19|unknown 10:55:11 end
520|0 1 236831 1 20|unknown 10:55:11 +++ end +++
520|0 1 236831 1 21|unknown 10:55:11
520|0 1 236831 1 22|unknown 10:55:11 Running command: "nwamadm enable -p ncp
User"
520|0 1 236831 1 23|unknown 10:55:11 Running command: "svcadm enable
svc:/network/physical:nwam"
520|0 1 236831 1 24|unknown 10:55:12 svc svc:/network/physical:nwam is online
after 1s
520|0 1 236831 1 25|unknown 10:55:15 ncu e1000g0 is online after 2s
520|0 1 236831 1 26|unknown 10:55:15 Waiting 90s for 10.8.57.93/24 to be
assigned on e1000g0
520|0 1 236831 1 27|unknown 10:55:15 Found 10.8.57.93 on: e1000g0:0
520|0 1 236831 1 28|unknown 10:55:15 Address was set after 0s
520|0 1 236831 1 29|unknown 10:55:15 Waiting 90s for
2002:a08:39f0:1:214:4fff:fe20:8224/64 to be assigned on e1000g0
520|0 1 236831 1 30|unknown 10:56:47 FAILURE: Address
2002:a08:39f0:1:214:4fff:fe20:8224 is not assigned on e1000g0 after 90s
520|0 1 236831 1 31|unknown 10:56:47 IPv6 addresses may fail this check if they
are not in cannonical
520|0 1 236831 1 32|unknown 10:56:47 form in the test_config file.
520|0 1 236831 1 33|unknown 10:56:47 ifconfig -a output:
520|0 1 236831 1 34|unknown 10:56:47 lo0:
flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
520|0 1 236831 1 35|unknown 10:56:47 inet 127.0.0.1 netmask ff000000
520|0 1 236831 1 36|unknown 10:56:47 e1000g0:
flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 151
520|0 1 236831 1 37|unknown 10:56:48 inet 10.8.57.93 netmask ffffff00 broadcast
10.8.57.255
520|0 1 236831 1 38|unknown 10:56:48 ether 0:14:4f:20:82:24
520|0 1 236831 1 39|unknown 10:56:48 lo0:
flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
520|0 1 236831 1 40|unknown 10:56:48 inet6 ::1/128
520|0 1 236831 1 41|unknown 10:56:48 e1000g0:
flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 151
520|0 1 236831 1 42|unknown 10:56:48 inet6 fe80::214:4fff:fe20:8224/10
520|0 1 236831 1 43|unknown 10:56:48 ether 0:14:4f:20:82:24
520|0 1 236831 1 44|unknown 10:56:48 e1000g0:1:
flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 151
520|0 1 236831 1 45|unknown 10:56:48 inet6 2001:db8:1:2::4000/128
520|0 1 236831 1 46|unknown 10:56:48 +++ syslog daemon messages for this test
+++
520|0 1 236831 1 47|unknown 10:56:48
520|0 1 236831 1 48|unknown 10:56:48 Aug 13 10:55:07 unknown nwamd[235418]: [ID
741500 daemon.error] 1: nwamd_plumb_unplumb_interface: unplumb IPv4 failed for
e1000g0: Interface do
es not exist
520|0 1 236831 1 49|unknown 10:56:48 Aug 13 10:55:12 unknown syseventd[100157]:
[ID 555171 daemon.error] Fatal:attempting to dump core
520|0 1 236831 1 50|unknown 10:56:48 Aug 13 10:55:12 unknown nwamd[237154]: [ID
232071 daemon.error] 1: nwamd_loc_handle_state_event: state event for
nonexistent loc NoNet
520|0 1 236831 1 51|unknown 10:56:48 Aug 13 10:55:13 unknown nwamd[237154]: [ID
706007 daemon.error] 1: nwamd_set_unset_link_properties: dladm_set_linkprop
failed: try again later
520|0 1 236831 1 52|unknown 10:56:48 Aug 13 10:55:13 unknown in.routed[100989]:
[ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
520|0 1 236831 1 53|unknown 10:56:48 Aug 13 10:55:16 unknown nwamd[237154]: [ID
236758 daemon.error] 13: start_dhcp: interface currently has a pending command
(try later)
520|0 1 236831 1 54|unknown 10:56:48 Aug 13 10:55:32 unknown nwamd[237154]: [ID
544583 daemon.error] 1: nwamd_ncu_handle_if_state_event: no object
interface:e1000g0:1
520|0 1 236831 1 55|unknown 10:56:48 +++ end +++

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to