Monday, 2018-03-19

*** hjensas has joined #puppet-openstack00:01
*** ilbot3 has quit IRC02:47
*** ilbot3 has joined #puppet-openstack02:56
*** hjensas has quit IRC03:08
*** hjensas has joined #puppet-openstack03:08
*** rcernin_ has joined #puppet-openstack03:23
*** rcernin has quit IRC03:25
*** rcernin_ has quit IRC03:29
*** rcernin has joined #puppet-openstack03:29
*** rcernin has quit IRC03:33
openstackgerritzhongshengping proposed openstack/puppet-neutron stable/queens: Configure metadata agent 'metadata_proxy_shared_secret' as secret  https://review.openstack.org/55409703:35
openstackgerritzhongshengping proposed openstack/puppet-neutron stable/pike: Configure metadata agent 'metadata_proxy_shared_secret' as secret  https://review.openstack.org/55409803:36
openstackgerritzhongshengping proposed openstack/puppet-heat stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55409903:37
openstackgerritzhongshengping proposed openstack/puppet-heat stable/pike: Add oslo::cache to dependency chain  https://review.openstack.org/55410003:37
openstackgerritzhongshengping proposed openstack/puppet-ceilometer stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55410103:38
openstackgerritzhongshengping proposed openstack/puppet-ceilometer stable/pike: Add oslo::cache to dependency chain  https://review.openstack.org/55410203:38
openstackgerritzhongshengping proposed openstack/puppet-nova stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55410303:39
openstackgerritzhongshengping proposed openstack/puppet-nova stable/pike: Add oslo::cache to dependency chain  https://review.openstack.org/55410403:39
openstackgerritzhongshengping proposed openstack/puppet-designate stable/queens: Designate/Neutron communicaton failure  https://review.openstack.org/55410603:41
openstackgerritzhongshengping proposed openstack/puppet-openstack-integration master: Include ironic ipmi class  https://review.openstack.org/55311403:47
*** rcernin has joined #puppet-openstack03:49
openstackgerritzhongshengping proposed openstack/puppet-designate stable/pike: Designate/Neutron communicaton failure  https://review.openstack.org/55411103:53
openstackgerritzhongshengping proposed openstack/puppet-murano stable/queens: Murano needs explicit v3 in auth_uri  https://review.openstack.org/55411203:56
openstackgerritzhongshengping proposed openstack/puppet-magnum stable/queens: Fix mysql connection  https://review.openstack.org/55411303:59
openstackgerritzhongshengping proposed openstack/puppet-magnum stable/pike: Fix mysql connection  https://review.openstack.org/55411403:59
openstackgerritzhongshengping proposed openstack/puppet-murano stable/queens: Fix mysql connection  https://review.openstack.org/55411504:01
openstackgerritzhongshengping proposed openstack/puppet-murano stable/pike: Fix mysql connection  https://review.openstack.org/55411604:01
openstackgerritzhongshengping proposed openstack/puppet-vitrage stable/queens: Fix mysql connection  https://review.openstack.org/55411704:02
openstackgerritzhongshengping proposed openstack/puppet-vitrage stable/pike: Fix mysql connection  https://review.openstack.org/55411804:02
*** skramaja has joined #puppet-openstack04:09
*** skramaja_ has joined #puppet-openstack04:16
*** skramaja has quit IRC04:16
*** ykarel has joined #puppet-openstack04:20
*** rwsu has joined #puppet-openstack04:24
*** rwsu has quit IRC04:25
*** ykarel_ has joined #puppet-openstack04:30
*** ykarel has quit IRC04:33
*** skramaja has joined #puppet-openstack04:38
*** skramaja_ has quit IRC04:38
openstackgerritMerged openstack/puppet-murano stable/queens: Fix mysql connection  https://review.openstack.org/55411504:48
openstackgerritMerged openstack/puppet-murano stable/pike: Fix mysql connection  https://review.openstack.org/55411604:48
openstackgerritMerged openstack/puppet-murano stable/queens: Murano needs explicit v3 in auth_uri  https://review.openstack.org/55411204:48
openstackgerritMerged openstack/puppet-magnum stable/pike: Fix mysql connection  https://review.openstack.org/55411404:49
openstackgerritMerged openstack/puppet-magnum stable/queens: Fix mysql connection  https://review.openstack.org/55411304:49
*** quasisane414 has joined #puppet-openstack05:12
*** ykarel_ is now known as ykarel05:41
*** openstackgerrit has quit IRC05:49
*** openstackgerrit has joined #puppet-openstack05:57
openstackgerritMerged openstack/puppet-designate stable/pike: Designate/Neutron communicaton failure  https://review.openstack.org/55411105:57
openstackgerritMerged openstack/puppet-designate stable/queens: Designate/Neutron communicaton failure  https://review.openstack.org/55410605:59
openstackgerritMerged openstack/puppet-ceilometer stable/pike: Add oslo::cache to dependency chain  https://review.openstack.org/55410206:06
openstackgerritMerged openstack/puppet-ceilometer stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55410106:06
*** skramaja_ has joined #puppet-openstack06:10
*** skramaja has quit IRC06:11
*** danpawlik has joined #puppet-openstack06:15
*** danpawlik has quit IRC06:20
openstackgerritMerged openstack/puppet-nova stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55410306:25
*** agurenko has joined #puppet-openstack06:35
*** jaganathan has joined #puppet-openstack06:42
openstackgerritMerged openstack/puppet-vitrage stable/pike: Fix mysql connection  https://review.openstack.org/55411806:47
openstackgerritMerged openstack/puppet-vitrage stable/queens: Fix mysql connection  https://review.openstack.org/55411706:47
*** skramaja_ is now known as skramaja07:07
*** rcernin has quit IRC07:07
openstackgerritMerged openstack/puppet-heat stable/pike: Add oslo::cache to dependency chain  https://review.openstack.org/55410007:21
*** tesseract has joined #puppet-openstack08:17
openstackgerritzhongshengping proposed openstack/puppet-keystone master: Configure memcache_secret_key as secret  https://review.openstack.org/55416108:17
openstackgerritzhongshengping proposed openstack/puppet-keystone stable/queens: Configure memcache_secret_key as secret  https://review.openstack.org/55416208:18
openstackgerritzhongshengping proposed openstack/puppet-keystone stable/pike: Configure memcache_secret_key as secret  https://review.openstack.org/55416308:18
*** skramaja_ has joined #puppet-openstack08:25
*** skramaja has quit IRC08:25
*** jaganathan has quit IRC08:25
*** jaganathan has joined #puppet-openstack08:26
*** skramaja_ has quit IRC08:29
*** skramaja_ has joined #puppet-openstack08:29
*** skramaja has joined #puppet-openstack08:38
*** jaganathan_ has joined #puppet-openstack08:38
*** skramaja_ has quit IRC08:38
*** jaganathan has quit IRC08:38
*** jaosorior has joined #puppet-openstack08:40
*** skramaja has quit IRC08:42
*** skramaja_ has joined #puppet-openstack08:42
*** jaganathan_ has quit IRC08:42
*** gfidente has joined #puppet-openstack08:43
*** gfidente has quit IRC08:43
*** gfidente has joined #puppet-openstack08:43
*** amoralej|off is now known as amoralej08:45
*** jaganathan_ has joined #puppet-openstack08:54
*** chem` has joined #puppet-openstack08:57
openstackgerritThomas Goirand proposed openstack/puppet-keystone master: Make it so that service_name can handle Debian  https://review.openstack.org/55417108:58
*** jpena|off is now known as jpena08:59
*** shardy has joined #puppet-openstack08:59
*** chem` is now known as chem09:00
*** jtomasek has joined #puppet-openstack09:02
*** rpittau has joined #puppet-openstack09:07
*** rpittau has quit IRC09:08
*** rpittau has joined #puppet-openstack09:10
openstackgerritMerged openstack/puppet-heat stable/queens: Add oslo::cache to dependency chain  https://review.openstack.org/55409909:10
*** rmart04 has joined #puppet-openstack09:20
*** chkumar|off is now known as chandankumare09:21
*** chandankumare is now known as chandankumar09:21
*** danpawlik has joined #puppet-openstack09:29
openstackgerritzhongshengping proposed openstack/puppet-openstack-integration master: Grep command error  https://review.openstack.org/55418409:48
*** salmankhan has joined #puppet-openstack10:19
*** dtantsur|afk is now known as dtantsur10:19
*** salmankhan has quit IRC10:23
*** salmankhan has joined #puppet-openstack10:23
*** skramaja_ has quit IRC10:32
*** colonwq has quit IRC11:41
*** colonwq has joined #puppet-openstack11:44
*** salmankhan has quit IRC11:52
*** beagles_biab is now known as beagesl12:00
*** beagesl is now known as beagles12:00
*** salmankhan has joined #puppet-openstack12:07
*** trown|outtypewww is now known as trown|ruck12:12
*** atoth has joined #puppet-openstack12:18
*** gyankum has joined #puppet-openstack12:23
*** jpena is now known as jpena|lunch12:56
*** morazi has joined #puppet-openstack12:57
*** dprince has joined #puppet-openstack12:57
*** danpawlik has quit IRC12:57
*** morazi_ has joined #puppet-openstack12:59
*** morazi has quit IRC13:01
*** amoralej is now known as amoralej|lunch13:08
*** pradk has joined #puppet-openstack13:20
*** shardy is now known as shardy_mtg13:28
*** chem has quit IRC13:41
*** chem has joined #puppet-openstack13:44
*** dtantsur is now known as dtantsur|brb13:56
*** amoralej|lunch is now known as amoralej13:56
*** beekneemech is now known as bnemec14:02
*** jpena|lunch is now known as jpena14:06
*** gyankum has quit IRC14:36
*** agurenko has quit IRC14:38
*** hjensas has quit IRC14:58
*** atoth has quit IRC15:04
*** atoth has joined #puppet-openstack15:05
*** ykarel has quit IRC15:09
*** dtantsur|brb is now known as dtantsur15:10
*** gbarbutti has joined #puppet-openstack15:33
gbarbuttiGood afternoon, I will add support for sahara-dashboard because my environment needs it. But I don't know if this goes in puppet-horizon or puppet-sahara. Can anybody help me with that?15:37
openstackgerritMerged openstack/puppet-magnum master: remove duplicate word 'the' to fix typo  https://review.openstack.org/54770815:37
mnaserEmilienM, mwhahaha, gbarbutti: we don't have an established pattern for this, where do you feel might be the nicest place for that?15:40
mwhahahawe did15:40
mwhahahamurano had a dashboard15:40
* mwhahaha is unsure of the integration points for sahara-dashboard15:41
mwhahahawhat does the install for that look like?15:41
*** ykarel has joined #puppet-openstack15:42
*** vnogin has joined #puppet-openstack15:53
*** markvoelker_ has joined #puppet-openstack15:56
*** morazi_ has quit IRC15:56
*** markvoelker has quit IRC15:56
gbarbuttimnaser: I feel puppet-sahara would be better because it is part of sahara15:56
mnasermwhahaha: i think sahara dashboard is just like the murano one15:57
mnaseroh yeah15:57
mnaseroh man it looks filthy because it does so many things on its own15:57
mwhahahaso depending on how it gets installed, it could just be done like sahara::dashboard or whatever15:57
mnaserhttps://github.com/openstack/puppet-murano/blob/master/manifests/dashboard.pp15:57
mnasergbarbutti: ^ how does that look as a reference?15:58
mwhahahahorizon integrations aren't pretty15:58
mnaserbut i think the problem with that is it will not be idempotent15:58
mnaserat least the way its done there15:58
*** gyankum has joined #puppet-openstack15:59
*** markvoelker has joined #puppet-openstack15:59
*** morazi has joined #puppet-openstack16:00
*** gyankum has quit IRC16:00
*** markvoelker_ has quit IRC16:01
gbarbuttimnaser: I think this is a good reference to start, especially since this is my first contribution16:04
gbarbuttimwhahaha: Thank you for mentioning Murano, the projects I used were in the core of Horizon. So their integration were pretty16:07
*** hjensas has joined #puppet-openstack16:09
mwhahahayea i mean the external integrations16:09
*** hjensas has quit IRC16:09
*** hjensas has joined #puppet-openstack16:09
mwhahahathe issue stems around the horizon config file itself16:09
mwhahahait's not very extensible16:09
mwhahahasince its just a python file and doesn't use something like oslo config all the traditional plugin integrations that the other openstack services can't be mirrored.16:10
gbarbuttimwhahaha: This is the first external integration I'm doing and you are right, it is not very pretty16:15
mwhahahaideally the part that needs to end up in the horizon config file needs to go in puppet-horizon16:15
gbarbuttiThank you for the help16:15
mwhahahaand then the sahara stuff would go in puppet-sahara16:15
mwhahahabut short of that, try the puppet-murano stuff16:16
*** rmart04 has quit IRC16:19
*** vnogin has quit IRC16:23
*** vnogin has joined #puppet-openstack16:24
openstackgerritAlfredo Moralejo proposed openstack/puppet-openstack-integration master: Fix ipv6 and ipv4 certificates to make it compliant with IDNA  https://review.openstack.org/55343616:31
*** rwsu has joined #puppet-openstack16:38
*** morazi has quit IRC16:42
*** jpena is now known as jpena|brb16:43
*** trown|ruck is now known as trown|lunch16:44
*** shardy_mtg has quit IRC16:52
*** morazi has joined #puppet-openstack16:55
*** vnogin has quit IRC16:59
*** hjensas has quit IRC17:02
*** shardy_mtg has joined #puppet-openstack17:08
*** hjensas has joined #puppet-openstack17:19
*** hjensas has quit IRC17:19
*** hjensas has joined #puppet-openstack17:19
*** shardy_mtg has quit IRC17:26
*** salmankhan has quit IRC17:27
*** salmankhan has joined #puppet-openstack17:29
*** hjensas has quit IRC17:31
*** vnogin has joined #puppet-openstack17:33
*** jpena|brb is now known as jpena17:37
*** ykarel has quit IRC17:37
*** vnogin has quit IRC17:38
openstackgerritMerged openstack/puppet-gnocchi master: fix mysql connection  https://review.openstack.org/54967717:41
*** hjensas has joined #puppet-openstack17:45
*** hjensas has quit IRC17:45
*** hjensas has joined #puppet-openstack17:45
*** tesseract has quit IRC18:07
*** dtantsur is now known as dtantsur|afk18:09
*** trown|lunch is now known as trown18:25
*** trown is now known as trown|compassing18:25
openstackgerritMerged openstack/puppet-neutron stable/queens: Configure metadata agent 'metadata_proxy_shared_secret' as secret  https://review.openstack.org/55409718:34
openstackgerritMerged openstack/puppet-openstack-integration master: Include ironic ipmi class  https://review.openstack.org/55311418:44
openstackgerritMerged openstack/puppet-openstack-integration master: Grep command error  https://review.openstack.org/55418418:44
*** openstackgerrit has quit IRC18:48
*** gfidente has quit IRC19:09
*** ykarel has joined #puppet-openstack19:13
*** jpena is now known as jpena|off19:15
*** atoth has quit IRC19:29
*** dprince has quit IRC19:33
*** morazi has quit IRC19:33
zigomwhahaha: EmilienM: Hi there! Hey, what's the way to bootstrap keystone's catalogue with puppet-openstack? I haven't found out, and it looks like the only bootstraping it does is "keystone-manage --bootstrap-password" ...20:10
zigoIn my package, when using debconf, I'm doing a way more than just this ...20:10
*** salmankhan has quit IRC20:11
*** trown|compassing is now known as trown|ruck20:43
*** colonwq has quit IRC20:54
*** amoralej is now known as amoralej|off20:55
*** zerick has quit IRC20:56
*** zerick has joined #puppet-openstack20:56
zigomwhahaha: It's really a shame that the switch to oslo.config wasn't merged for Horizon ...20:58
zigoAll the patches were there.20:58
mwhahahazigo: hey20:58
zigomwhahaha: !!!20:59
zigo:)20:59
mwhahahazigo: so what do you mean keystone catalog bootstrap?20:59
mwhahahalike populating all the service entries?20:59
mwhahahathose get created by the service installs20:59
zigomwhahaha: I mean, I'm setting-up keystone with puppet, all works, but the service entries are empty.20:59
zigomwhahaha: How do I do that then?20:59
mwhahahasec20:59
zigomwhahaha: Should I lookup in service.pp ?21:00
*** jtomasek has quit IRC21:00
mwhahahano21:00
mwhahahait's all in each modules *::keystone::auth21:00
mwhahahaie nova::keystone::auth21:00
mwhahahahttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/nova.pp#L86-L9721:00
*** trown|ruck is now known as trown|outtypewww21:01
zigocurrently, I wrote this in hiera: http://paste.openstack.org/show/705135/21:01
mwhahahayea so p-o-i for the basics to configure the various services, https://github.com/openstack/puppet-openstack-integration/tree/master/manifests21:03
zigomwhahaha: Yeah, I saw that, but it wasn't helpful ... :(21:04
zigomwhahaha: I still don't get what I should enter in my hiera.yaml to get keystone to register its service.21:04
zigo:(21:04
mwhahahalet me see21:05
zigomwhahaha: Oh, btw, did you see this? https://review.openstack.org/#/c/554171/21:05
mwhahahazigo: https://github.com/openstack/puppet-openstack-integration/blob/master/manifests/keystone.pp#L122-L12721:05
mwhahahakeystone::endpoint21:05
zigoI'm not sure if I wrote it the right way though...21:05
mwhahahayea i saw that hadn't had time to try it out, would be a good idea to add test coverage for that21:05
zigoOh...21:06
zigomwhahaha: So, basically, I just add this to my hiera.yaml, and I'm good to go?21:07
zigokeystone::endpoint::public_url: 'http://stigo.infomaniak.ch:5000'21:07
zigokeystone::endpoint::admin_url: 'http://stigo.infomaniak.ch:35357'21:07
mwhahahayea should be enough if you've got include ::keystone::endpoint in your catalog21:07
zigomwhahaha: Nop, doesn't work ... :(21:09
zigomwhahaha: Or do I have to restart the setup from scratch?21:09
mwhahahazigo: no you should just be able to reapply the catalog21:10
zigo(it's a virtualbox machine on my laptop, so I can roll-back a snapshot)21:10
zigoI've just ran: puppet apply --debug --hiera_config=hiera.yaml site.pp21:10
zigoand nothing happened... :(21:10
zigo(yeah, I'm just using hiera locally, nothing more...)21:10
zigo(just for my tests until I write something more serious)21:10
mwhahahawhat's in the site.pp21:11
zigohiera_include('classes')21:11
zigoNohting more.21:11
mwhahahanothing happened cause it's probably idempotent so there's no changes21:11
mwhahahai've seen that interface but not used it21:11
zigohiera.yaml has:21:11
zigo:yaml:21:11
zigo  :datadir: "data"21:11
zigothen in my data/nodes dir, I have a file with the hostname.yaml containing:21:12
zigoclasses:21:12
zigo  - ntp21:12
zigo  - mysql::server21:12
zigo  - keystone21:12
zigo  - ::keystone::endpoint21:12
zigoSo the class is there...21:12
mwhahahaah you may need to drop the leading :: on the keystone::endpoint21:12
zigoRight.21:12
* mwhahaha doesn't know the specifics aroudn that21:12
zigoOh, it looks like that made it ! :)21:13
zigoDebug: Executing: '/usr/bin/openstack service list --quiet --format csv --long'21:13
zigoDebug: Puppet::Type::Keystone_service::ProviderOpenstack: Non-fatal error: 'Execution of '/usr/bin/openstack service list --quiet --format csv --long' returned 1: The service catalog is empty.'. Retrying for 168 more seconds21:13
zigoIt wont work.21:13
zigoYou can't list the catalog unless it has at least keystone in it.21:14
zigomwhahaha: And that's why I was asking: how come puppet-openstack doesn't do that using keystone-manage boostrap? How does this work then?21:14
mwhahahabut it does21:14
mwhahahaso you may not have properly run it21:14
mwhahahahttps://github.com/openstack/puppet-keystone/blob/master/manifests/init.pp#L47621:15
zigoIt does *what*? The bootstrap as I wrote earlier?21:15
mwhahahahttps://github.com/openstack/puppet-keystone/blob/master/manifests/init.pp#L127321:15
zigomwhahaha: Yeah, but look at the code, it only bootstrap the admin's password.21:15
mwhahahakeystone-manage bootstrap --bootstrap-password $whatever21:15
mwhahahaso it might not have worked because you didnt' do the endpoint in the first keystone run21:16
zigomwhahaha: Yeah, but you're supposed to also bootstrap the first keystone entries for itself in the catalog...21:16
mwhahahaso i have a feeling that's the problem21:16
zigoHum...21:16
mwhahahaso on the second run it switches to use teh API21:16
mwhahahaso you have to configure keystone and the endpoints in a single puppet run21:16
zigomwhahaha: Look what I normally do: https://salsa.debian.org/openstack-team/services/keystone/blob/debian/queens/debian/keystone.postinst.in#L7721:17
zigoA long list of --bootstrap-FOO params ...21:18
zigoThat's what I was expecting.21:18
mwhahahayea we dont' do that because we're using an interface that predated that21:18
zigo:)21:18
zigomwhahaha: Ok, I'll reinstall the virtual machine from scratch and re-run the puppet script, see if it works better. Thanks for your help, I already have some progress anyway (ie: at least, it's TRYING to register the endpoint now...).21:19
zigomwhahaha: I suppose that if I was to propose a patch for doing like in my package, that'd be accepted, right?21:20
zigo(ie: using bootstrap for most things)21:20
mwhahahaehhh maybe21:20
mwhahahait's not idempotent21:20
mwhahahawhich is why we dont' use it21:20
mwhahahafor example the endpoint part https://github.com/openstack/puppet-keystone/blob/master/manifests/endpoint.pp#L10921:20
mwhahahasee it's done before we get an openrc so it uses the bootstrap bits under teh covers21:21
mwhahahaso you just need to make sure you have the keystone stuff correctly done in the first apply of the catalog21:21
zigoOne way to make it idempotent is to do the bootstrap, then make sure there's no duplicates ...21:22
mwhahahano that wouldn't be idempotent21:22
zigoWhy?21:23
mwhahahawe're already handling that part in the openstack provider21:24
zigook21:24
zigoAs long as I have something that works, I'm happy anyway.21:24
zigoExpect more Debian fixes soon ! :)21:24
mwhahahaso running the same command twice and checking for duplicates isn't the correct way to ensure the config is in the correct spot21:24
zigoWe are to deploy on maybe 100 physical machines before this summer.21:25
mwhahahaso i think you're just hanging on the initial bootstrap config which to be honest is pretty aweful in puppet21:25
mwhahahanice21:25
zigoIt's pretty bad everywhere. IMO, that's an issue in Keystone. It should have a way to hardcode itself, somehow.21:25
mwhahahahttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/keystone.pp21:25
mwhahahathat's pretty much all the bits you need for keystone21:25
zigomwhahaha: I still have issues translating .pp files into hiera, but I'll get to know ... :P21:26
zigomwhahaha: FYI, a week ago, I didn't know puppet.21:26
mwhahahayea it's not too hard21:27
mwhahahathe resource conversion is probably harder21:27
mwhahahabut any class { ... } things are just ::class::name::<parameter>: <value> in hiera21:27
zigomwhahaha: Oh, one thing, what's the {{ thing-like-this }} in ansible to replace xenial or stretch ?21:29
mwhahahayea that's jinja2 templating21:30
mwhahahaso yea it's a variable replacement21:30
zigomwhahaha: I need to fix "xenial" here: https://github.com/openstack/puppet-openstack-integration/blob/master/playbooks/prepare-node-common.yaml#L51-L5121:31
zigoIt need to be the result of lsb_release -s -c21:31
zigomwhahaha: So again, what's the name of the variable ? :)21:31
zigo{{ os-SOMETHING }} ?21:31
mwhahahaoh i don't think we have one21:31
zigoIsn't this standard in Ansible ?21:32
mwhahahathat is21:32
mwhahahai'm not sure the ansible fact for os family name21:32
zigoI'll figure it out. :)21:35
mwhahahazigo: looks like ansible_distribution_release21:35
mwhahahahttps://raymii.org/s/tutorials/Ansible_-_Only_if_on_specific_distribution_or_distribution_version.html21:35
zigoYeah, thanks so much ! :)21:36
* zigo writes the patch then.21:36
*** openstackgerrit has joined #puppet-openstack21:39
openstackgerritThomas Goirand proposed openstack/puppet-openstack-integration master: Another Debian patch  https://review.openstack.org/55436321:39
zigoThere you go !21:40
zigo:)21:40
zigoEventually, the integration script will also run on Stretch... :P21:40
zigoIt'd be nice if we had a Stretch VM in the infra, so it could also gate on it.21:40
zigoJust a single full test would be enough, IMO.21:41
openstackgerritMerged openstack/puppet-nova master: Add the option to only aggregate hosts that are known by openstack to be active  https://review.openstack.org/55051321:41
mwhahahaif we had a debian setup we could run the same things21:41
*** ykarel has quit IRC21:43
zigomwhahaha: Even if I purge the keystone package and db, I get the same issue: Non-fatal error: 'Execution of '/usr/bin/openstack service list --quiet --format csv --long' returned 1: The service catalog is empty.'.21:47
zigoIt wont work ...21:47
mwhahahazigo: rm /root/openrc21:47
zigomwhahaha: I don't even have such a file.21:47
mwhahahahmmm21:47
zigoThe thing is, I don't see how it can even work the way it is right now.21:48
mwhahahahmm21:48
mwhahahalet me see21:48
zigoI think it's using default_catalog.templates21:53
mwhahahai don't think so21:53
zigoI don't see how it could be done in another way.21:54
mwhahahaoh did you load any env vars?21:54
mwhahahaie do you have any of the OS_* vars defined21:54
zigoNo.21:54
zigoI mean, yes.21:54
zigoIn my /root/.bashrc21:54
zigoI shouldn't ?21:54
zigoGosh...21:54
* zigo tries again without it.21:54
mwhahahaexport | grep OS_*21:54
mwhahahayea if you did that'll cause it to try to use the api21:55
zigoGot ya.21:55
zigoOh, it looks like working ! :)21:56
zigoGREAT !21:56
zigo\o/21:57
mwhahahaso everything else should be ok to add afterwards21:57
mwhahahai think this is one of those things that needs to be correctly upfront21:57
zigoYes, working indeed.21:57
mwhahahathat being said you'll also probably want to grab the code to generate the openrc21:57
mwhahahacause that gets used by other providers21:58
mwhahahaor can be21:58
zigomwhahaha: Other providers will read /root/openrc ?21:58
mwhahahait falls back to that yea21:58
zigoOk, good to know.21:58
mwhahahait looks for the OS_* vars21:58
mwhahahabut will try and load them from /root/openrc if that exists21:58
zigomwhahaha: Frankly, all this would deserve a bit of documentation ! :)21:58
mwhahahahttps://github.com/openstack/puppet-openstack_extras/blob/master/manifests/auth_file.pp21:58
zigoNow that I got my first OpenStack service provisionned by puppet, I guess all the rest will just be a way more easy.21:59
zigomwhahaha: Oh, I need that module too for the generic endpoint creation then?22:00
mwhahahayou could try it without first22:00
mwhahahabut if you run into errors, yea22:00
zigoOk.22:00
zigoReally, thanks a lot for all of this help, you made me save hours of research in the code.22:01
mwhahahanp22:01
*** colonwq has joined #puppet-openstack22:07
*** pradk has quit IRC22:11
zigomwhahaha: "name": "puppet/corosync" <--- Where's the git for that one? There's many module, it's confusing ...22:12
* gbarbutti eating22:13
mwhahahazigo: https://github.com/openstack/puppet-openstack-integration/blob/master/Puppetfile#L23722:13
zigomwhahaha: The metadata.json for openstack_extras says: "version_requirement": ">=0.1.0 <2.0.2"22:14
zigothat's what confused me.22:14
mwhahahait's probably out of date22:14
*** guimaluf has joined #puppet-openstack22:14
zigomwhahaha: Is that thing completely ignored somehow? :)22:14
mwhahahazigo: we don't use the metadata.json much22:14
mwhahahait's required for https://github.com/openstack/puppet-openstack_extras/blob/master/manifests/pacemaker/service.pp but i don't know if that's even used anywhere22:15
mwhahahaold crufty code22:15
zigoRight.22:16
zigoI'll ignore it right now, and maybe will go back to it later.22:16
mwhahahayea22:17
*** rcernin has joined #puppet-openstack22:34
openstackgerritMerged openstack/puppet-heat master: Update mysql connection in doc  https://review.openstack.org/55201123:38

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!