Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2014-03-11

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:18 hogepodge There's a backlog of changes that updates our MySQL dependency. Can someone in core take a look at them?
00:18 hogepodge I'd like the same pattern to be applied to RabbitMQ at some point too.
00:20 michchap hogepodge: they need to be rebased
00:21 michchap I'll do it today
00:21 hogepodge ah. thanks
00:25 openstackgerrit A change was merged to stackforge/puppet-nova: Add options to use remove_unused_* parameters  https://review.openstack.org/77881
00:26 kitp joined #puppet-openstack
00:32 ianw joined #puppet-openstack
00:43 rmoe joined #puppet-openstack
00:47 meylor joined #puppet-openstack
00:53 mgagne damn
00:54 mgagne hogepodge: we should add the ability to configure arbitrary nova configs.
00:54 mgagne hogepodge: This change shouldn't have made it: https://review.openstack.org/#/c/77881
00:54 hogepodge Can't we do that through the provider?
00:54 mgagne hogepodge: like nova_config?
00:55 hogepodge yeah. You just can't do it through hiera.
00:55 hogepodge Why shouldn't it have landed?
00:55 mgagne hogepodge: why not add the 4688 other nova configs while we are there?
00:55 hogepodge I'll own that mistake.
00:56 mgagne hogepodge: it's ok
00:56 hogepodge This is a problem with openstack in general.
00:56 mgagne hogepodge: we should address it now
00:56 mgagne hogepodge: people all want to be able to add their special configs for their special use cases
00:56 hogepodge Yup.
00:56 mgagne hogepodge: and we end up with 8694 parameters
00:56 mgagne hogepodge: and this mess of if else ensure absent
00:57 hogepodge So the if else ensure absent could be handled through refactoring common code. Admittedly it would be a huge refactoring job.
00:57 mgagne hogepodge: unless a config is really playing an important role in the openstack setup/install, I suggest we don't add it otherwise we won't see the end
00:58 hogepodge Ok, but we need a way to set values through hiera, and that's either a config class that catches everything else, or special functions that read a hash and write out the values.
00:59 hogepodge Writing a good deployment tool that captures the complexity of the space is difficult.
01:00 thumpba_ joined #puppet-openstack
01:00 hogepodge And just in general, there's a lot of community communication that needs to happen.
01:00 hogepodge It feels like we've lost a lot of core, when you consider bode and the rh people have completely different concerns now.
01:01 hogepodge I've been procrastinating on a larger e-mail about how to go forward, but it needs to be written.
01:05 michchap mgagne: we can have a class we pass a hash of configs to
01:05 mgagne michchap: working on it ATM
01:05 michchap mgagne: it's on my todo list
01:06 michchap mgagne: oh nice :)
01:06 mgagne michchap: it's in my editor
01:06 mgagne hogepodge: I was hoping to get more time this week but yha... business as usual, they ended up giving us 5x more work
01:09 mgagne michchap: I rediscovered the work of bodepd last week: https://github.com/bodepd/scenario_node_terminus
01:09 mgagne michchap: what I like is how you can map a common value to multiple parameters
01:09 michchap mgagne: I am rewriting the puppet_openstack_builder to not use the node_terminus
01:09 mgagne michchap: I have the same challenge here
01:09 michchap mgagne: I am talking to someone else about that right now! it's probided by data_mapper
01:09 michchap mgagne: hiera interpolation can only do strings
01:10 mgagne michchap: yep
01:10 michchap mgagne: so making a pure puppet/hiera version I can't map a list of IPs for the control cluster to many classes
01:10 mgagne michchap: I kind of ended up writing the same thing but in puppet in my composition layer
01:10 michchap mgagne: got a link to that? I might take a peek
01:11 mgagne michchap: still a WIP of course
01:11 mgagne michchap: it's not even a POC ^^'
01:11 michchap mgagne: https://gist.github.com/michaeltchapman/9477263
01:12 michchap I have a script to convert from current puppet_openstack_builder to a pure puppet/hiera structure. I can deploy the build role, but the control role breaks because the bottom file in that gist doesn't work - you can't interpolate an array, it becomes a string
01:12 openstackgerrit A change was merged to stackforge/puppet-tempest: System need libffi-dev  https://review.openstack.org/77195
01:13 mgagne michchap: :-/
01:13 mgagne michchap: I use yaml anchor for that
01:14 mgagne michchap: dmsimard wrote about it: http://dmsimard.com/2014/02/15/quick-hiera-tips/
01:14 michchap mgagne: does it work across files?
01:14 mgagne michchap: looks like so
01:14 mgagne michchap: didn't do extensive tests
01:15 michchap mgagne: thank you! I'll try this out.
01:15 michchap I guess I don't need interpolation most of the time if this works ^^
01:15 mgagne michchap: hehe
01:17 mgagne michchap: otherwise, my POC consists of openstack::common::config with a bunch of variables (not parameters) populated with hiera lookup. Some variables are required and therefore have no default in hiera lookup, others have reasonable defaults.
01:18 mgagne michchap: I also have openstack::nova::config with same variables (and a bit more). Same thing, hiera lookup with default to the ones in openstack::common::config (or none if the context requires it)
01:20 kkirkpatrick joined #puppet-openstack
01:21 michchap mgagne: so the classes themselves have a hiera dependency?
01:21 mgagne michchap: incoming examples
01:21 michchap mgagne: about to grab lunch, but will take a look in the afternoon.
01:25 mgagne michchap: still there?
01:25 michchap mgagne: yep
01:25 mgagne michchap: https://gist.github.com/mgagne/29b121cd3522ac206417
01:26 mgagne michchap: I don't have a functional POC yet, still banging my head to make it testable
01:27 mgagne michchap: I might end up coding a custom hiera lookup function to avoid having to pass the damn $prefix_
01:27 mgagne michchap: what's funny is how Chef is doing something similar with attributes: https://github.com/stackforge/cookbook-openstack-compute/blob/master/attributes/default.rb
01:28 michchap mgagne: more and more I am finding I want to steal things from the openstack chef recipes
01:28 michchap mgagne: thanks for sharing. I will think more about your approach over lunch :)
01:28 mgagne michchap: oh btw
01:28 mgagne michchap: I ended up coding a database_connection function
01:29 mgagne michchap: https://gist.github.com/mgagne/9477859
01:29 mgagne michchap: and it generates a valid database uri
01:29 michchap mgagne: :)
01:33 Aimon joined #puppet-openstack
01:47 openstackgerrit Mathieu Gagné proposed a change to stackforge/puppet-nova: Add ability to define nova_config with nova_configs  https://review.openstack.org/79506
01:47 mgagne now time to go home
02:28 mgagne joined #puppet-openstack
02:29 kitp joined #puppet-openstack
02:36 xarses joined #puppet-openstack
02:45 kitp joined #puppet-openstack
02:52 mgagne joined #puppet-openstack
02:57 kkirkpatrick joined #puppet-openstack
03:06 otherwiseguy joined #puppet-openstack
03:16 daneyon joined #puppet-openstack
03:25 daneyon joined #puppet-openstack
03:26 ryanycoleman joined #puppet-openstack
03:28 thumpba_ joined #puppet-openstack
03:52 comptona joined #puppet-openstack
04:08 fandi joined #puppet-openstack
04:43 daneyon joined #puppet-openstack
05:12 kitp joined #puppet-openstack
05:31 ryanycoleman joined #puppet-openstack
05:43 kitp joined #puppet-openstack
05:46 thumpba_ joined #puppet-openstack
06:28 PEPPERONIE joined #puppet-openstack
06:43 kitp joined #puppet-openstack
06:44 thumpba_ joined #puppet-openstack
07:01 fandi joined #puppet-openstack
07:17 mkoderer joined #puppet-openstack
07:43 xavpaice joined #puppet-openstack
07:44 kitp joined #puppet-openstack
08:03 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: remove rspec-system dependencies from Gemfile  https://review.openstack.org/79557
08:07 bauzas joined #puppet-openstack
08:13 EmilienM good morning
08:25 mmagr joined #puppet-openstack
08:45 kitp joined #puppet-openstack
08:51 spredzy joined #puppet-openstack
09:01 derekh joined #puppet-openstack
09:26 fc__ joined #puppet-openstack
09:46 kitp joined #puppet-openstack
10:01 fvollero EmilienM: o/ bonjour mon ami!
10:01 EmilienM fvollero: \o
10:05 saju_m joined #puppet-openstack
10:17 dgollub joined #puppet-openstack
10:30 saju_m joined #puppet-openstack
10:46 kitp joined #puppet-openstack
10:51 comptona joined #puppet-openstack
11:00 ryanycoleman joined #puppet-openstack
11:30 morazi joined #puppet-openstack
11:47 kitp joined #puppet-openstack
12:48 kitp joined #puppet-openstack
12:54 piliman974 joined #puppet-openstack
13:01 ryanycoleman joined #puppet-openstack
13:05 dprince joined #puppet-openstack
13:16 mmagr joined #puppet-openstack
13:42 bogdando joined #puppet-openstack
13:49 kitp joined #puppet-openstack
14:02 ryanycoleman joined #puppet-openstack
14:07 kitp joined #puppet-openstack
14:10 dmsimard joined #puppet-openstack
14:16 britthouser joined #puppet-openstack
14:21 kkirkpatrick joined #puppet-openstack
14:21 otherwiseguy joined #puppet-openstack
14:36 ryanycoleman joined #puppet-openstack
14:40 dachary xarses: are you around by any chance ? I would very much appreciate a review of https://review.openstack.org/#/c/79557/ because it is blocking all other reviews.
14:42 mgagne joined #puppet-openstack
14:49 dgollub joined #puppet-openstack
14:49 ryanycoleman joined #puppet-openstack
14:51 openstackgerrit A change was merged to stackforge/puppet-ceph: remove rspec-system dependencies from Gemfile  https://review.openstack.org/79557
15:11 mgagne joined #puppet-openstack
15:29 daneyon joined #puppet-openstack
15:38 dachary xarses: thanks !
15:40 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: fix bugous variable substitutions in mon integration tests  https://review.openstack.org/79057
15:42 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: purge packages between integration tests  https://review.openstack.org/79059
15:43 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: ceph::conf class wrapper for ceph_config  https://review.openstack.org/64331
15:47 otherwiseguy joined #puppet-openstack
15:49 dtalton joined #puppet-openstack
15:50 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: purge packages between integration tests  https://review.openstack.org/79059
15:52 dmsimard dachary: whitespace on that one again
15:53 ryanycoleman joined #puppet-openstack
16:09 bogdando joined #puppet-openstack
16:17 fandi joined #puppet-openstack
16:27 xarses joined #puppet-openstack
16:37 openstackgerrit Donald Talton proposed a change to stackforge/puppet-nova: Removed references to ML2 plugin.  https://review.openstack.org/79670
16:40 rmoe joined #puppet-openstack
16:41 Aimon joined #puppet-openstack
16:41 openstackgerrit A change was merged to stackforge/puppet-ceph: ceph::conf class wrapper for ceph_config  https://review.openstack.org/64331
16:47 openstackgerrit A change was merged to stackforge/puppet-ceph: fix bugous variable substitutions in mon integration tests  https://review.openstack.org/79057
16:57 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: purge packages between integration tests  https://review.openstack.org/79059
16:57 openstackgerrit Loic Dachary proposed a change to stackforge/puppet-ceph: ensure => absent must remove the mon data dir  https://review.openstack.org/79062
17:04 dmsimard dachary: can you answer my comment on https://review.openstack.org/#/c/79062/ ?
17:06 ryanycoleman joined #puppet-openstack
17:20 sputnik1_ joined #puppet-openstack
17:30 JonnyNomad joined #puppet-openstack
17:31 marun joined #puppet-openstack
17:31 otherwiseguy joined #puppet-openstack
17:32 Aimon_ joined #puppet-openstack
17:33 angdraug joined #puppet-openstack
17:38 rupsky joined #puppet-openstack
17:41 rupsky joined #puppet-openstack
17:53 rupsky joined #puppet-openstack
18:03 ryanycoleman joined #puppet-openstack
18:04 markvoelker joined #puppet-openstack
18:11 openstackgerrit A change was merged to stackforge/puppet-ceph: ensure => absent must remove the mon data dir  https://review.openstack.org/79062
18:14 bauzas joined #puppet-openstack
18:33 ryanycoleman joined #puppet-openstack
18:33 dachary dmsimard: done
18:33 dachary sorry I did not see your question before because of the trailing _ freenode adds to my name
18:33 dachary dmsimard: I have to confess my ignorance, what do you mean by "$::osfamily (implied by describe) != $::operatingsystem" in https://review.openstack.org/#/c/74645/12/spec/defines/ceph_osd_spec.rb ?
18:35 dachary you are correct, the WIP https://review.openstack.org/#/c/79062/ needs rebase against the current master
18:37 dmsimard dachary: here: http://paste.openstack.org/show/73173/
18:37 dmsimard dachary: first one is the one that's in the spec
18:38 dmsimard osfamily and operatingsystem are two different facts
18:38 sputnik1_ joined #puppet-openstack
18:39 dmsimard by using "describe 'Debian family'" I'd expect a fact that provides osfamily => Debian, not operatingsystem => Ubuntu
18:49 mkoderer joined #puppet-openstack
19:01 ryanycoleman joined #puppet-openstack
19:03 mwoodson is there a mechanism in the keystone module to sync up the pki ssl dir?
19:03 mwoodson i have multiple controllers
19:03 mwoodson this is in grizzly, when i laid down the keystone module, it created the ssl keys on each node
19:03 mwoodson but they were different
19:04 mwoodson and it caused a bunch of headaches
19:06 meylor joined #puppet-openstack
19:31 sputnik1_ joined #puppet-openstack
19:36 bauzas joined #puppet-openstack
19:43 maxleschenko joined #puppet-openstack
19:55 ryanycoleman joined #puppet-openstack
19:59 openstackgerrit Mathieu Gagné proposed a change to stackforge/puppet-ceilometer: Fix region name configuration  https://review.openstack.org/79748
20:00 mgagne mwoodson: better disable pki_setup and manage your signing cert from your composition layer
20:00 mwoodson mgagne: k
20:00 mgagne mwoodson: or propose something upstream (puppet-keystone) to that effect
20:01 mgagne mwoodson: that's what I did: disable pki_setup and inject signing cert through Hiera from my composition layer
20:01 mwoodson mgagne: k, that's makes ssense.
20:01 mwoodson i didn't see anything in the module
20:01 mwoodson mgagne: thanks for that
20:02 mgagne mwoodson: pki_setup won't override your signing cert if it's already configured though
20:02 mwoodson k.
20:14 xavpaice mwoodson mgagne we're working on something to sync the pki for keystone - had the same issue
20:15 xavpaice so far we had to put the key in hiera to make it go (eyaml)
20:15 mgagne xavpaice: =)
20:15 xavpaice when we've got something useful it'll be proposed upstream
20:30 rupsky joined #puppet-openstack
20:42 dmsimard hogepodge: did you say you had a magical order for swift circular dependencies ? I have to do proxy -> storage -> proxy -> storage
21:06 meylor joined #puppet-openstack
21:06 ryanycoleman joined #puppet-openstack
21:08 thumpba_ joined #puppet-openstack
21:11 paice joined #puppet-openstack
21:17 paice left #puppet-openstack
21:17 xavpaice_ joined #puppet-openstack
21:24 codec joined #puppet-openstack
21:26 daneyon joined #puppet-openstack
21:26 hogepodge dmsimard I do storage -> proxy -> storage
21:26 hogepodge Running PuppetDB to handle the exported resources.
21:28 derekh joined #puppet-openstack
21:28 EmilienM joined #puppet-openstack
21:28 beddari joined #puppet-openstack
21:29 goneri joined #puppet-openstack
21:30 JoeJulian joined #puppet-openstack
21:37 rmoe joined #puppet-openstack
21:38 mfisch joined #puppet-openstack
21:38 mfisch joined #puppet-openstack
21:38 spredzy joined #puppet-openstack
21:38 mkoderer joined #puppet-openstack
21:38 mgagne joined #puppet-openstack
21:38 dmsimard joined #puppet-openstack
21:38 britthouser joined #puppet-openstack
21:38 ianw joined #puppet-openstack
21:41 sileht joined #puppet-openstack
21:41 rupsky joined #puppet-openstack
21:41 JonnyNomad joined #puppet-openstack
21:41 bogdando joined #puppet-openstack
21:41 kkirkpatrick joined #puppet-openstack
21:41 sputnik13 joined #puppet-openstack
21:41 bcrochet joined #puppet-openstack
21:41 blentz joined #puppet-openstack
21:41 mattymo joined #puppet-openstack
21:41 odyi joined #puppet-openstack
21:44 markvoelker joined #puppet-openstack
21:46 rwsu joined #puppet-openstack
21:49 fandi joined #puppet-openstack
21:49 morazi joined #puppet-openstack
22:13 rupsky_ joined #puppet-openstack
22:32 ryanycoleman joined #puppet-openstack
22:40 PEPPERONIE joined #puppet-openstack
23:04 ryanycoleman joined #puppet-openstack
23:26 ryanycoleman joined #puppet-openstack
23:31 kkirkpatrick joined #puppet-openstack
23:34 kitp joined #puppet-openstack
23:41 mgagne joined #puppet-openstack

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary