juju bootstrap hangs

boyd yang boyd.yang at gmail.com
Mon May 19 14:25:00 UTC 2014


Hi Andreas,

This is the log with debug on, it still hangs:

root at maas:/home/ceph# juju bootstrap --show-log --debug
2014-05-19 11:10:57 INFO juju.cmd supercommand.go:302 running
juju-1.18.3-trusty-amd64 [gc]
2014-05-19 11:10:57 WARNING juju.cmd.juju common.go:40 ignoring
environments.yaml: using bootstrap config in file
"/root/.juju/environments/maas.jenv"
2014-05-19 11:10:57 DEBUG juju.environs open.go:86 ConfigForName found
bootstrap config map[string]interface {}{"default-series":"",
"maas-oauth":"Wqa5ZBzUqLwsJuXRaU:8hD5cESnxunQJmbvt4:VzF6fyEpUZNdbWeYjauNZJ27UhtJSUAt",
"admin-secret":"a61bf00eeaaa5c1e2099a2c1a84401c7", "development":false,
"image-stream":"",
"maas-agent-name":"65f50f3b-4edb-4f7b-8526-fa3f8d0dd20e",
"state-port":37017, "tools-metadata-url":"", "bootstrap-retry-delay":5,
"ca-private-key":"-----BEGIN RSA PRIVATE
KEY-----\nMIICXQIBAAKBgQDiXLI0Cfs/ozpu5AfK3vhdrUHlIQz5El+nrq6qHPgn5XJO6zq8\nVc7VxrBDg1ug2EASJeTSy2VLPHJBEn0BK/3U//x6VtSM4aZk+y53Qo6p1Wje7PFV\npQhRMi87nFZh+NC1kNY3ZVvp3N5wH43U66ugwDxJozZsNwosF7ud1lfMXwIDAQAB\nAoGAVHvcVufSyjGVwYWCEwmdEPl1OptXSC6/XMopjnw5ckqEm0fYKCqug8MgTlJc\nhG+xmhRijvoy2B27VuYbmbBdj8oXUKjmLhznla83bxJK/BDWdc2/40qqdCTygWbx\n/hi+y81kRjom5YrD9HKUlQcHTTTBWJwjKaywzWtTE2//fgECQQD6OgM/CsbxLeIh\nY186g3xYbvRl6IStpGM/lWKntNdPVs2ozJ0om5FK70FtBc46t76iRVJofsMVCVfm\n8EercYMfAkEA55W5slz6cluZAm6MxdWxPKVywGmjLpdPNGJE3dJCwJ4nlHnCx0S5\nV8ToYXiqgpsAwtdiw11h4aHGX8LEcp/OwQJBAJ+jcTzAEGn//tuUPUXkauk0aGG3\ntSXe0Z7YHGeoHRE17OE7ISyuC0TGXXRDlu2pGksGdOvLq4P5QQZJ1z+OnLsCQQCr\nxjgWH7c4yc5lqmBKgeXUCRhjtjdu4JbEUTupmUMgIm9TRzl9mvErNAf1/I3lEFnx\nK9e693IZ7Wf6MbqLFxRBAkBjpyN/iphrJX3TGKx8v+nKlS6q6zVt+6HuQDSeczsF\nA0WybRb6WjgrNiGMLiEyR6Vl6xZ37PbmHuBvExGYNGf5\n-----END
RSA PRIVATE KEY-----\n", "maas-server":"http://192.168.10.1/MAAS/",
"ssl-hostname-verification":true, "bootstrap-addresses-delay":10,
"ca-cert":"-----BEGIN
CERTIFICATE-----\nMIICWTCCAcSgAwIBAgIBADALBgkqhkiG9w0BAQUwQjENMAsGA1UEChMEanVqdTEx\nMC8GA1UEAwwoanVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50ICJtYWFz\nIjAeFw0xNDA1MTgwNDQ2MTlaFw0yNDA1MTgwNDUxMThaMEIxDTALBgNVBAoTBGp1\nanUxMTAvBgNVBAMMKGp1anUtZ2VuZXJhdGVkIENBIGZvciBlbnZpcm9ubWVudCAi\nbWFhcyIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOJcsjQJ+z+jOm7kB8re\n+F2tQeUhDPkSX6eurqoc+Cflck7rOrxVztXGsEODW6DYQBIl5NLLZUs8ckESfQEr\n/dT//HpW1IzhpmT7LndCjqnVaN7s8VWlCFEyLzucVmH40LWQ1jdlW+nc3nAfjdTr\nq6DAPEmjNmw3CiwXu53WV8xfAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIApDAPBgNV\nHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQ75K9jVHuL23u3Nj4LVN+qbks+cTAfBgNV\nHSMEGDAWgBQ75K9jVHuL23u3Nj4LVN+qbks+cTALBgkqhkiG9w0BAQUDgYEA1TT3\n5rcVkjjRjOfwEPVQGctoLMgqQYSjLTTlFQxDDljN9HqtTHuOx82Av+m8DoZ5lDML\nbvgEobdkApAZlwo4BdIwW/2C7wocu815bq7nYHOR89VLyrScUzMgMmCNcwY84W4J\ni8Q8hgKBMzhDMwq2yFOqtddHi4Yjh9+TToMXH8k=\n-----END
CERTIFICATE-----\n", "api-port":17070, "authorized-keys":"ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQC/lQtvSCLSpbXv194i7eht1Tzd8el7BaOiM4wZQeDJI+qW8d/bvJlfudSALF7KiMlP4YWJboKEVkR0fXATZ4IFEr1UhhHJvzH5nu9mF/L++FVw2NsceTk5gWNb+lYE9iHIBSWc5AcFGIjLjuB8hEJSjKnXopoV4zWx6W4bUsGtheEhBtuYSUgfMBqoFLLfUyef3TR/yxBzxnYzElcxJpdLStA7qD7dw+1UeHZ1fkDPdpp/d6ubcF8D/p8iD9Be5HSqQc1slwLS7jiedEunMvvgsGcK3HlUZvPWq6xhDADVe11GXJ+cCZnUc9kY0AbrW7+Cn4i9BHw6y3ZeVWMy27zf
juju-client-key\nssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDFpCs6Bgil0P8xW3CPjztyL7EYEvaImbwQUBIS+fXW9TDV61ZcD5szur/RzJhOSLhSv3oV8EYaTnfEOXb93hrmd1wDUpiKC041MLgAwIvREsSOyIBAzIdOPGJK8S1/KGBElPNXCjzPWy93hjWkjn4Nf2vlT7C9myms5/LoIDr9pXKQImHKu6kpnSSCKknrQeUuqBOOderdZZnnpvAMEUyxJc6ftF3PAAVlX2XuEo4CFhWt+qh8r9hS/IninHz9T8ANe6FTEvYr+9DT9iLc5YtWCxuFpth4i/ZRAZtoHC9zNlBkmnWOcN++5s+5hgX80paRI8sZ/S7NoRz3pNNj2p6d
root at maas\n", "bootstrap-timeout":600,
"logging-config":"<root>=INFO;unit=DEBUG", "firewall-mode":"instance",
"name":"maas", "test-mode":false, "tools-url":"", "image-metadata-url":"",
"lxc-use-clone":false, "type":"maas", "charm-store-auth":"",
"syslog-port":6514}
2014-05-19 11:10:57 DEBUG juju.environs.configstore disk.go:64 Making
/root/.juju/environments
2014-05-19 11:10:57 INFO juju.environs open.go:177 environment info already
exists; using New not Prepare
2014-05-19 11:10:58 DEBUG juju.provider.maas environprovider.go:30 opening
environment "maas".
2014-05-19 11:10:58 INFO juju.environs.bootstrap bootstrap.go:46
bootstrapping environment "maas"
2014-05-19 11:10:58 DEBUG juju.environs.bootstrap synctools.go:165 looking
for bootstrap tools: series="trusty", arch=<nil>, version=<nil>
2014-05-19 11:10:58 INFO juju.environs.tools tools.go:186 filtering tools
by released version
2014-05-19 11:10:58 INFO juju.environs.tools tools.go:86 reading tools with
major.minor version 1.18
2014-05-19 11:10:58 INFO juju.environs.tools tools.go:97 filtering tools by
series: trusty
2014-05-19 11:10:58 DEBUG juju.environs.tools tools.go:45 no architecture
specified when finding tools, looking for any
2014-05-19 11:10:58 DEBUG juju.environs.simplestreams simplestreams.go:490
fetchData failed for "tools/streams/v1/index.sjson": file
'65f50f3b-4edb-4f7b-8526-fa3f8d0dd20e-tools/streams/v1/index.sjson' not
found not found
2014-05-19 11:10:58 DEBUG juju.environs.simplestreams simplestreams.go:464
cannot load index "streams/v1/index.sjson": invalid URL
"tools/streams/v1/index.sjson" not found
2014-05-19 11:10:58 DEBUG juju.environs.simplestreams simplestreams.go:490
fetchData failed for "tools/streams/v1/index.json": file
'65f50f3b-4edb-4f7b-8526-fa3f8d0dd20e-tools/streams/v1/index.json' not
found not found
2014-05-19 11:10:58 DEBUG juju.environs.simplestreams simplestreams.go:464
cannot load index "streams/v1/index.json": invalid URL
"tools/streams/v1/index.json" not found
2014-05-19 11:10:58 INFO juju.utils http.go:55 hostname SSL verification
enabled
2014-05-19 11:11:05 INFO juju.utils http.go:55 hostname SSL verification
enabled
2014-05-19 11:11:09 DEBUG juju.environs.simplestreams simplestreams.go:677
using default candidate for content id "com.ubuntu.juju:released:tools" are
{20140515 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
2014-05-19 11:11:09 INFO juju.utils http.go:55 hostname SSL verification
enabled
2014-05-19 11:11:17 DEBUG juju.environs.simplestreams simplestreams.go:548
no mirror information available for { }: mirror info with cloud { } not
found
2014-05-19 11:11:17 DEBUG juju.environs.simplestreams simplestreams.go:468
read metadata index at "
https://streams.canonical.com/juju/tools/streams/v1/index.sjson"
2014-05-19 11:11:17 DEBUG juju.environs.simplestreams simplestreams.go:635
candidate matches for products ["com.ubuntu.juju:14.04:amd64"
"com.ubuntu.juju:14.04:i386" "com.ubuntu.juju:14.04:armhf"
"com.ubuntu.juju:14.04:arm64" "com.ubuntu.juju:14.04:ppc64"] are [{Thu, 15
May 2014 01:11:00 +0000 products:1.0 content-download  []
streams/v1/com.ubuntu.juju:released:tools.sjson
[com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:12.04:armhf
com.ubuntu.juju:12.04:i386 com.ubuntu.juju:12.10:amd64
com.ubuntu.juju:12.10:i386 com.ubuntu.juju:13.04:amd64
com.ubuntu.juju:13.04:i386 com.ubuntu.juju:13.10:amd64
com.ubuntu.juju:13.10:armhf com.ubuntu.juju:13.10:i386
com.ubuntu.juju:14.04:amd64 com.ubuntu.juju:14.04:arm64
com.ubuntu.juju:14.04:armhf com.ubuntu.juju:14.04:i386
com.ubuntu.juju:14.04:powerpc com.ubuntu.juju:14.04:ppc64el
com.ubuntu.juju:14.10:amd64 com.ubuntu.juju:14.10:armhf
com.ubuntu.juju:14.10:i386]}]
2014-05-19 11:11:17 DEBUG juju.environs.simplestreams simplestreams.go:947
finding products at path "streams/v1/com.ubuntu.juju:released:tools.sjson"
2014-05-19 11:11:17 INFO juju.utils http.go:55 hostname SSL verification
enabled


On Sun, May 18, 2014 at 11:19 PM, Andreas Hasenack <andreas at canonical.com>wrote:

> Add  --debug to see what is going on in even more detail.
> On May 18, 2014 1:39 AM, "boyd yang" <boyd.yang at gmail.com> wrote:
>
>> Hello,
>> Sometimes bootstrap hangs here for a long time like 10 hours.
>> How to fix this?
>>
>> root at maas:~# juju bootstrap --show-log
>> 2014-05-18 04:33:52 INFO juju.cmd supercommand.go:302 running
>> juju-1.18.3-trusty-amd64 [gc]
>> 2014-05-18 04:33:52 WARNING juju.cmd.juju common.go:40 ignoring
>> environments.yaml: using bootstrap config in file
>> "/root/.juju/environments/maas.jenv"
>> 2014-05-18 04:33:52 INFO juju.environs open.go:177 environment info
>> already exists; using New not Prepare
>> 2014-05-18 04:33:52 INFO juju.environs.bootstrap bootstrap.go:46
>> bootstrapping environment "maas"
>> 2014-05-18 04:33:52 INFO juju.environs.tools tools.go:186 filtering tools
>> by released version
>> 2014-05-18 04:33:52 INFO juju.environs.tools tools.go:86 reading tools
>> with major.minor version 1.18
>> 2014-05-18 04:33:52 INFO juju.environs.tools tools.go:97 filtering tools
>> by series: trusty
>> 2014-05-18 04:33:53 INFO juju.utils http.go:55 hostname SSL verification
>> enabled
>> 2014-05-18 04:33:58 INFO juju.utils http.go:55 hostname SSL verification
>> enabled
>> 2014-05-18 04:34:04 INFO juju.utils http.go:55 hostname SSL verification
>> enabled
>> 2014-05-18 04:34:11 INFO juju.utils http.go:55 hostname SSL verification
>> enabled
>>
>> --
>> 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/20140519/f9a3be6a/attachment.html>


More information about the Juju mailing list