Setting up private cloud controller

Jonathan D. Proulx jon at csail.mit.edu
Mon Nov 14 18:02:54 UTC 2016


On Mon, Nov 14, 2016 at 05:47:45PM +0000, Rick Harding wrote:
:On Mon, Nov 14, 2016 at 12:00 PM Jonathan D. Proulx <jon at csail.mit.edu>
:wrote:
:
:>
:> Continuing to try and get a Juju controller in my (14.04/Mitaka)
:> OpenStack Cloud.  Working with juju 2.0.1 from Xenial client.
:>
:> My next issue is I need to specify a network for the controller as
:> bootstrapping now fails with:
:>
:> returned unexpected status: 409; error info: {"conflictingRequest":
:> {"message": "Multiple possible networks found, use a Network ID to be more
:> specific.", "code": 409}}}])
:>
:
:You can bootstrap by providing additional config to help Juju know which
:network to use.
:
:    juju bootstrap --config network=$UUID


as mentioned in IRC that did the trick, even have
'canonical-kubernetes' deploying across 12 nodes now which I must say
is kinda cool with a single command.

But a bit back to the meta question.  Is there a list of available
config keys anywhere?

Thanks again,
-Jon

:
:
:I'd tried a 'network: <uuid>' in the cloud definition YAML in both the
:> region block and the top level of the named cloud but it doesn't show
:> when I 'juju show-cloud' so unsurprisingly seems to have no effect.
:>
:
:Yes, this needs to be in the clouds.yaml file in the yaml nested below the
:key called "config".
:
:So you need to edit: ~/.local/share/juju/clouds.yaml
:
:and add a subsection to the cloud in question:
:
:    clouds:
:      myopenstack:
:        config:
:          network: $UUID
:
:That should get you off to the races.
:
:Rick

-- 



More information about the Juju mailing list