config-changed fails when multiple device names are provided (NotImplemented trace)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LXD Charm |
Fix Released
|
Low
|
Chris MacNaughton |
Bug Description
NotImplementedE
config-change fails if we provide the multiple devices for block-devices in bundles. As per comments it should accept the first available device in the list.
Here is the bundle http://
juju log is as follows:
http://
This is using 17.02 version of charms.
---
2017-03-15 22:40:28 INFO config-changed Traceback (most recent call last):
2017-03-15 22:40:28 INFO config-changed File "/var/lib/
2017-03-15 22:40:28 INFO config-changed main()
2017-03-15 22:40:28 INFO config-changed File "/var/lib/
2017-03-15 22:40:28 INFO config-changed hooks.execute(
2017-03-15 22:40:28 INFO config-changed File "/var/lib/
2017-03-15 22:40:28 INFO config-changed self._hooks[
2017-03-15 22:40:28 INFO config-changed File "/var/lib/
2017-03-15 22:40:28 INFO config-changed configure_
2017-03-15 22:40:28 INFO config-changed File "/var/lib/
2017-03-15 22:40:28 INFO config-changed raise NotImplementedE
description: | updated |
description: | updated |
Changed in charm-lxd: | |
importance: | Undecided → Low |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
status: | Confirmed → In Progress |
Changed in charm-lxd: | |
milestone: | none → 17.08 |
Changed in charm-lxd: | |
status: | Fix Committed → Fix Released |
After running juju config lxd block-devices= /dev/sdb deployment resolves the error. But as per readme and comments for block-devices it should not throw error and configures /dev/sdb by default.