- 17 Jul, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 14 Jul, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 07 Jul, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Jun, 2002 1 commit
-
-
Leigh B. Stoller authored
This call appears to always reselect the DB, which might be a problem when the DB is busy.
-
- 04 Jun, 2002 1 commit
-
-
Leigh B. Stoller authored
changes that have to go in now!
-
- 02 Jun, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 22 May, 2002 1 commit
-
-
Leigh B. Stoller authored
* Cleanup! A lot of the structure derived from the early frame days, which had a noticable (and bad) effect on how I wrote the stuff. I cleaned up most of that yuckyness. * In process, optimize a little bit on the queries. The old code did about 9 queries just to write out the menu options, and then repeated most of those queries again in the page guts. I've consolidated the queries as much as possible (to 3) and cache all the results. * Fix up problem with users who forget their passwords before verification. Basically, I fixed the more general problem of not being able to update your user info before verification/approval; users now get that menu option no matter their status. * Fix up problem of users being able to access pages before verification (but after approval) by going around the menu options. The page level check (after the menu is drawn) now checks all conditions (password expired, unverified, unapproved, timedout, and also nologins()). * Minor change in approveuser; do not show the new account to the project leader until the new user has verified his account. * Change verification method, as reqwuested by Dave. In addition to providing the key, also provide a web link to take the user straight to verification. I actually take them direct to the login page, and pass the key in as an argument. If the user is already logged in, bypass and go directly to the verify page (not the form page of course). If the user is not logged in, let him log in, and then forward the key onward to the verify page. Basically, bypass the form all the time, and just do the verification. * Minor change in showuser; Do not show pid/groups not approved in, and if the count is zero, do not draw the table headings.
-
- 14 May, 2002 1 commit
-
-
Mac Newbold authored
Small change for expts in TBOPSPID (emulab-ops for us): Instead of vname (which isn't usually defined), show when it was reserved to the expt. Great for checking on reloading nodes, hwdown nodes, etc.
-
- 22 Apr, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 17 Apr, 2002 1 commit
-
-
Leigh B. Stoller authored
to indicate that the kernel is does not touch the disk. Defaults to 1 for all osids so that a disk reload is forced (via the last_reservations table).
-
- 15 Apr, 2002 1 commit
-
-
Leigh B. Stoller authored
sorting options. I have not done anything with the experiment listing though since I'm hoping to get better info out of the slothd stuff, so might as well wait.
-
- 05 Apr, 2002 1 commit
-
-
Leigh B. Stoller authored
"approved" designation is confusing. Changed to reflect group membership trust!=none instead of user status=active since thats what people really want to know.
-
- 21 Mar, 2002 1 commit
-
-
Leigh B. Stoller authored
the node control page. Add verbose option to add sharks to list; off by default.
-
- 11 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
Update pages appropriately. Also cleanup up a few more sub menus.
-
- 08 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
supporting autocreating and autoloading images. The imageid form now sports a field to specify a nodeid to create the image from; If set, the backend create_image script is invoked. Thats the easy part. Slightly harder is autoloading images based on the osid specified in the NS file. To support this, I have added a new DB table called osidtoimageid, which holds the mapping from osid/pctype to imageid. When users create images, they must specify what node types that image is good for. Obviously, the mappings have to be unique or it would be impossible to figure it out! Anyway, once that image mapping is in place and the image created, the user can specify that ID in the NS file. I've changed os_setup to to look for IDs that are not loaded, and to try and find one in the osidtoimageid. If found, it invokes os_load. To keep things running in parallel as much as possible, os_setup issues all the loads/reboots (could be more than a single set of loads is multiple IDs are in the NS file) at once, and waits for all the children to exit. I've hacked up os_load a bit to try and be more robust in the face of PXE failures, which still happen and are rather troublsesome. Need an event system! Contained in this revision are unrelated changed to make the OS and Image IDs per-project unique instead of globally unique, since thats a pain for the users. This turns out to be very messy, since underneath we do not want to pass around pid/ID in all the various places its used. Rather, I create a globally unique name and extened the OS and Image tables to include pid/name/ID. The user selects pid/name, and I create the globally unique ID. For the most part this is invisible throughout the system, except where we interface with the user, say in the web pages; the user should see his chosen name where possible, and the should invoke scripts (os_load, create_image, etc) using his/her name not the internal ID. Also, in the front end the NS file should use the user name not the ID. All in all, this accounted for a number of annoying changes and some special cases that are unavoidable.
-
- 10 Jan, 2002 1 commit
-
-
Leigh B. Stoller authored
(somewhat) so that we can do submenu easily in other pages.
-
- 20 Dec, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 17 Dec, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 13 Dec, 2001 1 commit
-
-
Leigh B. Stoller authored
tb-set-node-routertype $node none|gated Added slots to virt_nodes and nodes table. This stuff is carried through so that tmcd can get at it and pass it back to client.
-
- 28 Nov, 2001 1 commit
-
-
Leigh B. Stoller authored
request.
-
- 07 Nov, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 06 Nov, 2001 1 commit
-
-
Leigh B. Stoller authored
check box means. Also add links from the begin experiment page and from the experiment information page to the FAQ entry. Lets see if this helps.
-
- 05 Nov, 2001 1 commit
-
-
Leigh B. Stoller authored
stuff so that the web page did not need to do anything except display and form processing. Add tbsetup/node_control for backend so that it can be called from the command line too. The virt_nodes table is also updated (for those values that have virt_nodes equivalents), and this mostly implies that changes can be applied only to swapped in experiments since we use the reserved table to map pcXXX to its vname so that the virt_nodes table can be updated. It is an easy extension to allow changes based on the pid/eid/vname, but I do not see a reason to support this ability yet. Note usage: Usage: node_control name=value [name=value ...] node [node ...] node_control -e pid,eid name=value [name=value ...] node_control -l For multiword values, use name='word0 ... wordN' Use -l to get a list of operational parameters you can change. Use -e to change parameters of all nodes in an experiment. {824} stoller$ /build/testbed/install//bin/node_control -l next_boot_osid - (administrators only) startup_command bios_version - (administrators only) rpms - (multiple options allowed) default_boot_cmdline default_boot_path default_boot_osid next_pxe_boot_path - (administrators only) tarfiles - (multiple options allowed) pxe_boot_path - (administrators only) next_boot_cmdline - (administrators only) deltas - (multiple options allowed) next_boot_path - (administrators only)
-
- 29 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
pages now show the lastlogin info that is gathered from sshd syslog reporting to users. That info is parsed by security/genlastlog.c, and entered into the DB in the nodeuidlastlogin and uidnodelastlogin tables. If not obvious from the names, for each user we want the last time they logged in anyplace, and for each node we want the last time anyone logged into it. The latter is obviously more useful for scheduling purposes. All of the various images have new /etc/syslog.conf files, and the 6.2 got new sshd_configs (all cvsup'ed with kill -HUP). There is an entry in boss:/etc/crontab and users:/etc/syslog.conf. All of this is decribed in greater detail in security/genlastlog.c.
-
- 25 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 24 Oct, 2001 3 commits
-
-
Leigh B. Stoller authored
Remove hot list for osids from big node listing to cut down on the size of the html that gets spit out.
-
Leigh B. Stoller authored
use.
-
Leigh B. Stoller authored
but simply entered into the DB record for the experiment until we know what to do with them. Add to batchexp script arguments, since all that stuff is done outside the web interface. Add a swapexp perl script to swap an an experiment in/out form the command line. Add web links on the Experiment Information page to do this from the web interface. A bunch of locking changes. Previously expt_terminating in the experiment record prevented multiple calls to terminate an experiment, but now we have a more general locking problem with start,swapin,swapout, and terminate, so change expt_terminating to expt_locked (still a datetime field) and add locking to all of startexp, swapexp, and endexp. Note that batch experiments cannot be swapped yet because of locking issues still to be resolved. Minor cleanup in tbreport to make email message look better.
-
- 20 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
viewing the log.
-
- 18 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
done a couple of weeks ago).
-
- 17 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
experiment code. No longer uses another table. Rather, the experiment record contains a couple of extra fields for the batch system. Also combined some of the backend code (no longer a killbatch script). Also added scriptable experiments; the batchexp program in the bin directory can start an experiment from the command line, and in fact is used from the web page for both batch experiments and immediate experiments (-i option). All of the DB code that was in the web interfaces was moved to batchexp.
-
- 16 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 01 Oct, 2001 1 commit
-
-
Leigh B. Stoller authored
I added a DB table to record last Web login, and I've added a backed program (lastlogin.c) to get the lastlogin information from users:/var/log/lastlog (mounted on boss:/usr/testbed/usersvar). These two bits of info are now displayed in the user infomation page.
-
- 25 Sep, 2001 1 commit
-
-
Leigh B. Stoller authored
that Mike reported.
-
- 24 Sep, 2001 1 commit
-
-
Leigh B. Stoller authored
Begin Experiment page. Rough ...
-
- 19 Sep, 2001 1 commit
-
-
Leigh B. Stoller authored
experiment form sports a new checkbox. When shared, the experiment information page will include a link (Shared) to a page where you can add and subtract projects that can share the nodes in the experiment. Only TBadmins and experiment creator and project leader get to mess with this stuff. A backed script called webnodeupdate is called to fire off updates on the nodes (accounts and mounts).
-
- 22 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
-
- 17 Jul, 2001 1 commit
-
-
Leigh B. Stoller authored
a bootstatus field to the nodes table. os_setup sets this to one of okay, failed, unknown. This is to be used with the still to be defined method of specifying certain nodes that can fail reboot on experiment creation. Right now sharks are wired to this, and this information is presented in the web page. Its also essential for the batch system, which needs to consider nodes that failed to reboot, or else batch experiments would never end. Might still need a way for an experiment to tell the batch system its done though.
-
- 12 Jul, 2001 1 commit
-
-
Leigh B. Stoller authored
who is active.
-
- 20 Jun, 2001 1 commit
-
-
Leigh B. Stoller authored
-