Skip to content
Snippets Groups Projects
  1. Jul 26, 2012
  2. Jul 19, 2012
    • René Nussbaumer's avatar
      Fix setting ipolicy on node groups · 8b057218
      René Nussbaumer authored
      
      On node groups we don't have the std field. However, the InstancePolicy
      object always verifies that the std value is within a given range. As we
      fill it up with defaults if not set (as it happens to be on node groups)
      and the min value is higher than the default std value (taken from
      constants.py) we fail.
      
      We overcome this situation by simply let the function know if we want to
      verify the std value at all. If we don't want to verify std, we just set
      it to a compliant value (min_v) and continue.
      
      We also slightly adapt the error message provided, as we don't have std
      values on groups.
      
      Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      8b057218
  3. Jul 13, 2012
  4. Jul 11, 2012
  5. Jul 07, 2012
  6. Jul 05, 2012
  7. Jun 27, 2012
  8. Jun 20, 2012
    • Iustin Pop's avatar
      Fix bug in instance net changes · 80b898f9
      Iustin Pop authored
      
      _PrepareNicModification returns the invalid type, which triggers an
      assert resulting in a mysterious error:
      
      Failure: command execution error:
      
      Without any explanation. We fix this by removing the return value from
      _PrepareNicModification, and instead returning the expected type
      (since it differs per create/modification) from the (existing)
      wrappers for this function. We don't need to return actual changes
      from this function as _ApplyNicMods is the function that
      computes/returns the formatted changes.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      80b898f9
  9. Jun 15, 2012
  10. Jun 14, 2012
  11. Jun 08, 2012
  12. Jun 01, 2012
    • Iustin Pop's avatar
      Fix a type issue and bad logic in cluster verification · e375fb61
      Iustin Pop authored
      
      Commit 2e04d454 introduced the new offline state for the instance
      state, but being a big monolithic patch it sneaked in something that
      doesn't make sense.
      
      The checks for extra instances (either wrongly up or just unknown) are
      done purely on a name-basis, not on objects, so the types there are
      wrong. Furthermore, they have no relation to the admin state of the
      instance, so we just drop the entire if block. We keep the increment
      of the offline instance count, but move it to a different loop over
      instances.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e375fb61
  13. May 22, 2012
  14. May 15, 2012
  15. May 14, 2012
  16. May 11, 2012
  17. May 10, 2012
  18. Apr 26, 2012
  19. Apr 20, 2012
  20. Apr 19, 2012
  21. Apr 16, 2012
  22. Apr 11, 2012
Loading