error: no CA certificate in environment configuration

Bug #1178314 reported by Sidnei da Silva
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Low
Unassigned

Bug Description

Steps to reproduce:

Run juju bootstrap on machine 1
Run juju status on machine 2

Since machine 2 doesn't have the .pem credentials for the environment, the message above is printed. It doesn't give any hint as to what could be done to provide the expected ca certificates and where they are expected to be found.

Tags: config ui
John A Meinel (jameinel)
Changed in juju-core:
importance: Undecided → Medium
status: New → Confirmed
William Reade (fwereade)
Changed in juju-core:
status: Confirmed → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

This also seems to happen on upgrade from Python juju to juju-core. No indication of how I'm supposed to resolve it and recover my existing deployment.

Revision history for this message
John A Meinel (jameinel) wrote :

There isn't (currently) an "upgrade" method to go from python-juju to juju-core. @Colin can you describe the steps you tried to take?

We have some patches coming online to make it clearer if you are trying to mix the environments (since they are not compatible), and I think there is a different bug about creating something that would let you migrate, though I don't think it is being actively worked on at the moment.

Revision history for this message
John A Meinel (jameinel) wrote :

To comment on the bug itself, you need more than just environments.yaml in ~/.juju. The certificate files are also present there.

I believe if you copy all of ~/.juju across to the second machine, then 'juju status' will work correctly. (IOW, juju needs more than just environments.yaml, but everything it needs should be in the ~/.juju directory.)

Curtis Hovey (sinzui)
Changed in juju-core:
importance: Medium → Low
Curtis Hovey (sinzui)
tags: added: config
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This is addressed in Juju 2.0 by using `juju add-user` and `juju register` to share connection information about a particular controller.

Changed in juju-core:
status: Triaged → 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.