Deploy using 19.02 charm then upgrade to 19.04 charm. config-change hook error.
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed subprocess.CalledProcessError: Command '['lxc', 'storage', 'create', 'lxd', 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
unit-lxd-1: 16:21:16 ERROR juju.worker.uniter.operation hook "config-changed" failed: exit status 1
unit-lxd-0: 16:21:14 INFO unit.lxd/0.juju-log Configuring LXD container storage
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed | lxd | | btrfs | 4e0bbaa6-6fad-4428-8ffd-81828cdf5746 | 0 |
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed Error: The storage pool already exists
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed Traceback (most recent call last):
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 173, in <module>
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed main()
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 166, in main
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed hooks.execute(sys.argv)
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/charmhelpers/core/hookenv.py", line 914, in execute
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed self._hooks[hook_name]()
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 86, in config_changed
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed configure_lxd_block()
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/lxd_utils.py", line 233, in configure_lxd_block
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed config_btrfs(dev)
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/lxd_utils.py", line 246, in config_btrfs
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed check_call(cmd)
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed raise CalledProcessError(retcode, cmd)
unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed subprocess.CalledProcessError: Command '['lxc', 'storage', 'create', 'lxd', 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
unit-lxd-0: 16:21:14 ERROR juju.worker.uniter.operation hook "config-changed" failed: exit status 1
unit-lxd-1: 16:21:16 INFO unit.lxd/1.juju-log Configuring LXD container storage
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed | lxd | | btrfs | d33d8b1b-8096-48a4-8a4c-447168e6d049 | 0 |
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed +------+-------------+--------+--------------------------------------+---------+
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed Error: The storage pool already exists
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed Traceback (most recent call last):
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 173, in <module>
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed main()
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 166, in main
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed hooks.execute(sys.argv)
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/core/hookenv.py", line 914, in execute
unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed self._hooks[hook_name]()
inital deployment with config
2019-04-16 16:31:25 DEBUG install Processing triggers for libc-bin (2.27-3ubuntu1) ... +------ ------- +------ --+---- ----+-- ------- + +------ ------- +------ --+---- ----+-- ------- + +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 6fad-4428- 8ffd-81828cdf57 46 | 0 | +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ relation- joined +------ +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ relation- joined | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY | relation- joined +------ +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ relation- joined | lxd | | btrfs | 4e0bbaa6- 6fad-4428- 8ffd-81828cdf57 46 | 0 | relation- joined +------ +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ relation- joined 81343 changed 81343 10.20.174. 89 relation- changed Generating a client certificate. This may take a minute... relation- changed Client certificate stored at server: wa1okosl013 relation- changed 81343 10.20.174. 89 relation- changed 81343
2019-04-16 16:34:15 INFO juju-log Configuring LXD container storage
2019-04-16 16:34:17 DEBUG config-changed If this is your first time running LXD on this machine, you should also run: lxd init
2019-04-16 16:34:17 DEBUG config-changed To start your first container, try: lxc launch ubuntu:18.04
2019-04-16 16:34:17 DEBUG config-changed
2019-04-16 16:34:17 DEBUG config-changed +------
2019-04-16 16:34:17 DEBUG config-changed | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
2019-04-16 16:34:17 DEBUG config-changed +------
2019-04-16 16:34:17 DEBUG config-changed Storage pool lxd created
2019-04-16 16:34:17 INFO juju-log >= Wily deployment - configuring LXD trust password and address
2019-04-16 16:34:17 DEBUG config-changed none
2019-04-16 16:34:17 INFO juju-log Loading kernel module netlink_diag
2019-04-16 16:34:18 DEBUG config-changed 81343
2019-04-16 16:34:29 INFO juju-log Unknown hook start - skipping.
2019-04-16 16:34:30 DEBUG start 81343
2019-04-16 16:34:55 DEBUG lxd-relation-joined +------
2019-04-16 16:34:55 DEBUG lxd-relation-joined | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
2019-04-16 16:34:55 DEBUG lxd-relation-joined +------
2019-04-16 16:34:55 DEBUG lxd-relation-joined | lxd | | btrfs | 4e0bbaa6-
2019-04-16 16:34:55 DEBUG lxd-relation-joined +------
2019-04-16 16:34:56 DEBUG lxd-relation-joined 81343
2019-04-16 16:35:15 DEBUG lxd-migration-
2019-04-16 16:35:15 DEBUG lxd-migration-
2019-04-16 16:35:15 DEBUG lxd-migration-
2019-04-16 16:35:15 DEBUG lxd-migration-
2019-04-16 16:35:15 DEBUG lxd-migration-
2019-04-16 16:35:16 DEBUG lxd-migration-
2019-04-16 16:35:32 DEBUG lxd-relation-
2019-04-16 16:36:10 INFO juju-log lxd-migration:35: Adding new remote wa1okosl013:
2019-04-16 16:36:10 DEBUG lxd-migration-
2019-04-16 16:36:12 DEBUG lxd-migration-
2019-04-16 16:36:13 DEBUG lxd-migration-
2019-04-16 16:36:52 INFO juju-log lxd-migration:35: Updating remote wa1okosl013:
2019-04-16 16:36:53 DEBUG lxd-migration-
2019-04-16 16:3...