Skip to content
Snippets Groups Projects
  1. Aug 23, 2010
  2. Aug 20, 2010
  3. Aug 19, 2010
    • Iustin Pop's avatar
      Stop adding the dry-run option by default · a0a6ff34
      Iustin Pop authored
      
      Currently cli.py unconditionally adds the dry-run option. This patch
      disables this, and exports dry-run as a normal option.
      
      The other alternative I tried to implement (adding a new fake option for
      disabling the auto-add per individual command) would require changes in
      more places, as the list of options is no longer a homogeneous list.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      a0a6ff34
    • Michael Hanselmann's avatar
      jqueue: Remove lock status field · 9bdab621
      Michael Hanselmann authored
      
      With the job queue changes for Ganeti 2.2, watched and queried jobs are
      loaded directly from disk, rendering the in-memory “lock_status” field
      useless. Writing it to disk would be possible, but has a huge cost at
      runtime (when tested, processing 1'000 opcodes involved 4'000 additional
      writes to job files, even with replication turned off).
      
      Using an additional in-memory dictionary to just manage this field turned
      out to be a complicated task due to the necessary locking.
      
      The plan is to introduce a more generic lock debugging mechanism in the
      near future. Hence the decision is to remove this field now instead of
      spending a lot of time to make it working again.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      9bdab621
    • Guido Trotter's avatar
      Don't ignore secondary node silently · af5970ab
      Guido Trotter authored
      
      Currently on non-mirrored disk templates the secondary node is ignored
      silently. This patch adds a check for this case, and warns the user
      should this be happening. This solves issue 113.
      
      The patch also moves a prereq check to an argument check. This is ok
      because the iallocator framework already checks it has a secondary node,
      when it needs one.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      af5970ab
  4. Aug 18, 2010
  5. Aug 17, 2010
  6. Aug 13, 2010
  7. Aug 10, 2010
  8. Aug 05, 2010
  9. Jul 30, 2010
  10. Jul 29, 2010
Loading