1. 29 Aug, 2018 3 commits
  2. 24 Aug, 2018 2 commits
  3. 23 Aug, 2018 2 commits
  4. 22 Aug, 2018 1 commit
  5. 21 Aug, 2018 4 commits
  6. 20 Aug, 2018 1 commit
  7. 17 Aug, 2018 5 commits
  8. 16 Aug, 2018 4 commits
  9. 15 Aug, 2018 4 commits
  10. 14 Aug, 2018 5 commits
  11. 13 Aug, 2018 3 commits
    • Leigh B Stoller's avatar
      Possible fix using shared lan and wanting to use the 10G interface: · 7b5eb1bb
      Leigh B Stoller authored
      * In the CM we have always ignored the BW settings on a shared lan,
        since there is no way to set the properties in geni-lib for such a
        lan. There is the local hack I added (linkwide properties), but that
        was also ignored for shared vlans. Now I am looking to see if there is
        a bandwidth specification there, and using that. I assume we do not
        care about delay/loss since well, we never have before.
      
      * But even so, the mapper was ignoring it too. But we also have the code
        that tries to not use 10G interfaces unless explicitly asked for a 10G
        link, and that is not in the shared vlan path. So ... I made a few
        changes, the worst that can happen is that I broke share vlans for
        everyone except this one case.
      7b5eb1bb
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Minor fix for OPSVM_ENABLE. · b83f757f
      Leigh B Stoller authored
      b83f757f
  12. 12 Aug, 2018 2 commits
  13. 10 Aug, 2018 1 commit
  14. 09 Aug, 2018 2 commits
  15. 08 Aug, 2018 1 commit
    • David Johnson's avatar
      Add Docker container blockstore support. · 9bf09981
      David Johnson authored
      Docker containers may be (and default to, and in the shared host case,
      must be) deprivileged; thus, they cannot mount devices, much less tell
      the kernel (via iscsi userspace tools, etc) to make devices.
      
      Therefore, we must setup any storage backing devices (temp LVs, iscsi
      attachments) outside the container.  This commit makes that possible for
      rc.storage and linux liblocstorage.  Basically, rc.storage now supports
      (for the Linux liblocstorage and Docker) the -j vnodeid calling
      convention; and if it's being called on behalf of a vnodeid, it uses
      per-vnodeid fstab for any mounts, storage.conf for its state; etc.
      
      I modified libvnode_docker to *not* create virtual networks for
      remote blockstore links, because those are pinned to /30s, and thus I
      have no client blockstore link address to place on a device in the root
      context.  However, I (ab)used the existing Docker network setup for the
      blockstore links, and that all happens the same as it used to; we just
      no longer create the Docker virtual network nor attach the container to
      it.
      
      Finally, I modified tmcd dostorageconfig slightly to return
      HOSTIP/HOSTMASK for remote blockstores; and now
      libsetup::getstorageconfig will use HOSTIP in preference to its own
      HOSTID->HOSTIP translation.  I had to do this so that libvnode_docker in
      the root context would not have to go through the mess of translating
      HOSTID on behalf of a vnode.
      9bf09981