1. 16 Oct, 2015 1 commit
    • Mike Hibler's avatar
      New sitevar to set a default per-project dataset quota. · e6e123f2
      Mike Hibler authored
      In createdataset, if the "usequotas" sitevar is set for the dataset type in
      question but a quota does not exist for the dataset's project, we create
      a quota object using the value from the new "default_quota" sitevar for that
      dataset type. If that sitevar does not exist or has a value of zero, we do
      NOT create a quota object and hence createdataset will fail.
  2. 09 Oct, 2015 1 commit
  3. 02 Oct, 2015 1 commit
  4. 01 Oct, 2015 1 commit
  5. 17 Sep, 2015 1 commit
  6. 03 Sep, 2015 1 commit
  7. 27 Aug, 2015 1 commit
  8. 25 Aug, 2015 1 commit
    • Leigh B Stoller's avatar
      Add a new table image_boot_status to record boot success/failure each time · 4fa9d2ea
      Leigh B Stoller authored
      an image is loaded on a node. We want to know both success and failure over
      time so that we can determine when a image works or does not work on a
      particular node/type. This is primarily for the image tracker to determine
      what images work on what node types, but might be useful for in other
      situations. I realize this duplicates some info we already have in the
      image_history table, but that does not record failure, only success, and it
      mostly concerned with who is using what images.
  9. 21 Aug, 2015 2 commits
  10. 06 Aug, 2015 1 commit
  11. 29 Jul, 2015 1 commit
  12. 13 Jul, 2015 1 commit
  13. 11 Jul, 2015 2 commits
  14. 10 Jul, 2015 1 commit
  15. 26 Jun, 2015 1 commit
  16. 25 Jun, 2015 2 commits
  17. 24 Jun, 2015 2 commits
    • Mike Hibler's avatar
      Updates for new FreeBSD 10.1 based servers. · 480fdc70
      Mike Hibler authored
      Big changes a comin' to try to get us back on the supported path.
       * perl 5.14 -> 5.20
       * mysql 5.1 -> 5.5
       * php 5.4   -> 5.6
       * tcl 8.4   -> 8.6
       * number of vim patches up to 683.
      Not everything tested yet, but getting there.
      Specific changes:
       * New install/ports directory. New packages for FreeBSD 10.1 are version
         6.1. Cleaned up the ports' Makefiles getting rid of conditionals for
         all older versions. Also got rid of ports we don't use. Old ports tree
         is now install/oports.
       * Install script changes. Make sure /usr/bin/perl and /usr/local/bin/python
         links exist. Ports no longer make these but we use them in '#!'. Changes
         to mysql install and startup script--mysql has changed a LOT since we did
         the support in 4.x. Create syslog entry for named.log. Make sure php.conf
         loads the legacy "mysql" module rather than using "mysqli".
       * Elabinelab support. reflect new packages, remove all old packages
         (except perl) before installing new versions, install "extras" package,
         make sure sendmail cert get regenerated, make sure /usr/bin/perl link
         exists, make sure /usr/local/bin/python link exists.
       * Custom ports. otcl and xerces-c2 have both been removed from the ports
         tree as of Q2 2015. ipmitool-devel is a port for the latest version of
         ipmitool. The FreeBSD port is still a rev behind here. We need the
         newer version as it appears to make our SOL consoles more stable.
       * Random. Fixed prerender as neato output has changed again. Tweak to
         sslxmlrpc_server to reflect change in an underlying library. Tweak to
         db/libdb.py.in to turn on autocommit which matters now as mysql 5.5 will
         hang on a metadata lock otherwise. Remade eventsys perl/python stubs
         with SWIG 2.0. SWIG 1.3 did not produce working stubs for perl 5.20.
      Specific un-changes:
       * Apache is still at 2.2. I lack the guts and skilz to upgrade to 2.4.
       * Xerces library is still at (now unsupported) 2.8. Assign will need
         changes before we can move to 3.x.
       * Python is still 2.7.
      Thanks to Keith Sklower for all the work he did converting ports!
    • Leigh B Stoller's avatar
  18. 19 Jun, 2015 2 commits
  19. 15 Jun, 2015 1 commit
  20. 29 May, 2015 1 commit
  21. 26 May, 2015 3 commits
  22. 15 May, 2015 2 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Directory based image paths. · 3a21f39e
      Leigh B Stoller authored
      Soon, we will have images with both full images and deltas, for the same
      image version. To make this possible, the image path will now be a
      directory instead of a file, and all of the versions (ndz,sig,sha1,delta)
      files will reside in the directory.
      A new config variable IMAGEDIRECTORIES turns this on, there is also a check
      for the ImageDiretories feature. This is applied only when a brand new
      image is created; a clone version of the image inherits the path it started
      with. Yes, you can have a mix of directory based and file based image
      When it is time to convert all images over, there is a script called
      imagetodir that will go through all image descriptors, create the
      directory, move/rename all the files, and update the descriptors.
      Ultimately, we will not support file based image paths.
      I also added versioning to the image metadata descriptors so that going
      forward, old clients can handle a descriptor from a new server.
  23. 13 May, 2015 2 commits
  24. 08 May, 2015 1 commit
  25. 06 May, 2015 1 commit
    • David Johnson's avatar
      Bug Fix: make port lookup distinguish logical/physical wires. · 8e1064ae
      David Johnson authored
      The stuff in db/Port.pm (Port::LookupByIface) wasn't handling the MLE
      case where there are two wires table entries for physical wires with a
      logical wire implemented by them; for my experiment, when snmpit was
      trying to create the physical vlans on the apcon, it would grab the
      logical wire instead of the physical one as it populated the Port
      objects, and that screwed vlan creation up (the member port for the
      physical layer 1 vlan gets labeled with a switch WIRE_END instead of
      node -- which is correct for the logical wire, but not the physical).
      So, I changed the query to check that wires.logical ==
      interfaces.logical ; see the code.  This is a limited fix, maybe --
      maybe that method should really do more verification to make sure it's
      grabbed the correct wires table entry -- but since we only have 2 layers
      it's plenty good for now.
  26. 04 May, 2015 1 commit
  27. 30 Apr, 2015 1 commit
  28. 26 Apr, 2015 1 commit
  29. 24 Apr, 2015 1 commit
  30. 06 Apr, 2015 1 commit
  31. 27 Mar, 2015 1 commit