bootstrap fails if control bucket not specified and exists

Bug #1484606 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
High
Unassigned
1.25
Won't Fix
Undecided
Unassigned

Bug Description

I have just setup a new Juju Openstack provider. I was using the docs at [1] to configure my environments.yaml but when I bootstrapped I got:
..
Launching instance
ERROR could not record instance in provider-state: cannot write file "provider-state" to control container "670565c74ecd456e83ea79367856cdf5": failed to PUT object provider-state from container 670565c74ecd456e83ea79367856cdf5
caused by: Resource at http://10.0.16.97:8080/v1/AUTH_a7875a629e4444b09fdeb9aa02cb669f/670565c74ecd456e83ea79367856cdf5/provider-state not found
caused by: request (http://10.0.16.97:8080/v1/AUTH_a7875a629e4444b09fdeb9aa02cb669f/670565c74ecd456e83ea79367856cdf5/provider-state) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
 - 4178e296-762b-4a29-9961-10474637e5e9
Installing Juju agent on bootstrap instance
...

The bootstrap did complete successfully but apparently if you don't have control-bucket in your yaml it will fail to create a container at all.

The docs at [1] do not mention 'control-bucket' either and it was by looking at another environment that realised what i was missing.

[1] https://jujucharms.com/docs/stable/config-openstack

description: updated
description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

Which version of openstack are you using. control-bucket is not required for modern openstacks like HP. I still need control-buckets for older opentacks such as canonistack.

tags: added: config openstack-provider
Changed in juju-core:
status: New → Incomplete
Revision history for this message
Edward Hope-Morley (hopem) wrote :

@sinzui as mentioned above this was for an openstack deployment i did myself i.e. i deployed maas then openstack on top and i wanted to use deployed openstack as my provider. I presume this is supported and if so we need to fix the documentation.

Changed in juju-core:
status: Incomplete → New
Revision history for this message
Aaron Bentley (abentley) wrote :

We need both the juju version and the open stack version to diagnose the issue. But generally, you shouldn't need to specify control-bucket.

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Edward Hope-Morley (hopem) wrote :

juju-core: 1.24.4
openstack: Icehouse (2014.1.5)

Revision history for this message
Edward Hope-Morley (hopem) wrote :

juju-core version is 1.24.4
Openstack version is Icehouse (2014.1.5)

Changed in juju-core:
status: Incomplete → New
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.25-beta2
milestone: 1.25-beta2 → 1.26-alpha1
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha1 → 1.26-alpha2
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26.0
Changed in juju-core:
milestone: 1.26.0 → 2.0-alpha2
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-alpha3
Changed in juju-core:
milestone: 2.0-alpha3 → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.0.0
Revision history for this message
Ian Booth (wallyworld) wrote :

Marked invalid for 2.0 because we don't use swift anymore.

Changed in juju-core:
status: Triaged → Invalid
milestone: 2.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.