juju-deployer fails to deploy services with maas and local provider together.
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@
environment: matters
machines:
"0":
agent-state: down
agent-
agent-version: 1.18.4.1
dns-name: localhost
instance-id: localhost
series: trusty
services: {}
ubuntu@
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/
load_
File "/usr/lib/
run()
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
"Params": {"AuthTag": user, "Password": password}})
File "/usr/lib/
raise EnvError(result)
jujuclient.
{ u'Error': u'invalid entity name or password',
u'ErrorCode': u'unauthorized access',
u'RequestId': 0,
u'Response': { }}
>
summary: |
- juju-deployer fails to deploy services with maas and local provider. + juju-deployer fails to deploy services with maas and local provider + together. |
Changed in juju-deployer: | |
importance: | Undecided → Low |
That implies that the password for the environment was not correct. I'd environments/ $ENV_NAME. jenv .. $JUJU_HOME
like to see the output of $ env | grep JUJU and $ juju env -l .. and also
the contents of $JUJU_HOME/
defaults to ~/.juju
On Wed, Oct 22, 2014 at 5:22 AM, Xiang Hui <email address hidden> wrote:
> Public bug reported: bendix: ~/yaml$ juju status bendix: ~/yaml$ juju-deployer -c matters.yaml -d trusty-icehouse juju-deployer" , line 9, in <module> point(' juju-deployer= =0.3.6' , 'console_scripts', python2. 7/dist- packages/ deployer/ cli.py" , line 127, in python2. 7/dist- packages/ deployer/ cli.py" , line 225, in run Importer( env, deployment, options).run() python2. 7/dist- packages/ deployer/ action/ importer. py", python2. 7/dist- packages/ deployer/ env/go. py", line 81, in login(self. _get_token( )) python2. 7/dist- packages/ jujuclient. py", line 163, in login python2. 7/dist- packages/ jujuclient. py", line 152, in _rpc EnvError: <Env Error - Details: /bugs.launchpad .net/bugs/ 1383993 /bugs.launchpad .net/juju- deployer/ +bug/1383993/ +subscriptions
>
> After bootstrap succesfully on local provider, can't run juju-deployer,
> but juju deploy works.
>
> ubuntu@
> 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@
> --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/
> load_entry_
> 'juju-deployer')()
> File "/usr/lib/
> main
> run()
> File "/usr/lib/
> importer.
> File "/usr/lib/
> line 182, in run
> self.env.connect()
> File "/usr/lib/
> connect
> self.client.
> File "/usr/lib/
> "Params": {"AuthTag": user, "Password": password}})
> File "/usr/lib/
> raise EnvError(result)
> jujuclient.
> { 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:/
>
> Title:
> juju-deployer fails to deploy services with maas and local provider
> together.
>
> To manage notifications about this bug go to:
> https:/
>