[08:42] <jam> manadart: you around?
[08:43] <manadart> jam: I am.
[08:43] <manadart> In Oracle HO.
[08:43] <jam> omw
[09:14] <jam> https://github.com/juju/replicaset/pull/8
[09:15] <jam> manadart: ^^
[09:25] <jam> manadart: https://github.com/juju/juju/pull/8618
[12:12] <elmaciej> Hi
[12:13] <elmaciej> I wrote a charm based on the docker layer - https://jujucharms.com/docs/1.24/authors-charm-with-docker
[12:13] <elmaciej> and I have an issue - it's not installing anything - juju.worker.uniter.operation runhook.go:116 skipped "install" hook (missing)
[12:13] <elmaciej> and it's copy paste from the article
[12:13] <elmaciej> can somebody help me with this
[12:14] <rick_h_> elmaciej: hmm, did you run charm build? normally that's because you edit the layer stuff but don't charm build or deploy the build charm (that generates the hooks)
[12:14] <elmaciej> well I did charm build ./mycharm
[12:15] <elmaciej> and then juju deploy ./mycharm --to kvm:0
[12:26] <manadart> jam: https://github.com/juju/juju/pull/8619/files
[12:27] <manadart> Going to scan the current known intermittent failures.
[12:36] <jam> manadart: one change definitely needed, and a discussion of 2 or 3 things to think about
[12:40] <elmaciej> rick_h_: this is my output : https://pastebin.com/0Bmgf0fM
[12:40] <elmaciej> rick_h_: should I add more things ? I just want to deploy a docker, no relations, no interfaces ...
[12:52] <manadart> jam: Implemented all of your suggestions; much nicer. Tests using that code pass repeatedly without the buffer, so it is gone.
[12:54] <rick_h_> elmaciej: ok and you deployed "/mnt/c/Users/devep/PycharmProjects/charms/aiakafka/builds/aiakafka" so that the built charm, with the install hook, is what gets run?
[12:54] <elmaciej> yes, I deployed this one using : juju deploy ./aiakafka
[12:54] <elmaciej> and it deploys but nothing is happening inside this charm
[12:54] <elmaciej> so thats weird
[12:55] <rick_h_> elmaciej: right, but it needs to be juju deploy ./builds/aiakafka
[12:55] <elmaciej> ohhhhh'
[12:55] <rick_h_> assuming you're terminal is at the directory you're righting the charm from
[12:55] <elmaciej> yep
[12:55] <elmaciej> ok, will try now
[12:55] <rick_h_> <3
[15:15] <ejat> ello hml
[15:17] <hml> ejat: hi
[15:17] <ejat> your work around works ..
[15:17] <hml> ejat: good news, i tried it locallly, but confirmation is nice
[15:17] <ejat> but ....
[15:17] <ejat> later i got this : found 0 image metadata in default cloud images
[15:18] <ejat> do i need to configure the simplestream ?
[15:18] <hml> ejat: yes you do
[15:18] <ejat> its a must ?
[15:18] <ejat> then bootstrap with --config swift_URL ?
[15:19] <hml> ejat: for OpenStack yes - juju pulls the images from glance and needs to know how to find the ones you want to use
[15:19] <ejat> i did the simplestream
[15:19] <ejat> but its doesnt work for me :(
[15:19] <hml> ejat: just a sec
[15:20] <hml> ejat: did you follow the instructions here: https://jujucharms.com/docs/stable/howto-privatecloud
[15:20] <hml> ejat:  --config image-metadata-url=$SWIFT_URL
[15:20] <hml> and you need a network defined as well for bootstrap
[15:21] <hml> ejat: usually
[15:23] <ejat> https://paste.ubuntu.com/p/9DdRCcmVDR/
[15:28] <hml> ejat: try ‘wget http://172.15.1.99/swift/v1/simplestreams/images/streams/v1/index.json'
[15:31] <ejat> im having problem to add this endpoint
[15:31] <ejat> openstack endpoint create --region $REGION --publicurl $SWIFT_URL/simplestreams/images \
[15:31] <ejat>    --internalurl $SWIFT_URL/simplestreams/images product-streams
[15:31] <hml> ejat: do you have admin permissions for the project in openstack?
[15:31] <ejat> yes
[15:32] <hml> ejat: but you can’t create an endpoint yes?
[15:32] <ejat> parameter error
[15:33] <hml> ejat: which parameter is causing the problem?
[15:34] <ejat> --region <region-id>
[15:34] <ejat> https://paste.ubuntu.com/p/G8GBXxpX4G/
[15:35] <ejat> and some of the parameter are differ from the documentation
[15:35] <ejat> there is no --internalurl
[15:35] <ejat> --publicurl
[15:36] <hml> ejat: which version of the openstack client are you using?
[15:36] <ejat> 3.14.0-0ubuntu1
[15:38] <hml> ejat: while i figure this out, perhaps the client options have changed… you can specify a local path to the streams you created
[15:39] <hml> ejat: use --metadata-source
[15:40] <ejat> --metadata-source=~/simplestream ?
[15:41] <ejat> using local works
[15:42] <ejat> thanks
[15:42] <hml> ejat: k
[15:43] <hml> ejat: which version of OpenStack are you using?
[15:44] <ejat> hml: queens
[15:44] <hml> ejat: i see the problem in the doc - the instructions are for identity v2, not identity v3
[15:44] <ejat> hml: i suspected that
[15:44] <hml> ejat: https://docs.openstack.org/python-openstackclient/pike/cli/command-objects/endpoint.html#endpoint-create
[15:45] <ejat> i guess the everything need to be change toward v3
[15:46] <ejat> btw, how to bootstrap the controller with public ip ?
[15:46] <ejat> include the config network ?
[15:46] <hml> ejat: juju show-cloud --include-config <openstack-cloud-name>
[15:47] <hml> will show the openstack config options for bootstrap and models
[15:47] <hml> you’ll need to define a network (private) and —use-floating-ip
[15:47] <hml> —external-network if you wish
[15:48] <ejat> ok yeah
[15:48] <ejat> --use-floating-ip
[15:50] <hml> ejat: can you test something for me please… to update the docs: see if ‘openstack endpoint create --region RegionOne product-streams public http://172.15.1.99/swift/v1/simplestreams/images' works
[15:51] <ejat> yeah
[15:51] <hml> ejat: ty
[15:51] <ejat> https://paste.ubuntu.com/p/gJMrqQwMSp/
[15:51] <hml> you’ll need to do run again replacing public with internal - that should setup the endpoint for you
[15:52]  * ejat wondering is it only me using queens now :) 
[15:52] <ejat> both work public n internal
[15:53] <ejat> how to use the --use-floating-ip ?
[15:53] <hml> ejat:  see if the wget line wokrs now please?
[15:54] <ejat> image-metadata-url works
[15:54] <ejat> after create public n internal endpoint
[15:54] <hml> ejat: perfect
[15:54] <ejat> how to use the --use-floating-ip ?
[15:56] <ejat> --config image-metadata-url=xxxxx use-floating-ip
[15:57] <hml> ejat: —config use-floating-ip=true --config image-metadata-url=xxxxx
[15:57] <ejat> owh
[15:57] <hml> ejat: once you have nailed down what config items to bootstrap with - you can add them to the cloud config
[15:58] <ejat> ok
[15:59] <hml> ejat: since you setup the product-streams endpoint - juju will find it automagically - so you can leave that off the bootstrap if you wish
[15:59] <ejat> noted
[16:01] <hml> ejat: i bootstrap openstack with the following config: https://paste.ubuntu.com/p/FYPSRvfPJM/  - so i just have to do ‘juju boostrap serverstack-os tuesday’ for example
[16:04] <ejat> 00:02:30 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 172.16.5.206 failed: ssh: connect to host 172.16.5.206 port 22: Connection timed out
[16:04] <ejat> okie my bad
[16:04] <ejat> its my network access
[16:04] <hml> ejat: that happens a couple times
[16:04] <hml> okay..
[16:05] <hml> you do see it a few times sometimes while the instance is coming up.. unless juju fails you can ignore it usually
[16:08] <ejat> ok thanks
[16:09] <hml> ejat: i’m creating a pr to update the doc - thanks for your help there
[16:09] <ejat> u r most welcome .. thanks to u too :)
[16:10] <ejat> btw, will you be at vancouver next month ?
[16:11] <hml> ejat: I will not, I’m not on the openstack team :-)  I work on juju itself
[16:11] <ejat> owh ..
[16:12] <ejat> its quite a years i stop writing my 1st charm
[16:12]  * ejat now more being a user :) 
[16:13]  * ejat assist @ contribute as much as i can ... 
[16:13] <hml> :-)
[16:13] <ejat> asked question , file bugs
[16:13]  * ejat missed UDS :) 
[16:13] <ejat> thats where i met all the juju guru
[16:14] <ejat> guru @ ninja
[16:15] <hml> ejat: there should be some at vancouver
[16:15] <ejat> yeah ..
[16:41] <Guest57485> hi
[18:54] <acNEt> Hello just started working with JUJU for an openstack install can someone please tell me what the correct filesystem layout should be for the dashboard.
[19:09] <bdx> acNEt: what do you mean?
[19:09] <bdx> acNEt: `juju deploy openstack-dashboard`
[19:11] <bdx> acNEt: ^ try that and see what you get by default
[19:15] <acNEt> I deployed the dashboard but I keep getting permissions issues.  Is it supposed to be /var/lib/openstack-dashboard or /usr/share/openstack-dashboard?
[19:54] <bdx> acNEt: context?
[19:54] <bdx> to what you are trying to do