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

[Testbed-admins] could not connect to event server



I am trying to run a simple experiment with a single node. I couldn't
make it work.

You can see the ns file from the log at the end of this e-mail.
Some of the unique stuffs you may need to know are :
- I didn't configure the power controller so I manually power cycle my machine.
- We entered information about control and experimental switch into
the database, but the switch is not actually used.
(We will eventually use the wireless for this experiment.)
- The node type is set with the following non-default values.
(bios_waittime :300, rebootable : 0, power delay :300).

The experiment terminated while the node was in the reloading status
playing frisbee.
The major errors seen from the log file are as follows (It couldn't
connect to event-server) :

pubsub_client_connect: Could not connect to event-server:16505
event_register_withkeydata_withretry: could not connect to event server
could not register with event system
*** ERROR: tbswap: Failed to start event time.
Cleaning up after errors.

*** ERROR: batchexp: tbswap in failed!
Cleaning up and exiting with status 1 ...

**** Experimental information, please ignore ****
Session ID = 4456
Likely Cause of the Problem:
 Failed to start event time.
 ...
Cause: unknown
Confidence: 0.7
Script: tbswap
**** End experimental information ****

My questions and requests are:

1. Any comments or advices on errors observed above?

2. What are the meanings of power_delay, rebootable and bios waittime
in the node type table?

3. Does control or/and experimental switch have to be set up for this
simple experiment? We won't need the experimental switch eventually
since we are going to use only wireless for the experiment.

I would appreciate any comments.

For your reference, I attach the whole log.





Running 'tbprerun  -e 23 16420721-dongwoon.ns'
Beginning pre run for meshtest/16420721-dongwoon. 16:42:50:499887
Running parser ... 16:42:51:96724
Parser done! 16:42:54:524140
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: 16:42:59:281882 assign_wrapper started
TIMESTAMP: 16:42:59:283673 TOP started
opened topfile
Minimum nodes   = 1
Maximum nodes   = 1
TIMESTAMP: 16:42:59:300582 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. 16:42:59:729048
Running 'tbswap in  meshtest 16420721-dongwoon'
Beginning swap-in for meshtest/16420721-dongwoon (23). 07/21/2009 16:43:00
TIMESTAMP: 16:43:00:350409 tbswap in started
Checking with Admission Control ...
Mapping to physical reality ...
TIMESTAMP: 16:43:00:353429 assign_wrapper started
assign_wrapper improved started
TIMESTAMP: 16:43:00:530985 assign_wrapper started
TIMESTAMP: 16:43:00:532795 TOP started
Resetting DB before updating.
opened topfile
Minimum nodes   = 1
Maximum nodes   = 1
TIMESTAMP: 16:43:00:551154 TOP finished
TIMESTAMP: 16:43:00:551522 assign_loop started
Assign Run 1
TIMESTAMP: 16:43:00:552221 ptopgen started
ptopargs -p meshtest -e 16420721-dongwoon
TIMESTAMP: 16:43:01:153286 ptopgen finished
TIMESTAMP: 16:43:01:154731 assign started
assign -P meshtest-16420721-dongwoon-44816.ptop
meshtest-16420721-dongwoon-44816.top
  BEST SCORE:  0.9 in 1000 iters and 0.0014 seconds
