RE: Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error

Steven Hicks shicks at seamlessti.com
Tue Aug 13 19:31:43 UTC 2013


I did give everything read access after I created, and after I uploaded the files.
swift post juju-dist -r '.r:*'

Also, if I try open http://10.10.13.180:8080/v1/AUTH_3[...]e/juju-dist/streams/v1/index.json<http://10.10.13.180:8080/v1/AUTH_3%5b...%5de/juju-dist/streams/v1/index.json> in the browser, I get a 401 forbidden error.

-Steven Hicks
  Solutions Engineer
  Avnet Services (formerly Seamless Technologies Inc.)
  Office: +1 773 639 4219
  Email: shicks at seamlessti.com

From: Andreas Hasenack [mailto:andreas at canonical.com]
Sent: Tuesday, August 13, 2013 1:12 PM
To: Steven Hicks
Cc: juju
Subject: RE: Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error


The URL it's trying for the index.json file should work. You should be able to open it in your browser. If that gives you an error, double check the swift acls. In the ask Ubuntu answer was a juju post command to set the right acls. I'm on my phone right now and a bit handicapped and can't look it up myself, sorry.
On 13 Aug 2013 15:03, "Steven Hicks" <shicks at seamlessti.com<mailto:shicks at seamlessti.com>> wrote:
That worked and I got slightly further:

2013-08-09 22:21:48 INFO juju provider.go:121 environs/openstack: opening enviro                                                                             nment "openstack"
2013-08-09 22:21:48 INFO juju tools.go:25 environs: reading tools with major ver                                                                             sion 1
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:48 reading v1.* tools
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-precise-am                                                                             d64
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-precise-i3                                                                             86
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-quantal-am                                                                             d64
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-quantal-i3                                                                             86
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-raring-amd                                                                             64
2013-08-09 22:21:48 DEBUG juju.agent.tools storage.go:68 found 1.10.0-raring-i38                                                                             6
2013-08-09 22:21:48 INFO juju tools.go:52 environs: filtering tools by series: p                                                                             recise
2013-08-09 22:21:48 INFO juju tools.go:75 environs: picked newest version: 1.10.                                                                             0
2013-08-09 22:21:59 INFO juju provider.go:448 environs/openstack: bootstrapping environment "openstack"
2013-08-09 22:21:59 INFO juju tools.go:25 environs: reading tools with major version 1
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:48 reading v1.* tools
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-precise-amd64
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-precise-i386
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-quantal-amd64
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-quantal-i386
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-raring-amd64
2013-08-09 22:21:59 DEBUG juju.agent.tools storage.go:68 found 1.10.0-raring-i386
2013-08-09 22:21:59 INFO juju tools.go:52 environs: filtering tools by series: precise
2013-08-09 22:21:59 INFO juju tools.go:60 environs: filtering tools by version: 1.10.0
2013-08-09 22:21:59 WARNING juju.environs.imagemetadata simplestreams.go:293 cannot load index "http://10.10.13.180:8080/v1/AUTH_3[...]e/juju-dist/<http://10.10.13.180:8080/v1/AUTH_3%5B...%5De/juju-dist/>"/"streams/v1/index.sjson": unauthorised access to URL "http://1                                       0.10.13.180:8080/v1/AUTH_3[...]e/juju-dist/streams/v1/index.sjson<http://0.10.13.180:8080/v1/AUTH_3%5B...%5De/juju-dist/streams/v1/index.sjson>"
2013-08-09 22:22:00 WARNING juju.environs.imagemetadata simplestreams.go:301 skipping index because of error getting latest metadata "http://cloud-images.ubuntu.com/releases"/"streams/v1/index.sjson": index file has no data for cloud {R                                       egionOne http://10.10.13.180:5000/v2.0/} not found
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/<http://10.10.13.180:8080/v1/AUTH_3%5B...%5De/juju-dist/>"/"streams/v1/index.json": unauthorised access to URL "http://10                                       .10.13.180:8080/v1/AUTH_3[...]e/juju-dist/streams/v1/index.json"
2013-08-09 22:22:00 WARNING juju.environs.imagemetadata simplestreams.go:301 skipping index because of error getting latest metadata "http://cloud-images.ubuntu.com/releases"/"streams/v1/index.json": index file has no data for cloud {Re                                       gionOne http://10.10.13.180:5000/v2.0/} not found
2013-08-09 22:22:00 ERROR juju supercommand.go:274 command failed: cannot start bootstrap instance: no "precise" images in RegionOne with arches [amd64 i386]
error: cannot start bootstrap instance: no "precise" images in RegionOne with arches [amd64 i386]

One thing to note: It appears that my clock is way slow on the machine. [But it is at least consistant].  The URLs look wrong. Also, rerunning bootstrap claims that Juju has already been bootstrapped.


-Steven Hicks
  Solutions Engineer
  Avnet Services (formerly Seamless Technologies Inc.)
  Office: +1 773 639 4219<tel:%2B1%20773%20639%204219>
  Email: shicks at seamlessti.com<mailto:shicks at seamlessti.com>

From: Andreas Hasenack [mailto:andreas at canonical.com<mailto:andreas at canonical.com>]
Sent: Tuesday, August 13, 2013 12:41 PM
To: Steven Hicks
Cc: juju at lists.ubuntu.com<mailto:juju at lists.ubuntu.com>
Subject: Re: Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error

On Tue, Aug 13, 2013 at 2:36 PM, Steven Hicks <shicks at seamlessti.com<mailto:shicks at seamlessti.com>> wrote:
My apologies, this is an All-In-One type setup. So Keystone, Glance, Swift, and Nova are all on the same box.


Ok, here is the problem, in index.json:
 {
 "index": {
   "com.ubuntu.cloud:custom": {
    "updated": "Sat, 03 Aug 2013 19:58:58 -0500",
    "clouds": [
     {
       "region": "RegionOne",
       "endpoint": "http://10.10.13.180:5000/v2.0" <------
(...)

That endpoint has to match *exactly* the auth-url you have in juju's environments.yaml

Also, if that is the IP of your all-in-one box, I suggest to use that instead of 127.0.0.1 everywhere else.

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.


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130813/cf717621/attachment-0001.html>


More information about the Juju mailing list