RE: Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error
Steven Hicks
shicks at seamlessti.com
Wed Aug 14 15:09:56 UTC 2013
At the moment I see a few possibilities:
1. The logging is misrepresenting what is actually being considered.
2. The logging is accurate as to what the public bucket URL is being used
I'm still not sure why a .sjson file is being looked for. Image-metadata only generates json files.
-Steven Hicks
Solutions Engineer
Avnet Services (formerly Seamless Technologies Inc.)
Office: +1 773 639 4219
Email: shicks at seamlessti.com
-----Original Message-----
From: John Arbash Meinel [mailto:john at arbash-meinel.com]
Sent: Wednesday, August 14, 2013 3:58 AM
To: Andreas Hasenack
Cc: Steven Hicks; juju
Subject: Re: Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error
-----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-----
CONFIDENTIALITY NOTICE: This email communication is intended only for the personal and confidential use of the recipient(s) designated above and may contain information which is subject to Federal and/or State privacy laws. In the event that you are not the intended recipient or the agent of the intended recipient, you are hereby notified that any review, disclosure, or use of the information contained herein is strictly prohibited. Do not copy or use the information contained within this communication, or allow it to be read, copied or utilized in any manner by any other person(s). If you have received this communication in error, please notify the sender immediately, either by response e-mail or by phone, and permanently delete the original e-mail, any attachment(s), and copies.
More information about the Juju
mailing list