Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error
John Arbash Meinel
john at arbash-meinel.com
Wed Aug 14 08:58:19 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2013-08-14 0:08, Andreas Hasenack wrote:
> Could you double check your urls and config files? There seems to
> be an extra quote in the log output above: " 2013-08-09 22:22:00
> WARNING juju.environs.imagemetadata simplestreams.go:293 cannot
> load index
> "http://10.10.13.180:8080/v1/AUTH_3[...]e/juju-dist/"/"streams/v1/index.json":
>
>
unauthorised access to URL
> "
>
> Notice the dist/"/"streams/v1 stuff. Maybe an artifact of the
> email, though.
Just to join in the conversation, I'm seeing this on HP Cloud. I'm
trying to debug it now.
The extra quotation is just because we're logging poorly. We are doing:
logger.Debugf("stuff ... %q/%q", baseURL, indexPath)
However, that quotes both pieces separately. So you get "foo"/"bar"
which obviously we don't want :).
I'm going to propose a patch to at least fix that bit of the problem.
Also, as mentioned, the WARNING about not being able to load
index.sjson is a bit of a bug that we don't tell you that we then
*succeed* at reading the index.json next.
I believe the WARNING is already a DEBUG message as of current trunk,
but we'll want to give people success messages if we are going to
highlight non-fatal errors as well.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlILRqsACgkQJdeBCYSNAAPRIACfRVZBXV9LDZpxr2YwPpiRRuRb
zL4AoMFFD1Hx+RfRYgY8IbQtRPjKzqng
=qnTF
-----END PGP SIGNATURE-----
More information about the Juju
mailing list