Monday, 2015-06-01

*** ferest has quit IRC00:28
*** ferest has joined #puppet-openstack00:28
*** ferest has quit IRC00:33
*** fedexo has quit IRC00:45
*** fedexo has joined #puppet-openstack00:49
*** gildub has joined #puppet-openstack00:53
*** markvoelker has quit IRC01:18
*** ilbot3 has quit IRC01:44
*** ilbot3 has joined #puppet-openstack01:48
*** markvoelker has joined #puppet-openstack02:34
*** markvoelker has quit IRC02:39
*** fedexo has quit IRC03:10
*** fedexo has joined #puppet-openstack03:12
*** chem has quit IRC04:00
*** markvoelker has joined #puppet-openstack04:23
*** markvoelker has quit IRC04:28
*** sks has joined #puppet-openstack04:35
*** rushiagr_away is now known as rushiagr04:52
*** jtomasek has joined #puppet-openstack05:37
*** markvoelker has joined #puppet-openstack06:12
*** markvoelker has quit IRC06:16
*** fedexo has quit IRC06:35
*** rhefner has quit IRC06:43
*** tfz has quit IRC06:52
*** dgurtner has joined #puppet-openstack07:04
*** spredzy|afk is now known as spredzy07:07
*** panda has quit IRC07:21
*** panda has joined #puppet-openstack07:21
*** tfz has joined #puppet-openstack07:25
*** gfidente has joined #puppet-openstack07:26
*** gfidente has quit IRC07:26
*** gfidente has joined #puppet-openstack07:26
*** gildub has quit IRC07:27
*** _nick has quit IRC07:33
*** _nick has joined #puppet-openstack07:35
*** jistr has joined #puppet-openstack07:39
*** paramite has joined #puppet-openstack07:40
*** imcsk8_ is now known as imcsk8|zZz07:50
*** jpena has joined #puppet-openstack07:52
*** markvoelker has joined #puppet-openstack08:01
*** markvoelker has quit IRC08:06
*** kkirkpatrick has quit IRC08:08
*** paramite is now known as paramite|afk08:35
*** paramite|afk is now known as paramite08:41
*** cdent has joined #puppet-openstack08:56
*** jpena has quit IRC09:06
*** jpena has joined #puppet-openstack09:20
*** paramite is now known as paramite|afk09:32
*** markvoelker has joined #puppet-openstack09:49
*** markvoelker has quit IRC09:54
*** kkirkpatrick has joined #puppet-openstack10:07
*** jpena has quit IRC10:11
*** jpena has joined #puppet-openstack10:14
*** blentz has quit IRC10:15
*** blentz has joined #puppet-openstack10:15
*** openstack has quit IRC10:20
*** openstack has joined #puppet-openstack10:27
*** jpena has quit IRC10:34
*** danieru has joined #puppet-openstack10:42
*** paramite|afk is now known as paramite10:43
*** danieru_ has quit IRC10:43
*** bogdando has quit IRC10:43
*** mordred has quit IRC10:43
*** mordred has joined #puppet-openstack10:44
*** bogdando has joined #puppet-openstack10:45
*** jpena has joined #puppet-openstack10:49
*** sgolovatiuk has quit IRC10:58
*** rcallaw__ has joined #puppet-openstack11:15
*** rcallawa_ has quit IRC11:17
*** arnaud_orange has joined #puppet-openstack11:18
*** ducttape_ has joined #puppet-openstack11:21
*** panda has quit IRC11:21
*** panda has joined #puppet-openstack11:22
*** rhefner has joined #puppet-openstack11:28
*** ducttape_ has quit IRC11:29
*** markvoelker has joined #puppet-openstack11:35
*** markvoelker has quit IRC11:40
*** ducttape_ has joined #puppet-openstack11:46
*** ducttape_ has quit IRC11:48
*** rushiagr is now known as rushiagr_away11:57
*** rcallaw__ has quit IRC11:58
*** dprince has joined #puppet-openstack11:58
*** jpena is now known as jpena|lunch11:59
*** saju_m has joined #puppet-openstack12:04
*** paramite is now known as paramite|afk12:06
*** paramite|afk is now known as paramite12:11
*** jayg|g0n3 is now known as jayg12:13
*** morazi has quit IRC12:20
*** morazi has joined #puppet-openstack12:20
openstackgerritDan Prince proposed stackforge/puppet-tripleo: Use node IP lists for HA Proxy ipaddresses  https://review.openstack.org/18677512:22
openstackgerritDan Prince proposed stackforge/puppet-tripleo: Configure virtual IPs for split out networks  https://review.openstack.org/18624012:22
openstackgerritDan Prince proposed stackforge/puppet-tripleo: Add interface_for_ip function  https://review.openstack.org/18677612:22
*** markvoelker has joined #puppet-openstack12:34
*** sks has quit IRC12:38
*** paramite is now known as paramite|afk12:38
*** ferest has joined #puppet-openstack12:40
*** saju_m has quit IRC12:43
*** saju_m has joined #puppet-openstack12:43
*** paramite|afk is now known as paramite12:45
*** rcallawa_ has joined #puppet-openstack12:46
*** ferest has quit IRC12:46
*** ducttape_ has joined #puppet-openstack12:58
*** jpena|lunch is now known as jpena13:01
*** ducttape_ has quit IRC13:14
*** chem has joined #puppet-openstack13:46
*** jpena has quit IRC13:48
*** jpena has joined #puppet-openstack13:49
*** RichardRaseley has joined #puppet-openstack13:55
*** kkirkpatrick has quit IRC13:58
RichardRaseleymgagne: Have you had a chance to review my most recent comments on https://review.openstack.org/#/c/186109/6 ? I am hoping we can bring this issue to an amicable close, or at least outline what will be required to do so, today.14:03
*** paramite is now known as paramite|afk14:04
*** jpena has quit IRC14:05
*** sgolovatiuk has joined #puppet-openstack14:05
*** RichardRaseley has quit IRC14:05
*** paramite|afk is now known as paramite14:06
*** tshtilma has joined #puppet-openstack14:13
*** jpena has joined #puppet-openstack14:19
*** kkirkpatrick has joined #puppet-openstack14:24
*** vinay__ has joined #puppet-openstack14:37
*** imcsk8|zZz is now known as imcsk814:42
*** mdorman has joined #puppet-openstack14:46
*** tshtilma has quit IRC14:47
*** tfz has quit IRC14:56
*** dfisher has joined #puppet-openstack15:01
*** ducttape_ has joined #puppet-openstack15:01
*** stevemar has joined #puppet-openstack15:04
*** dprince has quit IRC15:13
*** saju_m has quit IRC15:15
*** vrao has quit IRC15:18
*** vrao has joined #puppet-openstack15:19
*** panda has quit IRC15:21
*** panda has joined #puppet-openstack15:22
*** arnaud_orange has quit IRC15:34
*** tfz has joined #puppet-openstack15:44
*** kkirkpatrick has quit IRC15:57
*** vrao has quit IRC15:57
*** vrao has joined #puppet-openstack15:58
*** RichardRaseley has joined #puppet-openstack15:58
*** kkirkpatrick has joined #puppet-openstack15:59
*** cwolferh has joined #puppet-openstack16:07
*** jistr has quit IRC16:11
*** rcallawa_ has quit IRC16:13
*** paramite has quit IRC16:17
*** rcallawa_ has joined #puppet-openstack16:23
*** richm has joined #puppet-openstack16:24
*** beddari_ has joined #puppet-openstack16:29
*** beddari_ has quit IRC16:32
*** beddari_ has joined #puppet-openstack16:34
*** dgurtner has quit IRC16:35
*** dprince has joined #puppet-openstack16:38
*** beddari has quit IRC16:39
*** beddari_ is now known as beddari16:39
*** gfidente has quit IRC16:48
*** gfidente has joined #puppet-openstack16:48
*** gfidente has quit IRC16:48
*** gfidente has joined #puppet-openstack16:48
*** kkirkpatrick has quit IRC16:50
*** kkirkpatrick has joined #puppet-openstack16:51
*** rcallawa_ has quit IRC16:56
*** jpena has quit IRC16:58
*** rcallawa_ has joined #puppet-openstack17:02
*** beddari1 has joined #puppet-openstack17:06
*** xarses has quit IRC17:25
*** aimon has joined #puppet-openstack17:25
*** _ody has quit IRC17:39
*** _ody has joined #puppet-openstack17:40
*** _ody has quit IRC17:42
*** _ody has joined #puppet-openstack17:42
*** _ody has quit IRC17:50
*** _ody has joined #puppet-openstack17:50
mgagneRichardRaseley: I replied to your comment in https://review.openstack.org/#/c/186109/17:50
RichardRaseleymgagne: Thank you, reviewing now.17:50
*** _ody has quit IRC17:54
*** _ody has joined #puppet-openstack17:54
RichardRaseleymgagne: Thank you for your response, I am very happy that we're able to move forward and look forward to working with you more in the future. I am in agreement with your suggestions and will make the appropriate modifications. Just to make sure that I understand fully, this means I would be abandoning the two changes I've proposed to puppet-nova and puppet-swift and 'resurrect' (if that's the term) the relevant patches w17:54
RichardRaseleyhich map to the query you provdied?17:54
mgagneRichardRaseley: My main concern is that original authorship and history are "lost in translation" when code are literally copied/paste in new change instead of restored.17:56
mgagneRichardRaseley: I propose 2 solutions with existing changes: add co-authored-by or abandon and integrate the work in the previously abandoned changes and add co-authored-by too.17:57
mgagneRichardRaseley: or any other reasonable proposition17:58
*** rcallawa_ has quit IRC17:58
mgagneRichardRaseley: as for the others changes, I understand that it might not be that easy to rebase them against master. I propose myself to restore them and rebase them against master.17:59
mgagneRichardRaseley: and anyone will be welcome to work on them.17:59
*** alex_bh has joined #puppet-openstack18:00
*** xarses has joined #puppet-openstack18:02
RichardRaseleyOK, I understand. I am in agreement. I will abandon my two changes and wait for you to 'resurrect' and rebase the currently abandoned ones (maybe start with nova and swift?). I will ensure appropriate usage of the co-authored-by tag(s) on those resurrected changes.18:06
*** kkirkpatrick has quit IRC18:07
*** rcallawa_ has joined #puppet-openstack18:08
*** kkirkpatrick has joined #puppet-openstack18:22
*** alex_bh has quit IRC18:29
*** aimon_ has joined #puppet-openstack18:58
*** aimon has quit IRC19:00
openstackgerritMathieu Gagné proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045819:03
mgagneRichardRaseley: here is the previous abandoned change rebased and adapted against master19:03
mgagneRichardRaseley: all previous unit tests are still passing and have been moved under "when providing deprecated endpoint parameters"19:04
RichardRaseleymgagne: Thank you, I see it.19:12
RichardRaseleymgagne: So, now it seems like we're at the stage of determining the correct implementation.19:13
RichardRaseleyor rather, the preferred implementation.19:14
mgagnesure19:14
mgagneRichardRaseley: I'm very concerned with backward compatibility which I think I managed to address in my implementation. I have yet to receive a compelling reason to not use inline_template other than "please don't use it" or "it's not operator friendly"19:15
mgagneRichardRaseley: the idea is to detect *ANY* uses of the deprecated parameters and warm the user to not use them anymore. that's why they are now all undef by default and previous default values are restored if any values are passed to deprecated parameters.19:17
*** cdent has quit IRC19:17
RichardRaseleymgagne: So am I to infer that you do view 'operator friendliness' and 'readability' as a compelling factor? I am just trying to better understand what goals you view as most important within this context.19:17
mgagneRichardRaseley: so if the user *only* overrides the public_protocol (and nothing else), we need to detect it and ask him to migrate to the new parameters.19:17
RichardRaseleyOK, I understand.19:18
mgagneRichardRaseley: I'm not the one that mentionned "operator friendliness" but this concern was raised19:18
mgagneRichardRaseley: I'm an "operator" but some say I'm more than that so I guess my opinion is a little biased19:19
RichardRaseleymgagne: Correct, but you said 'I have yet to receive a compelling reason not to use...', which implied to meet that the reasons you enumerated afterwards were considered 'compelling'. I just wanted to make sure I understood fully.19:19
RichardRaseleynot to use other than... *19:19
RichardRaseleyOK19:19
mgagneRichardRaseley: sorry, let me reword that: I have yet to received objective reasons to not use it.19:20
RichardRaseleyOK, I understand your position.19:20
mgagneall puppetlabs folks I talked to said "don't use it" but couldn't provide a technical reason19:21
*** panda has quit IRC19:21
mgagneit feels like inline_template was a function people didn't want to introduce (for some reason) but had to due to customer's pressure or something like that.19:22
*** panda has joined #puppet-openstack19:22
mgagneunless you tell me it spawns a whole ruby process just to compile a template19:22
RichardRaseleySo, if we are to merge our respective considerations, it sounds like the amount to (A) ensuring that *any* use of a deprecated parameters is handled appropriately (as you outlined above) and (B) ensuring that the solution is easily parseable and readable by operators.19:23
RichardRaseleymgagne: I do have concerns regarding performance of an in-line template, but haven't been able to substantiate them thus far.19:23
mgagneRichardRaseley: cool, it's the first time I hear about the performance tbh19:24
mgagneRichardRaseley: would it be any different than calling template() ?19:24
RichardRaseleymgagne: I do not know, TBH - but I am going to try to get the answer.19:25
RichardRaseleymgagne: The feedback I got from one of our Principal Engineers for Puppet was "the use of inline_template the way you pointed to is like declaring a local function and calling it - this can be done using the 'with' function and a lambda with future parser/4.x (i.e. if you do not want to leak temporary (local) variables)"19:42
RichardRaseleymgagne: He also mentioned that using ERB "creates a ruby context where every variable in sight becomes an instance variable - this is somewhat expensive".19:44
mgagneRichardRaseley: we have yet to fully support 4.x and we still wish to support v319:50
mgagneRichardRaseley: but it's as expensive as template() ?19:50
RichardRaseleyAbsent the read to the filesystem to open the actual template, yes - it is just acting on the passed string.19:50
RichardRaseley(as I understand it).19:50
*** panda is now known as panda|ko19:52
*** finchd has quit IRC19:57
RichardRaseleymgagne: ^ I am guessing that (fs read) would represent the majority of the overhead from a practical perspective, but you'd still have the overhead of the new Ruby context and all the associated instance variables (I am assuming some or all of those are duplicated from the 'parent' context).19:59
*** finchd has joined #puppet-openstack19:59
RichardRaseleyPlease take any speculation on my part with a grain of salt. =]20:00
mgagneRichardRaseley: I understand. Is it something we should really be concerned about?20:00
mgagneRichardRaseley: because I guess we could come up with a function instead of a template to deal with it20:00
Hunnerhi! I see mentions of inline_template20:00
mgagneHunner: does it mean we can summon by invoking inline_template ?20:01
HunnerHaha. I probably should highlight that in weechat :)20:01
RichardRaseleymgagne: I kind of doubt that the performance difference would be appreciable.20:01
HunnerUsually people discourage the use of inline_template() because to non-ruby devs it might as well be called magic(), and all sorts of arbitrary code happens and if cargo-culted around should have been in a reusable library in the first place20:02
HunnerI use inline_template all the time when hacking on stuff, but never in a final implementation since it is basically always a "dirty hack"20:03
RichardRaseleymgagne: But, as an operationally-focused individual, I can say say that the readability is a concern for me. I'd like to take a shot at developing a solution which would make use of as many 'native' conditionals as possible. If I can meet your concerns outlined above, does that seem reasonable?20:03
HunnerI would recommend using an actual template if you want custom templated content, or using a custom function if you want ruby in a manifest20:03
mgagneRichardRaseley: sure. As you might already know, I don't want to end up with 56 _real which is (to me) worst than the "unreadability" introduced by inline_template20:04
mgagneHunner: "dirty hack' is subjective20:04
Hunner(I don't know the context of the discussion; is that for 70458?)20:04
RichardRaseleymgagne: That is a fair concern. I'll take a stab in one of the now reopened changes, and then we'll iterate on it from there.20:04
Hunnermgagne: totally20:04
mgagneHunner: If I introduced a function named inline_ruby, I'm sure it would be seen as "better"20:05
Hunnermgagne: Eh, whatever you call it, it's just "on priciple" but obviously you can change the priciples20:06
mgagnehehe20:06
mwhahahaforgive me for piping in but for all those inline templates, wouldn't it be better to put in a custom parser function in puppet-openstacklib that would generate all those urls for you?20:07
mgagneHunner: because even if we introduce a new function to handle the deprecation, we are just moving the "magic" elsewhere in a puppet function which is still ruby code anyway.20:07
mwhahahasomething that could be universal and shared across all the openstack modules?20:07
Hunnermgagne: Looking at 70458 I would name a function something like `construct_url($public_protocol, $public_address, $compute_port, $compute_version)` though it's kind of nice the way you have it.20:07
mgagnemwhahaha: sure, I think we are enough with interest in this change to come up with a reasonable implementation20:07
mgagneHunner: there is no default value provided in those parameters. we will have to provide them somehow20:08
richmdo custom functions and inline_template have the same execution context on the puppet master?20:08
HunnerOoo, yeah20:08
HunnerAnd doing something like passing the variables and all the defaults would be kind of awkward20:08
mwhahahacompute_url(host, port, version)20:08
Hunnerrichm: Almost20:09
mgagneHunner: we could pass an hash instead which default values and values provided by the user20:09
Hunnerrichm: functions need to use scope.lookupvar iirc20:09
Hunnerrichm: Where templates can use instance variables20:09
HunnerBut functions that look up arbitrary variables are discorage because spaghetti code20:09
richmok - so a custom function can be equivalent in both scope and functionality to inline_template code20:09
mgagneHunner: true, I would prefer an hash20:09
HunnerIt's my one big gripe about templates too, but oh well20:10
mgagneHunner: but I think some modules used to have multiple "default values"20:10
Hunnerrichm: But in the case of a function that looks up a bunch of things, I'd take the current inline_template format over that because at least the inline template keeps the code local20:10
mgagnebut maybe it's gone now20:11
richmhmm - ok20:11
mgagnehttps://github.com/stackforge/puppet-neutron/blob/master/manifests/keystone/auth.pp#L89-L9320:11
mgagnelike that one20:11
richmyeah - that pattern is extremely common in puppet openstack code20:13
Hunnermgagne: That's like pick() isn't it?20:13
mgagneHunner: come to think of it, yes20:13
Hunnermgagne: oh oh oh20:14
mgagnelets read our minds20:14
Hunner`construct_url(pick($public_protocol,'http'),...)`20:14
mgagnealready done I guess20:14
HunnerWait, but then why do you even need construct_url if it's just string concatination?20:14
mgagneHunner: can we pass an hash to a function? I would prefer explicit over implicit20:15
HunnerHmm, because you can't do "${pick('foo','bar')}" I guess20:15
mgagneHunner: here is some static part to it20:15
Hunnermgagne: because ordering of arguments is bad?20:15
mgagneHunner: yea, it's awful after 2-3 parameters20:16
mgagneHunner: and because https://github.com/stackforge/puppet-openstacklib/commit/0536a214f46a7125fc634d359ae22a0cb6f3526720:17
mgagneHunner: is there a sprintf in Puppet?20:19
Hunner$url_hash = { 'public_protocol' => pick($public_protocol,'http'), 'public_address' => pick($public_address,'127.0.0.1'), 'compute_port' => pick($compute_port, '8774'), 'compute_version' => pick($compute_version,'v2') } ; $url = "${url_hash['public_protocol']}://${url_hash['public_address']}:${url_hash['compute_port']}/${url_hash['compute_version']}/${tenant_id}s"20:19
Hunnereww20:19
mgagneI see where this is going20:19
Hunnerhttps://gist.github.com/hunner/8f2d1a7134e363e0f30b20:20
Hunnermgagne: Yep https://docs.puppetlabs.com/references/latest/function.html#sprintf20:21
mgagneSee the documentation for the Kernel::sprintf function in Ruby for all the details.20:21
mgagneyep, helps a lot =)20:21
HunnerAnyway, yeah a function for that could be used if you always format the urls the same20:22
Hunnerwith compute port and version, etc20:22
mgagneindeed20:22
mgagneI think we are on to something20:22
*** jayg is now known as jayg|g0n320:25
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Correctly munge glance_image is_public property  https://review.openstack.org/18731720:29
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Fix is_public munge  https://review.openstack.org/18731820:32
*** stevemar is now known as stevedore20:37
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Correct docs on format for glance::policy data  https://review.openstack.org/18732020:37
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Add openstack tag to glance packages  https://review.openstack.org/18732220:38
mgagneso is anyone working on the implementation proposed by Hunner?20:41
* Hunner is working on internal code :(20:44
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Support identity_uri  https://review.openstack.org/18732920:48
openstackgerritRichard Raseley proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045820:49
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Support identity_uri in provider  https://review.openstack.org/18733020:49
RichardRaseleymgagne: ^ OK - here is the first stab at something which I think addresses the concerns which have been outlined thus far. I am sure I have missed one or more things, so I'd appreciate some review.20:49
mgagneRichardRaseley: we were talking about using pick() to still support previous default values20:50
mgagneRichardRaseley: what if the user provides public_protocol but not public_address nor compute_port?20:51
mgagneRichardRaseley: it fails with "You must either define $public_url or $public_protocol and $public_address and $compute_port" which is not the previous behavior20:51
RichardRaseleymgagne: OK, let me look at the previous behavior under that situation.20:51
mgagneI'm working on an implementation suggested by Hunner which uses pick()20:52
RichardRaseleymgagne: OK. Do you intend to squash over the method I was just working on? I'd be great to be able to see them side-by-side and then choose what one looks best to standardize on.20:53
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Fix catalog compilation when not configuring endpoint  https://review.openstack.org/18733520:54
mgagneRichardRaseley: I don't know how to propose side-by-side. We can either propose 2 patch set, one after the other and diff. Or propose a new change based on the previous one. You can propose a new change by removing the Change-Id from the commit and generating a new one.20:55
mgagneRichardRaseley: do you suggest I create a new one for my new proposition?20:56
RichardRaseleymgagne: Either you or I can do it - I don't have a preference on who.20:56
RichardRaseleymgagne: So, previously we were shipping defaults for those values which would make it such that if one of those 3 required things wasn't specified we would take that. In this model, since our values are 'undef' would you expect a default value to be assigned should one or more of these items not be defined AND public_url is not defined? I think that is what was happening in your inline_template.20:57
mgagneyes, that's what my implementation adressed20:57
RichardRaseleyOK, thank you.20:57
mgagnethanks to Hunner, we now have an implementation without inline_template20:57
mgagneShould I post mine over yours so we can diff?20:58
mgagneI guess we can restore a previous patch set if the need exists20:58
RichardRaseleymgagne: Sure.20:58
openstackgerritMathieu Gagné proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045820:58
mgagneI didn,t run the tests, damn20:58
mgagnewith syntax errors :D20:59
RichardRaseleyNo worries, I get the gist.20:59
openstackgerritClayton O'Neill proposed stackforge/puppet-nova: Run db-sync if nova packages are upgraded  https://review.openstack.org/18733621:00
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Command parameter to sync the correct Database  https://review.openstack.org/18733721:00
RichardRaseleyI think it is much improved, though the conditionals are reversed from the way I would expect. I would think that we would test for what we want first (the existence of 'public_url') and then if that doesn't exist break into the else block with the deprecated parameters. What are your thoughts?21:00
RichardRaseleymgagne: Definitely more readable from my perspective, though.21:01
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Add $notification_driver parameter to notify::rabbitmq  https://review.openstack.org/18734021:01
RichardRaseleyAh, but we're shipping a default value for public_url so that would always match. I can't quite decide if that seems right.21:02
mgagnethe previous url generated was that one, if NO parameter are passed, you still end up with the previous URL we had21:03
RichardRaseleyAlso, the v2 and v3 suffixes (e.g. /v2/%(tenant_id)s and /v3) are consistent, correct? Perhaps we should push the concatenation of those bits down into the URL construction (vs. being part of the parameter).21:03
RichardRaseleymgagne: OK, I think I am with you.21:04
mgagneI'm currently fixing all my typos21:04
openstackgerritMathieu Gagné proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045821:06
dfisheryay.  keystone and glance modules working on Solaris …21:07
dfisherglance is so … fickle.21:07
openstackgerritColleen Murphy proposed stackforge/puppet-glance: Create a sync_db boolean for Glance.  https://review.openstack.org/18734221:08
openstackgerritMathieu Gagné proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045821:09
mgagnethere21:09
mfischcrinkle: do you know if puppet keeps a md5 hash of a file if I'm not managing contents on it?21:09
mfischto ask the right way, can I trigger a puppet action if an external process updates a given file21:10
crinklemfisch: no, puppet doesn't keep track of files it's not managing21:11
crinklethere are too many files o na system for that to be possible21:11
mfischno I would add said file but leave contents => empty21:12
mfischI guess puppet would then empty my file...21:12
mfischfile { 'foo': }21:12
mgagnehttps://tickets.puppetlabs.com/browse/PUP-124821:12
*** rcallaw__ has joined #puppet-openstack21:12
Hunnermfisch: You can audit => content21:13
mgagneHunner: ok, you can stop reading my mind now21:13
Hunnerand then you can do it21:13
mfischnever heard of this magic21:13
mgagnehttps://docs.puppetlabs.com/references/latest/metaparameter.html#audit21:13
mfischaha its not on the main types page (aka the bible)21:13
Hunnermgagne: XD21:13
mfischthis is perfect you guys21:13
mfischthanks21:13
HunnerYeah, what mgagne said; it's a metaparameter so works on everything21:14
mgagneI learned something today though21:14
mfischmetaparameters are not on the types page so I often dont see them, seriously21:14
mgagnewhen you search for a puppet feature and the first result is: XXX doesn't work as expected21:14
HunnerSame with function.html21:14
HunnerLuckly there are far fewer metaparameters, so just memorizing them isn't as hard21:15
Hunner(fewer than functions/types)21:15
mfischyep21:15
*** rcallawa_ has quit IRC21:16
*** rcallaw__ has quit IRC21:17
mfischI'm going to have to change the wget module if I want to add this21:21
*** xarses has quit IRC21:23
*** xarses has joined #puppet-openstack21:41
* dfisher frowns21:47
dfisherpuppet-heat doesn't account for the various heat packages all having the same name21:47
dfisherdoes puppet-heat init.pp need a blob like what's in glance's init.pp file where it checks to see if glance_api_package == glance_registry_package?21:49
*** dprince has quit IRC21:53
mgagneis there a compelling reason to a multiple package_ensure for all individual openstack packages? nova-api, nova-conductor, etc. ?22:05
*** openstackgerrit has quit IRC22:07
*** openstackgerrit has joined #puppet-openstack22:08
dfishermgagne:  is that directed to me?22:08
mgagnewell, more or less, it's just a question I had in my head for a couple of weeks22:08
mgagneand forgot to ask22:08
dfisherwell, i'm not entire sure what package_ensure does … :/22:08
dfisheroh.  i see.22:09
mgagnedfisher: it tries to hide duplicated resource declarations by not redefining it if already defined22:09
* dfisher nods22:10
dfisheri'm getting an Alias error:  http://paste.openstack.org/show/254081/22:11
*** fvollero_ has joined #puppet-openstack22:23
*** fvollero has quit IRC22:23
*** aimon_ has quit IRC22:25
*** chem has quit IRC22:26
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - add domains to service_identity  https://review.openstack.org/18058622:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - the user_role resource  https://review.openstack.org/17499922:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - v3 domain utility code  https://review.openstack.org/17838522:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - keystone and keystone::roles::admin  https://review.openstack.org/17506022:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: wip -support for keystone v3 api - the user resource  https://review.openstack.org/17497622:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - the project resource  https://review.openstack.org/17446822:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: wip - support for keystone v3 api - beaker tests  https://review.openstack.org/17882822:34
openstackgerritRichard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api - the domain resource  https://review.openstack.org/17443922:34
*** markvoelker_ has joined #puppet-openstack22:35
*** markvoelker has quit IRC22:37
crinkleanyone want to take a look at this fix for the specs repo? https://review.openstack.org/#/c/186107/ the newly broken tests are blocking a couple of specs22:37
richmcrinkle: is it really necessary to have an empty line, followed by a line with ::, followed by another empty line, followed by the preformatted and/or code block?22:39
richmafaik, with rst, you just need ::, followed by an empty line, followed by the preformatted/code block indented by 4 spaces22:40
Hunnermgagne: It looks like lint doesn't like the indentation of pick()s on https://review.openstack.org/#/c/70458/22:41
mgagneHunner: I'll take a look at it, forgot to follow up on lint22:42
HunnerI wonder if it just needs to be a multiple of 2 spaces, or if it has to be ONLY two spaces...22:42
openstackgerritMathieu Gagné proposed stackforge/puppet-nova: Introduce public_url, internal_url and admin_url (and v3/ec2)  https://review.openstack.org/7045822:45
openstackgerritBen Nemec proposed stackforge/puppet-tripleo: Allow use of ssl for public api endpoints  https://review.openstack.org/17595822:46
openstackgerritBen Nemec proposed stackforge/puppet-tripleo: Stop keystone admin from listening on public interface  https://review.openstack.org/18737122:46
openstackgerritColleen Murphy proposed stackforge/puppet-openstack-specs: Fix RST tests  https://review.openstack.org/18610722:46
crinklerichm: ^ thanks for the pointer, updated22:46
*** openstackgerrit has quit IRC22:51
*** openstackgerrit has joined #puppet-openstack22:52
*** stevedore is now known as stevemar22:55
*** stevemar is now known as stevedoor22:55
*** aimon has joined #puppet-openstack22:57
*** ducttape_ has quit IRC22:58
*** dfisher has quit IRC23:03
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Raise puppet error, if N-API anavail  https://review.openstack.org/18738123:13
*** chem has joined #puppet-openstack23:16
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Correct docs on format for neutron::policy data  https://review.openstack.org/18738323:18
*** panda|ko has quit IRC23:21
*** panda|ko has joined #puppet-openstack23:22
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Adding vxlan network type support for neutron ML2 plug-in  https://review.openstack.org/18738423:24
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Corrects "ip link set" command  https://review.openstack.org/18738523:25
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Fix neutron_network for --router:external setting  https://review.openstack.org/18738723:27
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Unescape value in parse_allocation_pool  https://review.openstack.org/18738823:29
*** RichardRaseley has quit IRC23:30
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Allow l3_ha to be disabled  https://review.openstack.org/18738923:31
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Fix ipv6 support  https://review.openstack.org/18739023:31
*** gildub has joined #puppet-openstack23:32
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: Add MidoNet plugin manifest  https://review.openstack.org/18739223:33
openstackgerritColleen Murphy proposed stackforge/puppet-neutron: stop puppet from breaking neutron  https://review.openstack.org/18739323:34
*** _ryanv_ has joined #puppet-openstack23:45
*** _ryanv_ has quit IRC23:45
*** stevedoor is now known as stevemar23:47
*** xarses has quit IRC23:52

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