debug-log does not work with local provider on xenial + 1.25.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
Low
|
Unassigned | ||
1.25 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Broken for me on Xenial amd64 with 1.25.0
I'm in a Xenial lxd container:
apt-get install juju-local
su - ubuntu
juju init
juju switch local
juju bootstrap
juju debug-log
ERROR
ubuntu@nestc1:~$ juju init
A boilerplate environment configuration file has been written to /home/ubuntu/
Edit the file to configure your juju environment and run bootstrap.
ubuntu@nestc1:~$ juju switch local
-> local
ubuntu@nestc1:~$ juju bootstrap
Bootstrapping environment "local"
Starting new instance for initial state server
Building tools to upload (1.25.0.
Installing Juju agent on bootstrap instance
sudo: unable to resolve host nestc1
Logging to /home/ubuntu/
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-
Bootstrap agent installed
Waiting for API to become available
Waiting for API to become available
Bootstrap complete
ubuntu@nestc1:~$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.25.0.1
dns-name: localhost
instance-id: localhost
series: xenial
state-
services: {}
ubuntu@nestc1:~$ juju deploy ubuntu
Added charm "cs:trusty/
ubuntu@nestc1:~$ juju debug-log
ERROR cannot open log file: open /var/log/
tags: | added: juju-release-support |
tags: | removed: juju-release-support |
Changed in juju-core: | |
importance: | High → Low |
Looks to be a regression of bug #1464335