Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 819  / 3 Years ago, wed, june 23, 2021, 4:12:25

I'm testing the new beta OpenStack cloud of CloudVPS.com and hitting a few problems.



The first problem (which I assume is very likely CloudVPS beta related) is that about half of the time the bootstrapped server is assigned IP's (three, is this normal?) - but they are not reachable, so the bootstrap fails after 10 minutes. Checked that the IP's are really not reachable, so something on the network level fails. This problem can likely be ignored here (raising with their support).



The other problem is that when the server can be reached, the bootstrap asks for a password - and failing to give that (would not know what to give), fails the bootstrap.



$ juju bootstrap --show-log --debug
2013-12-31 17:48:18 DEBUG juju.environs.configstore disk.go:77 Making /home/jaywink/.juju/environments
2013-12-31 17:48:18 INFO juju.provider.openstack provider.go:156 opening environment "cloudvps"
2013-12-31 17:48:20 INFO juju.environs.bootstrap bootstrap.go:46 bootstrapping environment "cloudvps"
2013-12-31 17:48:21 DEBUG juju.environs.bootstrap synctools.go:91 looking for bootstrap tools: series="precise", arch=<nil>, version=<nil>
2013-12-31 17:48:21 INFO juju.environs.tools tools.go:85 reading tools with major.minor version 1.17
2013-12-31 17:48:21 INFO juju.environs.tools tools.go:96 filtering tools by series: precise
2013-12-31 17:48:21 DEBUG juju.environs.tools tools.go:44 no architecture specified when finding tools, looking for any
2013-12-31 17:48:21 DEBUG juju.environs.simplestreams simplestreams.go:667 using default candidate for content id "com.ubuntu.juju:released:tools" are {20131025 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
2013-12-31 17:48:22 DEBUG juju.environs.simplestreams simplestreams.go:538 no mirror information available for {NL https://identity.stack.cloudvps.com/v2.0}: mirror info with cloud {NL https://identity.stack.cloudvps.com/v2.0} not found
2013-12-31 17:48:22 DEBUG juju.environs.simplestreams simplestreams.go:462 read metadata index at "https://streams.canonical.com/tools/streams/v1/index.sjson"
2013-12-31 17:48:22 DEBUG juju.environs.simplestreams simplestreams.go:625 candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Sat, 26 Oct 2013 00:56:32 +1000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.sjson [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:13.10:amd64]}]
2013-12-31 17:48:22 DEBUG juju.environs.simplestreams simplestreams.go:937 finding products at path "streams/v1/com.ubuntu.juju:released:tools.sjson"
2013-12-31 17:48:22 DEBUG juju.environs.simplestreams simplestreams.go:974 metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.0 amd64 map[20131026:0xc200533360]} com.ubuntu.juju:13.10:amd64:{ 1.17.0 amd64 map[20131026:0xc200533480]}] map[] Sat, 26 Oct 2013 00:56:32 +1000 products:1.0 }
2013-12-31 17:48:22 INFO juju.environs.bootstrap bootstrap.go:58 picked newest version: 1.17.0
Launching instance
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:481 fetchData failed for "http://127.0.0.1:8000/images/streams/v1/index.sjson": cannot find URL "http://127.0.0.1:8000/images/streams/v1/index.sjson" not found
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:458 cannot load index "http://127.0.0.1:8000/images/streams/v1/index.sjson": invalid URL "http://127.0.0.1:8000/images/streams/v1/index.sjson" not found
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:481 fetchData failed for "http://127.0.0.1:8000/images/streams/v1/mirrors.json": cannot find URL "http://127.0.0.1:8000/images/streams/v1/mirrors.json" not found
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:557 no mirror index file found
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:462 read metadata index at "http://127.0.0.1:8000/images/streams/v1/index.json"
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:625 candidate matches for products ["com.ubuntu.cloud:server:12.04:amd64"] are [{Sun, 29 Dec 2013 22:52:21 +0200 products:1.0 image-ids custom [{NL https://identity.stack.cloudvps.com/v2.0}] streams/v1/com.ubuntu.cloud:released:imagemetadata.json [com.ubuntu.cloud:server:12.04:amd64]}]
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:937 finding products at path "streams/v1/com.ubuntu.cloud:released:imagemetadata.json"
2013-12-31 17:48:23 DEBUG juju.environs.simplestreams simplestreams.go:974 metadata: &{map[com.ubuntu.cloud:server:12.04:amd64:{ 12.04 amd64 map[20132912:0xc200492a20]}] map[] Sun, 29 Dec 2013 22:52:21 +0200 products:1.0 com.ubuntu.cloud:custom}
2013-12-31 17:48:24 DEBUG juju.provider.openstack provider.go:705 openstack user data; 525 bytes
2013-12-31 17:48:27 INFO juju.provider.openstack provider.go:752 started instance "f259497c-5c4f-49c1-980b-d74d73159f83"
- f259497c-5c4f-49c1-980b-d74d73159f83
Waiting for address
Attempting to connect to 213.187.240.25:22
Attempting to connect to 185.21.189.219:22
Attempting to connect to 185.21.188.115:22
[email protected]'s password: 2013-12-31 17:58:28 ERROR juju.provider.common bootstrap.go:85 bootstrap failed: waited for 10m0s without being able to connect
Stopping instance...
2013-12-31 17:58:28 DEBUG juju.provider.openstack provider.go:775 terminating instances [f259497c-5c4f-49c1-980b-d74d73159f83]
2013-12-31 17:58:29 ERROR juju.cmd supercommand.go:294 waited for 10m0s without being able to connect


During the 10 minutes I can verify that the machine is in fact running ok from their user interface. For some reason it just isn't logging in with the SSH key that I assume is uploaded during the machine creation.



Any ideas how to debug this? Running Juju 1.17.0.


More From » ssh

 Answers
6

The issues were related to the CloudVPS Compute beta, should be fixed when the platform goes public.


[#27735] Thursday, June 24, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amencisiv

Total Points: 9
Total Questions: 102
Total Answers: 118

Location: Tajikistan
Member since Tue, Mar 21, 2023
1 Year ago
amencisiv questions
Wed, Dec 28, 22, 12:58, 1 Year ago
Wed, Sep 28, 22, 18:24, 2 Years ago
Fri, May 13, 22, 19:08, 2 Years ago
;