- 17 Nov, 2010 1 commit
-
-
Mike Hibler authored
-
- 09 Nov, 2010 1 commit
-
-
Mike Hibler authored
-
- 15 Oct, 2010 1 commit
-
-
Mike Hibler authored
This is a fer-now hack. Perl 5.10 has issues with bogus taint check triggers that appear quite often when using the SelfLoader. Now if you put: SELFLOADER_DATA="" In your defs-* file, it will disable the uses that cause problems. Yes, the configure script should figure out if this is needed for you, but... another time.
-
- 11 Oct, 2010 1 commit
-
-
Leigh B Stoller authored
starting any one of our scripts can take a second or two. That time is spent including and compiling 10000s of thousands of lines of perl code, both from our libraries and from the perl libraries. Mostly this is just a maintenance thing; we just never thought about it much and we have a lot more code these days. So I have done two things. 1) I have used SelfLoader() on some of our biggest perl modules. SelfLoader delays compilation until code is used. This is not as good as AutoLoader() though, and so I did it with just a few modules (the biggest ones). 2) Mostly I reorganized things: a) Split libdb into an EmulabConstants module and all the rest of the code, which is slowly getting phased out. b) Move little things around to avoid including libdb or Experiment (the biggest files). c) Change "use foo" in many places to a "require foo" in the function that actually uses that module. This was really a big win cause we have dozens of cases where we would include a module, but use it in only one place and typically not all. Most things are now starting up in 1/3 the time. I am hoping this will help to reduce the load spiking we see on boss, and also help with the upcoming Geni tutorial (which kill boss last time).
-
- 22 Jul, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 25 May, 2010 1 commit
-
-
Robert P Ricci authored
-
- 20 May, 2010 1 commit
-
-
Robert P Ricci authored
-
- 21 Apr, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 14 Apr, 2010 1 commit
-
-
Mike Hibler authored
Boss/ops/fs: reboot them together after setup rather than serially. Nodes: leave them in PXEWAIT throughout the setup, until after boss has been rebooted. At that point we send them the new bootinfo RESTART command telling pxeboot to re-DHCP and use the new info obtained (next-server) to contact a potentially new boss node. This is a quick way to switch a node in PXEWAIT from talking to the outer boss to talking to the inner one. A significant number of rinky-dink changes were needed to do this, primarily adding a new state, PXELIMBO, where nodes can be sent to sit until they are restarted. It turns out, just putting them in an existing state such as PXEWAKEUP or SHUTDOWN wouldn't work, as they tend to timeout or otherwise reboot.
-
- 08 Apr, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 30 Mar, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 22 Mar, 2010 1 commit
-
-
Leigh B Stoller authored
deleted, they still remain in the user table with a status of "archived", but since all the queries in the system now use uid_idx instead of uid, it is safe to reuse a uid since they are no longer ambiguous. The reason for not deleting users from the users table is so that the stats records can refer to the original record (who was that person named "mike"). This is very handy and worth the additional effort it has taken. There is no way to ressurect a user, but it would not be hard to add.
-
- 22 Dec, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Dec, 2009 1 commit
-
-
Leigh B. Stoller authored
land in hwdown. Currently, if a node fails to boot in os_setup and the node is running a system image, it is moved into hwdown. 99% of the time this is wasted work; the node did not fail for hardware reasons, but for some other reason that is transient. The new approach is to move the node into another holding experiment, emulab-ops/hwcheckup. The daemon watches that experiment, and nodes that land in it are freshly reloaded with the default image and rebooted. If the node reboots okay after reload, it is released back into the free pool. If it fails any part of the reload/reboot, it is officially moved into hwdown. Another possible use; if you have a suspect node, you go wiggle some hardware, and instead of releasing it into the free pool, you move it into hwcheckup, to see if it reloads/reboots. If not, it lands in hwdown again. Then you break out the hammer. Most of the changes in Node.pm, libdb.pm, and os_setup are organizational changes to make the code cleaner.
-
- 07 Nov, 2009 1 commit
-
-
Leigh B. Stoller authored
directories are now placed in a project subdirectory, to avoid blowing out the max number of subdirs (32K in FreeBSD). Dirs are now called $pid/$eid/$idx. Cleanup and move infodir method to the experiment library.
-
- 12 Oct, 2009 1 commit
-
-
David Johnson authored
the tb-set-node-os command with a second optional argument; if that is present, the first arg is the child OS and the second is the parent OS. We add some new features in ptopgen (OS-parentOSname-childOSname) based off a new table that maps which child OSes can run on which parents, and the right desires get added to match. We setup the reloads in os_setup along with the parents. Also needed a new opmode, RELOAD-PCVM, to handle all this. For now, users only have to specify that their images can run on pcvms, a special hack for which type the images can run on. This makes sense in general since there is no point conditionalizing childOS loading on hardware type at the moment, but rather on parentOS. Hopefully this stuff wiill mostly work on shared nodes too, although we'll have to be more aggressive on the client side garbage collecting old frisbee'd images for long-lived shared hosts. I only made these changes in libvtop, so assi...
-
- 25 Sep, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 18 May, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 19 Mar, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 02 Mar, 2009 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
updates are done.
-
- 16 Jan, 2009 2 commits
-
-
Leigh B. Stoller authored
deletenode.
-
Leigh B. Stoller authored
-
- 09 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
into Experiment.pm. Also a few little protogeni additions that might get whacked later.
-
- 07 May, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 01 May, 2008 1 commit
-
-
Kevin Atkinson authored
When a project is initially created a new mailing list is created, PROJ-admin@emulab.net. testbed-approval is subscribed to the list Several emails that originally went to testbed-approval now go to the mailing list instead. The From, To, fields are basically the same with testbed-approval becoming PROJ-admin. This means some mail is sent with a From PROJ-admin and Bcc the mailing list. Note that some mail still goes to testbed-approval directly, in particular ones where there is no clear project involved, and when a project is denied. In addition notifications of approval status of new members is also sent to the list. These emails use to only go to testbed-audit@. Currently All mail sent to PROJ-admin is also sent to testbed-audit (via a Bcc). This means that some mail that didn't use to go to testbed-audit now does. The mailing list is deleted when a project is deleted with out first being approved. Becuase o...
-
- 24 Apr, 2008 1 commit
-
-
Leigh B. Stoller authored
into a new module called emdbi.pm, and reexport the symbol names back out. This allows me to import just the db interface code to the Geni modules I am writing, without having to drag in 4000 lines of other crap that is Emulab specific. This change is invisible to the Emulab code, although I did it without any perl exporter/importer magic incantations; did it the old fashioned way.
-
- 21 Feb, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 11 Feb, 2008 1 commit
-
-
Leigh B. Stoller authored
script.
-
- 22 Jan, 2008 1 commit
-
-
Leigh B. Stoller authored
table.
-
- 16 Jan, 2008 1 commit
-
-
Mike Hibler authored
update_accounts set properly.
-
- 14 Jan, 2008 1 commit
-
-
Leigh B. Stoller authored
lan_member_attributes, and ifaces. Making the world safe for protogenis.
-
- 05 Dec, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 26 Nov, 2007 1 commit
-
-
Leigh B. Stoller authored
instead of paths. There is a script called from database-migrate that converts paths to logfile (db) objects.
-
- 02 Nov, 2007 1 commit
-
-
Leigh B. Stoller authored
not to work.
-
- 19 Oct, 2007 1 commit
-
-
Russ Fish authored
www/newimageid_ez.php3 - The reworked PHP page. Calls Image::NewImageId with ez=1. www/newimageid.php3 - Call Image::NewImageId with ez=0. www/imageid_defs.php - Re-use the Image::NewImageId class method, adding an 'ez' arg. backend/{newimageid_ez,GNUmakefile}.in configure configure.in - New backend script. After checks, calls OSinfo->Create and Image->Create with the same XML args array. db/Image.pm.in - Re-use the Image->Create method, adding an imageid over-ride arg. db/OSinfo.pm.in - Filter out extraneous db slot args from XML in the Create method. db/libdb.pm.in - Add TB_{OS,IMAGE}ID_* constants from dbdefs.php3 . sql/database-fill.sql - Add OS entries to the table_regex 'images' pattern set.
-
- 24 Sep, 2007 1 commit
-
-
Russ Fish authored
-
- 19 Sep, 2007 1 commit
-
-
Russ Fish authored
GNUmakefile.in configure configure.in - Add the testbed/backend directory. www/moduserinfo.php3 - The reworked PHP page. www/user_defs.php - Add a ModUserInfo method bridging to the script via XML, and remove the ChangeProfile method that is being replaced. backend/{moduserinfo,GNUmakefile}.in - Add the Perl script. db/User.pm.in - Add a ModUserInfo worker class method for script arg checking. Also SetUserInterface, SetWindowsPassword, and AccessCheck methods, and a copy of the escapeshellarg fn. sql/database-fill.sql - Add some to the table_regex 'users' checking patterns. Support stuff: account/tbacct.in - Update the UpdateWindowsPassword() function. db/libdb.pm.in - Add TBDB_USER_INTERFACE_EMULAB and TBDB_USER_INTERFACE_PLAB(). tbsetup/libtestbed.pm.in - Add TB*EMAIL, TBMAIL_* vars (OPS, WWW, AUDIT).
-
- 05 Sep, 2007 1 commit
-
-
Leigh B. Stoller authored
Add some missing code to the check dbslot code to set the error strings.
-
- 16 Aug, 2007 1 commit
-
-
Leigh B. Stoller authored
-