1. 18 Jan, 2018 1 commit
  2. 17 Jan, 2018 6 commits
  3. 16 Jan, 2018 10 commits
    • Leigh Stoller's avatar
      Slightly better handing for GPO users who are not a member of · 7a559d31
      Leigh Stoller authored
      any projects at the GPO portal; redirect them after login to a page that
      tells them they have no project membership. We already not giving them
      any menus, but add back in the right side dropdown that has their login
      name, but only a logout button.
      
      Eventually we want to make it easier for them to promote to real user,
      but that needs a bit more UI work. I just made a ticket for it, #377.
      7a559d31
    • Leigh Stoller's avatar
      More mysql 5.7 fixes. · 283fc466
      Leigh Stoller authored
      283fc466
    • Leigh Stoller's avatar
      Left this out of previous commit 98ca9432 · 56b43e80
      Leigh Stoller authored
      56b43e80
    • Leigh Stoller's avatar
      Minor fix. · a9f92d1b
      Leigh Stoller authored
      a9f92d1b
    • Leigh Stoller's avatar
      Fix typo. · 0245ad9c
      Leigh Stoller authored
      0245ad9c
    • Leigh Stoller's avatar
      Lots of changes for SSL enabled pubsub: · e44fc90d
      Leigh Stoller authored
      Pubsub libraries are now SSL enabled by default, so that we can talk SSL
      from a perl client. To do this we need another entry point from SWIG
      into the event code, event_register_withssl. At the same time there is a
      new entry point called event_set_sockbufsizes that calls a new pubsub
      entry point pubsub_set_sockbufsizes.
      
      The problem is that current swig generates code that does not compile,
      and since I don't know nothing about swig, I just hand crafted the two
      new routines that needed in event_wrap.c and the few extra lines that go
      into event.pm.
      
      Also change all the link lines to include the ssl/crypto libraries when
      linking.
      e44fc90d
    • Leigh Stoller's avatar
      Now that pubsub and the event wrappers export a call to set the default · 0a5d5f33
      Leigh Stoller authored
      socket buffer sizes, lets use that to reduce the send buffer size and
      bump up the receive size (since we get a LOT of events).
      0a5d5f33
    • Leigh Stoller's avatar
      Lots of changes: · 98ca9432
      Leigh Stoller authored
      * Big change to how events are forwarded to the Portal; Originally we
        subscribed to events from the local pubsubd, would transform them to
        Geni events, then send them back to the local pubsubd, pubsub_forward
        would pick them up, and then foward to the Portal SSL pubsubd. Now,
        send them directly to the Portal SSL pubsubd, which reduces the load
        on the main pubsubd which was throwing errors because of too much
        load (to be specific, the subscribers were not keeping up, which
        causes pubsubd to throw errors back to the sender). We can do this
        cause pubsub and the event system now include the SSL entrypoints.
      
        Aside, pubsub_forward is multi-threaded while igevent_daemon is not,
        we might have to play some tricks similar to stated.
      
      * Clean up configure definitions as described in commit 621253f2.
      
      * Various debugging changes to make possible to run an alternate igevent
        daemon out of my devel tree for debuging. Basically, the main igevent
        daemon ignores all events for a specific slice, while my igevenyt
        daemon ignores all the other events and process just the ones for my
        specific slice.
      98ca9432
    • Leigh Stoller's avatar
      Clean up the definitions for the definition of the Portal SSL enabled · 11bc397e
      Leigh Stoller authored
      pubsubd. The main point is that instead of being able to run the SSL
      pubsubd at the Mothership only, any site can be a Portal and needs to
      run it. So for example my elabinelab is a real Portal, which is very
      handy for testing.
      11bc397e
    • Leigh Stoller's avatar
  4. 12 Jan, 2018 5 commits
  5. 11 Jan, 2018 3 commits
    • Leigh Stoller's avatar
      Oops, minor fix to previous revision. · 2f6f393a
      Leigh Stoller authored
      2f6f393a
    • David Johnson's avatar
      Make clientside startcmdstatus reporting more reliable. · cb5ab9f5
      David Johnson authored
      (I had a disk image containing unmodifiable binary software that would
      overwrite dhcpcd's sane copy of /etc/resolv.conf, at a nondeterministic
      point in time, with something completely bogus.  That screwed up
      startcmdstatus reports; this helps out with that case (in combination
      with other custom scripting that returns /etc/resolv.conf to sanity).
      
      Note though that we only retry infinitely once runstartup has
      successfully gone to the background; up til then, we're limited to about
      a minute's worth of retries.  Likewise, we don't retry forever if
      runstartup itself experiences an error.  We only retry forever if we
      actually have a status to send.
      cb5ab9f5
    • Leigh Stoller's avatar
      Optimize how the list view is generated, the jquery stuff I was doing · 7e44a003
      Leigh Stoller authored
      was really inefficient. At about 1200 nodes each successive node was
      taking over a second to process. Much better now.
      
      Also note that this commit disables all Jacks when the number of nodes
      is greater then 200. Temporary.
      7e44a003
  6. 10 Jan, 2018 1 commit
  7. 09 Jan, 2018 7 commits
  8. 08 Jan, 2018 1 commit
    • David Johnson's avatar
      Add some debugging support to clientside TBScriptLock; use it in libvnode_xen. · 5d0ff72b
      David Johnson authored
      If the TBScriptLock caller provides a debug message, it will be stored
      in a file, and other blocked TBScriptLock callers will get (possibly
      slightly racy) info about who holds the lock.
      
      Then, use this in libvnode_xen to get some info about long calls to xl
      (create|halt|reboot|etc).
      
      Also enable lockdebug in libvnode_xen for now.
      5d0ff72b
  9. 04 Jan, 2018 6 commits