juju-deployer fails to deploy services with maas and local provider together.

Bug #1383993 reported by Xiang Hui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Incomplete
Low
Unassigned

Bug Description

After bootstrap succesfully on local provider, can't run juju-deployer, but juju deploy works.

ubuntu@bendix:~/yaml$ juju status
environment: matters
machines:
  "0":
    agent-state: down
    agent-state-info: (started)
    agent-version: 1.18.4.1
    dns-name: localhost
    instance-id: localhost
    series: trusty
services: {}

ubuntu@bendix:~/yaml$ juju-deployer -c matters.yaml -d trusty-icehouse --debug
2014-10-22 03:19:40 [DEBUG] deployer.cli: Using runtime GoEnvironment on matters
2014-10-22 03:19:40 [INFO] deployer.cli: Starting deployment of trusty-icehouse
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.3.6', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 127, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 225, in run
    importer.Importer(env, deployment, options).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 182, in run
    self.env.connect()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 81, in connect
    self.client.login(self._get_token())
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 163, in login
    "Params": {"AuthTag": user, "Password": password}})
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 152, in _rpc
    raise EnvError(result)
jujuclient.EnvError: <Env Error - Details:
 { u'Error': u'invalid entity name or password',
    u'ErrorCode': u'unauthorized access',
    u'RequestId': 0,
    u'Response': { }}
 >

Xiang Hui (xianghui)
summary: - juju-deployer fails to deploy services with maas and local provider.
+ juju-deployer fails to deploy services with maas and local provider
+ together.
Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1383993] [NEW] juju-deployer fails to deploy services with maas and local provider together.

That implies that the password for the environment was not correct. I'd
like to see the output of $ env | grep JUJU and $ juju env -l .. and also
the contents of $JUJU_HOME/environments/$ENV_NAME.jenv .. $JUJU_HOME
defaults to ~/.juju

On Wed, Oct 22, 2014 at 5:22 AM, Xiang Hui <email address hidden> wrote:

> Public bug reported:
>
> After bootstrap succesfully on local provider, can't run juju-deployer,
> but juju deploy works.
>
> ubuntu@bendix:~/yaml$ juju status
> environment: matters
> machines:
> "0":
> agent-state: down
> agent-state-info: (started)
> agent-version: 1.18.4.1
> dns-name: localhost
> instance-id: localhost
> series: trusty
> services: {}
>
> ubuntu@bendix:~/yaml$ juju-deployer -c matters.yaml -d trusty-icehouse
> --debug
> 2014-10-22 03:19:40 [DEBUG] deployer.cli: Using runtime GoEnvironment on
> matters
> 2014-10-22 03:19:40 [INFO] deployer.cli: Starting deployment of
> trusty-icehouse
> Traceback (most recent call last):
> File "/usr/bin/juju-deployer", line 9, in <module>
> load_entry_point('juju-deployer==0.3.6', 'console_scripts',
> 'juju-deployer')()
> File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 127, in
> main
> run()
> File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 225, in run
> importer.Importer(env, deployment, options).run()
> File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py",
> line 182, in run
> self.env.connect()
> File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 81, in
> connect
> self.client.login(self._get_token())
> File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 163, in login
> "Params": {"AuthTag": user, "Password": password}})
> File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 152, in _rpc
> raise EnvError(result)
> jujuclient.EnvError: <Env Error - Details:
> { u'Error': u'invalid entity name or password',
> u'ErrorCode': u'unauthorized access',
> u'RequestId': 0,
> u'Response': { }}
> >
>
> ** Affects: juju-deployer
> Importance: Undecided
> Status: New
>
> ** Summary changed:
>
> - juju-deployer fails to deploy services with maas and local provider.
> + juju-deployer fails to deploy services with maas and local provider
> together.
>
> --
> You received this bug notification because you are subscribed to juju-
> deployer.
> Matching subscriptions: deployer
> https://bugs.launchpad.net/bugs/1383993
>
> Title:
> juju-deployer fails to deploy services with maas and local provider
> together.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-deployer/+bug/1383993/+subscriptions
>

Changed in juju-deployer:
status: New → Incomplete
Tom Haddon (mthaddon)
Changed in juju-deployer:
importance: Undecided → Low
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.