Skip to content
Snippets Groups Projects
  1. Sep 03, 2012
    • Iustin Pop's avatar
      Fix decorator uses which crash newer pylint · fc3f75dd
      Iustin Pop authored
      
      Pylint version:
      
        pylint 0.25.1,
        astng 0.23.1, common 0.58.0
      
      crashes when passing the fully-qualified decorator name with:
      
        File "/usr/lib/pymodules/python2.7/pylint/checkers/base.py", line 161, in visit_function
          if not redefined_by_decorator(node):
        File "/usr/lib/pymodules/python2.7/pylint/checkers/base.py", line 116, in redefined_by_decorator
          decorator.expr.name == node.name):
      AttributeError: 'Getattr' object has no attribute 'name'
      
      I found out that simply using a shortened name will 'fix' this issue,
      so let's do this to allow running newer pylint versions.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      fc3f75dd
  2. Aug 22, 2012
    • Dimitris Aragiorgis's avatar
    • Constantinos Venetsanopoulos's avatar
      Implement the External Storage Interface · 868eab67
      Constantinos Venetsanopoulos authored
      
      With this commit we introduce the External Storage Interface
      to Ganeti, abbreviated: ExtStorage Interface.
      
      The ExtStorage Interface provides Ganeti with the ability to interact
      with externally connected shared storage pools, visible by all
      VM-capable nodes. This means that Ganeti is able to handle VM disks
      that reside inside a NAS/SAN or any distributed block storage provider.
      
      The ExtStorage Interface provides a clear API, heavily inspired by the
      gnt-os-interface API, that can be used by storage vendors or sysadmins
      to write simple ExtStorage Providers (correlated to gnt-os-interface's
      OS Definitions). Those Providers will glue externally attached shared
      storage with Ganeti, without the need of preprovisioned block devices
      on Ganeti VM-capable nodes as confined be the current `blockdev' disk
      template.
      
      To do so, we implement a new disk template called `ext' (of type
      DTS_EXT_MIRROR) that passes control to externally provided scripts
      (the ExtStorage Provider) for the template's basic functions:
      
       create / attach / detach / remove / grow
      
      The scripts reside under ES_SEARCH_PATH (correlated to OS_SEARCH_PATH)
      and only one ExtStorage Provider is supported called `ext'.
      
      The disk's logical id is the tuple ('ext', UUID.ext.diskX), where UUID
      is generated as in disk template `plain' and X is the disk's index.
      
      Signed-off-by: default avatarConstantinos Venetsanopoulos <cven@grnet.gr>
      868eab67
    • Dimitris Aragiorgis's avatar
      cfgupgrade for networks · db465855
      Dimitris Aragiorgis authored
      
      Add networks slot in config data.
      Add networks slot in nodegroups.
      
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      db465855
  3. Jun 20, 2012
  4. Jun 15, 2012
  5. Jun 12, 2012
  6. May 24, 2012
  7. May 23, 2012
  8. May 11, 2012
  9. Apr 27, 2012
  10. Mar 14, 2012
  11. Feb 21, 2012
  12. Jan 24, 2012
  13. Jan 23, 2012
  14. Jan 19, 2012
  15. Jan 18, 2012
  16. Dec 06, 2011
  17. Nov 22, 2011
  18. Nov 17, 2011
  19. Nov 14, 2011
  20. Oct 18, 2011
  21. Oct 11, 2011
  22. Oct 04, 2011
  23. Sep 30, 2011
  24. Sep 26, 2011
  25. Sep 20, 2011
    • Andrea Spadaccini's avatar
      Implementation of TLS-protected SPICE connections · b6267745
      Andrea Spadaccini authored
      
      Added support for TLS-protected SPICE connections:
      
      client/gnt_cluster.py, cli.py:
      * added three new parameters to renew-crypto (--new-spice-certificate,
        --spice-certificate, --spice-ca-certificate) and their validation.
      
      utils/x509.py:
      * changed GenerateSelfSignedSslCert so that now also returns the
        generated key and certificate;
      * added missing return value in the docstring of
        GenerateSelfSignedX509Cert.
      
      lib/bootstrap.py:
      * changed the signatures of the relevant functions and implemented
        certificates generation/writing.
      
      tools/cfupgrade:
      * changed GenerateClusterCrypto invocation to reflect the new signature;
      * added SPICE certificate names.
      
      lib/errors.py:
      * added the X509CertError class.
      
      lib/hypervisor/hv_kvm.py:
      * silenced pylint warning R0915
      
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      b6267745
  26. Aug 30, 2011
  27. Aug 29, 2011
  28. Aug 26, 2011
  29. Aug 25, 2011
  30. Aug 24, 2011
Loading