Juju vagrant box failed to start (wily)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Vagrant images |
New
|
Undecided
|
Unassigned |
Bug Description
The Vagrant Boxes provided via https:/
According to the documentation it is possible to access the Juju-Gui after start-up, this fails due to an error.
Steps to reproduce:
-------
$ mkdir JujuBox
$ cd JujuBox
$ vagrant box add JujuBox https:/
$ vagrant init JujuBox
$ vagrant up
Yields the output, with error: '/tmp/jujuredir
-------
[...]
==> default: Bootstrapping Juju...
==> default: Bootstrapping environment "local"
==> default: Starting new instance for initial state server
==> default: Building tools to upload (1.25.3.
==> default: Installing Juju agent on bootstrap instance
==> default: Logging to /home/vagrant/
==> default: Installing package: curl
==> default: Installing package: cpu-checker
==> default: Installing package: bridge-utils
==> default: Installing package: rsyslog-gnutls
==> default: Installing package: cloud-utils
==> default: Installing package: cloud-image-utils
==> default: Installing package: tmux
==> default: Bootstrapping Juju machine agent
==> default: Starting Juju machine agent (juju-agent-
==> default: Bootstrap agent installed
==> default: -> local
==> default: Waiting for API to become available
==> default: Waiting for API to become available
==> default: Waiting for API to become available
==> default: Bootstrap complete
==> default: Taking a nap to let state server come up...
==> default: Added charm "cs:trusty/
==> default: Setting up Juju GUI dependencies...this may take a minute.
==> default: You can find the log in /var/log/
==> default: You have not informed bzr of your Launchpad ID, and you must do this to
==> default: write to Launchpad or access private data. See "bzr help launchpad-login".
==> default: Branched 25 revisions.
==> default: Taking a nap to let Juju Gui get setup
==> default: Traceback (most recent call last):
==> default: File "/root/
==> default: from cloudinit import util as ciutil
==> default: ImportError: No module named cloudinit
==> default: /tmp/jujuredir/
==> default: /tmp/jujuredir/
[...]
Juju GUI: To access the Juju GUI, point your browser at:
http://
Username: admin
Password: *******
Checking with netstat there is no port open (including port 6080 from the outdated documentation).
Juju fail to finish the deployment of the service:
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.25.3.1
dns-name: localhost
instance-id: localhost
series: wily
state-
"1":
agent-state: started
agent-version: 1.25.3.1
dns-name: 10.0.3.180
instance-id: vagrant-
series: trusty
hardware: arch=amd64
services:
juju-gui:
charm: cs:trusty/
exposed: true
service-status:
current: unknown
message: Waiting for agent initialization to finish
since: 01 Feb 2016 15:35:53Z
units:
juju-gui/0:
current: unknown
message: Waiting for agent initialization to finish
since: 01 Feb 2016 15:35:53Z
current: allocating
since: 01 Feb 2016 15:35:53Z
machine: "1"
Output of
$ juju debug-log --replay >> /vagrant/
is attached.