Juju-Openstack provider "juju metadata generate-image" needs a controller to exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Trying to use Juju with OpenStack as cloud provider, I did the following:
1) juju add-cloud - I chose "openstack"
cloud name : "test1"
2) juju add-credential test1
3) Then: juju bootstrap test1
ERROR failed to bootstrap model: no image metadata found
4) juju metadata generate-image -d ~/simplestreams -i {os_iamge_id} -s xenial -r RegionOne -u https:/
ERROR No controllers registered.
So no way to proceed..
Thanks to "hml" and "rick_h__" from the IRC channel I got around it doing:
"juju bootstrap localhost test_lxd"
"mkdir -p ~/simplestreams
"juju metadata generate-image -d ~/simplestreams -i {os_iamge_id} -s xenial -r RegionOne -u https:/
"juju bootstrap test1 test1-controller --metadata-source ~/simplestreams
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | removed: openstack |
Changed in juju: | |
milestone: | 2.5-beta1 → 2.5-beta2 |
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.5-beta2 → 2.5-beta3 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Can you please speak to what version of Juju you have? I'd have expected this to be corrected in https:/ /bugs.launchpad .net/juju/ +bug/1785205