Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
00:12 michchap joined #puppet-openstack
00:13 michchap joined #puppet-openstack
00:21 dmsimard joined #puppet-openstack
00:25 bitblt joined #puppet-openstack
00:25 bitblt left #puppet-openstack
01:14 mgagne bodepd: ping
01:54 prad joined #puppet-openstack
02:07 dmsimard joined #puppet-openstack
02:27 bodepd pong
02:27 bodepd dude
02:27 bodepd mgagne: ^^^
03:15 digicloseup joined #puppet-openstack
03:42 ikke-t joined #puppet-openstack
03:52 tavasti` joined #puppet-openstack
03:52 bodepd joined #puppet-openstack
03:53 otherwiseguy joined #puppet-openstack
03:53 d3u joined #puppet-openstack
03:55 tavasti joined #puppet-openstack
03:55 bodepd joined #puppet-openstack
03:56 d3u joined #puppet-openstack
04:21 openstackgerrit Cody Herriges proposed a change to stackforge/puppet-openstack: Adds back a collection of documentation in README.  https://review.openstack.org/33588
04:23 odyi bodepd: And this that ^ I think forge release is ready to go.
05:12 openstackgerrit Cody Herriges proposed a change to stackforge/puppet-keystone: Adds upgrade warning for token_format.  https://review.openstack.org/33591
06:13 sileht joined #puppet-openstack
08:02 derekh joined #puppet-openstack
10:03 britthou_ joined #puppet-openstack
11:53 markvoelker joined #puppet-openstack
12:01 marun joined #puppet-openstack
12:08 dprince joined #puppet-openstack
12:20 finnx joined #puppet-openstack
12:37 michchap joined #puppet-openstack
12:51 finnx joined #puppet-openstack
12:59 red_trela joined #puppet-openstack
13:00 red_trela hi, I'm trying to use puppet-quantum (and thereby puppet-vswitch), but when I apply the manifest (on SL 6.4), I get the error "Could not find a default provider for vs_bridge". Any pointers what I need to do / set / configure / ...? Any hint is much appreciated.
13:09 prad joined #puppet-openstack
13:18 michchap joined #puppet-openstack
13:18 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_network custom type.  https://review.openstack.org/31087
13:35 red_trela hmm...obviously ovs-ctl is missing even though puppet-vswitch is supposed to install that
13:36 finnx joined #puppet-openstack
13:37 finnx2 joined #puppet-openstack
13:37 otherwiseguy joined #puppet-openstack
13:37 finnx joined #puppet-openstack
13:55 michchap joined #puppet-openstack
14:04 michchap_ joined #puppet-openstack
14:05 michcha__ joined #puppet-openstack
14:06 michchap joined #puppet-openstack
14:07 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_network custom type.  https://review.openstack.org/31087
14:09 michchap_ joined #puppet-openstack
14:10 dmsimard joined #puppet-openstack
14:11 michchap joined #puppet-openstack
14:13 michcha__ joined #puppet-openstack
14:41 marun arg
14:41 marun can anyone help me with autorequire??
14:43 michchap joined #puppet-openstack
14:55 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_router custom type.  https://review.openstack.org/33462
14:55 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_subnet custom type.  https://review.openstack.org/33360
14:55 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_network custom type.  https://review.openstack.org/31087
14:59 openstackgerrit Maru Newby proposed a change to stackforge/puppet-quantum: Add quantum_subnet custom type.  https://review.openstack.org/33360
15:14 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
15:21 michchap joined #puppet-openstack
15:59 michchap joined #puppet-openstack
16:15 hogepodge joined #puppet-openstack
16:27 odyi marun: Sure.  Something specific?
16:27 marun odyi: thanks for the offer but i figured it out.  i don't really understand ruby classes yet, and was referring to @parameters[:paramname] when I should have been using self[:paramname]
16:28 odyi ah.
16:38 michchap joined #puppet-openstack
17:08 marun odyi: can you maybe help me with another question?
17:10 marun bodepd: ping
17:16 michchap joined #puppet-openstack
17:29 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
17:39 bodepd red_trela: what version?
17:39 bodepd red_trela: sorry, or Puppet?
17:39 bodepd of Puppet
17:40 bodepd marun: pong
17:40 marun bodepd: *sigh* i think i've almost got it
17:40 marun bodepd: the quantum router api is simply terrible
17:40 bodepd marun: I swear I already told you that yesterday :) about using self[] from the type
17:40 marun bodepd: you did
17:41 marun bodepd: too many random details that i haven't assimilated
17:41 bodepd Cool. next time I get an env built up, I will check out the types
17:41 bodepd marun: anything I can help with while you have my attention?
17:41 marun bodepd: well, i'm running into ruby issues...
17:42 marun bodepd: if i create a method foo by 'def foo do' in a provider
17:42 marun bodepd: i can't see it from a property getter
17:42 marun bodepd: the whole thing around using self is opaque to me
17:43 bodepd marun: self just refers to the current instance of the class you are ion
17:43 bodepd marun: yes you can
17:43 marun bodepd: sure, i just don't understand why it would be included in a method definition
17:44 marun in python, a method is be default an instance method
17:44 bodepd in the case of [] it makes sense
17:44 marun have to use a decorator (classmethod, staticmethod) to have it not be one.
17:44 bodepd it would make sense to omit it for a regular method
17:44 marun in ruby, without self, is it a class method??
17:44 bodepd def self.foo
17:44 bodepd is on the instance of the class
17:44 bodepd def foo
17:44 marun what is a regular method vs an instance method??
17:44 bodepd is for instances of that class
17:45 bodepd in Java its the same as regular vs. static
17:45 marun so def foo is static?
17:45 bodepd either bound to the scope of instances of the class vs. the class itself.
17:45 bodepd nah
17:45 marun i.e. you can access it without an instance?
17:45 bodepd self.foo is static
17:45 marun oh, ffs
17:45 bodepd correct
17:45 bodepd :)
17:45 bodepd yeah, the usage of self for that it odd
17:46 marun ok, so i'm sure
17:46 marun self.foo is static
17:46 bodepd yes
17:46 bodepd that is why in the examples you may see
17:46 bodepd def foo \ self.foo end
17:46 bodepd so that it can be directly called from stances of the provider
17:46 bodepd s/stances/instances/
17:46 marun ah, that's why i'm confused
17:47 bodepd all good? I'm about to dissappear for a few hours
17:47 marun in python, a static method is still accessible to instances by default
17:47 marun i think i'm good, yeah,
17:47 marun thanks!
17:47 bodepd you can access static methods.
17:47 marun wait
17:47 bodepd but I think the syntax is self.class.static_method
17:47 marun ok, so if i define foo
17:47 marun why isn't that accessible from the getter for myvalue?
17:48 marun aren't both instance methods?
17:48 bodepd you're on my list of people to harass for python questions now ;)
17:48 bodepd for when I have to patch openstack
17:48 marun python i can help with.  ruby not so much
17:48 bodepd I'm the opposite
17:48 bodepd so, if you define foo without self
17:48 bodepd you *can* access it from getters
17:49 bodepd you can see a million examples of this in the code
17:49 bodepd something else is going on
17:49 marun :(
17:49 marun ok
17:49 marun let me pastebin
17:50 bodepd sure. there is another syntax:
17:50 bodepd class << self (or something)
17:50 bodepd which wraps a set of methods and makes them all static
17:50 marun oh, damn.  pebcak (again)
17:51 bodepd when you finish, can you submit the changes back to the tempest module?
17:51 marun will do
17:51 bodepd I would like to be able to reuse your work :)
17:51 marun that's the intent
17:51 bodepd part of my selfish motivation for helping :)
17:51 marun as soon as i have the quantum types i'll make sure the tempest module can use it
17:51 marun and then will pass it off for integration into packstack
17:52 bodepd marun: I really need to figure out if I should be using packstack for the CI stuff I am working on...
17:52 marun bodepd: i would say, no
17:52 bodepd marun: I really want the templating it does to be replaced with hiera
17:53 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
17:53 marun bodepd: packstack is a stopgap - the puppet modules are the important part of it
17:53 bodepd marun: I want to build somethign that does what it does, but are generally usable by everyone
17:53 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
17:53 marun bodepd: i think foreman is going to be the way to do it
17:54 marun bodepd: a bit more infrastructure required, but a community around it instead of just rh
17:54 bodepd marun: for the general community, I'm not sure if that is ok.
17:54 marun bodepd: what community do you mean?
17:54 bodepd marun: I guess more specifically, I want to ensure that it is driven by data that understands how to specify and provide data for deployment scenarios
17:54 marun bodepd: i'll be honest, i don't think packstack is going to be maintainable over the long term
17:55 marun bodepd: i think having sample manifests would do a better job of that, frankly
17:55 bodepd bodepd: so that different front-ends can be used to specify and drive that data
17:55 bodepd uggh, talking to myself.
17:55 michchap joined #puppet-openstack
17:55 marun :)
17:55 ric` joined #puppet-openstack
17:55 bodepd marun: who is designing the foreman integration?
17:56 bodepd marun: I would love to be involved to see if there is not a reusable layer that can sit below that
17:56 marun i haven't been following it but i think there are teams both upstream and internal to redhat that are focused on supporting foreman
17:56 bodepd foreman for RDO?
17:56 bodepd or RHEL OS of whatever?
17:56 marun bodepd: i think both
17:56 marun bodepd: i think the target is deploying openstack cross platform with puppet
17:57 bodepd maybe I will shoot Perry an email and see if I can get an intro
17:57 marun bodepd: yeah, he knows more than i
17:57 marun bodepd: Error: Could not run: undefined method `catalog' for nil:NilClass
17:58 bodepd I will try not to be so model.catalog
17:58 bodepd oops.
17:58 bodepd model.catalog
17:58 marun bodepd: yeah, any idea why it would be giving this error?  i'm trying to use it in a getter
17:58 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
17:58 marun Do I have to use instances or something in a getter?\
17:59 bodepd instances populates the @property_hash
17:59 marun oh crap
18:00 marun bodepd: i bet i'm not checking for an empty value
18:00 marun bodepd: what is =|| ?
18:01 marun bodepd: use the value on the lhs if it is not nil, otherwise assign the value on the rhs and return?
18:01 bodepd ah, nice bit of syntactical sygar
18:01 bodepd yes
18:01 bodepd but not nil
18:01 bodepd false
18:01 bodepd nil is also false
18:01 bodepd at least I assume it is false
18:03 marun yeah, boolean evaluation in ruby is another sore point for me.
18:04 marun i know python off by heart but i have to think too much in ruby
18:04 marun ok, i'm keeping you...
18:04 marun one more question though
18:05 marun iterating over instances would be Puppet::Type.type("quantum_network").instances do |instance| … end?
18:05 bodepd marun: yes
18:06 bodepd I forget what it returns back
18:06 marun and to access the name property of an instance, would that just be instance.name?
18:06 bodepd I dont remember
18:06 marun ok, i'll play with it
18:06 bodepd foo.methods - Object.methods
18:06 bodepd and: foo.class
18:06 bodepd I think it's a provider instance
18:06 bodepd so, the data you need is in the @property_hash
18:07 * bodepd thinks that is probably correct, but it too lazy to look it up
18:34 michchap joined #puppet-openstack
19:12 michchap joined #puppet-openstack
19:45 hogepodge joined #puppet-openstack
19:51 michchap joined #puppet-openstack
19:55 otherwiseguy joined #puppet-openstack
20:05 hogepodge joined #puppet-openstack
20:09 derekh joined #puppet-openstack
20:30 michchap joined #puppet-openstack
20:30 dmsimard1 joined #puppet-openstack
20:41 CoilDomain joined #puppet-openstack
20:41 CoilDomain trying to use this module, but im getting prompted for variables that shouldnt be required when setting up a controller node
20:54 hogepodge joined #puppet-openstack
21:04 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
21:09 michchap joined #puppet-openstack
21:17 bodepd CoilDomain: can you be more specific?
21:17 bodepd there may be a few that are only required for nova-networks and not quantum
21:17 CoilDomain nevermind on that, got it working, puppet was using a cached version
21:17 CoilDomain just finished and tons of red errors so im wondering if it worked
21:31 CoilDomain had to run it twice, but it horizon appears to be working
21:31 CoilDomain interrupting cows today, will have to try the rest tomorrow
21:41 hogepodge joined #puppet-openstack
21:48 michchap joined #puppet-openstack
22:11 markvoelker joined #puppet-openstack
22:27 michchap joined #puppet-openstack
22:36 openstackgerrit A change was merged to stackforge/puppet-keystone: Adds upgrade warning for token_format.  https://review.openstack.org/33591
22:42 openstackgerrit A change was merged to stackforge/puppet-openstack: Adds back a collection of documentation in README.  https://review.openstack.org/33588
22:45 britthouser joined #puppet-openstack
22:45 openstackgerrit Donald Talton proposed a change to stackforge/puppet-cinder: added ceph backend support  https://review.openstack.org/33132
22:46 michchap joined #puppet-openstack
22:52 michchap joined #puppet-openstack

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