Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2015-02-06

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

All times shown according to UTC.

Time Nick Message
00:13 gildub joined #puppet-openstack
00:31 markvoelker joined #puppet-openstack
00:42 prad joined #puppet-openstack
00:53 ericpeterson joined #puppet-openstack
01:01 markvoelker joined #puppet-openstack
01:44 markvoelker joined #puppet-openstack
02:15 badiane_ka joined #puppet-openstack
02:15 badiane_ka joined #puppet-openstack
02:21 xarses joined #puppet-openstack
02:25 ericpeterson joined #puppet-openstack
02:36 rmoe joined #puppet-openstack
02:58 richm hello - there is a particular idiom used in puppet-keystone providers that I believe causes trouble for the destroy method
02:58 richm def instance(name)
02:58 richm @instances ||= lookup the instances again
02:59 richm shouldn't the destroy method somehow remove the associated instance?
02:59 richm from the @instances member?
03:09 aimon joined #puppet-openstack
03:27 openstackgerrit Matt Fischer proposed stackforge/puppet-keystone: Tag packages with 'openstack'  https://review.openstack.org/153453
03:29 gildub joined #puppet-openstack
03:45 aimon joined #puppet-openstack
04:09 BrianShang joined #puppet-openstack
04:11 BrianShang Hi guys, where can I find a guid for how to use puppet-PRJ?
04:12 BrianShang Is there a brief wiki?
04:13 higgins joined #puppet-openstack
04:24 higgins joined #puppet-openstack
04:46 EmilienM joined #puppet-openstack
04:52 mfisch michchap_: you around this evening?
04:53 beddari joined #puppet-openstack
05:09 michchap_ mfisch: I'm here now
05:09 mfisch hey there
05:09 mfisch I had a quick question about some syntax I found in puppet-swift
05:09 michchap_ I haven't had a change to look at galera yet
05:09 mfisch np
05:09 michchap_ so sorry about that. :(
05:09 mfisch do you know what this does?
05:09 mfisch File { owner => 'swift', group => 'swift', require => Package['swift'] }
05:09 michchap_ oh?
05:09 mfisch why it's a capital F?
05:09 mfisch is that saying "All files in here"?
05:09 michchap_ yep
05:09 mfisch apply to all files I mean
05:09 mfisch ok
05:10 mfisch that makes sense
05:10 michchap_ resource defaults within that scope I believe
05:10 mfisch within the class then
05:10 mfisch wouldnt make sense otherwise
05:10 michchap_ yep
05:11 mfisch so its like a collector with local scope
05:12 michchap_ yeah
05:13 saju_m joined #puppet-openstack
05:18 mfisch thx and good night
05:30 BrianShang_ joined #puppet-openstack
05:43 xingchao joined #puppet-openstack
05:59 openstackgerrit GuanYu, lin proposed stackforge/puppet-swift: Adds ability to override service name for service catalog  https://review.openstack.org/152031
06:03 saju_m joined #puppet-openstack
06:22 fedexo joined #puppet-openstack
06:35 openstackgerrit joined #puppet-openstack
06:40 openstackgerrit GuanYu, lin proposed stackforge/puppet-swift: Adds ability to override service name for service catalog  https://review.openstack.org/152031
06:46 stamak joined #puppet-openstack
07:12 stamak joined #puppet-openstack
07:13 xingchao_ joined #puppet-openstack
07:36 saju_m joined #puppet-openstack
07:57 saju_m joined #puppet-openstack
07:58 tfz joined #puppet-openstack
08:02 IvanBerezovskiy joined #puppet-openstack
08:12 dgurtner joined #puppet-openstack
08:12 dgurtner joined #puppet-openstack
08:13 markvoelker joined #puppet-openstack
08:17 ddmitriev joined #puppet-openstack
08:17 arnaud_orange joined #puppet-openstack
08:24 xingchao joined #puppet-openstack
08:29 xingchao joined #puppet-openstack
08:31 xingchao joined #puppet-openstack
08:38 tfz joined #puppet-openstack
08:43 markvoelker joined #puppet-openstack
08:47 BrianShang joined #puppet-openstack
08:54 jpena joined #puppet-openstack
09:02 derekh joined #puppet-openstack
09:05 tfz joined #puppet-openstack
09:17 ddmitriev joined #puppet-openstack
09:42 saju_m joined #puppet-openstack
09:46 markvoelker joined #puppet-openstack
09:52 stamak joined #puppet-openstack
09:54 dgurtner joined #puppet-openstack
09:54 dgurtner joined #puppet-openstack
09:58 mwoodson joined #puppet-openstack
10:06 kbyrne joined #puppet-openstack
10:47 markvoelker joined #puppet-openstack
11:01 mmagr joined #puppet-openstack
11:04 cdent joined #puppet-openstack
11:05 badiane_ka joined #puppet-openstack
11:09 badiane_ka joined #puppet-openstack
11:35 cdent joined #puppet-openstack
11:42 cdent_ joined #puppet-openstack
11:48 dachary joined #puppet-openstack
11:48 markvoelker joined #puppet-openstack
11:58 britthou_ joined #puppet-openstack
12:00 cdent joined #puppet-openstack
12:01 rmoe joined #puppet-openstack
12:01 simonmcc joined #puppet-openstack
12:03 ddmitriev joined #puppet-openstack
12:09 exed_- joined #puppet-openstack
12:10 sileht_ joined #puppet-openstack
12:14 stamak joined #puppet-openstack
12:21 khappone joined #puppet-openstack
12:21 badiane_ka joined #puppet-openstack
12:21 imcsk8 joined #puppet-openstack
12:21 prad-afk joined #puppet-openstack
12:21 aarefiev joined #puppet-openstack
12:21 TorLaedre joined #puppet-openstack
12:21 dachary joined #puppet-openstack
12:21 dmsimard_away joined #puppet-openstack
12:21 andi-_ joined #puppet-openstack
12:21 social joined #puppet-openstack
12:21 Hunner joined #puppet-openstack
12:21 holser joined #puppet-openstack
12:21 mgagne joined #puppet-openstack
12:29 sileht joined #puppet-openstack
12:43 openstackgerrit Gilles Dubreuil proposed stackforge/puppet-nova: Add PCI Passthrough support  https://review.openstack.org/153541
12:44 openstackgerrit Gilles Dubreuil proposed stackforge/puppet-nova: Add PCI Passthrough support  https://review.openstack.org/153541
12:46 openstackgerrit Gilles Dubreuil proposed stackforge/puppet-nova: Add PCI Passthrough support  https://review.openstack.org/153541
12:50 markvoelker joined #puppet-openstack
13:00 xingchao joined #puppet-openstack
13:04 markvoelker joined #puppet-openstack
13:07 dalgaaf joined #puppet-openstack
13:15 nosleep77 joined #puppet-openstack
13:21 dprince joined #puppet-openstack
13:38 xingchao joined #puppet-openstack
13:42 rcallawa joined #puppet-openstack
14:03 richm joined #puppet-openstack
14:05 openstackgerrit Emilien Macchi proposed stackforge/puppet-neutron: Support SR-IOV mechanism driver in ML2  https://review.openstack.org/142251
14:38 social joined #puppet-openstack
14:54 mschmitt joined #puppet-openstack
15:00 openstackgerrit Bradley Klein proposed stackforge/puppet-monasca: Allow dynamic setting of more db values  https://review.openstack.org/153589
15:14 morazi joined #puppet-openstack
15:20 openstackgerrit Bradley Klein proposed stackforge/puppet-monasca: Allow dynamic setting of more db values  https://review.openstack.org/153589
15:36 openstackgerrit Bradley Klein proposed stackforge/puppet-monasca: Allow dynamic setting of more db values  https://review.openstack.org/153589
15:37 mmagr joined #puppet-openstack
15:39 mdorman joined #puppet-openstack
15:41 tfz joined #puppet-openstack
15:49 drindianman joined #puppet-openstack
15:49 drindianman Hey guys i’m trying to implement this module: https://github.com/pcfens/puppet-rhn_register
15:50 drindianman I’m trying to class this class inside of another class because I need to execute the register after performing certain steps
15:51 EmilienM drindianman: I'm not sure this is the best place to have support on this module, not really related to Puppet OpenStack.
15:51 EmilienM drindianman: for resource orchestration, please read https://docs.puppetlabs.com/learning/ordering.html
15:52 drindianman left #puppet-openstack
15:54 lnxnut joined #puppet-openstack
15:58 emccormick joined #puppet-openstack
15:59 mdorman joined #puppet-openstack
16:02 emccormick Hey everyone. Does anyone know the status of the Keystone V3 implementation? The last update i found was from back in early December.
16:17 aimon joined #puppet-openstack
16:22 openstackgerrit joined #puppet-openstack
16:27 richm emccormick: It is in progress
16:28 richm emccormick: https://review.openstack.org/150108
16:28 richm emccormick: https://review.openstack.org/146926
16:30 openstackgerrit Emilien Macchi proposed stackforge/puppet-tripleo: Prepare for Gerrit  https://review.openstack.org/153625
16:30 emccormick so still in spec / blueprint phase then
16:30 rcallawa_ joined #puppet-openstack
16:31 openstackgerrit Merged stackforge/puppet-monasca: Allow dynamic setting of more db values  https://review.openstack.org/153589
16:34 richm emccormick: I am working on converting the keystone resources to be domain aware, and writing a lot of rspec tests to cover those cases
16:39 emccormick cool beans. Thanks for the update and the hard work ;0
16:39 richm speaking of rspec - how do I tell rake spec not to clone all of the fixtures again?
16:39 emccormick :)
16:39 richm emccormick: We would appreciate any feedback you can give on https://review.openstack.org/150108
16:40 mdorman joined #puppet-openstack
16:40 IvanBerezovskiy left #puppet-openstack
16:46 mdorman joined #puppet-openstack
16:47 prad joined #puppet-openstack
16:51 emccormick will take a look and provide any feedback I can.
16:52 saju_m joined #puppet-openstack
16:52 _matthias_ joined #puppet-openstack
16:53 rcallawa joined #puppet-openstack
16:54 richm emccormick: Thanks!
17:15 aimon joined #puppet-openstack
17:17 mdorman joined #puppet-openstack
17:26 mdorman joined #puppet-openstack
17:26 BrianShang_ joined #puppet-openstack
17:34 emccormick richm: Threw some comments up there for you.
17:34 rmoe joined #puppet-openstack
17:46 crinkle richm: you can do `rake spec_prep` to clone the fixtures and `rake spec_standalone` to run tests without cloning or deleting them
17:49 rwsu joined #puppet-openstack
17:52 mdorman joined #puppet-openstack
17:54 mdorman joined #puppet-openstack
17:56 mdorman joined #puppet-openstack
18:03 badiane_ka joined #puppet-openstack
18:04 xarses joined #puppet-openstack
18:08 crinkle bogdando: others: might have input on https://tickets.puppetlabs.com/browse/MODULES-1742 since we're using puppetlabs/corosync in openstack_extras
18:21 openstackgerrit Ryan Hefner proposed stackforge/puppet-manila: Change share server config details  https://review.openstack.org/137534
18:35 openstackgerrit Ryan Hefner proposed stackforge/puppet-manila: Change share server config details  https://review.openstack.org/137534
18:37 openstackgerrit Emilien Macchi proposed stackforge/puppet-tripleo: First commit on Stackforge: fix lint & Gerrit config  https://review.openstack.org/153649
18:40 richm emccormick: thanks
18:40 richm crinkle: thanks
18:47 openstackgerrit Emilien Macchi proposed stackforge/puppet-neutron: Support SR-IOV mechanism driver in ML2  https://review.openstack.org/142251
18:50 guimaluf joined #puppet-openstack
18:59 openstackgerrit Richard Megginson proposed stackforge/puppet-openstack-specs: Support Keystone v3 API in openstack puppet modules  https://review.openstack.org/150108
18:59 aimon joined #puppet-openstack
19:05 aimon joined #puppet-openstack
19:29 djm68 joined #puppet-openstack
19:39 rcallawa joined #puppet-openstack
19:51 mdorman_ joined #puppet-openstack
20:25 imcsk8 joined #puppet-openstack
20:26 imcsk8 joined #puppet-openstack
20:28 rmoe joined #puppet-openstack
21:06 djm68 joined #puppet-openstack
21:11 richm ping - some questions about the instance() and instances() methods in keystone resources
21:12 richm 1) Why does instance have a name parameter?  It appears to be always called in the context of an instance of a provider, so resource and resource[:name] are always available
21:12 richm 2) why is @instances called @instances and not @instance?  It holds data for only 1 user, correct?
21:13 richm 3) Where is self.instances used?
21:20 crinkle 1) I think I wanted it to be generic enough to do lookups on other resources but I guess that was never used
21:20 crinkle 2) corrected in https://review.openstack.org/#/c/150200
21:20 crinkle 3) self.instances is called by the `puppet resource` command
21:21 crinkle it's also traditinally useded as part of self.prefetch but we're not using prefetch here since most of the time we want to authenticate which means using an instance method instead of a self. method
21:21 crinkle s/useded/used
21:23 mgagne my notes about type and provider: https://gist.github.com/mgagne/7128846
21:24 mgagne notes taken when I read the book written by bodepd_
21:28 richm ok - that clears it up - thanks guys
21:35 richm one more question - why doesn't the destroy method set @instances = nil?
21:36 richm maybe it's only useful for testing, but it's nice to be able to do destroy, then have exists? return false
21:37 richm in mgagne's example, destroy does @property_hash.clear - I suppose @property_hash is the same thing as @instances
21:37 mgagne richm: instances should contain ALL instances of a specific resource found on the system
21:38 mgagne richm: this is done to support purge of "unmanaged" resources
21:38 richm mgagne: so if there are 1m keystone users, @instances should hold all of them?
21:38 mgagne richm: but you wouldn't use it for most resources anyway like packages, users, etc.
21:38 mgagne richm: hehehe
21:38 mgagne richm: yep, that's the part I don't like about keystone_user
21:39 mgagne richm: it's done to support purge but I don't see why it's would be a good idea for any reasonable sized installation
21:39 richm keystone_user instance(name) does this: @instances ||= instances.select { |instance| instance[:name] == name }.first || {}
21:39 mgagne richm: it adds several minutes to our puppet run
21:39 richm which means @instances is only the hash of the user data
21:40 mgagne richm: tbh, I didn't look at the latest version for months, could have changed since
21:40 richm the hash of the data of a single user, the first user that matches user[:name] == givenname
21:40 richm keystone v3 really complicates things, so I'm trying to understand the intention of this code
21:41 mgagne could be for several resources: purge (already explained), "performance reason"
21:41 mgagne you only fetch the list of users ONCE and act accordingly
21:42 mgagne you can't prefetch/cache a "range" of users, it's done one by one
21:42 mgagne so it's a tradeoff
21:43 mgagne small cloud benefits from this caching, large cloud do not.
21:43 richm ok - once we get it working with name+domain, we can figure out how to optimize it
21:43 mgagne yep
21:59 djm68 joined #puppet-openstack
22:01 djm68_ joined #puppet-openstack
22:06 emccormickva joined #puppet-openstack
22:12 rcallawa_ joined #puppet-openstack
23:17 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: first draft of domain support  https://review.openstack.org/146926
23:18 openstackgerrit Richard Megginson proposed stackforge/puppet-keystone: support for keystone v3 api  https://review.openstack.org/146926
23:19 richm I would appreciate it if you guys could take a look at lib/puppet/provider/keystone_user/openstack.rb
23:20 richm this relies on some new functionality in provider/keystone.rb which in turn depends on a new utility function in puppet/util/v3.rb
23:25 rcallawa joined #puppet-openstack

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