Skip to content
Snippets Groups Projects
  1. May 25, 2010
  2. May 21, 2010
  3. May 18, 2010
  4. May 17, 2010
  5. May 14, 2010
    • Guido Trotter's avatar
      ganeti-noded: add the --no-mlock option · bebf68d3
      Guido Trotter authored
      
      While mlock on noded is definitely good in most situations, there are
      some - namely my laptop - where it has no benefit, and uses precious
      non-swappable memory. To avoid this we make it optional, with a new
      --no-mlock option. Note that only the main node daemon and its http
      children are affected: the powercycle node child still uses mlock, which
      doesn't harm, since it's a short lived process happening just before
      node reboot anyway. The manpage is updated.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
      bebf68d3
  6. May 13, 2010
  7. May 03, 2010
  8. Apr 23, 2010
  9. Apr 09, 2010
    • Guido Trotter's avatar
      Fix new pylint errors · fe7c59d5
      Guido Trotter authored
      
      Under squeeze pylint reports the following errors:
      ************* Module ganeti.serializer
      E1103:155:LoadSignedJson: Instance of 'False' has no 'get' member (but some types could not be inferred)
      ************* Module ganeti-masterd
      E1103:166:ClientRqHandler.handle: Instance of 'False' has no 'get' member (but some types could not be inferred)
      E1103:167:ClientRqHandler.handle: Instance of 'False' has no 'get' member (but some types could not be inferred)
      ************* Module gnt-instance
      E1103:431:BatchCreate: Instance of 'False' has no 'keys' member (but some types could not be inferred)
      
      For the first two cases it's actually wrong: we had checked before that
      the variable on which "get" is called is actually a dict. In the third
      case though such check doesn't exist, so we add it. Then we silence the
      error all three times.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      fe7c59d5
    • Iustin Pop's avatar
      Make watcher request the max coverage · ebacb943
      Iustin Pop authored
      
      Since the actions are potentially destructive, we should try to get a
      consistent view of the cluster, so it's better to get the most coverage
      possible.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      ebacb943
  10. Apr 08, 2010
  11. Mar 30, 2010
  12. Mar 23, 2010
  13. Mar 18, 2010
  14. Mar 15, 2010
    • Michael Hanselmann's avatar
      Rightname confd's HMAC key · 6b7d5878
      Michael Hanselmann authored
      
      Currently, the ganeti-confd's HMAC key is called “cluster HMAC key” or
      simply “HMAC key” everywhere. With the implementation of inter-cluster
      instance moves, another HMAC key will be introduced for signing critical
      data. They can not be the same, so this patch clarifies the purpose of the
      “cluster HMAC key” by renaming it. The actual file name is not changed.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      6b7d5878
  15. Mar 12, 2010
  16. Mar 10, 2010
    • Michael Hanselmann's avatar
      http.auth: Fix bug with checking hashed passwords · 23ccba04
      Michael Hanselmann authored
      
      When username and password were sent for a resource not requiring
      authentication, it wouldn't be accepted if the user in question had a
      hashed password. The reason was that the function GetAuthRealm used to
      return None if no authentication was necessary. However, the
      authentication realm is necessary to verify hashed passwords. This is
      fixed by requiring GetAuthRealm to always return a realm and separating
      the decision whether to require authentication or not to a separate
      function.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      23ccba04
  17. Mar 08, 2010
  18. Feb 26, 2010
  19. Feb 23, 2010
  20. Feb 22, 2010
  21. Feb 18, 2010
  22. Feb 17, 2010
Loading