Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-26 Thread Dmitrii Shcherbakov
Hi, TL;DR: . novarc openstack network list juju bootstrap --config network= --config external-network= --config use-floating-ip=true No need for simplestreams stuff: Juju deploy this: https://jujucharms.com/glance-simplestreams-sync/ Then juju add-relation keystone

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-26 Thread Daniel Bidwell
Still facing issues, but have gotten past the simplestreams issue, I think. I am running "juju bootstrap acauits --metadata-source /home/bidwell/simplestreams --debug" Among everything else, it returns: caused by: request (http://10.20.9.142:8774/v2.1/e69c1091bf744509a8853e a8e336ae26/servers)

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-13 Thread Daniel Bidwell
That worked!  Except ... It looks like it built the controller and then destroyed it.  I didn't see any obvious reason though.  Here is what I ran and got back:  juju bootstrap acauits --metadata-source=~/simplestreams/images -- debug 07:56:15 INFO  juju.cmd supercommand.go:63 running juju [2.1.2

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-13 Thread Mark Shuttleworth
On 12/04/17 22:09, Daniel Bidwell wrote: > Connecting juju to MAAS was a whole lot simpler. Yeah, this says it all really! It's nuts that bootstrapping Juju on MAAS or VMware is much easier than OpenStack. All the image management should Just Work on a cloud, or we are half-arsed. Mark --

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread Junaid Ali
Have you tried using the local meta-data source directory instead of using the swift URL juju bootstrap acauits --metadata-source=~/simplestreams/images --debug Or you can copy the metadata source to juju client machine's /var/www/, setup apache and update the image-metadata-url to point to

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread Heather Lanigan
>From the log: 14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image metadata in image-metadata-url: invalid URL "http://10.20.9.139:80/swif t/v1/streams/v1/index.json " not found To use the data you collected, the url must

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread Daniel Bidwell
 juju --verbose --debug bootstrap acauits --config image-metadata-url=h ttp://10.20.9.139:80/swift/v1 --config network=42c432e8-3958-47b2-b84c- df4f0aa0fbe8 14:27:31 INFO  juju.cmd supercommand.go:63 running juju [2.1.2 gc go1.6.2] 14:27:31 DEBUG juju.cmd supercommand.go:64   args:

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread Junaid Ali
Hi Daniel, Can you run juju bootstrap command with --debug flag? It should provide a more detailed output. -- Junaid On Wed, Apr 12, 2017 at 10:23 PM, Daniel Bidwell wrote: > I have followed the new howto-privatecloud down to the juju boostrap > command of: > > juju

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread Daniel Bidwell
I have followed the new howto-privatecloud down to the juju boostrap command of: juju bootstrap acauits --config image-metadata-url=http://10.20.9.139:8 0/swift/v1 and it returns: Creating Juju controller "acauits-RegionOne" on acauits/RegionOne Looking for packaged Juju agent version 2.1.2 for

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-12 Thread John Meinel
So while tools would need to be 'agent' it actually needs to be 'image-metadata-url' for what you are doing, and it looks like the docs are already updated just waiting to be published into HTML: https://github.com/juju/docs/blob/master/src/en/howto-privatecloud.md John =:-> On Wed, Apr 12,

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread John Meinel
It sounds like the docs are out of date. The key should be "agent-metadata-url" 'tools' was a much older name. John =:-> On Wed, Apr 12, 2017 at 7:32 AM, Daniel Bidwell wrote: > This gets me down to: > > juju bootstrap acauits acauits-controller --config

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
This gets me down to: juju bootstrap acauits acauits-controller --config tools-metadata-url=h ttp://10.20.9.139:80/swift/v1 where it gives me: WARNING unknown config field "tools-metadata-url" Creating Juju controller "acauits-controller" on acauits/RegionOne ERROR failed to bootstrap model: no

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Heather Lanigan
Here is a link on generating the image metadata: https://jujucharms.com/docs/stable/howto-privatecloud -Heather > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell wrote: > > I am making progress. My openstack cloud has

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
I am making progress.  My openstack cloud has been added now. When I do "juju bootstrap acauits"  it comes back with: Creating Juju controller "acauits-RegionOne" on acauits/RegionOne ERROR failed to bootstrap model: no image metadata found How do I get/generate image metadata? I tried "juju

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Matthew Helmke
I have an OpenStack deployment. In my novarc file, I have this line: export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0 Look for a similar line in your novarc. On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell wrote: > juju add-cloud asks: > > Enter the API endpoint

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
juju add-cloud asks: Enter the API endpoint url for the cloud: https://openstack.example.com:35574/v3.0/ What openstack service is it asking for?  Is it asking for the dashboard, nova, or what? If I have only one region now, do I give it the same url for both the cloud and region? My cloud is

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Matthew Helmke
The Juju documentation includes a page dedicated to your task. Here is the link: https://jujucharms.com/docs/stable/help-openstack. The tl;dr for your specific question is that if you want to use the authentication from your existing OpenStack cloud, then during `juju add-cloud` you choose the

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-10 Thread Ian Booth
On 11/04/17 07:11, Daniel Bidwell wrote: > I need to add openstack as a cloud to juju 2.1.2-xenial. I don't seem > to find the right howto. What authentication method do I use? And > where do I get the authentication string? User name and password for > dashboard user? > The authentication

How to add openstack cloud to juju 2.1.2-xenial

2017-04-10 Thread Daniel Bidwell
I need to add openstack as a cloud to juju 2.1.2-xenial.  I don't seem to find the right howto.  What authentication method do I use?  And where do I get the authentication string?  User name and password for dashboard user? -- Daniel Bidwell -- Juju mailing list