Functional tests need local lxd access
Bug #1891104 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus libvirt exporter charm |
New
|
Medium
|
Unassigned |
Bug Description
The functional tests in this charm run lxc commands to setup containers, but if running these tests on an environment where the containers are not local (e.g. remote lxd), these commands will fail.
2020-08-11 12:13:53 [INFO] Running cmd: 'lxc config set juju-07358b-2 security.privileged true'
Error: not found
2020-08-11 12:13:54 [INFO] Running cmd: 'lxc config device add juju-07358b-2 kvm unix-char path=/dev/kvm'
Error: not found
2020-08-11 12:13:54 [INFO] Running cmd: 'lxc restart juju-07358b-2'
Error: not found
Workaround is to run lxd tests on localhost rather than a remote host.
Changed in charm-prometheus-libvirt-exporter: | |
importance: | Undecided → Medium |
To post a comment you must log in.