How to add openstack cloud to juju 2.1.2-xenial

Heather Lanigan heather.lanigan at canonical.com
Wed Apr 12 19:25:07 UTC 2017


>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
<http://10.20.9.139/swift/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 <drbidwell at gmail.com> 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
> AAAAB3NzaC1yc2EAAAADAQABAAABAQDYVqxnI6EUKENu/WSapHYavwZk/Q430CkDerSdqjX
> 2hQWIpeMsy3FCiMyb3z6eL3bIiKWh8B2I8Hm8gTbKWPQG2495yZmHxcwOi8ECRPapp58d48
> +qYKYYWwRioC07uMe4/SR3lT1zO0kQ3yPiJOBZbnhksgVV+M4Jwl7lxlsKZfgY6PQ3n7d61
> Q5IjOwEU2KekwdNTxwIvYGl52Q6I3o8LY2mJqb+OeQggZH8iSL82M5jqDmOT1ni4D9ig2D1
> s8jkj8O5gYsKGgRFY+nKh6eWtBuFzkkzXs8X4NRXSKE2OkqYf4Tjp/+1T6hUjAIio37IBbV
> F8h2e2aUxUTGHm1pp juju-client-key
> ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABAQDU8V64uPSRxvs+FS3LmsWjEqEcI8LKHqBIwjTjC0S
> qAk3rt4j8CA44jUTsILfJkitveaAtTU/qhY3/+u6kRh0KnpvihKoPm2//g5YvDn3rJsexz7
> 2ab0fDkw1KmQIJW6rnzgMYG3kkrVivxGfP5nxkS2N3cSX8qkkRnXY/wFNq7AdZEWSN3VZO5
> jwIIgHEtWYoImsYO2AEmaXS485EQHR2TmBQ3tWS44IyFSANc6nNkJRCSwxVhblPi8aS1z6T
> LpN0MRmzzOdE+AAm+IR30o3TkjQbtTClVP2QCVypZUJz9LtlTaUGgd9wyZm4ZqaTcW6oUSQ
> S7NMuMN7e5cZo+mcn bidwell at 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 <autogenerated>: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 <autogenerated>:22 performing API version
> discovery for "http://10.20.9.142:8774/"
> 14:27:33 DEBUG goose <autogenerated>: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
> trusty utopic vivid yakkety zesty win2012r2 win2016hv win8 precise
> raring win81 win10 win2012hvr2 win2016 win7 saucy win2008r2] [amd64
> i386 armhf arm64 ppc64el s390x] released}}
> 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
> 14:27:33 DEBUG juju.environs.bootstrap bootstrap.go:583 found 1 image
> metadata in keystone catalog
> 14:27:35 DEBUG juju.environs.bootstrap bootstrap.go:583 found 0 image
> metadata in default cloud images
> 14:27:36 DEBUG juju.environs.simplestreams simplestreams.go:454
> skipping index "http://cloud-images.ubuntu.com/releases/streams/v1/inde
> x.sjson" because of missing information: index file has no data for
> cloud {RegionOne http://10.20.9.138:5000/v2.0} not found
> 14:27:36 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image
> metadata in default ubuntu cloud images: index file has no data for
> cloud {RegionOne http://10.20.9.138:5000/v2.0} not found
> 14:27:36 DEBUG juju.environs.bootstrap bootstrap.go:587 found 1 image
> metadata from all image data sources
> 14:27:36 INFO  cmd cmd.go:129 Looking for packaged Juju agent version
> 2.1.2 for amd64
> 14:27:36 INFO  juju.environs.bootstrap tools.go:72 looking for
> bootstrap agent binaries: version=2.1.2
> 14:27:36 INFO  juju.environs.tools tools.go:101 finding agent binaries
> in stream "released"
> 14:27:36 INFO  juju.environs.tools tools.go:103 reading agent binaries
> with major.minor version 2.1
> 14:27:36 INFO  juju.environs.tools tools.go:111 filtering agent
> binaries by version: 2.1.2
> 14:27:36 INFO  juju.environs.tools tools.go:117 filtering agent
> binaries by architecture: amd64
> 14:27:36 DEBUG juju.environs.tools urls.go:109 trying datasource
> "keystone catalog"
> 14:27:37 DEBUG juju.environs.simplestreams simplestreams.go:680 using
> default candidate for content id "com.ubuntu.juju:released:tools" are
> {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
> 14:27:39 INFO  juju.environs.bootstrap tools.go:74 found 16 packaged
> agent binaries
> 14:27:39 INFO  cmd cmd.go:141 Starting new instance for initial
> controller
> 14:27:39 DEBUG goose <autogenerated>:22 auth details:
> &{Token:bb1b72d4ef484b3db9ff0e7cffd74fc7
> TenantId:e69c1091bf744509a8853ea8e336ae26
> UserId:865cd86178094f348c479f8d043dff83 Domain:
> RegionServiceURLs:map[RegionOne:map[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
> network:http://10.20.9.144:9696]]}
> Launching controller instance(s) on acauits/RegionOne...
> 14:27:39 DEBUG goose <autogenerated>:22 performing API version
> discovery for "http://10.20.9.142:8774/"
> 14:27:39 DEBUG goose <autogenerated>: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:41 DEBUG juju.environs.instances image.go:64 instance constraints
> {region: RegionOne, series: xenial, arches: [amd64], constraints:
> mem=3584M, storage: []}
> 14:27:41 DEBUG juju.environs.instances image.go:70 matching constraints
> {region: RegionOne, series: xenial, arches: [amd64], constraints:
> mem=3584M, storage: []} against possible image metadata [{Id:xenial
> Arch:amd64 VirtType:}]
> 14:27:41 INFO  juju.environs.instances image.go:106 find instance -
> using image with id: xenial
> 14:27:41 DEBUG juju.cloudconfig.instancecfg instancecfg.go:781 Setting
> numa ctl preference to false
> 14:27:41 DEBUG juju.service discovery.go:63 discovered init system
> "systemd" from series "xenial"
> 14:27:41 DEBUG juju.provider.openstack provider.go:984 openstack user
> data; 1149 bytes
> 14:27:41 DEBUG juju.provider.openstack provider.go:996 using network id
> "42c432e8-3958-47b2-b84c-df4f0aa0fbe8"
> 14:27:41 DEBUG goose <autogenerated>:22 performing API version
> discovery for "http://10.20.9.144:9696/"
> 14:27:41 DEBUG goose <autogenerated>:22 discovered API versions:
> [{Version:{major:2 minor:0} Links:[{Href:http://10.20.9.144:9696/v2.0
> Rel:self}] Status:CURRENT}]
> 14:27:46 INFO  juju.provider.common destroy.go:20 destroying model
> "controller"
> 14:27:46 INFO  juju.provider.common destroy.go:31 destroying instances
> 14:27:46 DEBUG juju.provider.openstack provider.go:1129 terminating
> instances []
> 14:27:47 INFO  juju.provider.common destroy.go:51 destroying storage
> 14:27:47 DEBUG juju.provider.openstack cinder.go:81 volume URL: http://
> 10.20.9.143:8776/v2/e69c1091bf744509a8853ea8e336ae26
> 14:27:47 DEBUG juju.provider.openstack firewaller.go:294 deleting
> security group "juju-c22bcd7a-1e2a-4081-8a89-1b6781ed2db7-e9dee81e-
> 7bd8-4e5f-897a-3427dfc95d41"
> 14:27:47 DEBUG juju.provider.openstack firewaller.go:294 deleting
> security group "juju-c22bcd7a-1e2a-4081-8a89-1b6781ed2db7-e9dee81e-
> 7bd8-4e5f-897a-3427dfc95d41-0"
> 14:27:50 ERROR cmd supercommand.go:458 failed to bootstrap model:
> cannot start bootstrap instance: cannot run instance: failed to run a
> server with nova.RunServerOpts{Name:"juju-c95d41-controller-0",
> FlavorId:"115c7b33-901b-4431-bca4-040c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xe8, 0xbf, 0x54, 0xb5, 0xea, 0x94, 0xe3, 0x9, 0xda,
> 0xde, 0xa1, 0x4f, 0x77, 0x96, 0x69, 0xd, 0x56, 0xcb, 0x72, 0xb9, 0x1a,
> 0xa0, 0x9e, 0x77, 0xa4, 0xed, 0xcc, 0x23, 0x7f, 0x76, 0xc6, 0xc5, 0x7e,
> 0x55, 0x4f, 0xd3, 0xcf, 0xc, 0x66, 0x15, 0xbe, 0x7f, 0x99, 0x9b, 0x89,
> 0x7c, 0xcc, 0x8e, 0xb6, 0x58, 0xbc, 0xfe, 0x50, 0xff, 0xfd, 0x8, 0x56,
> 0xeb, 0x8d, 0x66, 0x59, 0x87, 0xc9, 0xb0, 0xde, 0x3d, 0xfd, 0x11, 0x0,
> 0x0, 0xff, 0xff, 0x6c, 0x3d, 0x94, 0xa3, 0xd8, 0x6, 0x0, 0x0},
> SecurityGroupNames:[]nova.SecurityGroupName{nova.SecurityGroupName{Name
> :"juju-c22bcd7a-1e2a-4081-8a89-1b6781ed2db7-e9dee81e-7bd8-4e5f-897a-
> 3427dfc95d41"}, nova.SecurityGroupName{Name:"juju-c22bcd7a-1e2a-4081-
> 8a89-1b6781ed2db7-e9dee81e-7bd8-4e5f-897a-3427dfc95d41-0"}},
> Networks:[]nova.ServerNetworks{nova.ServerNetworks{NetworkId:"42c432e8-
> 3958-47b2-b84c-df4f0aa0fbe8", FixedIp:"", PortId:""}},
> AvailabilityZone:"nova", Metadata:map[string]string{"juju-model-
> uuid":"e9dee81e-7bd8-4e5f-897a-3427dfc95d41", "juju-controller-
> uuid":"c22bcd7a-1e2a-4081-8a89-1b6781ed2db7", "juju-is-
> controller":"true"}, ConfigDrive:false}
> caused by: request (http://10.20.9.142:8774/v2.1/e69c1091bf744509a8853e
> a8e336ae26/servers) returned unexpected status: 400; error info:
> {"badRequest": {"message": "Invalid input for field/attribute imageRef.
> Value: xenial. u'xenial' is not valid under any of the given schemas",
> "code": 400}}
> 14:27:50 DEBUG cmd supercommand.go:459 (error details:
> [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:574: failed to
> bootstrap model} {github.com/juju/juju/provider/common/bootstrap.go:47:
> } {github.com/juju/juju/provider/common/bootstrap.go:179: cannot start
> bootstrap instance}
> {github.com/juju/juju/provider/openstack/provider.go:1071: }
> {github.com/juju/juju/provider/openstack/provider.go:1054: cannot run
> instance} {failed to run a server with nova.RunServerOpts{Name:"juju-
> c95d41-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, 0xd9, 0x99, 0x67, 0xf8, 0xce, 0x4b, 0x69, 0xe9, 0xb, 0x1e, 0x25,
> 0x1, 0xe, 0x9f, 0x68, 0xc9, 0xf3, 0x92, 0xf, 0x9f, 0x0, 0x80, 0x69,
> 0x3a, 0x4, 0xad, 0x2f, 0x80, 0x23, 0x4, 0x4, 0x8, 0xc4, 0x33, 0x2c,
> 0xc4, 0x94, 0x86, 0xe2, 0x23, 0x1c, 0x13, 0xcc, 0x85, 0x47, 0xf0, 0x73,
> 0xed, 0x6d, 0x3d, 0x15, 0x25, 0xf1, 0x32, 0x7f, 0xf8, 0x24, 0x0, 0x86,
> 0x38, 0x10, 0x2e, 0xa8, 0xb6, 0x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xf6, 0x22, 0x5f, 0x75, 0x96, 0xdb, 0xec, 0x76, 0x5b, 0xfb, 0x7a, 0x5b,
> 0xd3, 0xb2, 0xb6, 0xb1, 0x95, 0x3b, 0x54, 0xb6, 0x93, 0xd8, 0x74, 0xb9,
> 0x3d, 0x4e, 0xf7, 0x1b, 0xc9, 0x1c, 0xef, 0xaf, 0xf9, 0x71, 0x37, 0xbb,
> 0xbd, 0x2c, 0x78, 0x6a, 0xc3, 0xdd, 0x7b, 0xe8, 0xbf, 0x54, 0xb5, 0xea,
> 0x94, 0xe3, 0x9, 0xda, 0xde, 0xa1, 0x4f, 0x77, 0x96, 0x69, 0xd, 0x56,
> 0xcb, 0x72, 0xb9, 0x1a, 0xa0, 0x9e, 0x77, 0xa4, 0xed, 0xcc, 0x23, 0x7f,
> 0x76, 0xc6, 0xc5, 0x7e, 0x55, 0x4f, 0xd3, 0xcf, 0xc, 0x66, 0x15, 0xbe,
> 0x7f, 0x99, 0x9b, 0x89, 0x7c, 0xcc, 0x8e, 0xb6, 0x58, 0xbc, 0xfe, 0x50,
> 0xff, 0xfd, 0x8, 0x56, 0xeb, 0x8d, 0x66, 0x59, 0x87, 0xc9, 0xb0, 0xde,
> 0x3d, 0xfd, 0x11, 0x0, 0x0, 0xff, 0xff, 0x6c, 0x3d, 0x94, 0xa3, 0xd8,
> 0x6, 0x0, 0x0},
> SecurityGroupNames:[]nova.SecurityGroupName{nova.SecurityGroupName{Name
> :"juju-c22bcd7a-1e2a-4081-8a89-1b6781ed2db7-e9dee81e-7bd8-4e5f-897a-
> 3427dfc95d41"}, nova.SecurityGroupName{Name:"juju-c22bcd7a-1e2a-4081-
> 8a89-1b6781ed2db7-e9dee81e-7bd8-4e5f-897a-3427dfc95d41-0"}},
> Networks:[]nova.ServerNetworks{nova.ServerNetworks{NetworkId:"42c432e8-
> 3958-47b2-b84c-df4f0aa0fbe8", FixedIp:"", PortId:""}},
> AvailabilityZone:"nova", Metadata:map[string]string{"juju-model-
> uuid":"e9dee81e-7bd8-4e5f-897a-3427dfc95d41", "juju-controller-
> uuid":"c22bcd7a-1e2a-4081-8a89-1b6781ed2db7", "juju-is-
> controller":"true"}, ConfigDrive:false}
> caused by: request (http://10.20.9.142:8774/v2.1/e69c1091bf744509a8853e
> a8e336ae26/servers) returned unexpected status: 400; error info:
> {"badRequest": {"message": "Invalid input for field/attribute imageRef.
> Value: xenial. u'xenial' is not valid under any of the given schemas",
> "code": 400}}}])
>
>
> On Wed, 2017-04-12 at 23:20 +0500, Junaid Ali wrote:
> > 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 <drbidwell at gmail.com
> > > 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.1
> > > 39:8
> > > 0/swift/v1
> > >
> > > and it returns:
> > >
> > > See above.
> > >
> > > Saying that it can't find my kernel image.  However
> > >
> > > openstack image list
> > >
> > > returns:
> > >
> > > +--------------------------------------+--------+--------+
> > > | ID                                   | Name   | Status |
> > > +--------------------------------------+--------+--------+
> > > | 2785dea7-6d2d-45d4-9d60-37459c008c91 | xenial | active |
> > > | 21197538-79c5-4f1f-8487-1f7f367dfc0b | trusty | active |
> > > +--------------------------------------+--------+--------+
> > >
> > > From the horizon web dashboard I can start a vm with the zenial
> > > image.
> > >  Where do I go next?
> > >
> > > On Wed, 2017-04-12 at 10:04 +0400, John Meinel wrote:
> > > > 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-privateclo
> > > ud.m
> > > > d
> > > >
> > > > John
> > > > =:->
> > > >
> > > >
> > > > On Wed, Apr 12, 2017 at 9:56 AM, John Meinel <john at arbash-meinel.
> > > com>
> > > > 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 <drbidwell at gmai
> > > l.co
> > > > > m> 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://ju
> > > juch
> > > > > > arms.c
> > > > > > > om/docs/stable/howto-privatecloud
> > > > > > >
> > > > > > > -Heather
> > > > > > >
> > > > > > > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell <drbidwell at g
> > > mail
> > > > > > .com>
> > > > > > > > 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
> > > <drbidwell@
> > > > > > gmail.
> > > > > > > > > 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/hel
> > > p-op
> > > > > > enstac
> > > > > > > > > > > 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
> > > <drbidw
> > > > > > ell at gm
> > > > > > > > > > > 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 <drbidwell at gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Juju mailing list
> > > > > > > > > > > > Juju at lists.ubuntu.com
> > > > > > > > > > > > Modify settings or unsubscribe at: https://lists.
> > > ubun
> > > > > > tu.com
> > > > > > > > > > > > /mai
> > > > > > > > > > lman
> > > > > > > > > > > > /listinfo/juju
> > > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Matthew Helmke
> > > > > > > > > > > Documentation
> > > > > > > > > > > Canonical
> > > > > > > > > > --
> > > > > > > > > > Daniel Bidwell <drbidwell at gmail.com>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthew Helmke
> > > > > > > > > Documentation
> > > > > > > > > Canonical
> > > > > > > > --
> > > > > > > > Daniel Bidwell <drbidwell at gmail.com>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Juju mailing list
> > > > > > > > Juju at lists.ubuntu.com
> > > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.c
> > > om/m
> > > > > > ailman
> > > > > > > > /listinfo/juju
> > > > > > --
> > > > > > Daniel Bidwell <drbidwell at gmail.com>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Juju mailing list
> > > > > > Juju at lists.ubuntu.com
> > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/m
> > > ailm
> > > > > > an/listinfo/juju
> > > > > >
> > > > >
> > > --
> > > Daniel Bidwell <drbidwell at gmail.com>
> > >
> > >
> > > --
> > > Juju mailing list
> > > Juju at lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/juju
> > >
> --
> Daniel Bidwell <drbidwell at gmail.com>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170412/fd0f6fd8/attachment.html>


More information about the Juju mailing list