[sheepdog] [sheepdog/sheepdog] a7d892: script: add dump_config.py for debugging

Hitoshi Mitake mitake.hitoshi at gmail.com
Thu Feb 16 09:29:00 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: a7d8928ed1299ffc4dc2b08f5df2715e11a64b17
      https://github.com/sheepdog/sheepdog/commit/a7d8928ed1299ffc4dc2b08f5df2715e11a64b17
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2017-02-15 (Wed, 15 Feb 2017)

  Changed paths:
    A script/dump_config.py

  Log Message:
  -----------
  script: add dump_config.py for debugging

This make it easy to look into a "config" file. Please give this script
your "config" file via standard input.

Output examples:

  [dog cluster format]
  ctime            2017-02-15T06:43:18.019280+00:00 (0x58A3F88601263080)
  flags            AUTO_VNODES (0x0004)
  copies           3
  default_store    plain
  shutdown         True (1)
  copy_policy      replica (0x00)
  block_size_shift 22
  version          6
  space            10.0 GiB (10693148672)

  [dog cluster format -b tree -c 2:1 -z 23 -F -R -V]
  ctime            2017-02-15T06:44:08.659537+00:00 (0x58A3F8B8274FBC68)
  flags            RECYCLE_VID|AVOID_DISKFULL (0x0030)
  copies           3
  default_store    tree
  shutdown         True (1)
  copy_policy      ec#2:1 (0x11)
  block_size_shift 23
  version          6
  space            10.0 GiB (10693148672)

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: 9c3ede1cd80b4ceca587a82ad72fa2f8a044c632
      https://github.com/sheepdog/sheepdog/commit/9c3ede1cd80b4ceca587a82ad72fa2f8a044c632
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2017-02-16 (Thu, 16 Feb 2017)

  Changed paths:
    A script/dump_config.py

  Log Message:
  -----------
  Merge pull request #361 from tmenjo/dump-config

script: add dump_config.py for debugging


Compare: https://github.com/sheepdog/sheepdog/compare/978eeaef3905...9c3ede1cd80b


More information about the sheepdog mailing list