Can not juju register.
Andrew Wilkins
andrew.wilkins at canonical.com
Wed Jan 25 05:49:06 UTC 2017
On Wed, Jan 25, 2017 at 1:43 PM yuki kono <kono at kononet.net> wrote:
> Hello.
> I'm yuki.
>
Hi Yuki,
> I tried to run "juju register" to juju-bootstrap node,but receive
> following error message.
>
> -----------------------------------------------
> ubuntu at jc01:~$ juju --debug register 10.0.10.38:17070
> 03:52:18 INFO juju.cmd supercommand.go:63 running juju [2.0.2 gc go1.6.2]
> 03:52:18 DEBUG juju.cmd supercommand.go:64 args: []string{"juju",
> "--debug", "register", "10.0.10.38:17070"}
> 03:52:18 INFO juju.api apiclient.go:530 dialing "wss://
> 10.0.10.38:17070/api"
> 03:52:18 INFO juju.api apiclient.go:539 error dialing "wss://
> 10.0.10.38:17070/api": websocket.Dial wss://10.0.10.38:17070/api: x509:
> certificate signed by unknown authority
> 03:52:18 ERROR cmd supercommand.go:458 unable to connect to API:
> websocket.Dial wss://10.0.10.38:17070/api: x509: certificate signed by
> unknown authority
> 03:52:18 DEBUG cmd supercommand.go:459 (error details: [{
> github.com/juju/juju/cmd/juju/controller/register.go:140: } {
> github.com/juju/juju/cmd/juju/controller/register.go:223: } {
> github.com/juju/juju/api/apiclient.go:185: } {
> github.com/juju/juju/api/apiclient.go:464: } {
> github.com/juju/juju/api/apiclient.go:494: } {
> github.com/juju/juju/api/apiclient.go:540: unable to connect to API}
> {websocket.Dial wss://10.0.10.38:17070/api: x509: certificate signed by
> unknown authority}])
> -----------------------------------------------
> I guess it is caused by some certificate error for golang net/http library.
> (Not use "InsecureSkipVerify: true" ???)
>
> Does anyone know the solution?
>
Can you explain what you're trying to do?
Normally you would use "juju add-user" first, which prints out a "juju
register" command to run from another machine. There are scenarios where
you use "juju register <controller>", but they're not so common at the
moment.
Cheers,
Andrew
Yuki.
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170125/b3ac2c9c/attachment.html>
More information about the Juju
mailing list