Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2013-08-15

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

All times shown according to UTC.

Time Nick Message
00:14 hogepodge joined #puppet-openstack
01:34 xingchao joined #puppet-openstack
01:49 e1mer joined #puppet-openstack
01:49 e1mer joined #puppet-openstack
02:14 marun joined #puppet-openstack
02:21 marun joined #puppet-openstack
02:31 marun joined #puppet-openstack
02:40 xingchao_ joined #puppet-openstack
03:28 openstackgerrit Colleen Murphy proposed a change to stackforge/puppet-swift: concat module was moved from ripienaar to puppetlabs  https://review.openstack.org/42049
03:33 bkero w00tw00t, krinklepatch!
03:56 nibalizer oshi
06:15 marun joined #puppet-openstack
06:50 red_trela joined #puppet-openstack
07:05 openstackgerrit Robert Starmer proposed a change to stackforge/puppet-openstack: Add ovs provider parameters to all.pp  https://review.openstack.org/42070
07:42 openstackgerrit Robert Starmer proposed a change to stackforge/puppet-openstack: Add ovs provider parameters to all.pp  https://review.openstack.org/42070
07:49 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-nova: Fedora 18+ and EL 7+ feature more granular libvirt packaging  https://review.openstack.org/42074
08:01 openstackgerrit Sandro Mathys proposed a change to stackforge/puppet-nova: Improve support for RHEL derivatives  https://review.openstack.org/42076
08:09 derekh joined #puppet-openstack
08:37 otherwiseguy joined #puppet-openstack
10:59 dprince joined #puppet-openstack
12:00 morazi joined #puppet-openstack
12:47 dprince joined #puppet-openstack
13:29 dmsimard joined #puppet-openstack
13:52 prad joined #puppet-openstack
13:58 mjblack joined #puppet-openstack
15:00 marun joined #puppet-openstack
16:16 hogepodge joined #puppet-openstack
16:58 technolo-g joined #puppet-openstack
17:57 openstackgerrit A change was merged to stackforge/puppet-swift: Improve Proxy Signing Directory Support  https://review.openstack.org/40356
18:20 openstackgerrit Daneyon Hansen proposed a change to stackforge/puppet-openstack: Passes the token_driver parameter  https://review.openstack.org/42185
18:23 otherwiseguy joined #puppet-openstack
18:25 openstackgerrit A change was merged to stackforge/puppet-keystone: Adds Support for Managing the Token Driver Backend  https://review.openstack.org/41771
18:26 openstackgerrit A change was merged to stackforge/puppet-swift: Improve Proxy Signing Directory Support  https://review.openstack.org/41819
18:27 bodepd is everyone staying at teh airport in Hong Kong or in the city?
19:50 bodepd mgagne: did you have a chance to look at my kickstack rewrite?
19:50 bodepd mgagne: (calling it a refactor would be a bit misleading at this point :) )
20:55 hogepodge left #puppet-openstack
20:55 hogepodge joined #puppet-openstack
21:10 openstackgerrit Emilien Macchi proposed a change to stackforge/puppet-nova: Improve VNC test description  https://review.openstack.org/42218
21:11 EmilienM bodepd: hello ! if you have some time, could you review https://review.openstack.org/#/c/40122/ and https://review.openstack.org/#/c/41103/ ? Thank's !
21:35 openstackgerrit A change was merged to stackforge/puppet-ceilometer: Add support for CA authentication in Keystone  https://review.openstack.org/41103
21:36 openstackgerrit A change was merged to stackforge/puppet-nova: Install bridge-utils only if needed  https://review.openstack.org/40122
21:54 otherwiseguy So openstack::provision can set up the neutron l3 external_bridge (by default, br-ex) via neutron::l3_ovs_bridge. This provider looks up the ip info from neutron::subnet. I want to automatically create a network-script to make the ip that gets set up persistent using puppet-network or even file {}. Is there any way to access that IP info?
22:01 prad joined #puppet-openstack
22:21 bodepd otherwiseguy: does a fact not work?
22:21 bodepd otherwiseguy: I don't entirely understand your question
22:22 bodepd otherwiseguy: if you are asking about provier->provider data lookup.
22:22 otherwiseguy bodepd: br-ex doesn't have an ip until after he neutron_l3_ovs_bridge stuff runs. So wasn't sure if a fact would be populated before that happened?
22:22 bodepd otherwiseguy: yes it is possible
22:22 bodepd otherwiseguy: the neutron native types do this
22:22 bodepd otherwiseguy: just search the code for model.catalog to find examples
22:23 bodepd otherwiseguy: it's only possible between 2 providers though
22:23 bodepd otherwiseguy: ah. I understand your question now...
22:24 bodepd otherwiseguy: this would only be possible if you have native types that know how to query that info
22:24 bodepd let me look at puppet-network to see if it knows how
22:26 bodepd otherwiseguy: https://github.com/adrienthebo/puppet-network/blob/master/lib/puppet/type/network_config.rb#L26
22:26 bodepd otherwiseguy: it looks like this type (if it works)
22:26 bodepd otherwiseguy: can dynamically query out the ip address
22:26 bodepd otherwiseguy: you can access that info doing something like:
22:27 bodepd otherwiseguy: Puppet::Type(:network_config).instances['br-ex'].ipaddress
22:27 bodepd otherwiseguy: that is not a perfect call sequence, you may need to fiddle with it to get the exact call
22:30 otherwiseguy bodepd: hmm. ok, so that is a different puppet-network than I was looking at. :) The one I saw was basically just manifests/templates.
22:31 blkperl otherwiseguy: yeah, the adrienthebo one is more complete, if you we're looking at mine I posted a deprecation notice on the readme :P
22:31 bodepd otherwiseguy: it's only possible to do this with native types
22:31 bodepd otherwiseguy: and it also needs to implement the instances method
22:32 bodepd otherwiseguy: I'm trying to see if I can get it to work
22:32 otherwiseguy bodepd: so I can get that info from network_config and use it in a custom provider...and what I'd really like to do is actually use puppet_network to make permanent the IP that I've already got on br-ex. Silly chicken/egg problems.
22:34 bodepd otherwiseguy: the trick is doing it all on the same run
22:34 bodepd otherwiseguy: it's possible, but for sure requires writign ruby
22:34 otherwiseguy basically trying to do this: http://paste.fedoraproject.org/32439/37660348 in a not completely hacky and ugly way. :)
22:42 bodepd otherwiseguy: Puppet::Type.type(:network_config).instances.find {|x| x.name == 'eth1' }
22:42 otherwiseguy Since that provider is where things get created, it is convenient to just create the network-script there, but seems like a weird place to put distro-specific code and to reinvent the wheel by hardcoding in the value of the script when there is already puppet-network. It's just getting the ip data to puppet-network to actually do stuff that seems...hard.
22:43 e1mer joined #puppet-openstack
22:43 e1mer joined #puppet-openstack
22:43 otherwiseguy bodepd: so to actually use that value, i'd be creating my own provider specifically for querying that data, then if I wanted to use puppet_network to actually create the network-script with that data...
22:44 otherwiseguy maybe easier to add something to puppet-network that allows you to create a network-script from an existing interface's settings?
22:56 otherwiseguy bodepd: how would you do the equivalent of calling network_config { 'br-ex': ensure => 'present', ipaddress => '10.0.0.1', etc. }  from inside another provider?
23:07 hogepodge blkperl: I just uncovered a fairly obscure bug in the adrien network. If you're seeing intermittent failures in network configuration, it's because the name of the network provider is being mutated when the config file is parsed (this is on rhel). You likely won't see it, but it's what I spent my morning chasing down.
23:09 blkperl hogepodge: :(
23:10 hogepodge It only rears its head if a network config file has a DEVICE name that's different from the actual configuration. In my case, I had some backup files lying around that wound up creating multiple providers with the sane name. A patch will be forthcoming, but adrien is dying getting ready for PuppetConf, so we're two weeks away.
23:11 hogepodge s/sane/same
23:37 prad joined #puppet-openstack
23:42 prad left #puppet-openstack
23:53 dmsimard joined #puppet-openstack
23:56 bodepd openstackgerrit: I've never generated resources on the fly like that.
23:56 bodepd sorry openstackgerrit that was an autocomplete error :)

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