- 30 Oct, 2006 1 commit
-
-
Leigh B. Stoller authored
same view, instead of always to the vis view. Also, change the template graph generator to append &show=graph so that when you click on a template in the graph, you got to that template, but stay in the graph view.
-
- 26 Oct, 2006 2 commits
-
-
Robert Ricci authored
than we can physically make on the switches.
-
Kevin Atkinson authored
Make an attempt to discover what the error was before an swap-* was canceled, if any. Both the main error (canceled) and the other error are stored in the error table. To support this a new column in the error table is added "rank". The primary error has a rank 0 while the other error has a rank 1. Make an attempt to determine when an error is a "me too" error or the real cause of the problem. "Me too" errors are errors which are generally reported when the callie script determined that the caller script fails. The caller script should have reported the error, but in some cases the error didn't make it into the database. Thus if a "me too" is reported as the cause of a "swap-*" more info is needed to determine the true cause. When a "me too" error is reported it is followed by a "..." on it's own line. It is also recorded in the errors table under the new column "need_more_info". Add inferred column to the errors table. This is the same value as the inferred variable in tblog_find_error. Add revision column to errors table to make it easy to tell which algorithm was used to determine the error.
-
- 25 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
between when something is installed and when post-install runs. Short of a global lock (which we probably need anyway someday), my solution is this. In your makefiles, add these variables before the line that has the include of $(TESTBED_SRCDIR)/GNUmakerules: SETUID_BIN_SCRIPTS = SETUID_SBIN_SCRIPTS = I have added three new rules to GNUmakerules that look like this: $(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: % echo "Installing (setuid) $<" -mkdir -p $(INSTALL_SBINDIR) $(SUDO) $(INSTALL) -o root -m 4755 $< $@ Yep, your eyes ain't lying to you; use sudo to run the target so that install does the right thing (which is that the old file is not replaced until the new one has the proper attributes on it). Note that post-install is still needed for the initial install, but should no longer be needed for day to day installs since all that other stuff post-install does is mkdir/chmod on directories.
-
Leigh B. Stoller authored
-
- 24 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
appears as a box on the show template page, with a mandatory confirm checkbox right next to it.
-
- 23 Oct, 2006 2 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
-
- 20 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
greater the 512K is automatically compressed with gzip. Might need to make this number bigger; we shall see. If you run emacs, put this in your .emacs file. (load "jka-compr") (jka-compr-install) and any time you visit a file that ends in one of the standard compression extensions, emacs will automatically do the uncompress for you on the data in the buffer (not the actual disk file of course). Very convenient. You can also get your browser to do the same, but I leave that as an exercise for the reader.
-
Mike Hibler authored
Two-day boondoggle to support "/scratch", an optional large, shared filesystem for users. To do this, I needed to find all the instances where /proj is used and behave accordingly. The boondoggle part was the decision to gather up all the hardwired instances of shared directory names ("/proj", "/users", etc.) so that they are set in a common place (via unexposed configure variables). This is a boondoggle because: 1. I didn't change the client-side scripts. They need a different mechanism (e.g., tmcd) to get the info, configure is the wrong way. 2. Even if I had done #1 it is likely--no, certain--that something would fail if you tried to rename "/proj" to be "/mike". These names are just too ingrained. 3. We may not even use "/scratch" as it turns out. Note, I also didn't fix any of the .html documentation. Anyway, it is done. To maintain my illusion in the future you should: 1. Have perl scripts include "use libtestbed" and use the defined PROJROOT(), et.al. functions where possible. If not possible, make sure they run through configure and use @PROJROOT_DIR@, etc. 2. Use the configure method for python, C, php and other languages. 3. There are perl (TBValidUserDir) and php (VALIDUSERPATH) functions which you should call to determine if an NS, template parameter, tarball or other file are in "an acceptable location." Use these functions where possible. They know about the optional "scratch" filesystem. Note that the perl function is over-engineered to handles cases that don't occur in nature.
-
- 19 Oct, 2006 2 commits
-
-
Mike Hibler authored
-
Leigh B. Stoller authored
-
- 18 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
not swapped in (equiv of plain experiment preload), and then swapped in later. This fulfills flyspray request FS#100.
-
Mike Hibler authored
condition.
-
- 17 Oct, 2006 2 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
-
- 16 Oct, 2006 1 commit
-
-
Mike Hibler authored
-
- 13 Oct, 2006 1 commit
-
-
Leigh B. Stoller authored
trying to start two runs at a times. Nothing special, only one operation at a time.
-
- 12 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
(initial) parameters for a new run. Three choices right now; from the template itself, from the instance, or from the previous run. On the web interface this is presented as three buttons. On ops, it is the the -y option, which takes one of template,instance,lastrun as its argument (you can of course combine the -y option with an XML file to override specific params). At present, there is no default. Lets give it a chance to sink in before I pick something that will annoy 50% of the people 75% of the time.
-
- 11 Oct, 2006 1 commit
-
-
Kirk Webb authored
Change the way vnode_setup handles plab nodes a bit to avoid a couple of buggy situations. * Don't try vnodesetup -h on plab nodes This can hang, or even fail. Since nothing useful is conveyed by this step, just skip it, set the node's state to SHUTDOWN, and ask pl_conf on the node to remove the vserver. * Set plab node's alloc state to TBDB_ALLOCSTATE_RES_INIT_DIRTY after instantiation. This avoids a bug where Emulab cluster nodes fail to come up, and so os_setup never waits on the plab vnodes (now that they are started in parallel with physical node setup). Previously their alloc state made them look clean, and so the vservers would not be reaped during teardown.
-
- 09 Oct, 2006 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
time a run starts. This info is stored in the DB forever, but a file in the archive is a nice thing too.
-
- 08 Oct, 2006 6 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
instance being replayed, not the template itself.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 06 Oct, 2006 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
stuff).
-
Leigh B. Stoller authored
tblog code.
-
- 05 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
* New version of template_record just for ops, since so much is different about ops, not bothering to maintain a single version. * Various fixes to how the recorded events are stored and reconstituted. The big fix is to wrap them in a sequence to that they get fired properly (waiting for completion of previous event in recording). * New buttons to Pause and Continue event time, which is used when adding recorded events. This allows users to pause time while they "think" so when an event is recorded, the thinking time is not actually in the timeline. Eventually hope to figure this out automatically, but that will take some real, uh, thinking. * Add a new event editor (linked off the template page) that allows you to delete and change the recordings. Note that you can only edit the events at the template level; you cannot edit the events of an instance (swapped in experiment), and you can only edit the recorded events, not any other events. Not sure its useful to be able to do either of these yet, but probably not too hard to add at some point.
-
Leigh B. Stoller authored
-
- 04 Oct, 2006 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
problem, which is that swapmod messes up the env that the template code has carefully setup.
-
Leigh B. Stoller authored
think the problem is that the archive is forked for a template instance, but not committed before the first savepoint. This screws up the archive cause the datastore directory has not been copied in yet, and subversion pukes.
-
- 03 Oct, 2006 1 commit
-
-
Leigh B. Stoller authored
getting deleted.
-