Merge lp:~zulcss/charms/trusty/lxd/lxd-btrfs into lp:~openstack-charmers-archive/charms/trusty/lxd/next

Proposed by Chuck Short
Status: Merged
Merged at revision: 55
Proposed branch: lp:~zulcss/charms/trusty/lxd/lxd-btrfs
Merge into: lp:~openstack-charmers-archive/charms/trusty/lxd/next
Diff against target: 12 lines (+2/-0)
1 file modified
hooks/lxd_utils.py (+2/-0)
To merge this branch: bzr merge lp:~zulcss/charms/trusty/lxd/lxd-btrfs
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+286704@code.launchpad.net

Description of the change

Enable btrfs quotas otherwise instances wont start.

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #832 lxd-next for zulcss mp286704
    UNIT FAIL: unit-test failed

UNIT Results (max last 2 lines):
make: *** [test] Error 1
ERROR:root:Make target returned non-zero.

Full unit test output: http://paste.ubuntu.com/
Build: http://10.245.162.36:8080/job/charm_unit_test/832/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #932 lxd-next for zulcss mp286704
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/932/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #378 lxd-next for zulcss mp286704
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/
Build: http://10.245.162.36:8080/job/charm_amulet_test/378/

52. By Chuck Short

Use filesystem rather than disk

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #933 lxd-next for zulcss mp286704
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/
Build: http://10.245.162.36:8080/job/charm_lint_check/933/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #833 lxd-next for zulcss mp286704
    UNIT FAIL: unit-test failed

UNIT Results (max last 2 lines):
make: *** [test] Error 1
ERROR:root:Make target returned non-zero.

Full unit test output: http://paste.ubuntu.com/
Build: http://10.245.162.36:8080/job/charm_unit_test/833/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #379 lxd-next for zulcss mp286704
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/379/

53. By Chuck Short

Use disk path rather than block device

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #1165 lxd-next for zulcss mp286704
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/1165/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #1002 lxd-next for zulcss mp286704
    UNIT FAIL: unit-test failed

UNIT Results (max last 2 lines):
make: *** [test] Error 1
ERROR:root:Make target returned non-zero.

Full unit test output: http://paste.ubuntu.com/15170676/
Build: http://10.245.162.36:8080/job/charm_unit_test/1002/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #446 lxd-next for zulcss mp286704
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/446/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/lxd_utils.py'
2--- hooks/lxd_utils.py 2015-10-20 10:13:31 +0000
3+++ hooks/lxd_utils.py 2016-02-22 13:54:45 +0000
4@@ -185,6 +185,8 @@
5 options='user_subvol_rm_allowed',
6 persist=True,
7 filesystem='btrfs')
8+ cmd = ['btrfs', 'quota', 'enable', '/var/lib/lxd']
9+ check_call(cmd)
10 service_start('lxd')
11 elif config('storage-type') == 'lvm':
12 if (is_lvm_physical_volume(dev) and

Subscribers

People subscribed via source and target branches