Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2013-06-25

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

All times shown according to UTC.

Time Nick Message
08:44 _ilbot joined #puppet-openstack
08:44 Topic for #puppet-openstack is now Place to collaborate on Puppet/OpenStack tools: logs at http://irclog.perlgeek.de/puppet-openstack/today
09:12 _ilbot joined #puppet-openstack
09:12 Topic for #puppet-openstack is now Place to collaborate on Puppet/OpenStack tools: logs at http://irclog.perlgeek.de/puppet-openstack/today
10:42 marun joined #puppet-openstack
10:44 marun joined #puppet-openstack
10:50 marun joined #puppet-openstack
10:53 marun joined #puppet-openstack
10:59 marun joined #puppet-openstack
11:02 marun joined #puppet-openstack
11:05 marun joined #puppet-openstack
11:37 markvoelker_ joined #puppet-openstack
11:42 marun joined #puppet-openstack
11:48 marun joined #puppet-openstack
11:51 marun joined #puppet-openstack
11:54 marun joined #puppet-openstack
12:03 marun joined #puppet-openstack
12:08 marun joined #puppet-openstack
12:09 dprince joined #puppet-openstack
12:20 marun joined #puppet-openstack
12:23 marun joined #puppet-openstack
12:24 finnx1 joined #puppet-openstack
12:24 finnx1 left #puppet-openstack
12:24 finnx1 joined #puppet-openstack
12:28 finnx1 left #puppet-openstack
12:28 marun joined #puppet-openstack
12:31 finnx joined #puppet-openstack
12:33 finnx left #puppet-openstack
12:48 marun joined #puppet-openstack
13:04 marun joined #puppet-openstack
13:12 marun joined #puppet-openstack
13:28 prad joined #puppet-openstack
14:12 marun joined #puppet-openstack
14:25 marun joined #puppet-openstack
14:28 marun joined #puppet-openstack
14:42 marun joined #puppet-openstack
14:43 dprince_ joined #puppet-openstack
14:44 michchap joined #puppet-openstack
14:48 britthou_ joined #puppet-openstack
14:55 markvoelker_ joined #puppet-openstack
15:04 michchap joined #puppet-openstack
15:05 michchap_ joined #puppet-openstack
15:06 michcha__ joined #puppet-openstack
15:09 michchap joined #puppet-openstack
15:10 michchap_ joined #puppet-openstack
15:13 michcha__ joined #puppet-openstack
15:21 mgagne joined #puppet-openstack
15:44 michchap joined #puppet-openstack
15:50 marun joined #puppet-openstack
16:00 michchap joined #puppet-openstack
16:01 michchap_ joined #puppet-openstack
16:04 michcha__ joined #puppet-openstack
16:05 michchap joined #puppet-openstack
16:10 michchap joined #puppet-openstack
16:15 digiclos1up joined #puppet-openstack
16:21 otherwiseguy joined #puppet-openstack
16:24 dachary joined #puppet-openstack
16:34 mgagne1 joined #puppet-openstack
16:34 mgagne1 left #puppet-openstack
16:34 mgagne1 joined #puppet-openstack
16:41 michchap joined #puppet-openstack
16:42 openstackgerrit Daneyon Hansen proposed a change to stackforge/puppet-quantum: Adds DHCP Agent High-Availability Support  https://review.openstack.org/34432
16:47 openstackgerrit Mathieu Gagné proposed a change to stackforge/puppet-swift: Remove "v" from mysql dependency version  https://review.openstack.org/34434
17:00 marun bodepd: ping
17:14 mgagne1 joined #puppet-openstack
17:17 ric`_ joined #puppet-openstack
17:19 michchap joined #puppet-openstack
17:23 openstackgerrit Daneyon Hansen proposed a change to stackforge/puppet-quantum: Adds support for tuning SQL Idle Timeout  https://review.openstack.org/34440
17:28 markvoelker_ joined #puppet-openstack
17:28 openstackgerrit A change was merged to stackforge/puppet-swift: Remove "v" from mysql dependency version  https://review.openstack.org/34434
17:29 bodepd marun: pong
17:37 karinqe joined #puppet-openstack
17:38 karinqe left #puppet-openstack
17:58 michchap joined #puppet-openstack
18:06 marun joined #puppet-openstack
18:09 bodepd red_trela: probably not a good reason
18:18 marun bodped: hi
18:18 marun bodped: 2 questions...
18:24 marun joined #puppet-openstack
18:25 marun bodepd: first, should basic network provisioning be done in puppet-openstack?
18:26 marun bodepd: second, if i require a given resource, doesn't that imply that the resource will have attributes populated?  I'm seeing some weird behaviour in puppet-tempest where I am attempting to retrieve the id of a quantum_network resource and it's coming up absent
18:29 marun hello?
18:33 michchap joined #puppet-openstack
18:37 mgagne joined #puppet-openstack
19:13 michchap joined #puppet-openstack
19:45 dmsimard joined #puppet-openstack
19:52 michchap joined #puppet-openstack
19:57 mkollaro joined #puppet-openstack
20:03 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: Fix failing tests  https://review.openstack.org/34454
20:05 mgagne joined #puppet-openstack
20:06 bodepd marun: I'm not sure where the basic network config should be done.
20:06 bodepd marun: maybe a class in quantum?
20:07 marun bodepd: Ah, that probably makes sense.
20:07 bodepd marun: I don't understand your other question
20:07 marun bodepd: I implemented it in tempest but I don't think that's the place for it - it's likely that someone who uses packstack, say, would want usable networking without configuring tempest.
20:08 marun bodepd: the tempest review i submitted (wip really)
20:08 marun bodepd: justasec
20:08 bodepd marun: I saw it.
20:08 marun https://review.openstack.org​/#/c/34053/1/manifests/init.pp
20:09 marun bodepd: the tempest_quantum_net_id_setter is modelled after the glance one that was already there
20:09 marun bodepd: and it uses the catalog to find the named network so as to set the id in tempest.conf
20:09 bodepd I remember I had to do some really hacky stuff there
20:09 bodepd yep.
20:09 marun bodped: the weird thing is that the id shows up as absent the first run
20:09 bodepd hmm.
20:09 bodepd let me think.
20:09 marun bodepd: even though the network has been created and the setter resource requires the quantum_network in question
20:10 bodepd does the accessor method you are calling rely on the @property_hash?
20:10 bodepd if so, you may need to ensure you populate it from the create method
20:11 bodepd otherwise, you are correct that it will only be populated correctly on the second call
20:11 bodepd (that is what mk_resource_methods does)
20:11 bodepd you may just want to override the id method to have it look the value from the system if it is false
20:11 bodepd (make sense?)
20:14 marun hmm
20:14 marun almost
20:15 marun bodepd: I'll check the quantum_network type to see
20:15 openstackgerrit A change was merged to stackforge/puppet-openstack: Fix failing tests  https://review.openstack.org/34454
20:15 bodepd in the provider
20:15 bodepd you understand the difference in scope between class methods vs. instance methods?
20:16 marun bodepd: kind of.
20:16 bodepd the id is populated by a class method (which means it is not set, and remain unset until you run Puppet again)
20:16 bodepd it populates the property hash
20:16 marun so what exactly is property hash?
20:16 bodepd and mk_resource_methods creates methods that just look up things from the property hash
20:16 marun and how do i access it from the catalog?
20:16 bodepd a convenience method
20:17 bodepd the getter is probably accessing things from the property hash
20:17 bodepd https://github.com/puppetlabs/puppet/b​lob/master/lib/puppet/provider.rb#L413
20:17 marun so this is how it is attempting to access the id: https://review.openstack.org/#/c/34053/1/lib/pup​pet/provider/tempest_quantum_net_id_setter/ruby.rb
20:18 marun i'm not clear on why it isn't hitting the property hash via the getter
20:18 marun what am i missing?
20:19 marun (and why doesn't the glance id setter have the same issue?)
20:19 bodepd you are missig the whole point of self.instances and self.prefetch
20:19 marun huh
20:19 bodepd sometimes we can get tons of info about what currently exists from a single call
20:19 bodepd so that we do not have to call it per resources instance
20:20 marun so if i want the id, where do i get it from?
20:20 bodepd (using list instead of get)
20:20 marun hmmm
20:20 bodepd https://github.com/stackforge/pupp​et-glance/blob/master/lib/puppet/p​rovider/glance_image/glance.rb#L74
20:20 bodepd that is why glance works
20:21 bodepd so, the property_hash can be populated from self.instances
20:21 bodepd so that you can simply pre-populate all resources
20:21 bodepd this only happens at the begining of a run
20:22 marun sorry, you've lost me
20:22 bodepd (you can see something on debug about prefetching for a resource)
20:26 marun https://github.com/stackforge/puppet​-quantum/blob/master/lib/puppet/prov​ider/quantum_network/quantum.rb#L118
20:31 michchap joined #puppet-openstack
20:54 openstackgerrit Dan Bode proposed a change to stackforge/puppet-openstack: Add configuration for swift auth in controller  https://review.openstack.org/34257
21:09 otherwiseguy joined #puppet-openstack
21:10 michchap joined #puppet-openstack
21:24 terryw joined #puppet-openstack
21:40 mkollaro joined #puppet-openstack
21:48 michchap joined #puppet-openstack
22:24 openstackgerrit A change was merged to stackforge/puppet-openstack: Add configuration for swift auth in controller  https://review.openstack.org/34257
22:26 michchap joined #puppet-openstack
23:03 michchap joined #puppet-openstack
23:14 mgagne1 joined #puppet-openstack
23:40 michchap joined #puppet-openstack

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