[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] ask for advice regarding switch error during our 1st experiment due to "snmpit"



Hello,

We had this error as well. We had to set the snmp community string on the switches.
Make sure this string matches the one you put in the switch_stack_types table in your
database.

Thanks,
Adit

On Apr 8, 2009, at 7:42 PM, Mohammed Azad wrote:

Hello,
As we were trying to do our 1st emulab trial experiment in our own testbed setup, we found the following error :

The error message regarding snmpit is as follows:
***   WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portDuplex,0.19,2,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess


I have given the full error message bellow for your convenience. Please help me out to solve this problem.

With regards
Mohammed Abul Monzur Azad
CCT,LSU
Baton Rouge,LA



*****************************    Error Message       *************************************************************************************


Failed to set up VLANs.



--------- /usr/testbed/expwork/testbed/test04/startexp.2BwBL8 --------
Running 'tbprerun  -e 13 test04.ns'
Beginning pre run for testbed/test04. 12:07:25:933369
Running parser ... 12:07:26:798481
Parser done! 12:07:31:462527
Precomputing visualization ...
Image rendering proceeding in background mode ...
Setting up static routes (if requested) ...
Generating topomap ...
Verifying parse ...
Doing a pre-assign ...
assign_wrapper improved started
TIMESTAMP: 12:07:38:120409 assign_wrapper started
TIMESTAMP: 12:07:38:126451 TOP started
opened topfile
Minimum nodes   = 3
Maximum nodes   = 3
TIMESTAMP: 12:07:38:184735 TOP finished
Stopping after creating the TOP file, as directed.
Writing environment strings ...
Setting up additional program agent support ...
Writing program agent info ...
Pre run finished. 12:07:38:612181
Running 'tbswap in  testbed test04'
Beginning swap-in for testbed/test04 (13). 03/16/2009 12:07:39
TIMESTAMP: 12:07:39:605544 tbswap in started
Checking with Admission Control ...
Mapping to physical reality ...
TIMESTAMP: 12:07:39:624817 assign_wrapper started
assign_wrapper improved started
TIMESTAMP: 12:07:40:122015 assign_wrapper started
TIMESTAMP: 12:07:40:128016 TOP started
Resetting DB before updating.
opened topfile
Minimum nodes   = 3
Maximum nodes   = 3
TIMESTAMP: 12:07:40:193737 TOP finished
TIMESTAMP: 12:07:40:195354 assign_loop started
Assign Run 1
TIMESTAMP: 12:07:40:198408 ptopgen started
ptopargs -p testbed -e test04
TIMESTAMP: 12:07:41:137501 ptopgen finished
TIMESTAMP: 12:07:41:139633 assign started
assign -P testbed-test04-87699.ptop testbed-test04-87699.top
   BEST SCORE:  2.46 in 17000 iters and 0.120894 seconds
TIMESTAMP: 12:07:43:153899 assign finished
TIMESTAMP: 12:07:43:155409 reserving started
TIMESTAMP: 12:07:44:21193 reserving finished
Successfully reserved all physical nodes we needed.
TIMESTAMP: 12:07:44:26856 assign_loop finished
TIMESTAMP: 12:07:44:29253 LoadPhysResources started
TIMESTAMP: 12:07:44:37829 LoadPhysResources finished
TIMESTAMP: 12:07:44:43916 interpreting started
TIMESTAMP: 12:07:44:46925 interpreting finished
TIMESTAMP: 12:07:44:48337 uploading started
TIMESTAMP: 12:07:46:660473 uploading finished
TIMESTAMP: 12:07:46:662330 assign_wrapper finished
TIMESTAMP: 12:07:47:78250 assign_wrapper finished
Mapped to physical reality!
Fetching tarballs and RPMs (if any) ...
TIMESTAMP: 12:07:47:84231 tarfiles_setup started
TIMESTAMP: 12:07:48:59040 tarfiles_setup finished
Setting up mountpoints.
TIMESTAMP: 12:07:48:64162 mountpoints started
TIMESTAMP: 12:07:52:589402 mountpoints finished
TIMESTAMP: 12:07:52:591469 named started
Setting up named maps.
TIMESTAMP: 12:07:53:493614 named finished
TIMESTAMP: 12:07:53:496558 gentopofile started
Generating ltmap (again) ...
TIMESTAMP: 12:07:54:439328 gentopofile finished
Resetting OS and rebooting.
TIMESTAMP: 12:07:54:443155 launching os_setup
Setting up VLANs.
TIMESTAMP: 12:07:54:454892 snmpit started
TIMESTAMP: 12:07:55:767858 os_setup started
TIMESTAMP: 12:07:55:805755 rebooting/reloading nodes started
Creating VLAN 5 as VLAN #2 on stack Experiment ...
  Creating VLAN 5 as VLAN #2 on cisco2 ... Succeeded.
    Applying VLAN changes on cisco2 ... Succeeded
