Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2012-11-15

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

All times shown according to UTC.

Time Nick Message
01:52 e1mer joined #puppet-openstack
01:52 e1mer joined #puppet-openstack
02:07 JoeJulian As much as I dislike the idea of learning how write spec, I think I'm going to have to learn how to do it.
02:08 JoeJulian I've sent the pull request for the folsom fix for keystone.
02:15 e1mer joined #puppet-openstack
02:15 e1mer joined #puppet-openstack
04:39 ashCode joined #puppet-openstack
06:24 \etc\bin joined #puppet-openstack
06:24 \etc\bin joined #puppet-openstack
06:41 e1mer joined #puppet-openstack
06:41 e1mer joined #puppet-openstack
06:53 ben__duyujie joined #puppet-openstack
07:04 dachary joined #puppet-openstack
08:06 dachary joined #puppet-openstack
08:37 nanliu joined #puppet-openstack
08:37 nanliu joined #puppet-openstack
08:39 dachary1 joined #puppet-openstack
08:42 dachary2 joined #puppet-openstack
09:00 bodepd JoeJulian: I am pretty confused by that PR
09:00 bodepd JoeJulian: is that grizzley?
09:07 JoeJulian No, that was essex.
09:07 JoeJulian There were bits that didn't get updated.
09:08 JoeJulian ... you don't sleep enough either, huh? ;)
09:11 derekh joined #puppet-openstack
09:12 JoeJulian The last thing I'm having trouble finding is what's removing /etc/httpd/conf.d/openstack-dashboard.conf
09:14 derekh JoeJulian: I may have missed context (as I've just joined) but I have the same problem on RHEL
09:14 derekh JoeJulian: the apache module purges the conf.d directory
09:14 JoeJulian just found that.
09:15 derekh so I had to add the file at toplevel in my manifest
09:15 derekh https://github.com/derekhiggins/packstack/bl​ob/master/puppet/templates/dashboard.pp#L11
10:05 JoeJulian Well, except for some issues with a file conflict between gluster-swift and python-swiftclient it seems to be up and running. I think I'll finally hit the sack and tomorrow I'm going to format that machine and start over to make sure puppet's doing it all and I haven't missed something. Thanks for that tip, derekh, that was the missing puzzle piece.
13:49 dachary joined #puppet-openstack
15:41 ben__duyujie joined #puppet-openstack
16:12 ben__duyujie_ joined #puppet-openstack
17:08 bodepd JoeJulian: I saw that somewhere...
17:11 bodepd derekh: ah, yeah, I ran into that.
17:12 bodepd file { '/etc/httpd/conf.d/openstack-dashboard.conf':}
17:12 bodepd I added this empty resource to resolve it.
17:13 bodepd I may need to reach out to hunner to see what he thinks about that.
17:14 derekh bodepd: you've added it to the horizon class?
17:14 bodepd no, to the site manifest
17:14 derekh k
17:14 bodepd I just pinged hunner on irc.
17:14 bodepd he wrote that stuff, going to ask him what he thinks
17:14 bodepd I would say that is reasonable to add.
17:15 bodepd derekh: I updated the branhces the other night.
17:15 bodepd (I only screwed one of them up)
17:15 bodepd mirantis is submitting pull requests now for rhel support
17:15 * bodepd wonders if mirantis is in this channel
17:16 derekh cool
17:17 bodepd I've been a little distracted looking at cloudstack this week
17:19 pdurbin bodepd: i'm trying apply on my host, rather than going through the puppetmaster. this: puppet apply --modulepath=/root/puppet/modules /root/puppet/manifests/nodes/openstack.pp
17:21 dachary joined #puppet-openstack
17:23 pdurbin it did all kinds of stuff. "Finished catalog run in 450.86 seconds"
17:35 pdurbin bodepd: i just posted the output (and questions) to the mailing list: https://groups.google.com/a/puppetlabs.com/d/​msg/puppet-openstack/nz8XHmEOMZs/mT1Z3OsF2AsJ
17:40 comptona joined #puppet-openstack
17:43 bodepd I can walk you through a few things if you have a moment
17:43 bodepd it means that plugin sync is failing.
17:43 bodepd (as I originally proposed)
17:43 bodepd we can debug a little to fiture out why/how
17:43 comptona1 joined #puppet-openstack
17:43 bodepd pdurbin: ^^^
17:52 pdurbin bodepd: that would be great. i'm hoping i can get our main puppet guy to jump in here
17:52 pdurbin i wouldn't want to break anything :)
17:53 bodepd run puppet agent, verify the failure again.
17:53 bodepd (with --plugunsync)
17:53 bodepd then figure out your libdir (puppet agent --configpring libdir)
17:53 bodepd scan that directory and verify the the rabbitmq type and providers are there
17:53 pdurbin ok, ran `puppet agent`... same failure
17:54 bodepd s/configpring/configprint/
17:54 pdurbin on the client that shows /var/lib/puppet/lib
17:54 bodepd try to find the rabbit native types in that directory.
17:56 pdurbin in /var/lib/puppet/lib/puppet/type i have... rabbitmq_plugin.rb rabbitmq_user_permissions.rb rabbitmq_user.rb rabbitmq_vhost.rb (i'm still on the client)
17:56 bodepd what resource causes the failure?
17:57 bodepd also , are you using environments?
17:57 pdurbin environments, yes
17:57 bodepd oh. that is probably the proble,
17:57 bodepd problem.
17:57 pdurbin Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter provider at /etc/puppet/environments/openstack/m​odules/nova/manifests/rabbitmq.pp:26 on node ostk01a
17:59 bodepd environments won't work with openstack b/c they use native types.
17:59 bodepd how are you using environments?
17:59 pdurbin ok. not quite sure what that means but people near me do i'm sure. :)
18:00 pdurbin our environments track git branches
18:00 bodepd do you specify --environemnt when you run puppet agent?
18:00 pdurbin production tracks master
18:00 bodepd is it set in your puppet.conf file?
18:00 pdurbin i make an openstack branch in git, and yes i'm running --environment=openstack
18:01 pdurbin puppet.conf on the client, you mean?
18:02 pdurbin on the client, /etc/puppet/puppet.conf has "environment = openstack"
18:02 bodepd yeah, that wont work.
18:02 bodepd you should talk to your puppet admins and tell them you want to use stuff that has native types and providewrs
18:02 bodepd they should understand how to make that work.
18:03 bodepd with environments.
18:03 pdurbin ok. i think he's fixing something right now but i'll ask him. thanks!
18:03 bodepd it has to be setup on the server.
18:03 bodepd your welcome
18:04 sjoeboo joined #puppet-openstack
18:05 pdurbin sjoeboo: welcome!
18:05 sjoeboo hello
18:05 pdurbin bodepd: sjoeboo is my puppet guru
18:06 bodepd hi sjoeboo pdurbin is trying to use the openstack stuff which has native types/providers
18:06 sjoeboo yep
18:06 bodepd most of the ruby extensions dont work with environments.
18:06 bodepd I think this is causing him a specific failure.
18:07 bodepd do you know the work-around?
18:07 sjoeboo odd, first i've heard of it, but then again, most of our environments are for quick tests and then merged to master quickly
18:07 bodepd yeah, everything needs to exist in the prod environment
18:07 bodepd that is the only place where types/providers load correctly from
18:07 sjoeboo interested
18:07 pdurbin sjoeboo: i've made quite a few changes from master in my openstack branch... removed modules we've written that conflict, etc. :(
18:07 sjoeboo there you go phil, merge and pray you don't break prod!
18:08 bodepd the puppet code changes are ok with environments.
18:08 pdurbin i'm down on my knees
18:08 bodepd its the ruby extensions that are failing.
18:08 bodepd just the ruby extensions need to be in the default environment
18:08 bodepd standing up another master on a different port could be an easy path if its reasonable
18:09 sjoeboo boped: do you have links to docs/bugs for this?
18:09 bodepd yep. hold on. not sure if the work-around is documenting, its one of those things that floats around in my head.
18:13 sjoeboo short answer pdurbin: you could merge just the native types over to production as needed
18:15 pdurbin sjoeboo: ok. on normal host of ours the number of files in /var/lib/puppet/lib/puppet/type is 7. on this openstack host i'm testing on there are 46 files
18:15 sjoeboo yep
18:16 dachary joined #puppet-openstack
18:16 pdurbin i'm glad *i* don't have to write all that code. thanks, bodepd :)
18:18 bodepd http://projects.puppetlabs.com/issues/4409
18:18 bodepd sjoeboo: ^^^
18:18 bodepd its one of the nastier issues with puppet
18:18 bodepd an oldie but a goodie
18:18 bodepd copy rabbitmq first.
18:19 bodepd and see if the issue changes
18:19 bodepd as a step to verify it before doing anything crazy :)
18:19 sjoeboo yes
18:19 bodepd sjoeboo: let me know if there is not enough context in that ticket to understadn the issue.
18:20 bodepd I have walked customers through this process before
18:20 sjoeboo its got the info, odd though that ticket is marked closed, and the one it refrences for further info is marked fix for the 3.0 release
18:20 bodepd it didnt make the 3.0 release.
18:20 bodepd I know that as a fact :)
18:21 sjoeboo hrm
18:21 bodepd let me poke some folks here.
18:21 bodepd my understadning is that this is not fixed.
18:22 bodepd can you copy across rabbit to the default environment?
18:22 bodepd just to verify this is the issue?
18:22 sjoeboo pdurbin: ^^
18:23 bodepd http://projects.puppetlabs.com/issues/12173
18:23 bodepd I am a little confused about how we can claim those issues are closed if this ticket is still open.
18:24 bodepd read that ticket.
18:24 bodepd I'll need to ask some of the engineers about these tickets.
18:24 bodepd I am a little confused....
18:29 pdurbin bodepd: you and me both :)
18:29 bodepd https://gist.github.com/4080293
18:29 bodepd this exert from that tickets sums up the fix I am talking about
18:29 bodepd I understnad the technical issues with Puppet, the tickets are misleading.
18:40 e1mer joined #puppet-openstack
18:40 e1mer joined #puppet-openstack
20:13 larsks joined #puppet-openstack
20:44 ashCode joined #puppet-openstack
20:56 dachary joined #puppet-openstack
22:45 dachary joined #puppet-openstack
23:05 comptona1 joined #puppet-openstack
23:08 comptona joined #puppet-openstack

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