juju-2.0 deployer uses api-endpoints when default is juju 1

Bug #1588908 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Invalid
Undecided
Tim Van Steenburgh

Bug Description

When launched via juju-2.0, deployer appears to run the system-default juju instead of the specified juju.

The juju-2.0 script exports a PATH in which 'juju' runs a 2.0 binary. So it appears that deployer is ignoring the PATH.

This was observed with revno 173.

$ rm ~/sandbox/logz/* -r; run_deployer.py --series trusty $JUJU_REPOSITORY/scale2-lxc.yaml parallel-joyent /usr/bin/juju-2.0 ~/sandbox/logz joyent-deployer-bundle-ab --debug --agent-timeout 12002016-06-03 12:21:55 INFO /usr/bin/python /home/abentley/canonical/juju-ci-tools/timeout.pyc 600.00 -- juju-2.0 --debug kill-controller joyent-deployer-bundle-ab -y
error: controller joyent-deployer-bundle-ab not found
2016-06-03 12:21:55 INFO juju-2.0 --debug bootstrap --constraints mem=2G cpu-cores=1 joyent-deployer-bundle-ab joyent/us-east-3 --config /tmp/tmpYGCPNv.yaml --default-model joyent-deployer-bundle-ab --agent-version 2.0-beta7 --bootstrap-series trusty
2016-06-03 16:21:55 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:21:55 DEBUG juju.cmd.juju.commands bootstrap.go:354 preparing controller with config: map[tools-metadata-url:https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/parallel-testing/agents name:admin uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab default-series:trusty enable-os-upgrade:false prefer-ipv6:true type:joyent test-mode:true]
2016-06-03 16:21:57 INFO cmd cmd.go:129 Creating Juju controller "local.joyent-deployer-bundle-ab" on joyent/us-east-3
2016-06-03 16:21:57 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
2016-06-03 16:21:57 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
2016-06-03 16:22:00 INFO juju.cmd.juju.commands bootstrap.go:477 combined bootstrap constraints: cpu-cores=1 mem=2048M
2016-06-03 16:22:00 INFO juju.network network.go:327 setting prefer-ipv6 to false
2016-06-03 16:22:03 INFO cmd cmd.go:129 Bootstrapping model "admin"
2016-06-03 16:22:03 DEBUG juju.environs.bootstrap bootstrap.go:159 model "admin" supports service/machine networks: false
2016-06-03 16:22:03 DEBUG juju.environs.bootstrap bootstrap.go:161 network management by juju enabled: true
2016-06-03 16:22:03 INFO juju.environs.bootstrap tools.go:98 looking for bootstrap tools: version=2.0-beta7
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:106 finding tools in stream "devel"
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:108 reading tools with major.minor version 2.0
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:116 filtering tools by version: 2.0-beta7
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:119 filtering tools by series: trusty
2016-06-03 16:22:03 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
2016-06-03 16:22:05 DEBUG juju.environs.simplestreams simplestreams.go:454 skipping index "https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/parallel-testing/agents/streams/v1/index2.json" because of missing information: "content-download" data not found
2016-06-03 16:22:06 DEBUG juju.environs.simplestreams simplestreams.go:680 using default candidate for content id "com.ubuntu.juju:devel:tools" are {20160220 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
2016-06-03 16:22:07 DEBUG juju.environs.simplestreams simplestreams.go:541 using mirrored products path: https:/us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/tools/streams/v1/com.ubuntu.juju-devel-tools.sjson
2016-06-03 16:22:08 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
2016-06-03 16:22:08 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
2016-06-03 16:22:08 DEBUG juju.environs.bootstrap bootstrap.go:372 constraints for image metadata lookup &{{{us-east-3 https://us-east-3.api.joyentcloud.com} [trusty] [amd64 arm64 armhf i386 ppc64el] released}}
2016-06-03 16:22:09 DEBUG juju.environs.bootstrap bootstrap.go:380 ignoring image metadata in default cloud images: cannot read index data, cannot read data for source "default cloud images" at URL https://streams.canonical.com/juju/images/releases/streams/v1/index.sjson: openpgp: signature made by unknown entity
2016-06-03 16:22:10 DEBUG juju.environs.bootstrap bootstrap.go:384 found 1 image metadata in default ubuntu cloud images
2016-06-03 16:22:10 DEBUG juju.environs.bootstrap bootstrap.go:388 found 1 image metadata from all image data sources
2016-06-03 16:22:10 INFO cmd cmd.go:129 Starting new instance for initial controller
Launching instance
2016-06-03 16:22:11 DEBUG juju.environs.instances image.go:64 instance constraints {region: us-east-3, series: trusty, arches: [amd64 arm64 armhf i386 ppc64el], constraints: cpu-cores=1 mem=2048M, storage: []}
2016-06-03 16:22:11 DEBUG juju.environs.instances image.go:70 matching constraints {region: us-east-3, series: trusty, arches: [amd64 arm64 armhf i386 ppc64el], constraints: cpu-cores=1 mem=2048M, storage: []} against possible image metadata [{Id:1a0b9621-0d77-437f-8ef1-f62535df96d6 Arch:amd64 VirtType:kvm}]
2016-06-03 16:22:11 INFO juju.environs.instances image.go:106 find instance - using image with id: 1a0b9621-0d77-437f-8ef1-f62535df96d6
2016-06-03 16:22:11 DEBUG juju.cloudconfig.instancecfg instancecfg.go:613 Setting numa ctl preference to false
2016-06-03 16:22:12 DEBUG juju.service discovery.go:59 discovered init system "upstart" from series "trusty"
2016-06-03 16:22:12 DEBUG juju.provider.joyent environ_instance.go:140 joyent user data: 2036 bytes
2016-06-03 16:22:12 DEBUG juju.provider.joyent environ_instance.go:150 Now tags are: map[tag.juju-is-controller:true tag.group:juju tag.model:admin tag.juju-model-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab tag.juju-controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab]
2016-06-03 16:22:14 INFO juju.provider.joyent environ_instance.go:164 provisioning instance "f8788f84-4322-43bf-b608-d809844958dc"
2016-06-03 16:22:14 INFO juju.provider.joyent environ_instance.go:165 machine created with tags map[juju-is-controller:true group:juju model:admin juju-model-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab juju-controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab]
2016-06-03 16:22:52 INFO juju.provider.joyent environ_instance.go:182 started instance "f8788f84-4322-43bf-b608-d809844958dc"
 - f8788f84-4322-43bf-b608-d809844958dc
2016-06-03 16:22:52 INFO juju.environs.bootstrap bootstrap.go:403 newest version: 2.0-beta7
2016-06-03 16:22:52 INFO juju.environs.bootstrap bootstrap.go:431 picked bootstrap tools version: 2.0-beta7
2016-06-03 16:22:52 INFO cmd cmd.go:129 Installing Juju agent on bootstrap instance
2016-06-03 16:22:54 INFO cmd cmd.go:129 Preparing for Juju GUI 2.1.2 release installation
2016-06-03 16:22:54 DEBUG juju.cloudconfig.instancecfg instancecfg.go:613 Setting numa ctl preference to false
Waiting for address
2016-06-03 16:22:54 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:22:55 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8209f03c0 0xc820336a50})]
Attempting to connect to 165.225.173.231:22
Attempting to connect to 10.121.79.135:22
2016-06-03 16:23:02 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:04 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:05 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8206ea5a0 0xc820336a50})]
2016-06-03 16:23:07 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:13 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:14 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:15 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc82000a4b0 0xc820336a50})]
2016-06-03 16:23:21 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: Warning: Permanently added '165.225.173.231' (ECDSA) to the list of known hosts.
/var/lib/juju/nonce.txt does not exist
2016-06-03 16:23:24 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:25 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc820623e00 0xc820336a50})]
2016-06-03 16:23:32 DEBUG juju.utils.ssh ssh.go:259 using OpenSSH ssh client
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/tools/agent/2.0-beta7/juju-2.0-beta7-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
2016-06-03 16:24:55 INFO cmd cmd.go:129 Bootstrap agent installed
2016-06-03 16:24:56 DEBUG juju.juju api.go:357 API hostnames [10.121.79.135:17070 165.225.173.231:17070] - resolving hostnames
2016-06-03 16:24:56 INFO juju.juju api.go:379 new API addresses to cache [10.121.79.135:17070 165.225.173.231:17070]
2016-06-03 16:24:56 INFO juju.juju api.go:213 connecting to API addresses: [10.121.79.135:17070 165.225.173.231:17070]
2016-06-03 16:24:56 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:56 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:56 DEBUG juju.api apiclient.go:500 error dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api", will retry: websocket.Dial wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api: dial tcp 165.225.173.231:17070: getsockopt: connection refused
2016-06-03 16:24:58 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:58 DEBUG juju.api apiclient.go:500 error dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api", will retry: websocket.Dial wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api: dial tcp 165.225.173.231:17070: getsockopt: connection refused
2016-06-03 16:25:00 DEBUG juju.environs utils.go:71 ControllerInstances returned: [f8788f84-4322-43bf-b608-d809844958dc]
2016-06-03 16:25:00 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:25:00 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8201d01e0 0xc8200e8870})]
2016-06-03 16:25:01 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:04 DEBUG juju.juju api.go:352 API hostnames changed from [10.121.79.135:17070 165.225.173.231:17070] to [165.225.173.231:17070 10.121.79.135:17070] - resolving hostnames
2016-06-03 16:25:04 INFO juju.juju api.go:374 API addresses changed from [10.121.79.135:17070 165.225.173.231:17070] to [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:04 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:04 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:04 INFO cmd cmd.go:129 Bootstrap complete, local.joyent-deployer-bundle-ab now available.
2016-06-03 16:25:04 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:05 INFO juju-2.0 --debug list-controllers
2016-06-03 16:25:05 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
CONTROLLER MODEL USER SERVER
local.joyent-deployer-bundle-ab* joyent-deployer-bundle-ab admin@local 165.225.173.231:17070

2016-06-03 16:25:05 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:05 INFO juju-2.0 --debug list-models -c joyent-deployer-bundle-ab
2016-06-03 16:25:05 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:05 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:05 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/"
2016-06-03 16:25:05 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/"
2016-06-03 16:25:05 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/"
2016-06-03 16:25:05 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
2016-06-03 16:25:05 DEBUG juju.api apiclient.go:520 health ping failed: logged in to server, no model, "Pinger" not supported (not supported)
2016-06-03 16:25:06 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:06 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/"
2016-06-03 16:25:06 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/"
2016-06-03 16:25:06 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/"
2016-06-03 16:25:06 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
2016-06-03 16:25:06 DEBUG juju.api apiclient.go:520 health ping failed: logged in to server, no model, "Pinger" not supported (not supported)
NAME OWNER STATUS LAST CONNECTION
admin admin@local available 3 seconds ago
joyent-deployer-bundle-ab* admin@local available 4 seconds ago

2016-06-03 16:25:08 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:11 INFO juju-2.0 --debug show-status -m admin --format yaml
2016-06-03 16:25:11 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:11 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:11 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:11 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:12 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
model: admin
machines:
  "0":
    juju-status:
      current: started
      since: 03 Jun 2016 12:25:05-04:00
      version: 2.0-beta7
    dns-name: 165.225.173.231
    instance-id: f8788f84-4322-43bf-b608-d809844958dc
    machine-status:
      current: running
      message: running
      since: 03 Jun 2016 12:25:04-04:00
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=3840M root-disk=51200M
    controller-member-status: has-vote
services: {}
2016-06-03 16:25:12 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:12 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:12 INFO juju-2.0 --debug show-status -m joyent-deployer-bundle-ab --format yaml
2016-06-03 16:25:12 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:12 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:12 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
model: joyent-deployer-bundle-ab
machines: {}
services: {}
2016-06-03 16:25:12 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:12 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:12 INFO juju-2.0 --debug deployer -e local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab --debug --deploy-delay 10 --timeout 3600 --config /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 16:25:12 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 12:25:13 [DEBUG] deployer.cli: Using runtime GoEnvironment on local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab
2016-06-03 12:25:13 [INFO] deployer.cli: Using deployment /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 12:25:13 [INFO] deployer.cli: Starting deployment of /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 12:25:13 [DEBUG] deployer.import: Getting charms...
2016-06-03 12:25:13 [WARNING] deployer.charm: Invalid charm specification ./trusty/haproxy
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_trusty_apache2-19
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_~abentley_trusty_apache2-reverseproxy-4
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_trusty_python-django-19
2016-06-03 12:25:13 [DEBUG] deployer.deploy: Resolving configuration
2016-06-03 12:25:13 [DEBUG] deployer.env: Connecting to environment...
2016-06-03 12:25:13 [ERROR] deployer.env: Error getting env api endpoints, env bootstrapped?
2016-06-03 12:25:13 [ERROR] deployer.env: Command (juju api-endpoints -e local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab) Output:

$ rm ~/sandbox/logz/* -r; run_deployer.py --series trusty $JUJU_REPOSITORY/scale2-lxc.yaml parallel-joyent /usr/bin/juju-2.0 ~/sandbox/logz joyent-deployer-bundle-ab --debug --agent-timeout 12002016-06-03 12:21:55 INFO /usr/bin/python /home/abentley/canonical/juju-ci-tools/timeout.pyc 600.00 -- juju-2.0 --debug kill-controller joyent-deployer-bundle-ab -y
error: controller joyent-deployer-bundle-ab not found
2016-06-03 12:21:55 INFO juju-2.0 --debug bootstrap --constraints mem=2G cpu-cores=1 joyent-deployer-bundle-ab joyent/us-east-3 --config /tmp/tmpYGCPNv.yaml --default-model joyent-deployer-bundle-ab --agent-version 2.0-beta7 --bootstrap-series trusty
2016-06-03 16:21:55 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:21:55 DEBUG juju.cmd.juju.commands bootstrap.go:354 preparing controller with config: map[tools-metadata-url:https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/parallel-testing/agents name:admin uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab default-series:trusty enable-os-upgrade:false prefer-ipv6:true type:joyent test-mode:true]
2016-06-03 16:21:57 INFO cmd cmd.go:129 Creating Juju controller "local.joyent-deployer-bundle-ab" on joyent/us-east-3
2016-06-03 16:21:57 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
2016-06-03 16:21:57 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
2016-06-03 16:22:00 INFO juju.cmd.juju.commands bootstrap.go:477 combined bootstrap constraints: cpu-cores=1 mem=2048M
2016-06-03 16:22:00 INFO juju.network network.go:327 setting prefer-ipv6 to false
2016-06-03 16:22:03 INFO cmd cmd.go:129 Bootstrapping model "admin"
2016-06-03 16:22:03 DEBUG juju.environs.bootstrap bootstrap.go:159 model "admin" supports service/machine networks: false
2016-06-03 16:22:03 DEBUG juju.environs.bootstrap bootstrap.go:161 network management by juju enabled: true
2016-06-03 16:22:03 INFO juju.environs.bootstrap tools.go:98 looking for bootstrap tools: version=2.0-beta7
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:106 finding tools in stream "devel"
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:108 reading tools with major.minor version 2.0
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:116 filtering tools by version: 2.0-beta7
2016-06-03 16:22:03 INFO juju.environs.tools tools.go:119 filtering tools by series: trusty
2016-06-03 16:22:03 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
2016-06-03 16:22:05 DEBUG juju.environs.simplestreams simplestreams.go:454 skipping index "https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/parallel-testing/agents/streams/v1/index2.json" because of missing information: "content-download" data not found
2016-06-03 16:22:06 DEBUG juju.environs.simplestreams simplestreams.go:680 using default candidate for content id "com.ubuntu.juju:devel:tools" are {20160220 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
2016-06-03 16:22:07 DEBUG juju.environs.simplestreams simplestreams.go:541 using mirrored products path: https:/us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/tools/streams/v1/com.ubuntu.juju-devel-tools.sjson
2016-06-03 16:22:08 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
2016-06-03 16:22:08 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
2016-06-03 16:22:08 DEBUG juju.environs.bootstrap bootstrap.go:372 constraints for image metadata lookup &{{{us-east-3 https://us-east-3.api.joyentcloud.com} [trusty] [amd64 arm64 armhf i386 ppc64el] released}}
2016-06-03 16:22:09 DEBUG juju.environs.bootstrap bootstrap.go:380 ignoring image metadata in default cloud images: cannot read index data, cannot read data for source "default cloud images" at URL https://streams.canonical.com/juju/images/releases/streams/v1/index.sjson: openpgp: signature made by unknown entity
2016-06-03 16:22:10 DEBUG juju.environs.bootstrap bootstrap.go:384 found 1 image metadata in default ubuntu cloud images
2016-06-03 16:22:10 DEBUG juju.environs.bootstrap bootstrap.go:388 found 1 image metadata from all image data sources
2016-06-03 16:22:10 INFO cmd cmd.go:129 Starting new instance for initial controller
Launching instance
2016-06-03 16:22:11 DEBUG juju.environs.instances image.go:64 instance constraints {region: us-east-3, series: trusty, arches: [amd64 arm64 armhf i386 ppc64el], constraints: cpu-cores=1 mem=2048M, storage: []}
2016-06-03 16:22:11 DEBUG juju.environs.instances image.go:70 matching constraints {region: us-east-3, series: trusty, arches: [amd64 arm64 armhf i386 ppc64el], constraints: cpu-cores=1 mem=2048M, storage: []} against possible image metadata [{Id:1a0b9621-0d77-437f-8ef1-f62535df96d6 Arch:amd64 VirtType:kvm}]
2016-06-03 16:22:11 INFO juju.environs.instances image.go:106 find instance - using image with id: 1a0b9621-0d77-437f-8ef1-f62535df96d6
2016-06-03 16:22:11 DEBUG juju.cloudconfig.instancecfg instancecfg.go:613 Setting numa ctl preference to false
2016-06-03 16:22:12 DEBUG juju.service discovery.go:59 discovered init system "upstart" from series "trusty"
2016-06-03 16:22:12 DEBUG juju.provider.joyent environ_instance.go:140 joyent user data: 2036 bytes
2016-06-03 16:22:12 DEBUG juju.provider.joyent environ_instance.go:150 Now tags are: map[tag.juju-is-controller:true tag.group:juju tag.model:admin tag.juju-model-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab tag.juju-controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab]
2016-06-03 16:22:14 INFO juju.provider.joyent environ_instance.go:164 provisioning instance "f8788f84-4322-43bf-b608-d809844958dc"
2016-06-03 16:22:14 INFO juju.provider.joyent environ_instance.go:165 machine created with tags map[juju-is-controller:true group:juju model:admin juju-model-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab juju-controller-uuid:69e8f802-fb91-466d-8dcd-3eb7459445ab]
2016-06-03 16:22:52 INFO juju.provider.joyent environ_instance.go:182 started instance "f8788f84-4322-43bf-b608-d809844958dc"
 - f8788f84-4322-43bf-b608-d809844958dc
2016-06-03 16:22:52 INFO juju.environs.bootstrap bootstrap.go:403 newest version: 2.0-beta7
2016-06-03 16:22:52 INFO juju.environs.bootstrap bootstrap.go:431 picked bootstrap tools version: 2.0-beta7
2016-06-03 16:22:52 INFO cmd cmd.go:129 Installing Juju agent on bootstrap instance
2016-06-03 16:22:54 INFO cmd cmd.go:129 Preparing for Juju GUI 2.1.2 release installation
2016-06-03 16:22:54 DEBUG juju.cloudconfig.instancecfg instancecfg.go:613 Setting numa ctl preference to false
Waiting for address
2016-06-03 16:22:54 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:22:55 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8209f03c0 0xc820336a50})]
Attempting to connect to 165.225.173.231:22
Attempting to connect to 10.121.79.135:22
2016-06-03 16:23:02 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:04 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:05 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8206ea5a0 0xc820336a50})]
2016-06-03 16:23:07 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:13 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: ssh: connect to host 165.225.173.231 port 22: Connection refused
2016-06-03 16:23:14 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:15 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc82000a4b0 0xc820336a50})]
2016-06-03 16:23:21 DEBUG juju.provider.common bootstrap.go:326 connection attempt for 165.225.173.231 failed: Warning: Permanently added '165.225.173.231' (ECDSA) to the list of known hosts.
/var/lib/juju/nonce.txt does not exist
2016-06-03 16:23:24 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:23:25 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc820623e00 0xc820336a50})]
2016-06-03 16:23:32 DEBUG juju.utils.ssh ssh.go:259 using OpenSSH ssh client
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://us-east.manta.joyent.com/cpcjoyentsupport/public/juju-dist/tools/agent/2.0-beta7/juju-2.0-beta7-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
2016-06-03 16:24:55 INFO cmd cmd.go:129 Bootstrap agent installed
2016-06-03 16:24:56 DEBUG juju.juju api.go:357 API hostnames [10.121.79.135:17070 165.225.173.231:17070] - resolving hostnames
2016-06-03 16:24:56 INFO juju.juju api.go:379 new API addresses to cache [10.121.79.135:17070 165.225.173.231:17070]
2016-06-03 16:24:56 INFO juju.juju api.go:213 connecting to API addresses: [10.121.79.135:17070 165.225.173.231:17070]
2016-06-03 16:24:56 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:56 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:56 DEBUG juju.api apiclient.go:500 error dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api", will retry: websocket.Dial wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api: dial tcp 165.225.173.231:17070: getsockopt: connection refused
2016-06-03 16:24:58 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:24:58 DEBUG juju.api apiclient.go:500 error dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api", will retry: websocket.Dial wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api: dial tcp 165.225.173.231:17070: getsockopt: connection refused
2016-06-03 16:25:00 DEBUG juju.environs utils.go:71 ControllerInstances returned: [f8788f84-4322-43bf-b608-d809844958dc]
2016-06-03 16:25:00 DEBUG juju.provider.joyent environ_instance.go:236 Looking for instances ["f8788f84-4322-43bf-b608-d809844958dc"]
2016-06-03 16:25:00 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 DEBUG juju.provider.joyent environ_instance.go:255 Found 1 instances [%!q(*joyent.joyentInstance=&{0xc8201d01e0 0xc8200e8870})]
2016-06-03 16:25:01 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:01 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:04 DEBUG juju.juju api.go:352 API hostnames changed from [10.121.79.135:17070 165.225.173.231:17070] to [165.225.173.231:17070 10.121.79.135:17070] - resolving hostnames
2016-06-03 16:25:04 INFO juju.juju api.go:374 API addresses changed from [10.121.79.135:17070 165.225.173.231:17070] to [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:04 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:04 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:04 INFO cmd cmd.go:129 Bootstrap complete, local.joyent-deployer-bundle-ab now available.
2016-06-03 16:25:04 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:05 INFO juju-2.0 --debug list-controllers
2016-06-03 16:25:05 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
CONTROLLER MODEL USER SERVER
local.joyent-deployer-bundle-ab* joyent-deployer-bundle-ab admin@local 165.225.173.231:17070

2016-06-03 16:25:05 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:05 INFO juju-2.0 --debug list-models -c joyent-deployer-bundle-ab
2016-06-03 16:25:05 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:05 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:05 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/"
2016-06-03 16:25:05 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/"
2016-06-03 16:25:05 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/"
2016-06-03 16:25:05 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
2016-06-03 16:25:05 DEBUG juju.api apiclient.go:520 health ping failed: logged in to server, no model, "Pinger" not supported (not supported)
2016-06-03 16:25:06 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:06 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/"
2016-06-03 16:25:06 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/"
2016-06-03 16:25:06 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/"
2016-06-03 16:25:06 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
2016-06-03 16:25:06 DEBUG juju.api apiclient.go:520 health ping failed: logged in to server, no model, "Pinger" not supported (not supported)
NAME OWNER STATUS LAST CONNECTION
admin admin@local available 3 seconds ago
joyent-deployer-bundle-ab* admin@local available 4 seconds ago

2016-06-03 16:25:08 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:11 INFO juju-2.0 --debug show-status -m admin --format yaml
2016-06-03 16:25:11 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:11 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:11 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:11 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/69e8f802-fb91-466d-8dcd-3eb7459445ab/api"
2016-06-03 16:25:12 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
model: admin
machines:
  "0":
    juju-status:
      current: started
      since: 03 Jun 2016 12:25:05-04:00
      version: 2.0-beta7
    dns-name: 165.225.173.231
    instance-id: f8788f84-4322-43bf-b608-d809844958dc
    machine-status:
      current: running
      message: running
      since: 03 Jun 2016 12:25:04-04:00
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=3840M root-disk=51200M
    controller-member-status: has-vote
services: {}
2016-06-03 16:25:12 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:12 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:12 INFO juju-2.0 --debug show-status -m joyent-deployer-bundle-ab --format yaml
2016-06-03 16:25:12 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 16:25:12 INFO juju.juju api.go:213 connecting to API addresses: [165.225.173.231:17070 10.121.79.135:17070]
2016-06-03 16:25:12 INFO juju.api apiclient.go:494 dialing "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:494 dialing "wss://10.121.79.135:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 INFO juju.api apiclient.go:271 connection established to "wss://165.225.173.231:17070/model/f53ec0f1-eb6d-4697-8ae0-3cd80727981f/api"
2016-06-03 16:25:12 DEBUG juju.juju api.go:362 API hostnames unchanged - not resolving
model: joyent-deployer-bundle-ab
machines: {}
services: {}
2016-06-03 16:25:12 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-06-03 16:25:12 INFO cmd supercommand.go:454 command finished
2016-06-03 12:25:12 INFO juju-2.0 --debug deployer -e local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab --debug --deploy-delay 10 --timeout 3600 --config /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 16:25:12 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
2016-06-03 12:25:13 [DEBUG] deployer.cli: Using runtime GoEnvironment on local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab
2016-06-03 12:25:13 [INFO] deployer.cli: Using deployment /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 12:25:13 [INFO] deployer.cli: Starting deployment of /home/abentley/canonical/repository/scale2-lxc.yaml
2016-06-03 12:25:13 [DEBUG] deployer.import: Getting charms...
2016-06-03 12:25:13 [WARNING] deployer.charm: Invalid charm specification ./trusty/haproxy
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_trusty_apache2-19
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_~abentley_trusty_apache2-reverseproxy-4
2016-06-03 12:25:13 [DEBUG] deployer.charm: Cache dir /home/abentley/canonical/cloud-city/.deployer-store-cache/cs_trusty_python-django-19
2016-06-03 12:25:13 [DEBUG] deployer.deploy: Resolving configuration
2016-06-03 12:25:13 [DEBUG] deployer.env: Connecting to environment...
2016-06-03 12:25:13 [ERROR] deployer.env: Error getting env api endpoints, env bootstrapped?
2016-06-03 12:25:13 [ERROR] deployer.env: Command (juju api-endpoints -e local.joyent-deployer-bundle-ab:joyent-deployer-bundle-ab) Output:

2016-06-03 12:25:13 [INFO] deployer.cli: Deployment stopped. run time: 0.06

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

I'm unable to reproduce this. :/

(.venv) 1 tvansteenburgh@xenial-vm:~/src/juju-deployer⟫ juju-2.0 deployer -e `juju-2.0 switch` -Wvdc ~/Downloads/bundle.yaml
2016-06-09 11:55:47 [DEBUG] deployer.cli: Using runtime GoEnvironment on local.beta7:default
2016-06-09 11:55:47 [INFO] deployer.cli: Using deployment /home/tvansteenburgh/Downloads/bundle.yaml
2016-06-09 11:55:47 [INFO] deployer.cli: Starting deployment of /home/tvansteenburgh/Downloads/bundle.yaml
2016-06-09 11:55:47 [DEBUG] deployer.import: Getting charms...
2016-06-09 11:55:47 [DEBUG] deployer.charm: Cache dir /home/tvansteenburgh/.local/share/juju/.deployer-store-cache/cs_trusty_haproxy-19
2016-06-09 11:55:47 [DEBUG] deployer.charm: Cache dir /home/tvansteenburgh/.local/share/juju/.deployer-store-cache/cs_trusty_rabbitmq-server-44
2016-06-09 11:55:47 [DEBUG] deployer.charm: Cache dir /home/tvansteenburgh/.local/share/juju/.deployer-store-cache/cs_~tvansteenburgh_review-queue-2
2016-06-09 11:55:47 [DEBUG] deployer.charm: Cache dir /home/tvansteenburgh/.local/share/juju/.deployer-store-cache/cs_~tribaal_trusty_postgresql-built-0
2016-06-09 11:55:47 [DEBUG] deployer.deploy: Resolving configuration
2016-06-09 11:55:47 [DEBUG] deployer.env: Connecting to environment...
2016-06-09 11:55:47 [DEBUG] deployer.env: Connected to environment
2016-06-09 11:55:47 [INFO] deployer.import: Creating machines...
2016-06-09 11:55:47 [INFO] deployer.import: Machine 1 will be created
2016-06-09 11:55:48 [INFO] deployer.import: Machine 3 will be created
2016-06-09 11:55:48 [INFO] deployer.import: Machine 2 will be created
2016-06-09 11:55:49 [INFO] deployer.import: Machine 4 will be created
2016-06-09 11:55:49 [INFO] deployer.import: Deploying services...
<redacted>

(.venv) tvansteenburgh@xenial-vm:~/src/juju-deployer⟫ pip list |grep juju
juju-deployer (0.8.0)
jujuclient (0.52.0)
(.venv) tvansteenburgh@xenial-vm:~/src/juju-deployer⟫ juju version
2.0-beta8-xenial-amd64

Changed in juju-deployer:
assignee: nobody → Tim Van Steenburgh (tvansteenburgh)
Revision history for this message
Aaron Bentley (abentley) wrote :

You need to test it when default is juju 1. Juju 1 is not the default on your system:

> tvansteenburgh@xenial-vm:~/src/juju-deployer⟫ juju version
> 2.0-beta8-xenial-amd64

To make juju-1 the default, you can "apt-get install juju-1-default". You will then get something like this:

$ juju version
1.25.5-xenial-amd64

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

Can you please try running deployer directly instead of through run_deployer.py?

Revision history for this message
Aaron Bentley (abentley) wrote :

With manual testing, I've determined the cause of the apparent bug.

Our scripts were exporting a PATH with /usr/bin as the first element. This caused an older version of juju-deployer at /usr/bin/juju-deployer to be selected (0.6.4) instead of /home/abentley/.local/bin/juju-deployer (0.7.1).

Changed in juju-deployer:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.