http://defect.opensolaris.org/bz/show_bug.cgi?id=11164
Summary: IPv4 statically addressed NCUs intermittently end up
in uninitialized state
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-03 09:07:50 UTC
---
Created an attachment (id=2573)
nwamd debug output for the test case in the bug description
I first saw this problem with the 8-31 build, and it is continuing with
nwam1-build:2009-09-02.
The problem is that if you set up an ipv4 only NCU with a static address only,
it will sometimes (more than 50% of the time with todays build), end up in
uninitialized state. Other times, it may work normally. Here's some example
test output:
200|0 1 04:56:12|TP Start
520|0 1 142390 1 1|unknown 04:56:13 ASSERT wired_basic_001: Assert text for
wired_basic_001 goes here
520|0 1 142390 1 2|unknown 04:56:13 Iterators for this case:
520|0 1 142390 1 3|unknown 04:56:13 MODE=ipv4-static
520|0 1 142390 1 4|unknown 04:56:13 NCU_ACTIVATION=manual
520|0 1 142390 1 5|unknown 04:56:13 Running command: "svcadm disable
svc:/network/physical:nwam"
520|0 1 142390 1 6|unknown 04:56:19 svc svc:/network/physical:nwam is disabled
after 5s
520|0 1 142390 1 7|unknown 04:56:19 +++ Applied changes via nwamcfg +++
520|0 1 142390 1 8|unknown 04:56:19 create ncp User
520|0 1 142390 1 9|unknown 04:56:19 create ncu phys e1000g0
520|0 1 142390 1 10|unknown 04:56:19 set activation-mode=manual
520|0 1 142390 1 11|unknown 04:56:19 end
520|0 1 142390 1 12|unknown 04:56:19 create ncu ip e1000g0
520|0 1 142390 1 13|unknown 04:56:19 set ip-version=ipv4
520|0 1 142390 1 14|unknown 04:56:19 set ipv4-addrsrc=static
520|0 1 142390 1 15|unknown 04:56:19 set ipv4-addr=10.8.57.252/24
520|0 1 142390 1 16|unknown 04:56:19 end
520|0 1 142390 1 17|unknown 04:56:19 end
520|0 1 142390 1 18|unknown 04:56:19 +++ end +++
520|0 1 142390 1 19|unknown 04:56:19
520|0 1 142390 1 20|unknown 04:56:19 Running command: "nwamadm enable -p ncp
User"
520|0 1 142390 1 21|unknown 04:56:19 Running command: "svcadm enable
svc:/network/physical:nwam"
520|0 1 142390 1 22|unknown 04:56:21 svc svc:/network/physical:nwam is online
after 1s
520|0 1 142390 1 23|unknown 04:56:21 ncp User is online after 0s
520|0 1 142390 1 24|unknown 04:57:58 ncu e1000g0 failed to become online in 90s
520|0 1 142390 1 25|unknown 04:57:58 actual state was: offline
520|0 1 142390 1 26|unknown 04:57:58 nwamadm list output just after failure:
520|0 1 142390 1 27|unknown 04:57:59 TYPE PROFILE STATE
AUXILIARY STATE
520|0 1 142390 1 28|unknown 04:57:59 ncp Automatic disabled
disabled by administrator
520|0 1 142390 1 29|unknown 04:57:59 ncp User online
active
520|0 1 142390 1 30|unknown 04:57:59 ncu:ip e1000g0 offline
uninitialized
520|0 1 142390 1 31|unknown 04:57:59 ncu:phys e1000g0 online
interface/link is up
520|0 1 142390 1 32|unknown 04:57:59 loc Legacy offline
conditions for activation are unmet
520|0 1 142390 1 33|unknown 04:57:59 loc NoNet online
active
520|0 1 142390 1 34|unknown 04:57:59 loc Automatic offline
conditions for activation are unmet
520|0 1 142390 1 35|unknown 04:57:59 FATAL: nwt_dverify_state(), did not reach
expected state
520|0 1 142390 1 36|unknown 04:57:59 Daemon log output for this test is saved
in /var/tmp/nwam_tmp/nwam_syslog_output.wired_basic_001.142390.gz
520|0 1 142390 1 37|unknown 04:57:59 No new core files appeared during this
test case.
520|0 1 142390 1 38|unknown 04:57:59 ends PHASE=test, returning 1
220|0 1 1 04:57:58|FAIL
--
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.