1. 01 Dec, 2003 7 commits
    • Leigh B. Stoller's avatar
      Allow user to specify email address when logging in. Some minor reorg · 41d37ee8
      Leigh B. Stoller authored
      of the CHECKEMAIL function as a result.
      41d37ee8
    • Mike Hibler's avatar
      dd1d9190
    • Leigh B. Stoller's avatar
      Fix glitch with switching between browsers. Stems from the goal of not · 0efa7677
      Leigh B. Stoller authored
      switching the menu when user switches between http and https (since
      the secret cookie is not transferred in http, we have no way of
      actually knowing the user is logged in from the browser). So, add
      another cookie that is a crc32 hash of the real cookie, and trasnfer
      that in http mode. A valid crc32 hash simply indicates that the user
      is almost certainly logged in from the browser (but does not impart
      any privs until we get the real cookie), while the absence of the
      crc32 or a mismatch indicates that user is almost certainly *not*
      logged in from the browser, and so we draw the usual "not logged in"
      page.
      0efa7677
    • Leigh B. Stoller's avatar
      If the user does not specify a sync server, do it for them by picking · 581c0389
      Leigh B. Stoller authored
      the first node in the list. Useful for the linktest stuff, and the
      sync server is harmless.
      581c0389
    • Robert Ricci's avatar
      New scripts: tarfiles_setup, fetchtar.proxy, and webtarfiles_setup . · c0c6547c
      Robert Ricci authored
      The idea is to give us hooks for grabbing experimenters' tarballs (and
      RPMs) from locations other than files on ops. Mainly, to remove
      another dependance on users having shells on ops.
      
      tarfiles_setup supports fetching files from http and ftp URLs right
      now, through wget. It places them into the experiment directory, so
      that they'll go away when the experiment is terminated, and the rest
      of the chain (ie. downloading to clients and os_setup's checks)
      remains unchaged.  It is now tarfiles_setup's job to copy tarballs and
      RPMs from the virt_nodes table to the nodes table for allocated nodes.
      This way, it can translate URLs into the local filenames it
      constructs. It get invoked from tbswap.
      
      Does the actual fetching over on ops, running as the user, with
      fetchtar.proxy.
      
      Should be idempotent, so we should be able to give the user a button
      to run webtarfiles_setup (none exists yet) yet to 'freshen' their
      tarballs. (We'd also have to somehow let the experiment's nodes know
      they need to re-fetch their tarballs.)
      
      One funny side effect of this is that the separator in
      virt_nodes.tarfiles is now ';' instead of ':' like nodes.tarballs,
      since we can now put URLs in the former. Making these consistent is a
      project for another day.
      c0c6547c
    • Kirk Webb's avatar
      6dcae6d3
    • Leigh B. Stoller's avatar
      162ad96e
  2. 26 Nov, 2003 11 commits
  3. 25 Nov, 2003 5 commits
  4. 24 Nov, 2003 8 commits
  5. 23 Nov, 2003 1 commit
  6. 21 Nov, 2003 4 commits
    • Mike Hibler's avatar
      Tweaks to support e1000 cards on the pc2000s. Installing this will break · 21e9611f
      Mike Hibler authored
      pc170-1 until those nodes actually have e1000 cards installed (next week).
      21e9611f
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Make sure we can hardwire speed/duplex on new Intel Pro/1000 (e1000) cards. · 5ad5ab99
      Mike Hibler authored
      Need to use ethtool instead of mii-tool to do this.  My comment:
      
        #
        # Linux is apparently changing from mii-tool to ethtool but some drivers
        # don't support the new interface (3c59x), some don't support the old
        # interface (e1000), and some (eepro100) support the new interface just
        # enough that they can report success but not actually do anything.  Sweet!
        #
      
      This requires that we load ethfind on the nodes, though the script will
      continue to work if it isn't (though will not work for e1000 cards).
      5ad5ab99
    • Mike Hibler's avatar
      Hack fix for an apparent boot-time race condition. Our pump-invoked · 633a7a12
      Mike Hibler authored
      sethostname script properly sets the hostname, but sometimes that hostname
      gets overridden by one of the static boot scripts which sets the hostname
      back to "localhost".  The sequence is something like:
      	pump runs on eth0 and fires off our sethostname script
      	sethostname blocks
      	ifup of eth1 starts, determines that hostname hasn't been
      	  set (i.e., is set to "localhost") and remembers (NEEDHOSTNAME)
      	sethostname finishes by setting the host name
      	ifup of eth1 finishes, seeing NEEDHOSTNAME is set but doesn't
      	  have anything to set it to so resets to "localhost"
      Weird.  Hack is to make sure it never thinks it needs to set the hostname
      by setting it to something that is not "localhost".  We do this once we
      identify the control net interface (and thus know we will be running pump RSN).
      633a7a12
  7. 20 Nov, 2003 4 commits