Comment 0 for bug 1567763

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Helping a user get Juju bootstrapped on their private OpenStack. We've generated custom image metadata using "juju metadata generate-image". Their default flavor's disk was too small, which caused bootstrap to fail with an error from Mongo. So we tried again with "--constraints instance-type=<their-flavor>" which has a bigger disk. That failed with:

2016-04-08 04:16:19 DEBUG juju.state open.go:306 closed state without error
2016-04-08 04:16:19 ERROR juju.cmd supercommand.go:429 cannot set initial environ constraints: index file has no data for cloud {RegionOne http://172.29.55.5:35357/v2.0} not found
2016-04-08 04:16:19 ERROR juju.cmd supercommand.go:429 failed to bootstrap environment: subprocess encountered error code 1

I think what's happening is that when we set the constraints in state, we validate instance-type against simplestreams metadata. We're trying to get that from the public source, which is failing because that naturally does not have information for the private cloud.