)]}'
{
  "commit": "8175df1912a5722c2e308dc27623063ac542f496",
  "tree": "aa8a68f354dd071dfa3f4794e301f5adf3244630",
  "parents": [
    "254116305c4a471ee857a9301e310bd2c406d937"
  ],
  "author": {
    "name": "Bogdan Katynski",
    "email": "bogdan.katynski@workday.com",
    "time": "Wed Jun 28 12:34:52 2017 +0100"
  },
  "committer": {
    "name": "Bogdan Katynski",
    "email": "bogdan.katynski@workday.com",
    "time": "Wed Jul 12 09:34:52 2017 +0000"
  },
  "message": "Remove VGs when cleaning LVM up in devstack\n\nThis patch adds removing of the volume group\nbefore removing the loopback device and\nthe backing file when performing LVM cleanup\nin unstack.sh\n\nWithout this commit:\n\nunstack.sh removes logical volumes, removes the\nloopback devices and deletes the backing file\nbut leaves a dangling volume group\n\n  $ ./stack.sh \u0026\u0026 ./unstack.sh\n  $ sudo vgs\n  VG                    #PV #LV #SN Attr   VSize  VFree\n  stack-volumes-default   1   0   0 wz--n- 10.01g 10.01g\n  $ sudo losetup -a\n  $ sudo vgremove stack-volumes-default\n  /dev/loop0: lseek 4096 failed: Invalid argument\n  vg_remove_mdas stack-volumes-default failed\n\nWith this commit:\n\nunstack.sh removes volume groups after removing\nall logical volumes but before removing\nthe loopback device and deleting the backing file\n\nPartial-Bug: 1441236\nChange-Id: Id9c06fa50f6cad28764f5a3396f559cac9999649",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0cebd92f77d7cfb4d810510fa8fa12da55e44752",
      "old_mode": 33188,
      "old_path": "lib/lvm",
      "new_id": "f0471816bf522a1f9e41166f956ca0159e220aa3",
      "new_mode": 33188,
      "new_path": "lib/lvm"
    }
  ]
}
