I have a working private OpenStack installation and am trying to use juju. As follows:
dave@dave-D945GTP:~$ juju version
dave@dave-D945GTP:~$ juju sync-tools
listing the source bucket
found 6 tools
found 6 recent tools (version 1.10.0)
listing target bucket
found 0 tools in target; 6 tools to be copied
copying tools/juju-1.10.0-precise-amd64.tgz, download 2205kB, uploading
copying tools/juju-1.10.0-precise-i386.tgz, download 2306kB, uploading
copying tools/juju-1.10.0-quantal-amd64.tgz, download 2209kB, uploading
copying tools/juju-1.10.0-quantal-i386.tgz, download 2311kB, uploading
copying tools/juju-1.10.0-raring-amd64.tgz, download 2208kB, uploading
copying tools/juju-1.10.0-raring-i386.tgz, download 2312kB, uploading
copied 6 tools
So far, all seems good. However, it fails to bootstrap:
A swift container named 'juju-cece0b9817a68cba4780784bf0663e45' containing a tools "directory" (with the six files obtained via juju sync-tools) and a bootstrap-verify file is successfully created.
dave@dave-D945GTP:~$ juju -v bootstrap
2013-07-11 09:34:17 INFO juju provider.go:117 environs/openstack: opening environment "openstack"
2013-07-11 09:34:17 INFO juju provider.go:467 environs/openstack: bootstrapping environment "openstack"
2013-07-11 09:34:27 INFO juju tools.go:25 environs: reading tools with major version 1
2013-07-11 09:34:27 INFO juju tools.go:52 environs: filtering tools by series: precise
2013-07-11 09:34:27 INFO juju tools.go:75 environs: picked newest version: 1.10.0
2013-07-11 09:34:28 ERROR juju supercommand.go:234 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]
My .juju/environments.yaml is as follows:
# Specifies whether the use of a floating IP address is required to give the nodes
# a public IP address. Some installations assign public IP addresses by default without
# requiring a floating IP address.
# Globally unique swift bucket name
# Usually set via the env variable OS_AUTH_URL, but can be specified here
# override if your workstation is running a different series to which you are deploying
# The following are used for userpass authentication (the default)
# Usually set via the env variable OS_USERNAME, but can be specified here
# Usually set via the env variable OS_PASSWORD, but can be specified here
# Usually set via the env variable OS_TENANT_NAME, but can be specified here
# Usually set via the env variable OS_REGION_NAME, but can be specified here
Any suggestions? I suspect I need a pre-existing "precise" image for bootstrap to launch, but which one and/or from where?