Comment 10 for bug 1242476

Revision history for this message
Dave Johnston (dave-johnston) wrote :

Still not getting any further.
I run
juju metadata generate-image -i 65f4ecf9-d63e-4af2-b534-736ae4ee08ee -r "RegionOne" -u http://10.20.70.82:35357/v2.0/

Which generates index.json and imagemetadata.json

Both get uploaded to streams/v1/*.json

AFter rerunning bootstramp I see:
2014-02-18 20:10:08 ERROR juju supercommand.go:282 cannot start bootstrap instance: index file has no data for cloud {RegionOne http://10.20.70.82:35357/v2.0} not found

{
 "index": {
   "com.ubuntu.cloud:custom": {
     "updated": "Sun, 16 Feb 2014 20:30:23 +0000",
     "clouds": [
       {
         "region": "RegionOne",
         "endpoint": "http://10.20.70.82:35357/v2.0/"
       }
     ],
     "cloudname": "custom",
     "datatype": "image-ids",
     "format": "products:1.0",
     "products": [
       "com.ubuntu.cloud:server:12.04:amd64"
     ],
     "path": "streams/v1/imagemetadata.json"
   }
 },
 "updated": "Sun, 16 Feb 2014 20:30:23 +0000",
 "format": "index:1.0"
}

From the error message it does look like it find index.json, but that it's not finding a match for the specified cloud. Any ideas whats wrong with this setup?