Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 3531  / 1 Year ago, wed, february 22, 2023, 2:37:44

How can I fix this case, my condition :




  1. MAAS Server on VM

  2. Juju in Main server

  3. All ubuntu 14.04



Here is the error



curl(6) "could not resolve host: streams.canonical.com"

Setting up libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3) ...
Setting up libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3) ...
Setting up libpcrecpp0:amd64 (1:8.31-2ubuntu2) ...
Setting up libunwind8 (1.1-2.2ubuntu3) ...
Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
Setting up libgoogle-perftools4 (2.1-2ubuntu1) ...
Setting up libsnappy1 (1.1.0-1ubuntu1) ...
Setting up juju-mongodb (2.4.9-0ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
curl: (6) Could not resolve host: streams.canonical.com tools from https://streams.canonical.com/juju/tools/releases/juju-1.18.3-trusty-amd64.tgz downloaded: HTTP 000; time 9.523s; size 0 bytes; speed 0.000 bytes/s ERROR bootstrap failed: rc: 1 Stopping instance...
Bootstrap failed, destroying environment ERROR rc: 1


I added all dns server ip in /etc/network/interface as dns-nameservers 192.?.?? 10.0.??



and the error changed to



Processing triggers for libc-bin (2.19-0ubuntu6) ...
curl: (7) Failed to connect to streams.canonical.com port 443: Connection refused



I can Ping the streams.canonical.com , I think there is some thing wrong with SSL certification!
Do I have to set some thing about SSL Certification on my JUJU or MAAS Server?!



I tried to juju boot strap from VM machine as Juju server I got this:



ERROR bootstrap failed: cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment. You may want to use the 'tools-metadata-url' configuration setting to specify the tools location.



I tried to juju boot strap from VM machine as Juju server I got this:



ERROR bootstrap failed: cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment. You may want to use the 'tools-metadata-url' configuration setting to specify the tools location.


More From » juju

 Answers
2

I passed those errors:

1) Using ssh session and setting localhost:8080/MAAS as mass address , so juju sync-tools successfully done

2) using ip:80/MAAS address it bypassed the bad gateway and connection refused but i got another error:



ERROR juju.cmd supercommand.go:305 gomaasapi: got error back from server: 401 OK (Expired timestamp: given 1400739722 and now 1400764922 has a greater difference than threshold 300)


3) where is this time out defined ?


[#25246] Thursday, February 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inglehare

Total Points: 330
Total Questions: 111
Total Answers: 95

Location: Sint Maarten
Member since Tue, Mar 29, 2022
2 Years ago
;