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 glance-simplestreams-sync

Note that this uses swift by default so you either need to have radosgw
(which provides swift API) or swift deployed and registered in keystone.

No need to relate glance-simplestreams-sync to anything but keystone - it
will fetch the swift url from keystone.

Might encounter this occasionally:
https://bugs.launchpad.net/juju/+bug/1683495

My mini-guide (just copy-pasted from my stash):


https://jujucharms.com/docs/2.1/howto-privatecloud

Remember: for OpenStack you might want to use a private network (specified
by a UUID) but you are not necessarily running from a "bastion" which is on
the same private network. Therefore, you need juju to assign a floating IP
to the controller instance.

# list network uuids
openstack network list

Multiple --config statements can be used instead of a yaml file:
juju bootstrap  --config network= --config
external-network= --config use-floating-ip=true

To check the config parameters available:
juju/provider/openstack/config.go
https://github.com/juju/juju/blob/staging/provider/openstack/config.go#L15

"use-floating-ip": false,
"use-default-secgroup": false,
"network": "",
"external-network": "",

"*use-floating-ip*": {
Description: "Whether 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.",
Type: environschema.Tbool,
},
"use-default-secgroup": {
Description: `Whether new machine instances should have the "default"
Openstack security group assigned.`,
Type: environschema.Tbool,
},
"*network*": {
Description: "The network label or *UUID* to bring machines up on when
multiple networks exist.",
Type: environschema.Tstring,
},
"*external-network*": {
Description: "The network label or *UUID* *to create floating IP addresses*
on when multiple external networks exist.",
Type: environschema.Tstring,
},



Best Regards,
Dmitrii Shcherbakov

Field Software Engineer
IRC (freenode): Dmitrii-Sh

On Wed, Apr 26, 2017 at 8:07 PM, Daniel Bidwell  wrote:

