KeyError: 'admin-secret'

Bug #1278491 reported by Nobuto Murata
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-deployer
Fix Released
Critical
Kapil Thangavelu
juju-deployer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

KeyError: 'admin-secret' when deploying with deployer.

$ juju deployer -v --debug --watch --config wordpress-bundle/bundles.yaml wordpress-simple
2014-02-11 01:17:49 [DEBUG] deployer.cli: Using runtime GoEnvironment
2014-02-11 01:17:49 [INFO] deployer.cli: Starting deployment of wordpress-simple
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.3.0', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 118, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 209, in run
    importer.Importer(env, deployment, options).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 175, in run
    self.env.connect()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 54, in connect
    self.client.login(self._get_token())
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 25, in _get_token
    return config['admin-secret']
KeyError: 'admin-secret'
ERROR exit status 1

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: juju-deployer 0.3.0-0ubuntu2
ProcVersionSignature: User Name 3.13.0-6.23-generic 3.13.0
Uname: Linux 3.13.0-6-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
Date: Tue Feb 11 01:14:56 2014
PackageArchitecture: all
ProcEnviron:
 TERM=screen-256color-bce
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: juju-deployer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :

It looks like related to a change made in juju-core 1.17 series, Bug #1271341

Changed in juju-deployer:
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in juju-deployer (Ubuntu):
status: New → Confirmed
Changed in juju-deployer:
status: New → Confirmed
milestone: none → 0.3.3
status: Confirmed → In Progress
assignee: nobody → Kapil Thangavelu (hazmat)
Changed in juju-deployer:
status: In Progress → Fix Committed
Changed in juju-deployer:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju-deployer - 0.3.4-0ubuntu1

---------------
juju-deployer (0.3.4-0ubuntu1) trusty; urgency=medium

  * New upstream point release (LP: #1278491).
 -- James Page <email address hidden> Mon, 24 Feb 2014 09:03:04 +0000

Changed in juju-deployer (Ubuntu):
status: Confirmed → Fix Released
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.