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, 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, 0x30, 0x61,
0xbc, 0x86, 0x1, 0xc2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f, 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-1a3bfd40-7d3d-4b1e-8a29-a2730c615844-b9fc698b-c735-41c0-8e39-
dfbdd78344e6"}, nova.SecurityGroupName{Name:"juju-1a3bfd40-7d3d-4b1e-
8a29-a2730c615844-b9fc698b-c735-41c0-8e39-dfbdd78344e6-0"}},
Networks:[]nova.ServerNetworks{}, AvailabilityZone:"nova",
Metadata:map[string]string{"juju-model-uuid":"b9fc698b-c735-41c0-8e39-
dfbdd78344e6", "juju-controller-uuid":"1a3bfd40-7d3d-4b1e-8a29-
a2730c615844", "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}}

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-privatecloud.m
> d
> 
> John
> =:->
> 
> 
> On Wed, Apr 12, 2017 at 9:56 AM, John Meinel <j...@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 <drbidw...@gmail.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://jujuch
> > > arms.c
> > > > om/docs/stable/howto-privatecloud
> > > >
> > > > -Heather
> > > >
> > > > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell <drbidwell@gmail
> > > .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/help-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@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 <drbidw...@gmail.com>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Juju mailing list
> > > > > > > > > Juju@lists.ubuntu.com
> > > > > > > > > Modify settings or unsubscribe at: https://lists.ubun
> > > tu.com
> > > > > > > > > /mai
> > > > > > > lman
> > > > > > > > > /listinfo/juju
> > > > > > > > >
> > > > > > > > -- 
> > > > > > > > Matthew Helmke
> > > > > > > > Documentation
> > > > > > > > Canonical
> > > > > > > --
> > > > > > > Daniel Bidwell <drbidw...@gmail.com>
> > > > > > >
> > > > > > >
> > > > > > -- 
> > > > > > Matthew Helmke
> > > > > > Documentation
> > > > > > Canonical
> > > > > -- 
> > > > > Daniel Bidwell <drbidw...@gmail.com>
> > > > >
> > > > >
> > > > > -- 
> > > > > Juju mailing list
> > > > > Juju@lists.ubuntu.com
> > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/m
> > > ailman
> > > > > /listinfo/juju
> > > --
> > > Daniel Bidwell <drbidw...@gmail.com>
> > > 
> > > 
> > > --
> > > Juju mailing list
> > > Juju@lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> > > an/listinfo/juju
> > > 
> > 
-- 
Daniel Bidwell <drbidw...@gmail.com>


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

Reply via email to