Thursday, 2015-07-09

zaroasselin: i believe i've got my changes in but have an error, don't understand the message though.  https://review.openstack.org/#/c/199778/00:02
* asselin looks00:05
* zaro needs to head out.00:08
zaroasselin: will be online later tonight to correct those if you can tell me what the error means.00:10
asselinzaro, sure00:10
asselinzaro, reviewed00:17
anteayaso let's hold off rechecks until our git farm is back again00:20
fungiso for sprint purposes, someone may want to work on a new https://review.openstack.org/182394 (we reverted it) and test it on centos 600:27
fungiin particular, it looks like you need mod_version enabled to use ifversion containers00:27
fungiso it was falling back to loading everything inside the ifversion >= 2.4 blocks even though it was running apache 2.200:28
fungifun story00:28
asselinfungi, is that what broke git.openstack.org?00:28
fungiyeppers00:28
anteayaI'll give it a shot00:39
*** jkomg has joined #openstack-sprint00:40
anteayaany idea what email yolanda wants me to use for her co-authored by credit?00:45
anteayathis one: https://review.openstack.org/#/q/owner:info%2540ysoft.biz+status:open,n,z00:45
*** jkomg has quit IRC00:45
fungii usually just cut-n-paste from the git commit info in gerrit00:50
fungi(or in git really)00:50
fungigit log, cut, paste00:50
asselinzaro, why so many patches? it's getting confusing. Can you update them to one puppet-openstackci and one related system-config patch?00:57
anteayayou way is better01:00
anteayayour way01:00
asselinjhesketh, yolanda jesusaurus I updated the etherpad with nodepool patches01:05
zaroasselin: it's because i thought those are 2 distinct changes.  one to move and one to rename params.01:07
asselinzaro, ok...so what order should I look at them?01:07
zaroasselin: also i didn't want to reuse the previous change because i thought reviewers would get confused due to all the comments.01:08
zaroand doing both at once would have been more confusing for me.01:09
asselinok....so help me sort them so I can review01:09
zaroasselin: start with https://review.openstack.org/#/c/199778/ => https://review.openstack.org/#/c/199784/ => https://review.openstack.org/#/c/199780/01:10
asselinon the etherpad01:10
zarohold on, i've lost the ability to copy/paste from irc01:12
asselinzaro, ok, so 184919 and 199335 would be abandoned?01:12
zaroyes.01:13
asselinzaro, ok, so one issue we'll have is that system-config is already consuming openstackci:jenkins_master01:16
asselinso each change will need to work with system-config as it merges01:17
asselinzaro, I think we can do that by setting manage_jenkins_jobs=false in the first patch01:18
asselin19977801:18
zaroso either go back to single change for system-config and openstackci or 2 changes for each?01:18
asselinI'm looking for a path forward witn what you proposed01:19
zaromaybe i'll just do the single change for each since that seems simpler in this case.01:19
asselinzaro, up to you. Either way, I think we'll need to set the default manage_jenkins_jobs=false01:20
asselinthen we align the system config change with the correct params, and pass in manage_jenkins_jobs=true01:21
zarowhy default to false?01:21
asselinthen on a new patch we can change the default back to false01:21
zarobut yeah, i'll munge the move and rename in one.01:21
asselinzaro, b/c we don't want the part in the if stament to run01:22
asselinhttps://review.openstack.org/#/c/199784/1/manifests/jenkins_master.pp01:22
zaroyah, i get it.01:22
asselinuntil after system config passes in its values01:22
asselinok01:22
*** TravT has joined #openstack-sprint01:51
*** TravT is now known as TravT_away01:51
*** crinkle has quit IRC02:08
*** crinkle has joined #openstack-sprint02:16
*** asselin__ has joined #openstack-sprint03:41
*** larainema has joined #openstack-sprint04:43
*** larainema has left #openstack-sprint04:49
*** ig0r_ has joined #openstack-sprint05:51
*** ig0r__ has quit IRC05:55
zaroasselin: squashed my changes into one, abandoned my previous changes, and updated the etherpad.06:02
yolandahi there, picking all conversations from the sprint, thx for all the efforts on prev patches i sent06:06
*** TravT_away has quit IRC07:08
*** mmasaki has quit IRC08:31
*** ctlaugh_ has quit IRC08:47
*** TravT_away has joined #openstack-sprint09:01
*** ctlaugh_ has joined #openstack-sprint09:01
*** BobBall has joined #openstack-sprint09:04
asselin__yolanda, hi12:49
yolandahi asselin_12:49
*** pserebryakov has joined #openstack-sprint12:50
yolandai amended the openstack-ci nodepool patch, based on our previous secure.conf patches, and the oscc from nibz12:52
yolandait's a very long queue of patches however12:52
asselin__yolanda, which one is the oscc patch?13:12
asselin__you didn't update the commit message here https://review.openstack.org/#/c/188325/1613:13
yolandamm, i guess i did in wrong patchset13:14
yolandaasselin, weird, i was using gerrit editor for that13:15
yolandadid again13:15
yolandaasselin, oscc patch is https://review.openstack.org/#/c/199674/13:20
asselin__yolanda, https://review.openstack.org/#/c/188325/ commented13:25
yolandacool, i'll take a look13:27
asselin__yolanda, for this, I think the depends on is indirectly there: https://review.openstack.org/#/c/199750/ via the gerrit depends-on change's commit message depends on13:27
yolandayes, there is a chain13:28
yolandabut i see that more clear, if that is referenced in the commit message, don't you think?13:29
yolandaasselin_, updated doc on secure.conf change13:33
asselin__yolanda, That patch is the final change to transition to the new nodepool configurations. Anyway, I wouldn't -1 for just that.13:40
yolandak, let me add it myself and we are ok13:45
yolandadone13:49
*** pserebryakov has quit IRC14:00
*** TravT_away is now known as TravT14:01
*** TravT has quit IRC15:03
*** TravT has joined #openstack-sprint15:04
jeblairyolanda: i left a comment on https://review.openstack.org/18976215:31
yolandachecking15:32
yolandamm, this one involves a bit of rewrite, but it makes sense15:32
jeblairyeah, sorry i didn't catch that earlier :(15:33
yolandano problem15:33
yolandai updated the patches15:54
jeblairnibalizer, yolanda: see crinkle's note about license url in https://review.openstack.org/19965315:55
jeblairi'm going to aprv it anyway because it matches all the other modules, but that might be a project-wide cleanup at some point15:55
jeblairnibalizer, mordred: when you are both around, can we chat about https://review.openstack.org/199674 ?  i have two thoughts: 1) i don't know if i think changing behavior based on invoking uid is a good idea (this is a philisophical point).  2) i don't know if that will actually do what we want -- don't we want to write ~nodepool's clouds.yaml while running as root? (this is a practical point)16:00
*** Somay has joined #openstack-sprint16:06
*** Somay has left #openstack-sprint16:13
*** TravT_ has joined #openstack-sprint16:13
mordredjeblair: morning!16:14
* zaro continues reviewing16:15
*** TravT has quit IRC16:16
*** TravT_ is now known as TravT16:16
mordredjeblair, nibalizer: I'm not 100% sure I understand how the structure of that is going to help the general problem ... that being that we have some public and some private data here - unless we want to just consider all of our cloud config to be private16:16
jeblairmordred: i think i was assuming it was all private... what's public?16:17
mordredwell, the only thing that's secret is the password16:17
mordredthere is nothing secret about any of the rest of the data in the file16:17
mordredthere also might be things, such as cache settings, that we would want to express changes to in a code review16:18
jeblairmordred: my understanding of the problem this is trying to solve is that we have multiple puppet classes that may want to have a clouds.yaml file written, so this is generalizing that pattern into a reusable component16:18
mordredtotally16:18
mordredI understand the reason for the existence of the module16:18
jeblairok, i may be talking to myself then.  bear with me.  :)16:18
mordredI'm not sure I fully grok how, with its current structure, it would be consumed16:19
mordredjeblair: (I may be too :) )16:19
jeblairmordred: we would still be able to review changes like that in code review right?  they would be changes to system-config.... put another way:16:19
jeblairmordred: the private/public decision becomes one of what we put in our secret hiera file and what we put in puppet manifests or public hiera files16:20
jeblairyeah?16:20
asselinyolanda, ran into internal issues with testing nodepool patches. Switching back to JJB.16:20
nibalizermordred: you can build the hash in puppet then add in the password by doimg a hiera lookup16:27
mordrednibalizer: yeah - that was the thing that seemed ick to me16:28
mordredlike, there is already a structured format, managing that structured format in a different structured format just seems mildly bonkers to the way my brain works (sort of like why I don't like the newer puppet-apache) ... but  Iwill admit I do not have a better suggestion16:29
nibalizermordred: well new apache models the apache syntax in the puppet language16:31
nibalizerthe clouds.yaml file is just a big hash with sub hashes and arrays16:31
nibalizernote that the template just calls @var.to_yaml so it is exactly the same data, no manipulation16:32
mordredsure16:32
nibalizerno translation or anything icky like that16:32
mordredI know - I just have to manage it now in puppet format, rather than yaml format16:32
nibalizernot really16:32
mordredso it's a bunch of extra syntax16:32
nibalizerbut you can16:32
mordredno?16:32
mordredok - that's the part where I think if I saw consumption of it I'd understand betterer16:32
nibalizerI mean you can/should I think16:33
nibalizerbut you could look up the entire hash from hiera16:33
nibalizer$clouds = hiera_hash('nodepool_clouds')16:33
nibalizerand if nodepool_clouds is a hash it will just work16:33
mordredso - how does hiera handle merging hashes16:33
nibalizerhttps://docs.puppetlabs.com/hiera/2.0/lookup_types.html#hash-merge16:34
mordredlike, can I have a nodepool_clouds in private hiera AND a nodepool_clouds in public hiera and it'll pull cloud['rax']['auth']['password'] from private and the rest from public?16:34
nibalizeryep thats exactly what you can do16:34
mordredok16:34
mordredjeblair: ^^ I believe this gets me the thing that woudl make me happy with consuming this16:34
mordredjeblair: I realize I have not answered _any_ of your questions - so thanks for letting me hijack that :)16:35
jeblairmordred: neato!  so we need, er, hierarchical, hiera to do that, yeah?16:35
jeblairmordred: that's okay, i've barred the door!16:35
nibalizeralso the behaviour change stuff on $::id in that change could be ripped out16:35
nibalizerI'm not particularly attached to it16:36
mordredjeblair, nibalizer: I could see a user parameter that defaults to $::id ...16:36
mordredjeblair: to question 2 - why would we want to write out nodepool's clouds.yaml as root?16:37
mordredoh - that was ...16:37
mordrednevermind16:37
mordredthat was another facet of why the id thing might not work16:38
mordrednibalizer, jeblair: k. I don't need us to manage it all in hiera files immediately. knowing that we _can_ once we have a strong in-tree hiera story landed is fine by me16:40
jeblairmordred: yeah, i meant "we run puppet as root, it wants to write ~nodepool's hiera file, so $::id wourd dtwt"16:42
mordredyup16:42
* mordred groks now16:42
nibalizeri tried to make it so that it would be easy to set the group of the clouds.yaml file so that you could give the nodepool user access to it16:42
nibalizerim also okay with that module knownign how to manage a 'cloud' group or something that we'd add users too16:43
nibalizersortof like the dailup user16:43
nibalizerer group16:43
nibalizermordred: another thing is I've kinda already done the puppetification of the data structure16:45
nibalizerso that can be copypastad where it needs to go then manipulated16:45
nibalizeralso right now the way it works is that if you dont pass a client or a cache object you'll get an empty client hash in the config file16:45
nibalizerthat wouldn't break anything right?16:45
mordredit _shouldn't_? I should test that16:46
mordrednibalizer: nope. doesn't break anything16:46
nibalizernoice16:47
*** asselin_ has joined #openstack-sprint16:58
*** asselin__ has quit IRC17:00
pabelangernibalizer, took me a while, but http://logs.openstack.org/19/198819/7/check/gate-infra-puppet-apply-precise/f0b1b3f/console.html#_2015-07-09_02_30_26_96217:07
pabelangerneed to come up with new names for the puppet-httpd service and package17:07
pabelangersince they conflict with puppet-apache 0.0.4 being installed17:08
nibalizerthat shouldn't conflict on a single node though right?17:09
nibalizeralso, unfortunately, I can't be as active today17:09
nibalizergotta do some internal stuff17:09
pabelangernibalizer, ya, it is bombing the bare-precise node17:09
pabelangerI need to see what is it pulling in for apache17:10
pabelangerbut, right now we cannot do both puppet-apache and puppet-httpd on same node17:10
nibalizerthats an expected failure17:10
nibalizerthey can share the modulepath17:10
nibalizerbut you can only include httpd or include apache once17:10
clarkbuh17:12
clarkbinclude should allow infinite includes?17:12
clarkboh you mean you can't mix them17:12
*** TravT_ has joined #openstack-sprint17:13
*** TravT_ has quit IRC17:13
*** TravT_ has joined #openstack-sprint17:14
nibalizerhttps://github.com/wcooley/puppet-puppet_mutex or maybe something less generic could be added to puppet-httpd17:16
*** TravT has quit IRC17:16
pabelangernibalizer, I can fix it by adding a Depends-On message in system-config17:18
nibalizerright well we could have the puppet-httpd class check to see if an 'apache' class has been instantiated on the node and bail if so17:23
jesusaurusbut that would probably lead to unintended behaviour, i think that getting an error when including both is probably good17:25
*** TravT_ is now known as TravT17:25
pabelangerjeblair, have you had a chance to look at https://review.openstack.org/#/c/199794/ ?17:26
pabelangerregarding the git package for centos 617:26
clarkbpabelanger: can we wait and see if ianw's fix gets in?17:29
clarkbor do we not expect it to make it to the normal repos?17:30
pabelangerclarkb, did some research yesterday, people been saying RHEL 6.817:30
clarkb(that appears to be ianw's fix just consumed in a round about way)17:30
pabelangerRight17:30
asselinyolanda, btw, one issue with the nodepool is that e.g. nodepool list requires sudo / being nodepool user17:31
clarkbasselin: is that an issue?17:31
asselinmaybe that's a feature17:32
jeblairclarkb, pabelanger: so "saying rhel 6.8" means.... some unknown point in either the near or distant future? :)17:32
clarkbjeblair: I have no idea :)17:32
clarkbis there no way to get it into epel now?17:32
clarkb(I really have no clue how rhel/centos repos are managed)17:32
pabelangerjeblair, Ya, distant future.  Since 6.7 isn't even released17:32
pabelangerclarkb, never do I, to be honest17:33
pabelangerbut, asking around, it likely will be some time before consumed upstream17:33
clarkbsomething something maybe its time to figure out shallow clones with newer git and drop centos6?17:33
clarkboh hrm we need them for juno python26 testing17:34
pabelangerya, was also going to move into centos7 puppet jobs next week too17:34
jeblairclarkb: if we want to go down that path, we could look into what's doing https cloning18:00
jeblairsince i thought most of our ggp and zuul-cloner stuff used git:// for this reason18:01
jeblairpabelanger: ^18:01
jeblairhaving said that, i'm also okay with https://review.openstack.org/19979418:01
clarkbjeblair: good point, we are affected because we use https in the puppet manifests18:01
clarkbya using ianw's patched git is likely simplest and if that is the way to consume it then ok18:02
pabelangerjeblair, we'd need to do some .gitconfig major to map https:// into git:// since some external puppet modules are hosted on github over https18:02
jeblairpabelanger: but for some reason, github https isn't as slow, right?18:02
pabelangerjeblair, it was hit or miss. Had same issue with performance, less random18:03
jeblairpabelanger, clarkb: switching to -infra18:05
asselinnibalizer, can you review https://review.openstack.org/#/c/199784/18:06
asselinnibalizer, and the related system-config change is also ready: https://review.openstack.org/#/c/199780/18:08
* asselin switches back to testing nodepool changes18:09
nibalizerasselin: sorry, I can't really sprint today :(18:15
asselin:(18:16
nibalizergotta HP it up18:16
asselinnibalizer, I guess I'll do the 3rd party ci task then18:16
nibalizerya18:18
nibalizersoz18:18
asselin pabelanger  jesusaurus BobBall ctlaugh_ please review https://review.openstack.org/#/c/199784/  https://review.openstack.org/#/c/199780/18:19
yolandaasselin, well, ideally all commands should be executed with nodepool user18:20
yolandaif you are using dib, and you generate images with the wrong user, you'll be on trouble18:20
asselinyolanda, yes, I agree now, no issues18:20
asselinyolanda, can you also review JJB https://review.openstack.org/#/c/199780/18:32
yolandasure18:34
pabelangerjeblair, ha, I was just going to do a patch to remove the -e from apply test18:35
pabelangerthanks18:35
asselincrinkle, what do you suggest as a fix for $jenkins_url             = "https://${vhost_name}/",?18:37
asselinperhaps no url?18:39
crinkleasselin: you could leave it unset in the params list and create a $_jenkins_url = "https://${vhost_name}/" in the body of the manifest18:39
crinkleasselin: or change the default to "https://${::fqdn}" if that's a valid choice18:40
asselinactually, I'm wondering why the deault can't just be localhost18:41
asselinhttp://localhost:808018:41
crinkleworks for me18:41
asselinzaro, ^^18:42
pabelangerasahlin, http://localhost:8080 WTM18:44
pabelangerI assume we'll drop a proxy at some point18:44
pabelangerdrop-in*18:44
asselinpabelanger, WTM?18:45
pabelangerWFM*18:45
pabelangermy bad18:45
pabelangerwork for me18:45
asselinok18:45
pabelangerneed some coffee18:45
pabelangerbrb18:45
asselinthat's what I thought18:45
mmedvedepabelanger: thanks for reviewing https://review.openstack.org/#/c/200186. Are you saying to make separate patch for each class? I could not parse the first sentence of your comment.18:56
pabelangermmedvede, ya, fat fingers today.  I was trying to say you've changed more then just logstash.  To make it easier to review and get merge, I'd do each node in a different commit18:57
pabelangersince the break out changes tend to linger for a bit18:58
mmedvedepabelanger: gotcha. Ok, would do18:58
pabelangercrinkle, mind giving me some help with beaker?19:01
pabelangertrying to understand how this is getting installed19:01
pabelangerhttp://logs.openstack.org/27/198827/3/check/gate-openstackci-beaker-trusty/5bf0e6d/console.html#_2015-07-09_17_52_31_38919:01
pabelangerwould that be coming from the metadata.json dependencies?19:02
*** TravT is now known as TravT_away19:03
mmedvedepabelanger: that might be coming from modules.env19:07
mmedvedeonly a guess, I am not sure how that test is setup19:09
crinklepabelanger: it's coming from here http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/spec/spec_helper_acceptance.rb#n2919:09
pabelangercrinkle, any idea why we hardcode it?19:10
pabelangercrinkle, working on migrating to puppet-httpd and need that get installed19:10
crinklepabelanger: because https://review.openstack.org/#/c/184905 isn't merged yet19:10
crinklepabelanger: we are moving toward not hardcoding it19:11
pabelangercrinkle, perfect. thanks for the info19:11
crinklenp19:11
pabelangercrinkle, will depend-on it for my testing, thanks again19:12
*** asselin_ has quit IRC19:40
*** asselin_ has joined #openstack-sprint19:40
*** TravT_away has quit IRC19:44
pabelangerI'll be here today19:48
pabelangercould somebody help me figure out how to disable colors for beaker?19:48
pabelangerI know passing:19:49
pabelangerbeaker --no-color is the way to do it19:49
pabelangerby my ruby skills are pretty weak and unsure where it _should_ go19:49
pabelangertrying to get rid of: http://logs.openstack.org/20/198820/4/check/gate-puppet-openstackci-puppet-beaker-rspec-dsvm-centos7/0030584/console.html#_2015-07-09_17_44_51_03319:49
pabelangerbundle exec rspec spec/acceptance is the entry point it looks like19:50
crinklepabelanger: as far as i know you can't disable it19:50
crinklepabelanger: it's :(19:50
crinklei think nibalizer looked into it ^19:51
pabelangerguess an upstream patchset is needed19:51
pabelangersomething like BEAKER_color=false19:51
crinkleyeah looks like in beaker itself you can https://github.com/puppetlabs/beaker/blob/master/lib/beaker/options/command_line_parser.rb#L118 but it's not exposed in beaker-rspec19:52
pabelangerright19:53
nibalizerright19:54
* crinkle pokes it19:55
*** TravT_away has joined #openstack-sprint20:00
crinklepabelanger: nibalizer https://github.com/puppetlabs/beaker-rspec/pull/7020:10
pabelangercrinkle, nice!20:10
zaroasselin, crinkle : sorry, was afk for a little bit.  will fix those changes.20:11
zaroasselin, crinkle : how about default username of 'jenkins' and password of 'password'?20:16
asselinzaro, wfm20:16
zarothat will work for unsecured jenkins.20:16
crinklezaro: i am generally against setting a default password20:16
crinklesomeone is going to use it20:16
asselinor password='secret'20:17
asselincrinkle, zaro, do you think this is something that can be done in a follow-up?20:18
crinkleyes it could be fixed later20:19
zaroi'll go with secret then.20:19
jesusauruszaro: what use case do you think a default password is good for?20:19
asselinI'm ok either way20:19
asselinjesusaurus, for the unsecured jenkins use case20:19
zarojesusaurus: then user doesn't have to even provide?20:20
crinklewhy would you want jenkins to not be secure?20:20
asselinotherwise use has to provide a password, but there isn't any, so it's awkward20:20
*** TravT_away is now known as TravT20:21
asselincrinkle, b/c that's currecntly the default20:21
crinklewhy is providing a password hard?20:21
asselinthere's no puppet creating the jenkins user with specified name and setting up its password20:22
asselinyou have to do that with the UI AFAIK20:22
zaronot hard, just easier if in cases that's unsecured. like maybe for initial ci setup or when testing jenkins20:22
zaroi guess if we make the assumption that all jenkins should be secured then i say require a password.  i can see both sides.20:23
asselinfungi, jeblair clarkb how is the jekins "gerrig" user created?20:24
zaroasselin: i believe that's from heira?20:25
zaroohh wait, you mean how's it's put into jenkins?20:26
asselinzaro, yes20:26
clarkbits from launchpad20:26
clarkbso openid20:26
zaroyup20:26
asselinclarkb, ok and how is jenkins configured to look at launchpad dor openid?20:27
clarkbin the jenkins auth settings you tell it to openid20:27
asselinwhere are the  jenkins auth setting set?20:27
clarkbin the jenkins security settings page20:28
asselinmanually or via puppet?20:28
clarkbmanually20:28
jeblairasselin: manually -- we have a tarball that we use to do that when we make new masters.  there's a lot of stuff that would be really hard to automate with jenkins.20:29
asselinok, so if it's manual currently, we should assume the default is unsecured jenkins20:29
jeblairi think the best way to approach it with openstackci is one of: a) have some manual steps people do after running puppet the first time; b) see if we can make a tarball of a basic jenkins config that's not insecure and get puppet to deploy that on first run20:30
jesusaurusi would like to see the puppet modules give us a secure deployment by default. security shouldn't be something consumers need to figure out how to set after an initial deployment20:30
jeblair(those are alternatives; i forgot the 'or')20:30
crinklejesusaurus: ++20:31
jeblairregardless, i would far rather us spend time on zuulv3 rather than getting the perfect automated jenkins deployment20:31
jesusaurusjeblair: good point20:31
asselinjesusaurus, I agree security should be simpler. I've spent a lot of time trying to figure it out each time. That said, getting something up and running the securing other ways is a good compromise20:32
clarkbalso jenkins is insecure period...20:32
clarkbthere is no secure jenkins unfortunately20:33
jesusaurusI don't think it's a big deal to make the jenkins user and password required parameters, and I would like us to break the habit of setting them to '' by default20:33
clarkbat least not if you run jobs that run code20:33
jesusaurusthere are other modules where we set the user and password to '' as well20:34
zarook. new patch is up with default username as 'jenkins' and password as 'secret'20:34
clarkbmake password a required param makes sense to me20:35
asselinpersonally, I'm ok either way20:35
asselinas long as both are required params20:35
asselinor obth defaulted20:35
crinklei don't think it's important to make them both the same20:36
asselinwell I don't have strong opinion on these, so let's just make the password required and go from there.20:40
crinkle+120:40
zarodone20:41
asselinzaro, lgtm20:42
jesusaurusis puppet going to complain about a required parameter listed after an option parameter?20:43
jesusauruss/option/optional/20:43
crinkleI don't think puppet cares, but the style guide does https://docs.puppetlabs.com/guides/style_guide.html#display-order-of-parameters20:44
clarkbjesusaurus: iirc no because ever parameter is named20:44
clarkb*every20:44
jesusauruscool20:45
zaroasselin: i remember you said you prefer to not do this? jenkins_url => "https://${vhost_name}/"20:46
zaroin https://review.openstack.org/#/c/199780/4/modules/openstack_project/manifests/jenkins.pp20:46
asselinzaro, correct, you need to pass it in b/c the default is not valid anymore20:47
zaroasselin: i think you wanted 'jenkins_url => $jenkins_url'  correct?20:47
*** EmilienM has joined #openstack-sprint20:47
asselinzaro, I copied that from the base20:48
zaroi would set $jenkins_url => "https://${vhost_name}/" at the top but i think crinkle says that doesn't work.20:48
asselinno ned to set it at the top20:48
asselinno need*20:48
asselin$vhost_name is set at the top20:49
asselinyou use it below to create the url20:49
asselinso add $jenkins_url => "https://${vhost_name}/" to e.g. line 5320:50
zarorogr20:50
zarodone20:55
pabelangerThere, just killed a bunch of variable warnings for our puppet modules21:01
pabelangerlikely more, but that is first pass21:02
crinkle\o/21:09
pabelangercrinkle, ServerAlias #{serveraliases}, what would be the proper syntax?21:11
crinklepabelanger: #{@serveraliases} i think21:12
* crinkle tests to make sure21:13
crinklepabelanger: yeah "#{@serveraliases}" works21:15
pabelangercrinkle, great thanks21:15
asselinzaro, failed jenkins https://review.openstack.org/#/c/199784/21:19
asselincrinkle, jesusaurus do you know how to get passed this? http://logs.openstack.org/84/199784/5/check/gate-infra-puppet-apply-precise/80e0733/console.html#_2015-07-09_20_47_09_33321:21
crinkleseems like maybe the depends-on/needed-by should be reversed? if openstack_project is still trying to use jenkins_jobs_password instead of jenkins_password21:25
asselincrinkle, jesusaurus zaro looks like we need to put in the default password back, then after the system-config change merges, we take it out21:26
crinkleasselin: +1 was just about to suggest that21:26
asselincrinkle, no the dependency needs to stay like that21:26
asselinzaro, ^^21:27
crinkleokay21:27
pabelangerYa, you have a circular dependency.  I'm running into that issue with puppet-httpd21:28
pabelangerit exposes a edge case in our testing where you need to chance both and depend on each other21:28
pabelangerwas going to see if I could update the testing to be better21:29
pabelangerother wise, you need to do a partial commit, allow for some upgrade path, then over merged, remove the upgrade code21:29
pabelangerin your case, you'd need to add a deprecated warning for jenkins_job_password21:29
pabelangerthen commit21:29
pabelangerthen remove it21:30
pabelangereither way, need some food21:30
jesusaurusasselin: zaro: I think in https://review.openstack.org/#/c/199780/ we need to accept both parameters instead of just renaming jenkins_jobs_password to jenkins_password21:30
pabelangerjesusaurus, yup21:30
crinkleyeah deprecating would be a better approach than just yanking it21:30
asselincan you pass in extra args in puppet?21:31
jesusaurusif it's not listed in the class then you can not pass it in21:31
zarojesusaurus: hmm, i yanked a few out, i guess i need to put them all back in?21:32
jesusaurusyeah, and I think we'll also need some logic checking which is being passed in21:32
asselinjesusaurus, what about leaving in the default password, then yanking it after the system-config change merges?21:32
jesusaurusasselin: then that default password might get applied to the production server, right?21:34
asselinjesusaurus, no it won't...let me walk through it21:35
asselincurrently manage_jenkins_jobs is false https://review.openstack.org/#/c/199784/5/manifests/jenkins_master.pp21:35
asselinso when that merges, the default empty password won't be used21:36
asselinwhen the system-config change merges, https://review.openstack.org/#/c/199780/5/modules/openstack_project/manifests/jenkins.pp21:36
asselinit sets manage_jenkins_jobs to true and passes in its password21:37
jesusaurusok, yeah21:43
asselinzaro ^^21:45
zaroasselin: i'm not getting what supposed to happen.  add 'jenkins_jobs_password' and 'jenkins_jobs_username' to param list?22:05
asselinzaro, I think simply revrt back one patch22:05
asselinthe current latest patch will be a separate change22:06
jesusauruszaro: we need to have a default value for the password because adding a new required parameter breaks the api22:06
asselinzaro, yes, patch set 422:08
asselinhttps://review.openstack.org/#/c/199784/4/manifests/jenkins_master.pp22:08
zaroohh i see jesusaurus was referring to a differnt change so that confused me.22:09
asselinpatch set 5 needs to be a new change with depends-on https://review.openstack.org/#/c/199780/22:09
zarothat seems like a circular dependency, no?22:17
asselinzaro, not if you submit it as a new change22:18
asselinthen it's the last of the chain22:18
asselinjesusaurus, crinkle https://review.openstack.org/#/c/20028922:28
asselinzaro, https://review.openstack.org/#/c/199784 needs attention22:47
jesusaurusasselin: zaro: the stack looks good to me now22:56
asselincool22:56
asselinme222:56
asselinwe should get these pushed through today22:57
asselinI need to step away for a bit22:57
zaroexcellente! sorry i wasn't setup to test my changes :( will be more prepared next time.22:58
jesusauruszaro: no worries22:58
*** TravT has quit IRC23:05
*** TravT has joined #openstack-sprint23:08
nibalizerpabelanger: we've generally been doing the remove, land, change, remove process instead of trying to build bidirectional depends23:09
nibalizerespecially since the system doesn't really allow you to land two things at once as I understand it23:09
jesusauruscorrect, there's no way to land two co-dependent changes at the same time, one has to land first23:13
clarkb(and thats intentional)23:14
*** openstack has joined #openstack-sprint23:40
asselinnibalizer, what do you think about this stack? https://review.openstack.org/#/c/199784/23:56

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