1. 22 Apr, 2015 1 commit
  2. 17 Apr, 2015 1 commit
  3. 16 Apr, 2015 4 commits
  4. 15 Apr, 2015 8 commits
  5. 13 Apr, 2015 2 commits
  6. 10 Apr, 2015 1 commit
  7. 09 Apr, 2015 2 commits
    • Klaus Aehlig's avatar
      Merge branch 'stable-2.14' into master · 961f05ee
      Klaus Aehlig authored
      * stable-2.14
        Warn if WriteConfigAndUnlock returns False
        Make writeConfigAndUnlock retryable
      
      * stable-2.13
        Replace additional os.minor by our custom version
      
      * stable-2.12
        Fix typos
      
      * stable-2.11
        (no changes)
      
      * stable-2.10
        fix typos in design-file-based-storage.rst doc
        Switch to our osminor
        Provide an alternative for os.minor working around its bug
        Fix typo
        CanTieredAlloc test: make instances big enough
        After master-failover verify reachability of master IP
        Report failure to deactivate old master IP in exit code
        Expose warnings during master-failover
        Fix manpage for gnt-cluster copyfile
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      961f05ee
    • Klaus Aehlig's avatar
      Merge branch 'stable-2.13' into stable-2.14 · f7ca3ca7
      Klaus Aehlig authored
      * stable-2.13
        Replace additional os.minor by our custom version
      
      * stable-2.12
        Fix typos
      
      * stable-2.11
        (no changes)
      
      * stable-2.10
        fix typos in design-file-based-storage.rst doc
        Switch to our osminor
        Provide an alternative for os.minor working around its bug
        Fix typo
        CanTieredAlloc test: make instances big enough
        After master-failover verify reachability of master IP
        Report failure to deactivate old master IP in exit code
        Expose warnings during master-failover
        Fix manpage for gnt-cluster copyfile
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
      f7ca3ca7
  8. 08 Apr, 2015 8 commits
  9. 07 Apr, 2015 3 commits
  10. 02 Apr, 2015 6 commits
    • Klaus Aehlig's avatar
      CanTieredAlloc test: make instances big enough · 5b181e29
      Klaus Aehlig authored
      Fix a subtle bug in the CanTieredAlloc test. The property we were
      testing for was actually not valid with the addition of an ipolicy.
      The lower policy bound for disk was 4 times the unit for disks (256M).
      So, a valid node have free disk only slightly larger than the ipolicy
      lower bound. When shrinking disks, however, we go in steps of full
      units---and thus might miss the window of opportunity if that is smaller
      that a full unit. So, only use nodes that have at least 5 units worth
      of resources for every resource.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      5b181e29
    • Klaus Aehlig's avatar
      After master-failover verify reachability of master IP · 2f1d9bd0
      Klaus Aehlig authored
      ...and warn if it is not. Note that the master activates
      the master IP in an asynchronous task and will continue
      even if that fails.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      2f1d9bd0
    • Klaus Aehlig's avatar
      Merge branch 'stable-2.14' into master · 031d0e83
      Klaus Aehlig authored
      * stable-2.14
        (no changes)
      
      * stable-2.13
        (no changes)
      
      * stable-2.12
        Add default values for hv_state_static and disk_state_static
        Add a value for the empty Container
        Verify if we're master before demoting
        Also consider connection time out a network error
      
      * stable-2.11
        (no changes)
      
      * stable-2.10
        Fixed typos
        Pass correct params in move-instance
        In CanTieredAlloc test set IPolicy
        Make genInstanceMaybeBiggerThanNode honor policy lower bound
        Also export a null ISpec
        Support instance generation within ranges
        Add a function to leave the list monad
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      031d0e83
    • Klaus Aehlig's avatar
      Report failure to deactivate old master IP in exit code · 66a5f242
      Klaus Aehlig authored
      If we failed to disable the old master IP, the master failover
      did not fully succeed, hence that should be reported in the
      exit code. Nevertheless, the best is to proceed, as it is
      better to have working cluster, albeit only reachable via
      the primary IP of the new master node (and not the cluster
      master IP), than not have a cluster. Also note, that for
      this reason master will start up even if it cannot set
      the cluster master IP. So, while there, fix the warning
      message as well.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      66a5f242
    • Klaus Aehlig's avatar
      Expose warnings during master-failover · fc4bfcca
      Klaus Aehlig authored
      During master failover, there are some situations where problems
      occur but the best thing to do is to carry on. These problems
      are logged using the usual mechanism. However, a user usually
      does not look into the log file unless the command executed
      returns some hints that something might have gone wrong.
      So also return the warnings as an additional return value,
      allowing the CLI to report properly.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      fc4bfcca
    • Klaus Aehlig's avatar
      Merge branch 'stable-2.13' into stable-2.14 · a6961e05
      Klaus Aehlig authored
      * stable-2.13
        (no changes)
      
      * stable-2.12
        Add default values for hv_state_static and disk_state_static
        Add a value for the empty Container
        Verify if we're master before demoting
        Also consider connection time out a network error
      
      * stable-2.11
        (no changes)
      
      * stable-2.10
        Fixed typos
        Pass correct params in move-instance
        In CanTieredAlloc test set IPolicy
        Make genInstanceMaybeBiggerThanNode honor policy lower bound
        Also export a null ISpec
        Support instance generation within ranges
        Add a function to leave the list monad
      
      Conflicts:
      	test/hs/Test/Ganeti/HTools/Instance.hs (trivial)
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      a6961e05
  11. 01 Apr, 2015 2 commits
  12. 31 Mar, 2015 2 commits