Re: Instance metadata for private cloud.
On Thu, Nov 10, 2016 at 10:20:27PM +, Marco Ceppi wrote: :juju bootstrap tigtest --debug --config image-metadata-url= :https://people.csail.mit.edu/jon/simplestreams That little '--debug' was all I needed. That's why I work on test stuff at the end of the week and not prodcution (if I can help it), it's a pretty obvious flag to throw in... Short version my endpoint in simplestream did not match the cloud definition (we have new and old names for our keystone server and I was inconsistent in my usage). Well that and the missing "images" part in the url. I'm on to the next problem now, as: 10:41:37 ERROR cmd supercommand.go:458 failed to bootstrap model: cannot start bootstrap instance: cannot run instance: failed to run a server with nova.RunServerOpts but it got the image metadata and now with the power of '--debug' I can probably sort out why the controller instance failed to launch on my own :) Thanks, -Jon -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Instance metadata for private cloud.
On Thu, Nov 10, 2016 at 11:52 PM Jonathan Proulxwrote: > Hi All, > Hi Jon, > Trying to test out juju on my private OpenStack cloud. > > Having trouble bootstraping. > First, sorry. We recognise that the experience for setting up image metadata is not great. We've got some ideas about improving the validation tools, and generally simplifying the process. I can't say when that'll get implemented, but it is on the list. > I've followed https://jujucharms.com/docs/stable/howto-privatecloud to > generate image metadata in ~/simplestreams and nomatter how I feed it > in I get: > > ERROR failed to bootstrap model: no image metadata found > > > I've tried the 'juju bootstrap --metadata-source > /afs/csail.mit.edu/u/j/jon/simplestreams' suggested by the out put of > 'juju metadata generate-image' > > I've tried uploading to OpenStack object store as described in > https://jujucharms.com/docs/stable/howto-privatecloud and creating a > servic eand an endpoitn for it. This may have failed because our > object store is ceph not swift so semantics might be different. > > Also tried copying the simplestreams directory to public webspace and > specifying: > > juju bootstrap tigtest tigtest-CSAIL_Stata --config image-metadata-url= > https://people.csail.mit.edu/jon/simplestreams It looks to me that you just need to append "/images" to that URL. I've just gone ahead and run the same command but with " https://people.csail.mit.edu/jon/simplestreams/images;. I just hacked up my client to query as if it were your setup, with a reigon name of "CSAIL_Stata" and keystone endpoint of " https://keystone.csail.mit.edu:35358/v3;. With the adjusted image-metadata-url, my client found the image metadata. HTH. Cheers, Andrew > and stepping out that url one level at a time as far as > > https://people.csail.mit.edu/jon/simplestreams/images/streams/v1/com.ubuntu.cloud-released-imagemetadata.json > > but always erors out the same way. > > What am I missing here? > > > -Jon > -- > > -- > 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: Instance metadata for private cloud.
Hi Jon, Sorry to hear you're having trouble getting this started. I recently went through setting up simple stream metadata for Juju 2.0 and can sympathize with some of the paper cuts in the documentation (I'm working to help get those updated). The image metadata you've linked to at the mit.edu address seems correct. Could you run the following and report the results? It'll help debug the exact issue and help me figure out what else in the documentation needs to be clarified: juju bootstrap tigtest --debug --config image-metadata-url= https://people.csail.mit.edu/jon/simplestreams Thanks, Marco Ceppi -- Forwarded message - From: Jonathan Proulx <j...@csail.mit.edu> Date: Thu, Nov 10, 2016 at 4:52 PM Subject: Instance metadata for private cloud. To: <juju@lists.ubuntu.com> Hi All, Trying to test out juju on my private OpenStack cloud. Having trouble bootstraping. I've followed https://jujucharms.com/docs/stable/howto-privatecloud to generate image metadata in ~/simplestreams and nomatter how I feed it in I get: ERROR failed to bootstrap model: no image metadata found I've tried the 'juju bootstrap --metadata-source /afs/csail.mit.edu/u/j/jon/simplestreams' suggested by the out put of 'juju metadata generate-image' I've tried uploading to OpenStack object store as described in https://jujucharms.com/docs/stable/howto-privatecloud and creating a servic eand an endpoitn for it. This may have failed because our object store is ceph not swift so semantics might be different. Also tried copying the simplestreams directory to public webspace and specifying: juju bootstrap tigtest tigtest-CSAIL_Stata --config image-metadata-url= https://people.csail.mit.edu/jon/simplestreams and stepping out that url one level at a time as far as https://people.csail.mit.edu/jon/simplestreams/images/streams/v1/com.ubuntu.cloud-released-imagemetadata.json but always erors out the same way. What am I missing here? -Jon -- -- 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
Instance metadata for private cloud.
Hi All, Trying to test out juju on my private OpenStack cloud. Having trouble bootstraping. I've followed https://jujucharms.com/docs/stable/howto-privatecloud to generate image metadata in ~/simplestreams and nomatter how I feed it in I get: ERROR failed to bootstrap model: no image metadata found I've tried the 'juju bootstrap --metadata-source /afs/csail.mit.edu/u/j/jon/simplestreams' suggested by the out put of 'juju metadata generate-image' I've tried uploading to OpenStack object store as described in https://jujucharms.com/docs/stable/howto-privatecloud and creating a servic eand an endpoitn for it. This may have failed because our object store is ceph not swift so semantics might be different. Also tried copying the simplestreams directory to public webspace and specifying: juju bootstrap tigtest tigtest-CSAIL_Stata --config image-metadata-url=https://people.csail.mit.edu/jon/simplestreams and stepping out that url one level at a time as far as https://people.csail.mit.edu/jon/simplestreams/images/streams/v1/com.ubuntu.cloud-released-imagemetadata.json but always erors out the same way. What am I missing here? -Jon -- -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju