1. 25 Nov, 2008 6 commits
    • Iustin Pop's avatar
      Fix a bug in LUSetInstanceParams · b637ae4d
      Iustin Pop authored
      The wrong names were reused in a copy-paste.
      
      Reviewed-by: imsnah
      b637ae4d
    • Iustin Pop's avatar
      Show disk access mode in gnt-instance info · b6fdf8b8
      Iustin Pop authored
      The mode parameter needs to be exported and shown in the info output.
      
      Reviewed-by: imsnah
      b6fdf8b8
    • Iustin Pop's avatar
      Change _GenerateDiskTemplate iv_name generation · e2a65344
      Iustin Pop authored
      Currently the _GenerateDiskTemplate assumes it does initial creation of
      disks (i.e. it starts with index 0).
      
      For dynamic disk adds, we need to pass an additional offset. This patch
      adds this offset and modifies its sole current caller.
      
      Reviewed-by: imsnah
      e2a65344
    • Iustin Pop's avatar
      Slighly improve multi-nic in gnt-instance info · d2acfe27
      Iustin Pop authored
      Previously we had only one nic, so the NIC information was all on one
      line. This patch changes it to:
      
          - NICs:
            - nic/0: MAC: aa:00:00:e8:b2:ef, IP: None, bridge: None
            - nic/1: MAC: aa:00:00:53:ca:92, IP: None, bridge: xen-br0
            - nic/2: MAC: aa:00:00:ba:e5:30, IP: None, bridge: None
      
      Reviewed-by: ultrotter
      d2acfe27
    • Michael Hanselmann's avatar
      Pass ssconf values from master to node · 03d1dba2
      Michael Hanselmann authored
      Instead of parsing the configuration on the node, we pass the ssconf
      values from the master.
      
      Reviewed-by: iustinp
      03d1dba2
    • Michael Hanselmann's avatar
      ganeti.http: Don't reuse key and cert objects · 65c6b8e0
      Michael Hanselmann authored
      Reusing the private key and certificate objects gave us problems. This
      patch changes the code to only cache the PEM data, but the objects
      themselves. For every socket, the private key and certificate objects
      are created again.
      
      Reviewed-by: iustinp
      65c6b8e0
  2. 24 Nov, 2008 12 commits
  3. 23 Nov, 2008 5 commits
    • Iustin Pop's avatar
      Documentation updates for cmdlib.py · e4376078
      Iustin Pop authored
      This makes cmdlib.py not throw epydoc errors anymore.
      
      Reviewed-by: ultrotter
      e4376078
    • Iustin Pop's avatar
      Slight change to the apidoc build · 975e07c6
      Iustin Pop authored
      Currently the temporary directory used for modules is under the current
      directory; this patch changes it so a temp directory is used; so we
      could build the apidocs with a R/O filesystem.
      
      Reviewed-by: ultrotter
      975e07c6
    • Iustin Pop's avatar
      Only update ssconf on cluster serial change · 0779e3aa
      Iustin Pop authored
      There is no need to update ssconf if the cluster serial number has not
      changed.
      
      Reviewed-by: ultrotter
      0779e3aa
    • Iustin Pop's avatar
      Enable auto-unit formatting in script output · 9fbfbb7b
      Iustin Pop authored
      This patch enables by default the old 'human-readable' option, but in a
      slightly different model.
      
      The option is now called "units" and takes either:
       - 'h' for automatic formatting
       - 'm', 'g' or 't' for mebi/gibi/tebibytes
      
      If 'h' is used, we add a unit suffix, otherwise nothing is added so that
      parsing is easy.
      
      The default value of this unit is:
        - 'h' if a separator is not passed
        - 'm' if a separator is passed
      
      Reviewed-by: ultrotter
      9fbfbb7b
    • Iustin Pop's avatar
      Improvements to CLI output · 23b8c8d6
      Iustin Pop authored
      This patch adds nicer formatting for some gnt-instance list operations.
      
      Reviewed-by: ultrotter
      23b8c8d6
  4. 21 Nov, 2008 15 commits
  5. 20 Nov, 2008 2 commits
    • Michael Hanselmann's avatar
      ganeti.ssconf: Add function to write ssconf files · 0c223ea9
      Michael Hanselmann authored
      This function will be used to write ssconf files from the node daemon.
      By creating a lock file, we synchronize different child processes of
      ganeti-noded to not overwrite each other's changes. Also, external
      processes could use this lock to make sure they don't read ssconf
      files while changes are going on.
      
      The socket module is not used (anymore) in ganeti.ssconf, removing it.
      
      Reviewed-by: iustinp
      0c223ea9
    • Iustin Pop's avatar
      Convert replace-disks (same nodes) to multi-disk · 54155f52
      Iustin Pop authored
      This patch changes the drbd8 replace disk only (no secondary change) to
      work in with multi-disk. This mode of replaces works correctly with
      replacing only a subset of disks.
      
      Reviewed-by: imsnah
      54155f52