Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2013-09-18

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

All times shown according to UTC.

Time Nick Message
00:01 ianw mgagne: around?
00:01 mgagne ianw: hi
00:01 mgagne ianw: not for long
00:02 ianw mgagne: no worries.  just wondered how we can reach consensus on https://review.openstack.org/#/c/46204/
00:02 mgagne ianw: I'm guilty of not using heat myself so I often do not understand all the implication =)
00:03 ianw mgagne: ok.  you're right they're two endpoints, which is why i made separate auth:: classes
00:05 mgagne ianw: I guess it's too late to question the use of 2 different users, this change mainly adds the support for heat to puppet-openstack =)
00:05 bcrochet joined #puppet-openstack
00:07 mgagne ianw: only concern left is the change in parameter order
00:07 mgagne ianw: Accroding to this document, required parameter should be listed first: http://docs.puppetlabs.com/guides/style_guide.html#display-order-of-class-parameters
00:07 mgagne ianw: but there is no reason mentioned as to why it should be like that
00:08 ianw mgagne: it was a real mess to try and read...
00:08 mgagne ianw: I understand and do not disagree with you
00:09 ianw i don't think any of those arguments are required?
00:10 mgagne ianw: passwords are required
00:11 mgagne Hunner: ping
00:11 ianw ah
00:16 Hunner mgagne: Hi
00:16 mgagne Hunner: what's up with this clause in the style guide? http://docs.puppetlabs.com/guides/style_guide.html#display-order-of-class-parameters
00:17 mgagne Hunner: what could happen if required parameters aren't listed first?
00:17 mgagne Hunner: less readability as to which parameters are required?
00:17 Hunner mgagne: Simply readability. The order is such that any required parameters (parameters without a default) are listed first so anyone cracking open the code could get the full list of required parameters at a glance. This is especially helpful with 10+ parameters
00:18 Hunner Yep, you got it :)
00:18 Hunner Also, = alignment is encouraged, and if there are breaks in the column of = signs then things like vim's :Align fail to work
00:18 mgagne Hunner: so it's not a question of backward compatibility for puppet 0.24 of something like that
00:18 Hunner Well, not fail, but could be confused
00:18 Hunner Nope
00:19 mgagne Hunner: alright, thanks!
00:19 Hunner 0.24 didn't have class parameters, but the same stands for defined resource params too
00:19 mgagne Hunner: who maintains this style guide?
00:19 Hunner (class params came in 2.6)
00:19 mgagne Hunner: I feel some stuff needs to be updated
00:20 Hunner puppetlabs' docs team. And yes, probably :)
00:20 Hunner There's a git repo you can file issues against for specific sections that are unclear: https://github.com/puppetlabs/puppet-docs
00:20 mgagne Hunner: alright, I'll take a note to poke those guys someday
00:21 Hunner Actually looks like GH issues are turned off; PRs accepted, but I think http://projects.puppetlabs.com/projects/puppet-docs is the ticket-filing location
00:21 ianw the arguments in question are i guess "conditionally required" ... if "heat" is true heat_password is required, otherwise not
00:22 Hunner ianw: There is no clear-cut ordering for those. I usually group them by purpose as closely as possible
00:22 mgagne ianw: I approved the change =)
00:22 ianw Hunner: yep, that's what I did :)
00:24 Hunner ianw: Also, I try to point them out in the new module README template: http://docs.puppetlabs.com/puppet/latest/reference/modules_documentation.html
00:25 Hunner We need to expand the section of "Usage" and what it looks like, looks like
00:26 mgagne Hunner: I have to go. Thanks for answering ;)
00:27 Hunner ciao!
00:28 openstackgerrit A change was merged to stackforge/puppet-openstack: Add keystone heat support  https://review.openstack.org/46204
01:09 bodepd what versions have people tested heat with?
01:09 bodepd are the modules only deploying with havana? Or have people used them with grizzly?
01:11 bodepd looks like they don't have Ubuntu packages for grizzly :) So that answers my question
01:28 badiane_ka joined #puppet-openstack
01:34 ari joined #puppet-openstack
03:03 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: Add possibility to change UCA repository  https://review.openstack.org/45257
03:14 ikkeT joined #puppet-openstack
03:57 xingchao joined #puppet-openstack
04:12 marun joined #puppet-openstack
05:37 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47081
06:12 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
06:27 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
06:45 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: Add possibility to change UCA repository  https://review.openstack.org/45257
06:46 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: Add possibility to change UCA repository  https://review.openstack.org/45257
06:50 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
06:52 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
06:52 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
06:54 openstackgerrit A change was merged to stackforge/puppet-cinder: Add ability to configure control_exchange  https://review.openstack.org/47036
06:55 openstackgerrit A change was merged to stackforge/puppet-glance: Update glance::backend::rbd options  https://review.openstack.org/45197
06:58 openstackgerrit A change was merged to stackforge/puppet-neutron: Add missing dependency on neutron-server  https://review.openstack.org/46395
07:07 openstackgerrit A change was merged to stackforge/puppet-openstack: Add possibility to change UCA repository  https://review.openstack.org/45257
07:12 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
07:13 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Related-Bug: 1224592 Sync storage rings from rsync server  https://review.openstack.org/47085
07:14 openstackgerrit Francois Deppierraz proposed a change to stackforge/puppet-horizon: Let apache module manage Listen directives  https://review.openstack.org/46936
08:16 bauzas bodepd: thanks for working on patchsets for Havana and UCA repos
08:16 bauzas bodepd: I had no time to dig further
08:16 bauzas bodepd: yet there is a caveat with https://review.openstack.org/45257
08:17 bauzas bodepd: fyi, staging repo is stored in a ppa
08:17 bauzas bodepd: so that wouldn't work
08:18 bauzas bodepd: that's why I marked as WIP the change
08:18 bauzas bodepd: as I was qualifying the call to the UCA ppa for 'staging'
08:25 bodepd bauzas: I'll revert it
08:25 bauzas bodepd: nope, no need
08:26 bauzas bodepd: I would just suggest to add a check for making sure we only accept 'proposed' and 'updates'
08:26 bauzas and leave 'staging' as #TODO
08:26 bodepd I wound up picking it up b/c nova-vncproxy isn't working right in the updates
08:26 bauzas yup
08:26 bauzas that's the problem I had
08:26 bodepd and I wanted to test with proposed
08:26 bauzas exactly :)
08:26 bodepd which exploed even worse :)
08:26 bauzas lol
08:26 bauzas no pain, no gain ;)
08:27 bauzas I had no trouble with Havana/proposed
08:27 bodepd hmm. I may have messed it up.
08:27 bodepd I'll rebuild
08:27 bodepd ... again ...
08:27 bodepd I was hoping to get Heat working this week
08:28 bodepd and was assuming getting a havana build is on the way towards that goal
08:29 bauzas bodepd: I can help you on the Heat side
08:29 bauzas that was my last week challenge
08:29 mmagr joined #puppet-openstack
08:29 bodepd are you in Europe?
08:29 bauzas yup, FR.
08:30 bodepd I may let you know if I have any questions
08:30 bodepd I'm assuming since someone else has already been through it, it will be an easier path
08:30 bauzas Heat puppet module is working fine, there are still some things to perform manually
08:30 bodepd really?
08:30 bodepd do you have them documented anywhere?
08:30 bauzas nope
08:30 bauzas actually, there are some bugs
08:30 bodepd have you opened tickets?
08:31 bodepd would you mind sending something out to the mailing list outlining your experience?
08:31 bauzas nope, that's basically matter of adding Heat support to openstack::controller stuff
08:31 bodepd 'state of heat'
08:31 bodepd or something of that nature
08:31 bodepd how is heat working for you in general?
08:31 bodepd buggy? or ready for prime-time?
08:32 bauzas I have to stress it
08:32 bauzas actually, I can see there were a few merges on the Heat side
08:33 bauzas these merges are really helful
08:33 bauzas be sure to run the latest upstream
08:33 bauzas I remember I had to revert one change
08:34 bauzas but sounds like it's no longer necessary
08:34 bauzas basically, I had to face keystone endpoints registration issue, as the heat::keystone::auth class was not yet there when I started to deploy one week ago
08:35 bauzas I began to wrote it, but again s/o pulled a patch before I upstreamed it :)
08:35 bauzas s/pulled/pushed
08:36 bauzas https://github.com/stackforge/puppet-heat/commits/master
08:36 bauzas c6fb1f0e82d770138489b2a779d29cc9f33600d7 was buggy but 7d4a5ecfa6a76086afa25847e8bb53efd4c9cdc4 fixed it
08:37 bauzas just make sure to call Heat constructor with the right params
08:38 bauzas as openstack::controller or openstack::keystone classes are not yet fully supporting heat:: module
08:38 bodepd is the provided example corret?
08:38 bodepd bauzas: I'm comtemplating moving away from those
08:38 bodepd bauzas: to a pure hiera/data model
08:38 bauzas I'm using Foreman
08:38 bodepd my team just started looking at it this week
08:38 bodepd great results so far
08:38 bauzas so, having a metadata class was good for me :)
08:39 bauzas and hiera is not well supported in it
08:39 bauzas (that should change with Foreman 1.3 aiui)
08:39 bodepd that was a lesson learned with foreman this week
08:39 bodepd that you're better off using global variables
08:39 bauzas Foreman 1.2 is great anyway
08:39 bodepd with it
08:39 bauzas don't use global vars, they are buddy
08:39 bauzas s/buddy/buggy
08:40 bauzas use smart vars
08:40 bauzas and double-check YAML files
08:40 bodepd I may be conflating puppet/foreman terminology
08:40 bodepd I mean, veriables that are passes into puppet as globals
08:40 bodepd (or top scoped variables)
08:40 bauzas Foreman smart-vars is kinda way to pass vars to a class
08:41 bauzas Global Foreman vars are Puppet global ones ;)
08:41 bodepd gotcha.
08:41 bauzas so, basically, I'm using the smart vars using the override parameter
08:42 bodepd for overriding class params?
08:42 bauzas ie. saying 'hey this key for this puppetclass should not have this value for this fqdn or this hostgroup'
08:42 bauzas yup
08:43 bodepd hmmm
08:43 bauzas I should write a blogpost on this
08:43 bodepd maybe this is the thing I've been looking for
08:43 bodepd I wanted to be able to overly something to map data to class interfaces
08:43 bauzas I created two hostgroups
08:43 bodepd so that you could deploy it as something to be selected based on multiple possible deployment scenarios
08:44 bauzas OpenstackController and OpenstackCompute
08:44 bodepd I'm working my way to towards the same
08:44 bauzas then, you map your hosts according your needs
08:45 bodepd are you using the bare-metal smart proxy stuff?
08:45 bauzas yup
08:45 bauzas Foreman is building from scratch
08:45 bauzas PXE boot, pre-seed, Puppet et voila!
08:45 bauzas works fine :)
08:46 bauzas we're running dhcpd and puppet as smartproxy
08:47 bodepd dool
08:47 bodepd cool
08:47 bodepd pkg_resources.DistributionNotFound: pyparsing>=1.5.7,<2.0
08:47 bodepd precise-proposed/havana/main
08:47 bodepd I get package install failures
08:47 bauzas ?
08:47 bodepd when was the last time you testes?
08:47 bodepd tested?
08:47 bauzas yesterday :)
08:47 bodepd that is the exact failure that causes glance-common to fail
08:48 bauzas mmm
08:48 bauzas root@inca2:~# dpkg -l | grep pyparsing
08:48 bauzas ii  python-pyparsing                 1.5.7+dfsg1-2ubuntu1~cloud0                  Python parsing module
08:50 bauzas http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/havana_versions.html
08:50 bauzas lucky boy
08:50 bodepd hmm. I only have 1.5.2 and 2.0
08:50 bauzas precised now moved to 2.0.1
08:51 bauzas seems like it was not the case yesterday
08:52 bauzas root@inca2:~# cat /etc/apt/sources.list.d/ubuntu-cloud-archive.list
08:52 bauzas # ubuntu-cloud-archive
08:52 bauzas deb  http://ubuntu-cloud.archive.canonical.com/ubuntu precise-proposed/havana main
08:52 bauzas deb-src  http://ubuntu-cloud.archive.canonical.com/ubuntu precise-proposed/havana main
08:52 bodepd yep. you are luckier than I
08:52 bauzas root@inca2:~# apt-cache policy python-pyparsing
08:52 bauzas python-pyparsing:
08:52 bauzas Installed: 1.5.7+dfsg1-2ubuntu1~cloud0
08:52 bauzas Candidate: 2.0.1+dfsg1-1~cloud0
08:52 bauzas note for later : don't rebuild today :D
08:53 bodepd that's it for me. Just curious, are you with enovance?
08:53 bauzas nope
08:53 bauzas French guys are not all working for ENovance :D
08:54 bodepd that's the extent of my openstack France knowlege :)
08:54 bauzas lol
08:54 bodepd well, broekn packages is a great reason to call it quits for the day
08:54 bauzas makes sense
08:55 bodepd I can have plesent dreams of working havana installs with heat driving CI for testing openstack deployments :)
08:55 bauzas :)
08:55 bauzas I'll let you know any Heat bug I could find
08:55 bauzas my team is heavily using Heat for managing our clouds
08:56 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-horizon: Catch up with upstream's changes to local_settings.py  https://review.openstack.org/46491
09:41 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-horizon: Catch up with upstream's changes to local_settings.py  https://review.openstack.org/46491
09:46 bauzas bodepd: uh, funny, I just spotted a bug
09:46 bauzas on Heat
10:59 michchap joined #puppet-openstack
11:37 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-horizon: Allow the user to toggle configuration of Apache  https://review.openstack.org/47126
11:39 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-horizon: Allow the user to toggle configuration of Apache  https://review.openstack.org/47126
12:00 morazi joined #puppet-openstack
12:29 elfelvin joined #puppet-openstack
12:30 michchap joined #puppet-openstack
13:08 prad joined #puppet-openstack
13:10 rcrit joined #puppet-openstack
13:11 morazi_ joined #puppet-openstack
13:39 rcrit joined #puppet-openstack
13:43 dmsimard joined #puppet-openstack
14:07 EmilienM joined #puppet-openstack
14:21 prad joined #puppet-openstack
14:27 morazi joined #puppet-openstack
14:55 technolo-g joined #puppet-openstack
15:08 badiane_ka joined #puppet-openstack
15:15 ari joined #puppet-openstack
15:18 morazi joined #puppet-openstack
15:19 para__ joined #puppet-openstack
15:26 ari joined #puppet-openstack
15:47 technolo-g morning :)
15:47 technolo-g mgagne: i saw some trickery using '&' symbols last night for setting variables in hiera. waiting for the slides to come up
15:49 mgagne technolo-g: cool :D
15:54 mgagne technolo-g: http://yaml.org/spec/current.html#id2528258
15:54 mgagne technolo-g: will try it now
15:54 mgagne technolo-g: but I think it's limited. you can't concatenate the value
15:55 technolo-g mgagne: yeah that looks like it. deepak was saying use at your own peril (strange ordering etc..)
15:55 mgagne technolo-g: could be cool if values are reused verbatim
15:55 technolo-g mgagne: my primary use case is openstack passwords so no concat may work for me
15:55 rcrit joined #puppet-openstack
15:59 mgagne technolo-g: http://paste.openstack.org/show/47219/
16:01 technolo-g mgagne: w00t :)
16:02 mgagne technolo-g: I would need to be able to concatenate value for the sql_connection string ;)
16:03 mgagne bodepd: ping
16:03 mgagne bodepd: ^
16:05 dprince joined #puppet-openstack
16:06 technolo-g mgagne: bummer :/
16:13 marun joined #puppet-openstack
16:13 morazi joined #puppet-openstack
16:27 hogepodge joined #puppet-openstack
16:28 badiane_ka joined #puppet-openstack
16:31 hogepodge_ joined #puppet-openstack
16:34 francois1 joined #puppet-openstack
16:57 badiane_ka joined #puppet-openstack
16:58 ari_ joined #puppet-openstack
17:04 bodepd mgagne: pong
17:04 mgagne bodepd: sup
17:04 bodepd mgagne: not too much
17:04 mgagne bodepd: see http://paste.openstack.org/show/47219/ (thanks to technolo-g for the hint)
17:07 bodepd mgagne: that is why I have been asking about changing those parameters
17:07 mgagne bodepd: now I understand (but still feel it should be fixed in hiera =)
17:08 hogepodge joined #puppet-openstack
17:09 mgagne hogepodge: speak of the devil =)
17:09 hogepodge mgagne: :-P
17:09 mgagne hogepodge: what I said to bodepd 2m ago: see http://paste.openstack.org/show/47219/ (thanks to technolo-g for the hint)
17:10 hogepodge I saw that.
17:10 mgagne hogepodge: but it has its limitation: you can't concatenate values
17:23 mgagne EmilienM: ping see https://bugs.launchpad.net/puppet-heat/+bug/1227037
17:31 rcrit joined #puppet-openstack
17:35 badiane_ka joined #puppet-openstack
17:42 hogepodge joined #puppet-openstack
17:42 hogepodge ick
17:47 badiane_ka joined #puppet-openstack
17:49 EmilienM joined #puppet-openstack
17:58 ari joined #puppet-openstack
17:58 otherwiseguy joined #puppet-openstack
18:01 hogepodge mgagne: should the dependencies be managed in hiera or in puppet code? I can see instances where you might want to do that in hiera, but from a usability standpoint I prefer capturing that in puppet. But that also presumes building more constrained modules on top of general modules.
18:02 ari joined #puppet-openstack
18:17 badiane_ka joined #puppet-openstack
18:30 ari joined #puppet-openstack
18:32 EmilienM joined #puppet-openstack
18:35 bodepd mgagne: you also can't refer to values defined in a different file
18:36 bodepd anyone in here work on the neutron stuff for packstack?
18:53 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-horizon: Allow the user to toggle configuration of Apache  https://review.openstack.org/47126
18:55 mjblack joined #puppet-openstack
18:55 openstackgerrit Matthew J Black proposed a change to stackforge/puppet-openstack: Expose glance rbd parameters in openstack::controller  https://review.openstack.org/47227
19:05 ari joined #puppet-openstack
19:37 ari joined #puppet-openstack
19:58 openstackgerrit Chip Baeseman proposed a change to stackforge/puppet-openstack: Sync storage rings from rsync server  https://review.openstack.org/47085
20:08 badiane_ka joined #puppet-openstack
20:14 badiane_ka joined #puppet-openstack
20:31 otherwiseguy joined #puppet-openstack
20:54 openstackgerrit Matthew J Black proposed a change to stackforge/puppet-cinder: Creates an empty init script override file if necessary  https://review.openstack.org/47252
21:06 fvollero mgagne: bodepd : if u fellas are in good mood for a review i would love to give you mines :)
21:08 mgagne fvollero: https://review.openstack.org/#/c/46228/ ?
21:10 fvollero mgagne: yep <3
21:10 fvollero mgagne: i saw you already approved/merged the other :)
21:13 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: update test sec group rules  https://review.openstack.org/47256
21:29 badiane_ka joined #puppet-openstack
22:08 ari joined #puppet-openstack
22:20 ari joined #puppet-openstack
22:30 sbadia_ joined #puppet-openstack
22:46 michchap joined #puppet-openstack
22:57 sbadia joined #puppet-openstack
23:28 sbadia left #puppet-openstack
23:29 michchap joined #puppet-openstack
23:37 sbadia joined #puppet-openstack
23:45 rcrit joined #puppet-openstack

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