local provider must transform localhost in apt proxy address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Triaged
|
High
|
Unassigned | ||
juju-core (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am on current Utopic, and installed the utopic-proposed juju packages (as 1.18.1 is known to not work on utopic):
ii juju-core 1.18.4-0ubuntu1 amd64 Juju is devops distilled - client
ii juju-local 1.18.4-0ubuntu1 all dependency package for the Juju local provider
ii juju-mongodb 2.4.10-0ubuntu1 amd64 MongoDB object/
ii juju-quickstart 1.3.1-0ubuntu1 all Easy configuration of Juju environments
ii python-jujuclient 0.17.5-0ubuntu2 all Python API client for juju
With no pre-existing ~/.juju, and a workaround for bug 1329049, quickstart does this:
$ juju quickstart
juju quickstart v1.3.1
bootstrapping the local environment (type: local)
sudo privileges will be required to bootstrap the environment
retrieving the environment status
retrieving the Juju API address
connecting to wss://10.
requesting juju-gui deployment
charm URL: cs:precise/
juju-gui deployment request accepted
exposing service juju-gui
requesting new unit deployment
juju-gui/0 deployment request accepted
juju-gui/0 deployment is pending
machine 1 provisioning is pending
juju-gui/0 placed on 10.0.3.219
machine 1 is started
and now hangs eternally.
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.18.4.1
dns-name: localhost
instance-id: localhost
series: utopic
"1":
agent-state: started
agent-version: 1.18.4.1
dns-name: 10.0.3.219
instance-id: martin-
series: precise
hardware: arch=amd64
services:
juju-gui:
charm: cs:precise/
exposed: true
units:
juju-gui/0:
machine: "1"
unit-juju-gui-0.log shows an endless stream of
2014-06-11 20:03:18 ERROR juju.worker.
path: /var/lib/
args: []string{"init"}
2014-06-11 20:03:18 WARNING juju.worker.
2014-06-11 20:03:18 ERROR juju.worker.
2014-06-11 20:03:18 ERROR juju runner.go:220 worker: exited "uniter": ModeInstalling cs:precise/
So apparently the charm is missing to install git?
Also, is it really on purpose that juju-gui-0 runs on precise, not on trusty? Even with a pre-existing .juju/environme
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: juju-core 1.18.4-0ubuntu1 [origin: unknown]
ProcVersionSign
Uname: Linux 3.15.0-5-generic x86_64
ApportVersion: 2.14.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jun 11 22:01:09 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-02-27 (104 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140224)
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in juju-core: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → next-stable |
tags: | added: 14.10 |
summary: |
- local charm deployment fails on "git not found" due to wrong apt proxy + local provider must transform localhost in apt proxy address |
Exactly the same issue with
$ juju init nts.yaml to select trusty as default release, and default to "local" .juju/local/ cloud-init- output. log on remote host martin- local) martin- local) juju-gui- 2" to the environment.
# edit .juju/environme
$ juju bootstrap
uploading tools for series [utopic precise trusty]
Logging to /home/martin/
Starting MongoDB server (juju-db-
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-
$ juju deploy juju-gui
Added charm "cs:trusty/
$ juju status local-machine- 1 juju-gui- 2
agent- state: pending
agent- version: 1.18.4.1
public- address: 10.0.3.104
environment: local
machines:
"0":
agent-state: started
agent-version: 1.18.4.1
dns-name: localhost
instance-id: localhost
series: utopic
"1":
agent-state: started
agent-version: 1.18.4.1
dns-name: 10.0.3.104
instance-id: martin-
series: trusty
hardware: arch=amd64
services:
juju-gui:
charm: cs:trusty/
exposed: false
units:
juju-gui/0:
machine: "1"
.juju/local/ log/unit- juju-gui- 0.log now loops on teh same git error.