juju bootstrap may try to compile binaries
Bug #1399606 reported by
Jacek Nykis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I installed juju from ppa:juju/stable:
juju-core 1.20.13-
juju-local 1.20.13-
juju-mongodb 2.4.9-0ubuntu3
Next I added a local environment to my environments.yaml and tried bootstrapping:
$ juju bootstrap
uploading tools for series [precise trusty]
Bootstrap failed, destroying environment
ERROR build command "go" failed: exit status 1; can't load package: package github.
/usr/lib/
($GOPATH not set)
I am using trusty
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: bootstrap |
summary: |
- juju bootstrap of local environment failing + juju bootstrap may try to compile binaries |
tags: | added: golang |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
Do you also have golang and juju in your GOPATH installed? This behaviour only happens when juju thinks it is in a juju development env.
Juju requires an open network to get the agents for your local env. As you are on trusty, Juju will look to the cloud to find the precise agent. You can avoid the unneeded lookup in the cloud by by bootstrapping with the --upload-serie option
juju boostrap --upload-series trusty