TIMESTAMP: 16:43:03:219186 assign finished
TIMESTAMP: 16:43:03:219609 reserving started
TIMESTAMP: 16:43:03:784878 reserving finished
Successfully reserved all physical nodes we needed.
TIMESTAMP: 16:43:03:786947 assign_loop finished
TIMESTAMP: 16:43:03:787739 LoadPhysResources started
TIMESTAMP: 16:43:03:789055 LoadPhysResources finished
TIMESTAMP: 16:43:03:789926 interpreting started
TIMESTAMP: 16:43:03:790314 interpreting finished
TIMESTAMP: 16:43:03:790657 uploading started
TIMESTAMP: 16:43:04:359747 uploading finished
TIMESTAMP: 16:43:04:360506 assign_wrapper finished
TIMESTAMP: 16:43:04:778903 assign_wrapper finished
Mapped to physical reality!
Fetching tarballs and RPMs (if any) ...
TIMESTAMP: 16:43:04:781513 tarfiles_setup started
TIMESTAMP: 16:43:05:389088 tarfiles_setup finished
Setting up mountpoints.
TIMESTAMP: 16:43:05:391549 mountpoints started
TIMESTAMP: 16:43:09:87470 mountpoints finished
TIMESTAMP: 16:43:09:88808 named started
Setting up named maps.
TIMESTAMP: 16:43:11:563573 named finished
TIMESTAMP: 16:43:11:565321 gentopofile started
Generating ltmap (again) ...
TIMESTAMP: 16:43:12:303714 gentopofile finished
Resetting OS and rebooting.
TIMESTAMP: 16:43:12:305511 launching os_setup
Setting up VLANs.
TIMESTAMP: 16:43:12:310102 snmpit started
TIMESTAMP: 16:43:12:519743 os_setup started
snmpit: meshtest/16420721-dongwoon has no VLANs to create, skipping
TIMESTAMP: 16:43:12:523148 rebooting/reloading nodes started
reboot: No nodes to reboot.
TIMESTAMP: 16:43:12:936783 snmpit finished
Setting up email lists.
TIMESTAMP: 16:43:12:938624 genelists started
TIMESTAMP: 16:43:13:538108 genelists finished
Clearing port counters.
TIMESTAMP: 16:43:13:539935 portstats started
ep:
TIMESTAMP: 16:43:14:126686 portstats finished
TIMESTAMP: 16:43:14:568125 rebooting/reloading finished
Waiting for local testbed nodes to finish rebooting ...
TIMESTAMP: 16:43:14:569519 Local node waiting started
Still waiting for pc9 - it's been 1 minute(s).
Still waiting for pc9 - it's been 2 minute(s).
Still waiting for pc9 - it's been 3 minute(s).
Still waiting for pc9 - it's been 4 minute(s).
Still waiting for pc9 - it's been 5 minute(s).
pc9 is alive and well
TIMESTAMP: 16:48:53:744639 Local node waiting finished
OS Setup Done.
TIMESTAMP: 16:48:53:745771 os_setup finished
Starting the event system.
TIMESTAMP: 16:48:54:165498 eventsys_control started
TIMESTAMP: 16:48:57:466044 eventsys_control finished
TIMESTAMP: 16:48:57:467890 Starting event time
pubsub_client_connect: Could not connect to event-server:16505
event_register_withkeydata_withretry: could not connect to event server
could not register with event system
*** ERROR: tbswap: Failed to start event time.
Cleaning up after errors.
Stopping the event system
TIMESTAMP: 16:48:58:830100 snmpit started
Removing VLANs.
snmpit: meshtest/16420721-dongwoon has no VLANs to remove, skipping
TIMESTAMP: 16:48:59:456522 snmpit finished
Tearing down virtual nodes.
TIMESTAMP: 16:48:59:458439 vnode_setup -k started
vnode_setup running at parallelization: 10 wait_time: 120
Vnode teardown finished.
TIMESTAMP: 16:49:01:50321 vnode_setup finished
Freeing nodes.
TIMESTAMP: 16:49:01:52133 nfree started
Releasing all nodes from experiment [Experiment: meshtest/16420721-dongwoon].
Moving [Node: pc9] to [Experiment: emulab-ops/reloadpending]
TIMESTAMP: 16:49:02:180762 nfree finished
Resetting named maps.
TIMESTAMP: 16:49:02:183047 named started
TIMESTAMP: 16:49:04:536450 named finished
Resetting email lists.
TIMESTAMP: 16:49:04:538217 genelists started
TIMESTAMP: 16:49:05:171338 genelists finished
Resetting DB.
Failingly finished swap-in for meshtest/16420721-dongwoon. 16:49:05:175049
TIMESTAMP: 16:49:05:175418 tbswap in finished (failed)
*** ERROR: batchexp: tbswap in failed!
Cleaning up and exiting with status 1 ...
Running 'tbend -f -e 23'
Beginning cleanup for meshtest/16420721-dongwoon. 16:49:05:747532
Clearing out virtual state.
Removing visualization data...
Cleanup finished! 16:49:06:314344
**** Experimental information, please ignore ****
Session ID = 4456
Likely Cause of the Problem:
 Failed to start event time.
 ...
Cause: unknown
Confidence: 0.7
Script: tbswap
**** End experimental information ****

--------- assign.log --------
seed = 1248257402
Physical Graph: 3
Calculating shortest paths on switch fabric.
Virtual Graph: 1
Generating physical equivalence classes:3
Type precheck:
Type precheck passed.
Node mapping precheck:
Node mapping precheck succeeded
Pruning pclasses.
pclass pruning complete: removed 2 pclasses, 1 remain.
Type precheck:
Type precheck passed.
Policy precheck:
Policy precheck succeeded
Annealing.
Doing melting run
Finished annealing while melting!
Reverting: forced
Reverting to best solution
Done
  BEST SCORE:  0.9 in 1000 iters and 0.0014 seconds
With 0 violations
Iters to find best score:  1
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:
client1 pc9
End Nodes
Edges:
End Edges
End solution

--------- 16420721-dongwoon.ns --------
#generated by Netbuild 1.03
set ns [new Simulator]
source tb_compat.tcl

set client1 [$ns node]

$ns run
#netbuild-generated ns file ends.