reboot (pc): Attempting to reboot ...
reboot (pc2): Attempting to reboot ...
reboot (pc3): Attempting to reboot ...
reboot (pc): Successful!
reboot (pc2): Successful!
reboot (pc3): Successful!
reboot: Done. There were 0 failures.
Succeeded
reboot (pc3): child returned 0 status.
reboot (pc): child returned 0 status.
reboot (pc2): child returned 0 status.
TIMESTAMP: 12:07:57:833326 rebooting/reloading finished
Waiting for local testbed nodes to finish rebooting ...
TIMESTAMP: 12:07:57:836586 Local node waiting started
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portAdminSpeed,0.9,100000000,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portDuplex,0.9,2,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portAdminSpeed,0.19,100000000,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
Still waiting for pc3 - it's been 1 minute(s).
pc3 is alive and well
Still waiting for pc - it's been 1 minute(s).
pc is alive and well
pc2 is alive and well
TIMESTAMP: 12:09:05:906104 Local node waiting finished
OS Setup Done.
TIMESTAMP: 12:09:05:910777 os_setup finished
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portDuplex,0.19,2,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portAdminSpeed,0.5,100000000,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
*** WARNING: snmpit:
***   SNMP SET failed - In /usr/testbed/bin/snmpit
***   SNMPIT set failed for device cisco2 (try 10 of 10)
***   Variable was [portDuplex,0.5,2,INTEGER]
***   Returned (undefined), ErrorNum was 6
***   Error string is: noAccess
*** ERROR: tbswap: Failed to set up VLANs.
Cleaning up after errors.
Waiting for os_setup to finish
Stopping the event system
TIMESTAMP: 12:10:00:954772 snmpit started
Removing VLANs.
  Removing VLAN #2 on cisco2 ... Succeeded.
    Applying VLAN changes on cisco2 ... Succeeded
TIMESTAMP: 12:10:03:831097 snmpit finished
Tearing down virtual nodes.
TIMESTAMP: 12:10:03:834491 vnode_setup -k started
vnode_setup running at parallelization: 10 wait_time: 120
Vnode teardown finished.
TIMESTAMP: 12:10:05:678125 vnode_setup finished
Freeing nodes.
TIMESTAMP: 12:10:05:681857 nfree started
Releasing all nodes from experiment [Experiment: testbed/test04].
Moving [Node: pc2] to [Experiment: emulab-ops/reloadpending]
Moving [Node: pc3] to [Experiment: emulab-ops/reloadpending]
Moving [Node: pc] to [Experiment: emulab-ops/reloadpending]
TIMESTAMP: 12:10:07:381511 nfree finished
Resetting named maps.
TIMESTAMP: 12:10:07:386038 named started
TIMESTAMP: 12:10:08:715268 named finished
Resetting email lists.
TIMESTAMP: 12:10:08:718619 genelists started
TIMESTAMP: 12:10:10:13443 genelists finished
Resetting DB.
Failingly finished swap-in for testbed/test04. 12:10:10:35457
TIMESTAMP: 12:10:10:37139 tbswap in finished (failed)
*** ERROR: batchexp: tbswap in failed!
Cleaning up and exiting with status 1 ...
Running 'tbend -f -e 13'
Beginning cleanup for testbed/test04. 12:10:11:124982
Clearing out virtual state.
Removing visualization data...
Cleanup finished! 12:10:12:553642
**** Experimental information, please ignore ****
Session ID = 2118
Likely Cause of the Problem:
  Failed to set up VLANs.
Cause: unknown
Confidence: 0.7
Script: tbswap
**** End experimental information ****

--------- assign.log --------
seed = 1237310965
Physical Graph: 5
Calculating shortest paths on switch fabric.
Virtual Graph: 4
Generating physical equivalence classes:4
Type precheck:
Type precheck passed.
Node mapping precheck:
Node mapping precheck succeeded
Pruning pclasses.
pclass pruning complete: removed 1 pclasses, 3 remain.
Type precheck:
Type precheck passed.
Policy precheck:
Policy precheck succeeded
Annealing.
Doing melting run
Reverting: forced
Reverting to best solution
Done
   BEST SCORE:  2.46 in 17000 iters and 0.120894 seconds
With 0 violations
Iters to find best score:  4
Violations: 0
  unassigned:  0
  pnode_load:  0
  no_connect:  0
  link_users:  0
  bandwidth:   0
  desires:     0
  vclass:      0
  delay:       0
  trivial mix: 0
  subnodes:    0
  max_types:   0
  endpoints:   0
Nodes:
nodeB pc3
nodeA pc2
nodeC pc
lan/lan0 cisco2
End Nodes
Edges:
linklan/lan0/nodeA:0 direct link-pc2:eth1-cisco2:(null) (pc2/eth1,(null))
link-pc2:eth1-cisco2:(null) (pc2/eth1,(null))
linklan/lan0/nodeB:0 direct link-pc3:eth2-cisco2:(null) (pc3/eth2,(null))
link-pc3:eth2-cisco2:(null) (pc3/eth2,(null))
linklan/lan0/nodeC:0 direct link-pc:eth1-cisco2:(null) (pc/eth1,(null))
link-pc:eth1-cisco2:(null) (pc/eth1,(null))
End Edges
End solution

--------- test04.ns --------
# This is a simple ns script. Comments start with #.
set ns [new Simulator]                
source tb_compat.tcl
      
set nodeA [$ns node]
set nodeB [$ns node]
set nodeC [$ns node]


#set link0 [$ns duplex-link $nodeB $nodeA 30Mb 50ms DropTail]
#tb-set-link-loss $link0 0.01

#set link1 [$ns duplex-link $nodeB $nodeC 40Mb 400ms DropTail]
#tb-set-link-loss $link0 0.02
      
set lan0 [$ns make-lan "$nodeA $nodeB $nodeC " 100Mb 0ms]

# Set the OS on a couple.
tb-set-node-os $nodeA FBSD62-STD-SUN
tb-set-node-os $nodeB FBSD62-STD-DELL
tb-set-node-os $nodeC FBSD62-STD-SUN
      
$ns rtproto Static
      
# Go!
$ns run
*****************************************************************************************************************
_______________________________________________
Testbed-admins mailing list
Testbed-admins@flux.utah.edu
http://www.flux.utah.edu/mailman/listinfo/testbed-admins