1. 18 Sep, 2012 1 commit
  2. 12 Sep, 2012 1 commit
  3. 10 May, 2012 1 commit
    • René Nussbaumer's avatar
      cmdlib: Adapt the rpc calls · 62bfbc7d
      René Nussbaumer authored
      
      
      The following (blockdev) RPC calls are not converted yet (as they are
      not straight forward or need more research):
      
      * bdev_sizes
      * blockdev_remove
      * blockdev_shutdown
      * blockdev_removechildren
      * blockdev_close
      * blockdev_getsize
      * drbd_disconnect_net
      * blockdev_rename (has already a special encoder, needs further research
        if needed at all)
      * blockdev_getmirrorstatus (not sure if we have everywhere a clear link
        to the instance the disk belongs)
      * blockdev_getmirrorstatus_multi (same here, further research)
      
      Then special cases where we take care later in the patch series:
      
      * blockdev_create (special cased)
      * blockdev_find (special cased, like blockdev_create)
      Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      62bfbc7d
  4. 22 Mar, 2012 1 commit
  5. 01 Dec, 2011 1 commit
  6. 01 Nov, 2011 1 commit
  7. 29 Sep, 2011 1 commit
  8. 03 Aug, 2011 2 commits
  9. 29 Jul, 2011 1 commit
  10. 03 Feb, 2011 1 commit
    • Iustin Pop's avatar
      Import-export: fix logging of daemon output · c9300bb3
      Iustin Pop authored
      
      
      In case of failures, the recent daemon output is logged as %r on a
      list of unicode strings, which results in the (ugly):
      
      Thu Feb  3 05:13:34 2011 snapshot/0 failed to send data: Exited with status 1 (recent output: [u'  DUMP: Date of this level 0 dump: Thu Feb  3 05:13:18 2011', u'  DUMP: Dumping /dev/mapper/6369a5f7-1e67-4d0d-a4f0-956b3649c6d7.disk0_data.snap-1 (an unlisted file system) to standard output', u'  DUMP: Label: none', u'  DUMP: Writing 10 Kilobyte records', u'  DUMP: mapping (Pass I) [regular files]', u'  DUMP: mapping (Pass II) [directories]', u'  DUMP: estimated 54301 blocks.', u'  DUMP: Volume 1 started with block 1 at: Thu Feb  3 05:13:19 2011', u'  DUMP: dumping (Pass III) [directories]', u'  DUMP: dumping (Pass IV) [regular files]', u'socat: E SSL_write(): Connection reset by peer', u"dd: dd: writing `standard output': Broken pipe", u'  DUMP: Broken pipe', u'  DUMP: The ENTIRE dump is aborted.'])
      
      This patch joins this list and makes it a non-unicode string, thus
      resulting in the more readable (and ~10% shorter):
      
      Thu Feb  3 05:16:04 2011 snapshot/0 failed to send data: Exited with status 1 (recent output:   DUMP: Date of this level 0 dump: Thu Feb  3 05:15:58 2011\n  DUMP: Dumping /dev/mapper/6369a5f7-1e67-4d0d-a4f0-956b3649c6d7.disk0_data.snap-1 (an unlisted file system) to standard output\n  DUMP: Label: none\n  DUMP: Writing 10 Kilobyte records\n  DUMP: mapping (Pass I) [regular files]\n  DUMP: mapping (Pass II) [directories]\n  DUMP: estimated 54350 blocks.\n  DUMP: Volume 1 started with block 1 at: Thu Feb  3 05:15:59 2011\n  DUMP: dumping (Pass III) [directories]\nsocat: E SSL_write(): Connection reset by peer\ndd: dd: writing `standard output': Broken pipe\n  DUMP: Broken pipe\n  DUMP: The ENTIRE dump is aborted.)
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      c9300bb3
  11. 20 Jan, 2011 1 commit
  12. 02 Dec, 2010 1 commit
  13. 29 Nov, 2010 1 commit
  14. 18 Aug, 2010 1 commit
  15. 10 Aug, 2010 1 commit
  16. 09 Jul, 2010 1 commit
  17. 28 Jun, 2010 1 commit
    • Guido Trotter's avatar
      Remove pred from compat.any/all · 403f5172
      Guido Trotter authored
      
      
      This makes it compatible with the python builtin, and we can even use
      the builtin when running under the right version of python. The all and
      any functions are renamed to _all and _any, so that they can be tested,
      and (non)existing unittests are updated (translation: there are no unit
      tests, so none are updated).
      
      This patch also moves the code deciding which partial to use next to
      the definition of the _partial function, rather than after TryToRoman.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      403f5172
  18. 14 Jun, 2010 4 commits
  19. 08 Jun, 2010 2 commits
  20. 21 May, 2010 2 commits
  21. 18 May, 2010 3 commits
  22. 04 May, 2010 1 commit
  23. 23 Apr, 2010 2 commits