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

           Summary: IPv6 NCUs are going into uninitialized state
                    incorrectly
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: normal
          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-09-01 21:15:03 UTC 
---
Created an attachment (id=2564)
Log file from event test with debugging enabled

This problem is new with nwam1-build:2009-08-31, and affecting some sub-cases
of the event:wired_basic test.

If I create an NCU that is IPv6 only with autoconf+dhcp:

bash-3.2# nwamcfg export
create ncp "User"
create ncu phys "e1000g0"
set activation-mode=manual
end
create ncu ip "e1000g0"
set ip-version=ipv6
set ipv6-addrsrc=dhcp,autoconf
end
end

bash-3.2# nwamadm enable -p ncp User
Enabling ncp 'User'
     bash-3.2# nwamadm list -x
TYPE         PROFILE        STATE          AUXILIARY STATE
ncp          Automatic      disabled       disabled by administrator
ncp          User           online         active
ncu:ip       e1000g0        offline*       waiting for IP address to be set
ncu:phys     e1000g0        online         interface/link is up
loc          Legacy         offline        conditions for activation are unmet
loc          NoNet          online         active
loc          Automatic      offline        conditions for activation are unmet

Wait a few seconds for dhcp...

bash-3.2# nwamadm list -x
TYPE         PROFILE        STATE          AUXILIARY STATE
ncp          Automatic      disabled       disabled by administrator
ncp          User           online         active
ncu:ip       e1000g0        offline        uninitialized
ncu:phys     e1000g0        online         interface/link is up
loc          Legacy         offline        conditions for activation are unmet
loc          NoNet          online         active
loc          Automatic      offline        conditions for activation are unmet

bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
    inet 127.0.0.1 netmask ff000000 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
    inet6 ::1/128 
e1000g0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 117
    inet6 fe80::214:4fff:fe20:8224/10 
    ether 0:14:4f:20:82:24 
e1000g0:1: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 117
    inet6 2001:db8:1:2::1001/128 

bash-3.2# nwamadm list -x
TYPE         PROFILE        STATE          AUXILIARY STATE
ncp          Automatic      disabled       disabled by administrator
ncp          User           online         active
ncu:ip       e1000g0        offline        uninitialized
ncu:phys     e1000g0        online         interface/link is up
loc          Legacy         offline        conditions for activation are unmet
loc          NoNet          online         active
loc          Automatic      offline        conditions for activation are unmet

The NCU is going into uninitialized state rather than online once the DHCP
address is assigned.  Since this results in NoNet rather than a useful
location, these configurations are unusable.

Note that IPv6 currently works properly when a static address is assigned.

This is a journal from one of the affected test cases which includes debug
output from the daemon is attached.

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