Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb262

Kb262

Emulab FAQ: Testbed Operations: Experiments Stuck in Transistion

Emulab FAQ: Testbed Operations: Experiments Stuck in Transistion

Sometimes the nightly database audit will tell you about nodes that are stuck in transition, as in:

	The following experiments are stuck in transition.

	Pid          Eid                  When
	------------ -------------------- ------------------------
	testbed      myexp                2004-11-03 14:28:17

This typically happens if your boss node crashes or if mysqld dies, or if a software error causes a script to terminate unexpectedly.

In order to unstick these stuck experiments, you need to alter the database state slightly, and then swap them out. Using the above experiment as an example, issue the following command to mysql:

	boss > mysql tbdb
	mysql> update experiments set
	mysql>    state='active',expt_locked=NULL,canceled=0
	mysql>    where pid='testbed' and eid='myexp';

Then, you need to do one of:

    • If a ProtoGeni Slice: use cleanupslice from the command line on boss.
    • If a normal Emulab experiment, go to the web interface, and use the "Swap Experiment Out" option on the Show Experiment page.