> 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) returned unexpected status: 409; error info:
> {"conflictingRequest": {"message": "Multiple possible networks found,
> use a Network ID to be more specific.", "code": 409}}}])
>
>  nova net-list
> +--+--+--+
> | ID   | Label| CIDR |
> +--+--+--+
> | 0395dae1-1e5e-47cd-bd0f-c058087e292c | maasnet  | None |
> | 42c432e8-3958-47b2-b84c-df4f0aa0fbe8 | ext_net  | None |
> | 54ecafdf-acec-44f7-9d78-3c9fdeff5807 | internal | None |
> +--+--+--+
>
> neutron subnet-list
> +-+-++--
> ---+
> | id  | name| cidr   |
> allocation_pools|
> +-+-++--
> ---+
> | 7818b78f-07bc-4518  | ext_net_subnet  | 143.207.0.0/22 |
> {"start":   |
> | -838d-0cecb178ffa8  | ||
> "143.207.3.10", |
> | | ||
> "end":  |
> | | ||
> "143.207.3.254"}|
> | 9c961866-7c94-4c53- | maassnet| 10.20.8.0/23   |
> {"start":   |
> | 96e5-55b328719e97   | || "10.20.8.1",
> "end": |
> | | ||
> "10.20.8.1"}|
> | | ||
> {"start":   |
> | | || "10.20.8.3",
> "end": |
> | | ||
> "10.20.9.254"}  |
> | ced5bfb0-6bb6-41f8  | internal_subnet | 10.5.5.0/24|
> {"start":   |
> | -b98a-bd9bf3b4003e  | || "10.5.5.2",
> "end":  |
> | | ||
> "10.5.5.254"}   |
> +-+-++--
> ---+
>
> When I start a vm from the dashboard it lands on the internet_subnet.
>
> How do I tell "juju bootstrap" which network to use?
>
> On Tue, 2017-04-18 at 00:15 +0500, Junaid Ali wrote:
> > Hi Daniel,
> > are you still facing the 

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) returned unexpected status: 409; error info:
{"conflictingRequest": {"message": "Multiple possible networks found,
use a Network ID to be more specific.", "code": 409}}}])

 nova net-list
+--+--+--+
| ID   | Label| CIDR |
+--+--+--+
| 0395dae1-1e5e-47cd-bd0f-c058087e292c | maasnet  | None |
| 42c432e8-3958-47b2-b84c-df4f0aa0fbe8 | ext_net  | None |
| 54ecafdf-acec-44f7-9d78-3c9fdeff5807 | internal | None |
+--+--+--+

neutron subnet-list
+-+-++-+
| id  | name| cidr   | allocation_pools|
+-+-++-+
| 7818b78f-07bc-4518  | ext_net_subnet  | 143.207.0.0/22 | {"start":   |
| -838d-0cecb178ffa8  | || "143.207.3.10", |
| | || "end":  |
| | || "143.207.3.254"}|
| 9c961866-7c94-4c53- | maassnet| 10.20.8.0/23   | {"start":   |
| 96e5-55b328719e97   | || "10.20.8.1", "end": |
| | || "10.20.8.1"}|
| | || {"start":   |
| | || "10.20.8.3", "end": |
| | || "10.20.9.254"}  |
| ced5bfb0-6bb6-41f8  | internal_subnet | 10.5.5.0/24| {"start":   |
| -b98a-bd9bf3b4003e  | || "10.5.5.2", "end":  |
| | || "10.5.5.254"}   |
+-+-++-+

When I start a vm from the dashboard it lands on the internet_subnet.

How do I tell "juju bootstrap" which network to use?

On Tue, 2017-04-18 at 00:15 +0500, Junaid Ali wrote:
> Hi Daniel,
> are you still facing the issue? I was able to give to try this today
> but I couldn't reproduce your issue.  I think your issue might be due
> to image id in ~/simplestreams/images/streams/v1/ index.json>. Ensure you have correct image id by comparing it with
> the specific image in $openstack image list. 
> 
> You can also check if there is any issue on the nova-compute side
> (instance might be failing due to any nova issue causing bootstrap to
> fail).
> 
> 
> --
> Junaid
> 
> 

-- 
Daniel Bidwell 


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 gc
go1.6.2]
07:56:15 DEBUG juju.cmd supercommand.go:64   args: []string{"juju",
"bootstrap", "acauits", "--metadata-source=~/simplestreams/images", "
--debug"}
07:56:15 INFO  cmd cmd.go:141 no credentials found, checking
environment
07:56:15 DEBUG juju.cmd.juju.commands bootstrap.go:780 authenticating
with region "RegionOne" and credential "admin" (openstack region
"RegionOne" project "admin" user "admin")
07:56:15 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider attrs:
map[external-network: use-floating-ip:false use-default-secgroup:false
network:]
07:56:16 INFO  cmd cmd.go:141 Adding contents of
"/home/bidwell/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-
keys
07:56:16 INFO  cmd cmd.go:141 Adding contents of
"/home/bidwell/.ssh/id_rsa.pub" to authorized-keys
07:56:16 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing
controller with config: map[ignore-machine-addresses:false enable-os-
refresh-update:true external-network: development:false image-metadata-
url: apt-http-proxy: agent-stream:released image-stream:released
disable-network-management:false resource-tags: transmit-vendor-
metrics:true authorized-keys:ssh-rsa
B3NzaC1yc2EDAQABAAABAQDYVqxnI6EUKENu/WSapHYavwZk/Q430CkDerSdqjX
2hQWIpeMsy3FCiMyb3z6eL3bIiKWh8B2I8Hm8gTbKWPQG2495yZmHxcwOi8ECRPapp58d48
+qYKYYWwRioC07uMe4/SR3lT1zO0kQ3yPiJOBZbnhksgVV+M4Jwl7lxlsKZfgY6PQ3n7d61
Q5IjOwEU2KekwdNTxwIvYGl52Q6I3o8LY2mJqb+OeQggZH8iSL82M5jqDmOT1ni4D9ig2D1
s8jkj8O5gYsKGgRFY+nKh6eWtBuFzkkzXs8X4NRXSKE2OkqYf4Tjp/+1T6hUjAIio37IBbV
F8h2e2aUxUTGHm1pp juju-client-key
ssh-rsa
B3NzaC1yc2EDAQABAAABAQDU8V64uPSRxvs+FS3LmsWjEqEcI8LKHqBIwjTjC0S
qAk3rt4j8CA44jUTsILfJkitveaAtTU/qhY3/+u6kRh0KnpvihKoPm2//g5YvDn3rJsexz7
2ab0fDkw1KmQIJW6rnzgMYG3kkrVivxGfP5nxkS2N3cSX8qkkRnXY/wFNq7AdZEWSN3VZO5
jwIIgHEtWYoImsYO2AEmaXS485EQHR2TmBQ3tWS44IyFSANc6nNkJRCSwxVhblPi8aS1z6T
LpN0MRmzzOdE+AAm+IR30o3TkjQbtTClVP2QCVypZUJz9LtlTaUGgd9wyZm4ZqaTcW6oUSQ
S7NMuMN7e5cZo+mcn bidwell@samwise
 name:controller logforward-enabled:false provisioner-harvest-
mode:destroyed apt-ftp-proxy: test-mode:false no-proxy: ftp-proxy: apt-
https-proxy: agent-metadata-url: net-bond-reconfigure-delay:17 network:
firewall-mode:instance logging-config: use-floating-ip:false use-
default-secgroup:false default-series:xenial automatically-retry-
hooks:true apt-mirror: http-proxy: proxy-ssh:false uuid:5482ff53-12f0-
445b-84f1-9c9f4a0c7cc8 type:openstack https-proxy: ssl-hostname-
verification:true enable-os-upgrade:true]
07:56:16 INFO  juju.provider.openstack provider.go:131 opening model
"controller"
07:56:17 DEBUG goose :22 auth details:
&{Token:a2e15ae3122b4263a790c699cbe59075
TenantId:e69c1091bf744509a8853ea8e336ae26
UserId:865cd86178094f348c479f8d043dff83 Domain:
RegionServiceURLs:map[RegionOne:map[network:http://10.20.9.144:9696
volumev2:http://10.20.9.143:8776/v2/e69c1091bf744509a8853ea8e336ae26
image:http://10.20.9.140:9292
volume:http://10.20.9.143:8776/v1/e69c1091bf744509a8853ea8e336ae26
object-store:http://10.20.9.139:80/swift/v1 product-
streams:http://10.20.9.139:80/swift/v1/simplestreams/images
identity:http://10.20.9.138:5000/v2.0
compute:http://10.20.9.142:8774/v2/e69c1091bf744509a8853ea8e336ae26]]}
07:56:17 INFO  cmd cmd.go:129 Creating Juju controller "acauits-
RegionOne" on acauits/RegionOne
07:56:17 DEBUG goose :22 performing API version
discovery for "http://10.20.9.142:8774/;
07:56:17 DEBUG goose :22 discovered API versions:
[{Version:{major:2 minor:0} Links:[{Href:http://10.20.9.142:8774/v2/
Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1}
Links:[{Href:http://10.20.9.142:8774/v2.1/ Rel:self}] Status:CURRENT}]
07:56:18 INFO  juju.cmd.juju.commands bootstrap.go:526 combined
bootstrap constraints: 
07:56:18 DEBUG juju.environs.bootstrap bootstrap.go:199 model
"controller" supports service/machine networks: false
07:56:18 DEBUG juju.environs.bootstrap bootstrap.go:201 network
management by juju enabled: true
07:56:18 INFO  juju.environs.bootstrap bootstrap.go:662 Setting default
tools and image metadata sources: /home/bidwell/~/simplestreams/images
07:56:18 INFO  cmd cmd.go:141 Loading image metadata
07:56:18 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "keystone catalog"
07:56:18 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "default cloud images"
07:56:18 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "default ubuntu cloud images"
07:56:18 DEBUG juju.environs.bootstrap bootstrap.go:571 constraints for
image metadata lookup &{{{RegionOne http://10.20.9.138:5000/v2.0}
[precise win2008r2 win2012hv win2016hv win2016nano win10 vivid wily
win81 centos7 quantal raring saucy utopic zesty win2016 win7 win8
trusty xenial 

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

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 your local web
server


--
Junaid

On Thu, Apr 13, 2017 at 2:09 AM, Daniel Bidwell  wrote:

> OK, I found an index.json at http://10.20.9.139/swift/images/streams/v1
> /index.json but it's contents looks like:
>
> {"Code":"MethodNotAllowed","RequestId","tx
> and doesn't look anything like the one that was generated in my
> ~/simplestreams/images/streams/v1/index.json.
>
> I went through the instructions from John Meinel  m> at https://github.com/juju/docs/blob/master/src/en/howto-privateclou
> d.md.
>
> Connecting juju to MAAS was a whole lot simpler.
>
> Any other ideas?
>
> On Wed, 2017-04-12 at 15:25 -0400, Heather Lanigan wrote:
> > 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/sw
> > if
> > t/v1/streams/v1/index.json" not found
> >
> > To use the data you collected, the url must work. Try modifying the
> > URL in the CLI to get to index.json.  It looks like the tenant info
> > is missing from it, maybe something else as well. You should be able
> > to do a wget on the url constructed to download the index.json
> > for verification.
> >
> > -Heather
> >
> >
> > On Wed, Apr 12, 2017 at 2:32 PM, Daniel Bidwell 
> > wrote:
> > >  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: []string{"juju",
> > > "
> > > --verbose", "--debug", "bootstrap", "acauits", "--config", "image-
> > > metadata-url=http://10.20.9.139:80/swift/v1;, "--config",
> > > "network=42c432e8-3958-47b2-b84c-df4f0aa0fbe8"}
> > > 14:27:31 INFO  cmd cmd.go:141 no credentials found, checking
> > > environment
> > > 14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:780
> > > authenticating
> > > with region "RegionOne" and credential "admin" (openstack region
> > > "RegionOne" project "admin" user "admin")
> > > 14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider
> > > attrs:
> > > map[use-floating-ip:false use-default-secgroup:false
> > > network:42c432e8-
> > > 3958-47b2-b84c-df4f0aa0fbe8 external-network:]
> > > 14:27:33 INFO  cmd cmd.go:141 Adding contents of
> > > "/home/bidwell/.local/share/juju/ssh/juju_id_rsa.pub" to
> > > authorized-
> > > keys
> > > 14:27:33 INFO  cmd cmd.go:141 Adding contents of
> > > "/home/bidwell/.ssh/id_rsa.pub" to authorized-keys
> > > 14:27:33 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing
> > > controller with config: map[ssl-hostname-verification:true apt-
> > > http-
> > > proxy: ignore-machine-addresses:false logging-config: use-default-
> > > secgroup:false apt-mirror: default-series:xenial resource-tags:
> > > name:controller net-bond-reconfigure-delay:17 image-metadata-
> > > url:http:/
> > > /10.20.9.139:80/swift/v1 image-stream:released agent-metadata-url:
> > > automatically-retry-hooks:true https-proxy: provisioner-harvest-
> > > mode:destroyed proxy-ssh:false firewall-mode:instance agent-
> > > stream:released http-proxy: type:openstack enable-os-upgrade:true
> > > external-network: authorized-keys:ssh-rsa
> > > B3NzaC1yc2EDAQABAAABAQDYVqxnI6EUKENu/WSapHYavwZk/Q430CkDerS
> > > dqjX
> > > 2hQWIpeMsy3FCiMyb3z6eL3bIiKWh8B2I8Hm8gTbKWPQG2495yZmHxcwOi8ECRPapp5
> > > 8d48
> > > +qYKYYWwRioC07uMe4/SR3lT1zO0kQ3yPiJOBZbnhksgVV+M4Jwl7lxlsKZfgY6PQ3n
> > > 7d61
> > > Q5IjOwEU2KekwdNTxwIvYGl52Q6I3o8LY2mJqb+OeQggZH8iSL82M5jqDmOT1ni4D9i
> > > g2D1
> > > s8jkj8O5gYsKGgRFY+nKh6eWtBuFzkkzXs8X4NRXSKE2OkqYf4Tjp/+1T6hUjAIio37
> > > IBbV
> > > F8h2e2aUxUTGHm1pp juju-client-key
> > > ssh-rsa
> > > B3NzaC1yc2EDAQABAAABAQDU8V64uPSRxvs+FS3LmsWjEqEcI8LKHqBIwjT
> > > jC0S
> > > qAk3rt4j8CA44jUTsILfJkitveaAtTU/qhY3/+u6kRh0KnpvihKoPm2//g5YvDn3rJs
> > > exz7
> > > 2ab0fDkw1KmQIJW6rnzgMYG3kkrVivxGfP5nxkS2N3cSX8qkkRnXY/wFNq7AdZEWSN3
> > > VZO5
> > > jwIIgHEtWYoImsYO2AEmaXS485EQHR2TmBQ3tWS44IyFSANc6nNkJRCSwxVhblPi8aS
> > > 1z6T
> > > LpN0MRmzzOdE+AAm+IR30o3TkjQbtTClVP2QCVypZUJz9LtlTaUGgd9wyZm4ZqaTcW6
> > > oUSQ
> > > S7NMuMN7e5cZo+mcn bidwell@samwise
> > >  network:42c432e8-3958-47b2-b84c-df4f0aa0fbe8 enable-os-refresh-
> > > update:true apt-https-proxy: use-floating-ip:false uuid:e9dee81e-
> > > 7bd8-
> > > 4e5f-897a-3427dfc95d41 logforward-enabled:false ftp-proxy: disable-
> > > network-management:false development:false apt-ftp-proxy: no-proxy:
> > > test-mode:false transmit-vendor-metrics:true]
> > > 14:27:33 INFO  

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 work. Try modifying the URL in
the CLI to get to index.json.  It looks like the tenant info is missing
from it, maybe something else as well. You should be able to do a wget on
the url constructed to download the index.json
for verification.

-Heather


On Wed, Apr 12, 2017 at 2:32 PM, Daniel Bidwell  wrote:

>  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: []string{"juju", "
> --verbose", "--debug", "bootstrap", "acauits", "--config", "image-
> metadata-url=http://10.20.9.139:80/swift/v1;, "--config",
> "network=42c432e8-3958-47b2-b84c-df4f0aa0fbe8"}
> 14:27:31 INFO  cmd cmd.go:141 no credentials found, checking
> environment
> 14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:780 authenticating
> with region "RegionOne" and credential "admin" (openstack region
> "RegionOne" project "admin" user "admin")
> 14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider attrs:
> map[use-floating-ip:false use-default-secgroup:false network:42c432e8-
> 3958-47b2-b84c-df4f0aa0fbe8 external-network:]
> 14:27:33 INFO  cmd cmd.go:141 Adding contents of
> "/home/bidwell/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-
> keys
> 14:27:33 INFO  cmd cmd.go:141 Adding contents of
> "/home/bidwell/.ssh/id_rsa.pub" to authorized-keys
> 14:27:33 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing
> controller with config: map[ssl-hostname-verification:true apt-http-
> proxy: ignore-machine-addresses:false logging-config: use-default-
> secgroup:false apt-mirror: default-series:xenial resource-tags:
> name:controller net-bond-reconfigure-delay:17 image-metadata-url:http:/
> /10.20.9.139:80/swift/v1 image-stream:released agent-metadata-url:
> automatically-retry-hooks:true https-proxy: provisioner-harvest-
> mode:destroyed proxy-ssh:false firewall-mode:instance agent-
> stream:released http-proxy: type:openstack enable-os-upgrade:true
> external-network: authorized-keys:ssh-rsa
> B3NzaC1yc2EDAQABAAABAQDYVqxnI6EUKENu/WSapHYavwZk/Q430CkDerSdqjX
> 2hQWIpeMsy3FCiMyb3z6eL3bIiKWh8B2I8Hm8gTbKWPQG2495yZmHxcwOi8ECRPapp58d48
> +qYKYYWwRioC07uMe4/SR3lT1zO0kQ3yPiJOBZbnhksgVV+M4Jwl7lxlsKZfgY6PQ3n7d61
> Q5IjOwEU2KekwdNTxwIvYGl52Q6I3o8LY2mJqb+OeQggZH8iSL82M5jqDmOT1ni4D9ig2D1
> s8jkj8O5gYsKGgRFY+nKh6eWtBuFzkkzXs8X4NRXSKE2OkqYf4Tjp/+1T6hUjAIio37IBbV
> F8h2e2aUxUTGHm1pp juju-client-key
> ssh-rsa
> B3NzaC1yc2EDAQABAAABAQDU8V64uPSRxvs+FS3LmsWjEqEcI8LKHqBIwjTjC0S
> qAk3rt4j8CA44jUTsILfJkitveaAtTU/qhY3/+u6kRh0KnpvihKoPm2//g5YvDn3rJsexz7
> 2ab0fDkw1KmQIJW6rnzgMYG3kkrVivxGfP5nxkS2N3cSX8qkkRnXY/wFNq7AdZEWSN3VZO5
> jwIIgHEtWYoImsYO2AEmaXS485EQHR2TmBQ3tWS44IyFSANc6nNkJRCSwxVhblPi8aS1z6T
> LpN0MRmzzOdE+AAm+IR30o3TkjQbtTClVP2QCVypZUJz9LtlTaUGgd9wyZm4ZqaTcW6oUSQ
> S7NMuMN7e5cZo+mcn bidwell@samwise
>  network:42c432e8-3958-47b2-b84c-df4f0aa0fbe8 enable-os-refresh-
> update:true apt-https-proxy: use-floating-ip:false uuid:e9dee81e-7bd8-
> 4e5f-897a-3427dfc95d41 logforward-enabled:false ftp-proxy: disable-
> network-management:false development:false apt-ftp-proxy: no-proxy:
> test-mode:false transmit-vendor-metrics:true]
> 14:27:33 INFO  juju.provider.openstack provider.go:131 opening model
> "controller"
> 14:27:33 DEBUG goose :22 auth details:
> &{Token:6b8e4a0e2947419d8b41acfba0d9b395
> TenantId:e69c1091bf744509a8853ea8e336ae26
> UserId:865cd86178094f348c479f8d043dff83 Domain:
> RegionServiceURLs:map[RegionOne:map[volume:http://10.20.9.143:8776/v1/e
> 69c1091bf744509a8853ea8e336ae26 object-
> store:http://10.20.9.139:80/swift/v1 product-
> streams:http://10.20.9.139:80/swift/v1/simplestreams/images
> identity:http://10.20.9.138:5000/v2.0
> compute:http://10.20.9.142:8774/v2/e69c1091bf744509a8853ea8e336ae26
> network:http://10.20.9.144:9696
> volumev2:http://10.20.9.143:8776/v2/e69c1091bf744509a8853ea8e336ae26
> image:http://10.20.9.140:9292]]}
> 14:27:33 INFO  cmd cmd.go:129 Creating Juju controller "acauits-
> RegionOne" on acauits/RegionOne
> 14:27:33 DEBUG goose :22 performing API version
> discovery for "http://10.20.9.142:8774/;
> 14:27:33 DEBUG goose :22 discovered API versions:
> [{Version:{major:2 minor:0} Links:[{Href:http://10.20.9.142:8774/v2/
> Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1}
> Links:[{Href:http://10.20.9.142:8774/v2.1/ Rel:self}] Status:CURRENT}]
> 14:27:33 INFO  juju.cmd.juju.commands bootstrap.go:526 combined
> bootstrap constraints:
> 14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:199 model
> "controller" supports 

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: []string{"juju", "
--verbose", "--debug", "bootstrap", "acauits", "--config", "image-
metadata-url=http://10.20.9.139:80/swift/v1;, "--config",
"network=42c432e8-3958-47b2-b84c-df4f0aa0fbe8"}
14:27:31 INFO  cmd cmd.go:141 no credentials found, checking
environment
14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:780 authenticating
with region "RegionOne" and credential "admin" (openstack region
"RegionOne" project "admin" user "admin")
14:27:31 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider attrs:
map[use-floating-ip:false use-default-secgroup:false network:42c432e8-
3958-47b2-b84c-df4f0aa0fbe8 external-network:]
14:27:33 INFO  cmd cmd.go:141 Adding contents of
"/home/bidwell/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-
keys
14:27:33 INFO  cmd cmd.go:141 Adding contents of
"/home/bidwell/.ssh/id_rsa.pub" to authorized-keys
14:27:33 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing
controller with config: map[ssl-hostname-verification:true apt-http-
proxy: ignore-machine-addresses:false logging-config: use-default-
secgroup:false apt-mirror: default-series:xenial resource-tags:
name:controller net-bond-reconfigure-delay:17 image-metadata-url:http:/
/10.20.9.139:80/swift/v1 image-stream:released agent-metadata-url:
automatically-retry-hooks:true https-proxy: provisioner-harvest-
mode:destroyed proxy-ssh:false firewall-mode:instance agent-
stream:released http-proxy: type:openstack enable-os-upgrade:true
external-network: authorized-keys:ssh-rsa
B3NzaC1yc2EDAQABAAABAQDYVqxnI6EUKENu/WSapHYavwZk/Q430CkDerSdqjX
2hQWIpeMsy3FCiMyb3z6eL3bIiKWh8B2I8Hm8gTbKWPQG2495yZmHxcwOi8ECRPapp58d48
+qYKYYWwRioC07uMe4/SR3lT1zO0kQ3yPiJOBZbnhksgVV+M4Jwl7lxlsKZfgY6PQ3n7d61
Q5IjOwEU2KekwdNTxwIvYGl52Q6I3o8LY2mJqb+OeQggZH8iSL82M5jqDmOT1ni4D9ig2D1
s8jkj8O5gYsKGgRFY+nKh6eWtBuFzkkzXs8X4NRXSKE2OkqYf4Tjp/+1T6hUjAIio37IBbV
F8h2e2aUxUTGHm1pp juju-client-key
ssh-rsa
B3NzaC1yc2EDAQABAAABAQDU8V64uPSRxvs+FS3LmsWjEqEcI8LKHqBIwjTjC0S
qAk3rt4j8CA44jUTsILfJkitveaAtTU/qhY3/+u6kRh0KnpvihKoPm2//g5YvDn3rJsexz7
2ab0fDkw1KmQIJW6rnzgMYG3kkrVivxGfP5nxkS2N3cSX8qkkRnXY/wFNq7AdZEWSN3VZO5
jwIIgHEtWYoImsYO2AEmaXS485EQHR2TmBQ3tWS44IyFSANc6nNkJRCSwxVhblPi8aS1z6T
LpN0MRmzzOdE+AAm+IR30o3TkjQbtTClVP2QCVypZUJz9LtlTaUGgd9wyZm4ZqaTcW6oUSQ
S7NMuMN7e5cZo+mcn bidwell@samwise
 network:42c432e8-3958-47b2-b84c-df4f0aa0fbe8 enable-os-refresh-
update:true apt-https-proxy: use-floating-ip:false uuid:e9dee81e-7bd8-
4e5f-897a-3427dfc95d41 logforward-enabled:false ftp-proxy: disable-
network-management:false development:false apt-ftp-proxy: no-proxy:
test-mode:false transmit-vendor-metrics:true]
14:27:33 INFO  juju.provider.openstack provider.go:131 opening model
"controller"
14:27:33 DEBUG goose :22 auth details:
&{Token:6b8e4a0e2947419d8b41acfba0d9b395
TenantId:e69c1091bf744509a8853ea8e336ae26
UserId:865cd86178094f348c479f8d043dff83 Domain:
RegionServiceURLs:map[RegionOne:map[volume:http://10.20.9.143:8776/v1/e
69c1091bf744509a8853ea8e336ae26 object-
store:http://10.20.9.139:80/swift/v1 product-
streams:http://10.20.9.139:80/swift/v1/simplestreams/images
identity:http://10.20.9.138:5000/v2.0
compute:http://10.20.9.142:8774/v2/e69c1091bf744509a8853ea8e336ae26
network:http://10.20.9.144:9696
volumev2:http://10.20.9.143:8776/v2/e69c1091bf744509a8853ea8e336ae26
image:http://10.20.9.140:9292]]}
14:27:33 INFO  cmd cmd.go:129 Creating Juju controller "acauits-
RegionOne" on acauits/RegionOne
14:27:33 DEBUG goose :22 performing API version
discovery for "http://10.20.9.142:8774/;
14:27:33 DEBUG goose :22 discovered API versions:
[{Version:{major:2 minor:0} Links:[{Href:http://10.20.9.142:8774/v2/
Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1}
Links:[{Href:http://10.20.9.142:8774/v2.1/ Rel:self}] Status:CURRENT}]
14:27:33 INFO  juju.cmd.juju.commands bootstrap.go:526 combined
bootstrap constraints: 
14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:199 model
"controller" supports service/machine networks: false
14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:201 network
management by juju enabled: true
14:27:33 INFO  cmd cmd.go:141 Loading image metadata
14:27:33 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "image-metadata-url"
14:27:33 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "keystone catalog"
14:27:33 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "default cloud images"
14:27:33 DEBUG juju.environs imagemetadata.go:112 obtained image
datasource "default ubuntu cloud images"
14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:571 constraints for
image metadata lookup &{{{RegionOne http://10.20.9.138:5000/v2.0}
[win2016nano genericlinux quantal win2012 wily xenial win2012hv centos7

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 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 amd64
> Launching controller instance(s) on acauits/RegionOne...
> ERROR failed to bootstrap model: cannot start bootstrap instance:
> cannot run instance: failed to run a server with
> nova.RunServerOpts{Name:"juju-8344e6-controller-0", FlavorId:"115c7b33-
> 901b-4431-bca4-040cfc91567b", ImageId:"xenial", UserData:[]uint8{0x1f,
> 0x8b, 0x8, 0x0, 0x0, 0x9, 0x6e, 0x88, 0x0, 0xff, 0x9c, 0x54, 0xfd,
> 0x8f, 0xb2, 0x46, 0x10, 0xfe, 0xfd, 0xfe, 0x8a, 0x4d, 0x9a, 0xc6, 0x36,
> 0x86, 0x43, 0x1, 0x95, 0x33, 0xb9, 0xa6, 0xa8, 0xdc, 0x89, 0xdf, 0x8,
> 0xea, 0x61, 0xdb, 0x34, 0xb, 0x2c, 0xb0, 0x7c, 0xec, 0x22, 0xbb, 0x88,
> 0x9a, 0xf7, 0x8f, 0x2f, 0xe8, 0xbd, 0xe9, 0x47, 0xd2, 0x26, 0x7d, 0xfd,
> 0xc1, 0x9d, 0x9d, 0x9d, 0x7d, 0xe6,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 0xdf, 0x25, 0xe5, 0xa5, 0x77, 0x3d, 0x66,
> 0xd3, 0x8b, 0x57, 0xad, 0xb1, 0xaa, 0x8f, 0xb7, 0x1b, 0x98, 0xe7, 0x3d,
> 0xd5, 0x57, 0xd4, 0xf6, 0xc9, 0x99, 0x3b, 0xce, 0xa1, 0xda, 0x62, 0x3a,
> 0xee, 0xc, 0xca, 0x25, 0x52, 0x44, 0x6b, 0x2b, 0xa7, 0x76, 0xf7, 0xb6,
> 0xee, 0x24, 0xa6, 0x7c, 0xdd, 0xe0, 0xd9, 0x7a, 0x74, 0x74, 0x49, 0x94,
> 0xb0, 0x70, 0xbf, 0x6f, 0x2f, 0x95, 0x59, 0x95, 0xe, 0xd2, 0x4b, 0xca,
> 0xe6, 0xc7, 0x20, 0x74, 0xfa, 0x1b, 0x53, 0x26, 0x3, 0xbf, 

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 amd64
Launching controller instance(s) on acauits/RegionOne...
ERROR failed to bootstrap model: cannot start bootstrap instance:
cannot run instance: failed to run a server with
nova.RunServerOpts{Name:"juju-8344e6-controller-0", FlavorId:"115c7b33-
901b-4431-bca4-040cfc91567b", ImageId:"xenial", UserData:[]uint8{0x1f,
0x8b, 0x8, 0x0, 0x0, 0x9, 0x6e, 0x88, 0x0, 0xff, 0x9c, 0x54, 0xfd,
0x8f, 0xb2, 0x46, 0x10, 0xfe, 0xfd, 0xfe, 0x8a, 0x4d, 0x9a, 0xc6, 0x36,
0x86, 0x43, 0x1, 0x95, 0x33, 0xb9, 0xa6, 0xa8, 0xdc, 0x89, 0xdf, 0x8,
0xea, 0x61, 0xdb, 0x34, 0xb, 0x2c, 0xb0, 0x7c, 0xec, 0x22, 0xbb, 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xee, 0xfc, 0xb0, 0x31, 0xdf, 0x25, 0xe5, 0xa5, 0x77, 0x3d, 0x66,
0xd3, 0x8b, 0x57, 0xad, 0xb1, 0xaa, 0x8f, 0xb7, 0x1b, 0x98, 0xe7, 0x3d,
0xd5, 0x57, 0xd4, 0xf6, 0xc9, 0x99, 0x3b, 0xce, 0xa1, 0xda, 0x62, 0x3a,
0xee, 0xc, 0xca, 0x25, 0x52, 0x44, 0x6b, 0x2b, 0xa7, 0x76, 0xf7, 0xb6,
0xee, 0x24, 0xa6, 0x7c, 0xdd, 0xe0, 0xd9, 0x7a, 0x74, 0x74, 0x49, 0x94,
0xb0, 0x70, 0xbf, 0x6f, 0x2f, 0x95, 0x59, 0x95, 0xe, 0xd2, 0x4b, 0xca,
0xe6, 0xc7, 0x20, 0x74, 0xfa, 0x1b, 0x53, 0x26, 0x3, 0xbf, 0xdf, 0x35,
0x7b, 0x46, 0xbc, 0xae, 0xf4, 0x9d, 0x34, 0x47, 0x49, 0xe5, 0xaf, 0xec,
0x4b, 0x65, 0x9c, 0x9d, 0xf7, 0xb4, 0x27, 0x99, 0x7d, 0x43, 0xa6, 0xea,
0xc2, 0x91, 0xb2, 0xd9, 0xc9, 0x6d, 0xaf, 0x91, 0x19, 0x86, 0xc7, 0xa9,
0x8a, 0xad, 0x85, 0x2a, 0x2d, 0x7b, 0xf1, 0x69, 0x92, 0xad, 0xed, 0x2e,
0xc1, 0xca, 0xe4, 0x5, 0x87, 0xd2, 0xa4, 

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, 2017 at 9:56 AM, John Meinel  wrote:

> 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 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 image metadata found
>>
>> I am running juju 2.1.2-xenial-amd64
>>
>> On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
>> > Here is a link on generating the image metadata: https://jujucharms.c
>> > om/docs/stable/howto-privatecloud
>> >
>> > -Heather
>> >
>> > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
>> > > wrote:
>> > >
>> > > 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 metadata generate-tools", but "juju metadata
>> > > generate-
>> > > image" complains that the controller isn't ready yet.
>> > >
>> > > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
>> > > > 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 > > > > com>
>> > > > wrote:
>> > > > > 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 up and I can create vm's with the dashboard.  I
>> > > > > just
>> > > > > want
>> > > > > to tie it to juju now.
>> > > > >
>> > > > > Thanks.
>> > > > >
>> > > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
>> > > > > > The Juju documentation includes a page dedicated to your
>> > > > > > task.
>> > > > > Here
>> > > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
>> > > > > > k.
>> > > > > >
>> > > > > > 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 `userpass` auth type and enter the
>> > > > > > URL
>> > > > > for
>> > > > > > the API. This is typically found in your existing novarc
>> > > > > > file.
>> > > > > Follow
>> > > > > > that by running `juju autoload-credentials` and you will be
>> > > > > > all
>> > > > > set.
>> > > > > >
>> > > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell > > > > > > ail.
>> > > > > com>
>> > > > > > 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?
>> > > > > > > --
>> > > > > > > Daniel Bidwell 
>> > > > > > >
>> > > > > > >
>> > > > > > > --
>> > > > > > > Juju mailing list
>> > > > > > > Juju@lists.ubuntu.com
>> > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
>> > > > > > > /mai
>> > > > > lman
>> > > > > > > /listinfo/juju
>> > > > > > >
>> > > > > > --
>> > > > > > Matthew Helmke
>> > > > > > Documentation
>> > > > > > Canonical
>> > > > > --
>> > > > > Daniel Bidwell 
>> > > > >
>> > > > >
>> > > > --
>> > > > Matthew Helmke
>> > > > Documentation
>> > > > Canonical
>> > > --
>> > > Daniel Bidwell 
>> > >
>> > >
>> > > --
>> > > Juju mailing list
>> > > Juju@lists.ubuntu.com
>> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
>> > > /listinfo/juju
>> --
>> Daniel Bidwell 
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> 

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 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 image metadata found
>
> I am running juju 2.1.2-xenial-amd64
>
> On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
> > Here is a link on generating the image metadata: https://jujucharms.c
> > om/docs/stable/howto-privatecloud
> >
> > -Heather
> >
> > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
> > > wrote:
> > >
> > > 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 metadata generate-tools", but "juju metadata
> > > generate-
> > > image" complains that the controller isn't ready yet.
> > >
> > > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> > > > 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  > > > com>
> > > > wrote:
> > > > > 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 up and I can create vm's with the dashboard.  I
> > > > > just
> > > > > want
> > > > > to tie it to juju now.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > > > > The Juju documentation includes a page dedicated to your
> > > > > > task.
> > > > > Here
> > > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
> > > > > > k.
> > > > > >
> > > > > > 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 `userpass` auth type and enter the
> > > > > > URL
> > > > > for
> > > > > > the API. This is typically found in your existing novarc
> > > > > > file.
> > > > > Follow
> > > > > > that by running `juju autoload-credentials` and you will be
> > > > > > all
> > > > > set.
> > > > > >
> > > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > > > > > ail.
> > > > > com>
> > > > > > 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?
> > > > > > > --
> > > > > > > Daniel Bidwell 
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Juju mailing list
> > > > > > > Juju@lists.ubuntu.com
> > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
> > > > > > > /mai
> > > > > lman
> > > > > > > /listinfo/juju
> > > > > > >
> > > > > > --
> > > > > > Matthew Helmke
> > > > > > Documentation
> > > > > > Canonical
> > > > > --
> > > > > Daniel Bidwell 
> > > > >
> > > > >
> > > > --
> > > > Matthew Helmke
> > > > Documentation
> > > > Canonical
> > > --
> > > Daniel Bidwell 
> > >
> > >
> > > --
> > > Juju mailing list
> > > Juju@lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/juju
> --
> Daniel Bidwell 
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 image metadata found

I am running juju 2.1.2-xenial-amd64

On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
> Here is a link on generating the image metadata: https://jujucharms.c
> om/docs/stable/howto-privatecloud
> 
> -Heather
> 
> > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
> > wrote:
> > 
> > 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 metadata generate-tools", but "juju metadata
> > generate-
> > image" complains that the controller isn't ready yet.
> > 
> > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> > > 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  > > com>
> > > wrote:
> > > > 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 up and I can create vm's with the dashboard.  I
> > > > just
> > > > want
> > > > to tie it to juju now.
> > > > 
> > > > Thanks.
> > > > 
> > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > > > The Juju documentation includes a page dedicated to your
> > > > > task.
> > > > Here
> > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
> > > > > k.
> > > > > 
> > > > > 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 `userpass` auth type and enter the
> > > > > URL
> > > > for
> > > > > the API. This is typically found in your existing novarc
> > > > > file.
> > > > Follow
> > > > > that by running `juju autoload-credentials` and you will be
> > > > > all
> > > > set.
> > > > > 
> > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > > > > ail.
> > > > com>
> > > > > 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?
> > > > > > --
> > > > > > Daniel Bidwell 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > Juju mailing list
> > > > > > Juju@lists.ubuntu.com
> > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
> > > > > > /mai
> > > > lman
> > > > > > /listinfo/juju
> > > > > > 
> > > > > -- 
> > > > > Matthew Helmke
> > > > > Documentation
> > > > > Canonical
> > > > --
> > > > Daniel Bidwell 
> > > > 
> > > > 
> > > -- 
> > > Matthew Helmke
> > > Documentation
> > > Canonical
> > -- 
> > Daniel Bidwell 
> > 
> > 
> > -- 
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/juju
-- 
Daniel Bidwell 


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 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 metadata generate-tools", but "juju metadata generate-
> image" complains that the controller isn't ready yet.
> 
> On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
>> 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 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 up and I can create vm's with the dashboard.  I just
>>> want
>>> to tie it to juju now.
>>> 
>>> Thanks.
>>> 
>>> On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
 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 `userpass` auth type and enter the URL
>>> for
 the API. This is typically found in your existing novarc file.
>>> Follow
 that by running `juju autoload-credentials` and you will be all
>>> set.
 
 On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell >> com>
 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?
> --
> Daniel Bidwell 
> 
> 
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mai
>>> lman
> /listinfo/juju
> 
 
 
 -- 
 Matthew Helmke
 Documentation
 Canonical
>>> --
>>> Daniel Bidwell 
>>> 
>>> 
>> 
>> 
>> -- 
>> Matthew Helmke
>> Documentation
>> Canonical
> -- 
> Daniel Bidwell >
> 
> 
> -- 
> Juju mailing list
> Juju@lists.ubuntu.com 
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/juju 
> 
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 metadata generate-tools", but "juju metadata generate-
image" complains that the controller isn't ready yet.

On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> 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 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 up and I can create vm's with the dashboard.  I just
> > want
> > to tie it to juju now.
> > 
> > Thanks.
> > 
> > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > 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 `userpass` auth type and enter the URL
> > for
> > > the API. This is typically found in your existing novarc file.
> > Follow
> > > that by running `juju autoload-credentials` and you will be all
> > set.
> > >
> > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > com>
> > > 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?
> > > > --
> > > > Daniel Bidwell 
> > > >
> > > >
> > > > --
> > > > Juju mailing list
> > > > Juju@lists.ubuntu.com
> > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mai
> > lman
> > > > /listinfo/juju
> > > >
> > >
> > >
> > > -- 
> > > Matthew Helmke
> > > Documentation
> > > Canonical
> > --
> > Daniel Bidwell 
> > 
> > 
> 
> 
> -- 
> Matthew Helmke
> Documentation
> Canonical
-- 
Daniel Bidwell 


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/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 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 up and I can create vm's with the dashboard.  I just want
> to tie it to juju now.
>
> Thanks.
>
> On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > 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 `userpass` auth type and enter the URL for
> > the API. This is typically found in your existing novarc file. Follow
> > that by running `juju autoload-credentials` and you will be all set.
> >
> > On Mon, Apr 10, 2017 at 4:11 PM, 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?
> > > --
> > > Daniel Bidwell 
> > >
> > >
> > > --
> > > Juju mailing list
> > > Juju@lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/juju
> > >
> >
> >
> > --
> > Matthew Helmke
> > Documentation
> > Canonical
> --
> Daniel Bidwell 
>
>


-- 
Matthew Helmke
Documentation
Canonical
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 up and I can create vm's with the dashboard.  I just want
to tie it to juju now.

Thanks.

On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> 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 `userpass` auth type and enter the URL for
> the API. This is typically found in your existing novarc file. Follow
> that by running `juju autoload-credentials` and you will be all set.
> 
> On Mon, Apr 10, 2017 at 4:11 PM, 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?
> > --
> > Daniel Bidwell 
> > 
> > 
> > --
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/juju
> > 
> 
> 
> -- 
> Matthew Helmke
> Documentation
> Canonical
-- 
Daniel Bidwell 


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 `userpass` auth type and enter the URL for the
API. This is typically found in your existing novarc file. Follow that by
running `juju autoload-credentials` and you will be all set.

On Mon, Apr 10, 2017 at 4:11 PM, 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?
> --
> Daniel Bidwell 
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>



-- 
Matthew Helmke
Documentation
Canonical
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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 method to use is typically userpass. This will be one of the
choices if running juju add-cloud interactively. The authentication string can
typically be found by looking at your novarc file - it is the AUTH_URL value,
usually something like "https://keystone.mydomain.com:443/v2.0/;

Once the cloud itself has been added, you then need to add credential
information which can be done using juju add-credential. It will pick up that
userpass authentication has been previously specified and will prompt for things
like tenant name, domain name etc - these values depend on how the Openstack
instance itself has been set up, and whether keystone v3 authentication is being
used etc. Juju can attempt to guess the right credential values by running juju
autoload-credentials, assuming you have a ~/.novarc file or have the Openstack
client env vars set up. The novarc file usually contains the required values for
the various credential attributes.




-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


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
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju