Failed to read conf from systemd for service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core-1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I installed juju-local from scratch according to the documentation at [1]
After successful bootstrap of lxc-based local environment I've added the following to the environments.yaml:
kvm:
type: local
container: kvm
state-port: 37019
api-port: 17072
After switching to this environment and running juju bootstrap I get:
2016-04-19 10:12:20 INFO juju.utils.
2016-04-19 10:12:21 INFO juju.util.exec exec.go:182 run result: exit status 1
2016-04-19 10:12:21 ERROR juju.service.
2016-04-19 10:12:21 ERROR juju.cmd supercommand.go:429 failed to read conf from systemd for service "juju-db-dgd-kvm": get conf failed (cat /var/lib/
ERROR failed to bootstrap environment: exit status 1
After this error every juju command targeted toward this environment make juju freeze without any response (including juju debug-log which also hangs).
I checked /var/lib/juju/init and I can see the directories and service file for the lxc-based environment, but not for KVM.
I was able to try to bootstrap it again after removing ~/.juju/
[1] https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: juju-local 1.25.5-0ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 19 12:13:00 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-03 (15 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
SourcePackage: juju-core-1
UpgradeStatus: Upgraded to xenial on 2016-04-03 (15 days ago)