Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2014-12-15

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

All times shown according to UTC.

Time Nick Message
00:31 fandi joined #puppet-openstack
00:45 gildub_ joined #puppet-openstack
02:02 xingchao joined #puppet-openstack
02:18 xarses joined #puppet-openstack
02:22 fandi joined #puppet-openstack
03:59 openstackgerrit Colleen Murphy proposed stackforge/puppet-openstacklib: Add db::postgresql to openstacklib  https://review.openstack.org/107179
04:49 sanjayu joined #puppet-openstack
05:27 openstackgerrit Colleen Murphy proposed stackforge/puppet-openstacklib: Refactor aviator code  https://review.openstack.org/139942
06:26 simonmcc_ joined #puppet-openstack
06:42 imcsk8 joined #puppet-openstack
07:20 stamak joined #puppet-openstack
07:25 tfz joined #puppet-openstack
08:20 arnaud_orange joined #puppet-openstack
08:53 dgurtner joined #puppet-openstack
08:53 dgurtner joined #puppet-openstack
09:00 subscope joined #puppet-openstack
09:02 gchamoul joined #puppet-openstack
09:10 francois1 joined #puppet-openstack
09:14 artem_panchenko_ joined #puppet-openstack
09:17 derekh joined #puppet-openstack
09:19 stamak joined #puppet-openstack
10:19 ddmitriev joined #puppet-openstack
10:44 TorLaedre joined #puppet-openstack
11:20 openstackgerrit Merged stackforge/puppet-cinder: Service Validation for Cinder-API  https://review.openstack.org/140183
11:31 rcallawa joined #puppet-openstack
12:07 EmilienM good morning!
12:22 mmagr joined #puppet-openstack
13:08 djm68 joined #puppet-openstack
13:24 markvoelker joined #puppet-openstack
13:28 jistr joined #puppet-openstack
13:45 morazi joined #puppet-openstack
13:56 crinkle morning
13:57 EmilienM crinkle: o/
13:59 crinkle anything to add to the agenda? https://wiki.openstack.org/wiki/Meetings/PuppetOpenStack
14:03 EmilienM crinkle: seems like no
14:10 fandi joined #puppet-openstack
14:10 richm1 joined #puppet-openstack
14:20 EmilienM crinkle: for https://review.openstack.org/#/c/141728/ - do you want me to ask for a quick review on o-infra?
14:23 sbadia EmilienM: yep, maybe, and finaly merge https://review.openstack.org/#/c/102020/ after a recheck (in order to validate with 141728)
14:27 EmilienM sbadia: merged
14:29 sbadia arf, hum, it would be better to merge after 141728 (in order to validate acceptance tests) but ok :)
14:29 sbadia thx!
14:31 openstackgerrit Merged stackforge/puppet-nova: Initial rspec-beaker testing scaffolding  https://review.openstack.org/102020
14:40 rcallawa joined #puppet-openstack
14:54 francois hi there
14:54 francois any advise on how to start with the stackforge/puppet-openstack-cloud module?
14:55 francois is there any site.pp somewhere for a all-in-one deployment on ubuntu 14.04?
15:01 EmilienM francois: it's more a hiera deployment that we suggest here
15:05 francois hi EmilienM, ok understood
15:06 francois what's the best way to get started with this module?
15:06 francois i'm currently using puppet_openstack_builder and looking into alternatives
15:07 EmilienM francois: we are using it in our product: http://spinalstack.enovance.com/
15:07 EmilienM the http://spinalstack.enovance.com/en/latest/deploy/configuration.html page could help you
15:09 francois EmilienM: thanks! didn't heard of spinalstack before
15:09 EmilienM francois: that's what we did at eNovance
15:09 EmilienM francois: everything is open-source
15:14 francois EmilienM: great, do you think that spinalstack/puppet-openstack-cloud will continue to be supported in the next years?
15:14 EmilienM francois: stackforge/puppet-openstack-cloud is our official module and will stay for now.
15:15 * francois already migrated from puppet-openstack to puppet_openstack_builder
15:15 EmilienM francois: both RH & eNovance are pushing efforts on this one.
15:15 francois ok nice
15:17 francois looking at the docs, I see that both Redhat and Debian are supported, do you also accept patches for Ubuntu support if necessary?
15:18 EmilienM francois: should not be a blocker
15:24 francois EmilienM: ok, thanks a lot
15:41 EmilienM crinkle: https://review.openstack.org/#/c/139942 +2 for me.
15:55 EmilienM crinkle: spredzy and I will need your help
15:56 EmilienM crinkle: we are bringing sharding support in puppetlabs-mongodb
15:56 EmilienM crinkle: the WIP is here: https://github.com/puppetlabs/puppetlabs-mongodb/pull/151
15:56 EmilienM we are open for early feedback
16:05 mfisch EmilienM: still working on data for you, I ended up finding a strange bug in puppet-apt mirror and working that first
16:05 djm68 joined #puppet-openstack
16:06 EmilienM mfisch: context?
16:07 mfisch EmilienM: the nova::db bug, sorry for lack of context
16:08 EmilienM mfisch: ok.
16:15 pasquier-s joined #puppet-openstack
16:15 richm1 joined #puppet-openstack
16:27 mdorman joined #puppet-openstack
17:11 mmaglana joined #puppet-openstack
17:13 mfisch EmilienM: I've updated and reproduced the bug
17:14 mfisch Possibly ordering, I cannot explain
17:14 mfisch https://bugs.launchpad.net/puppet-nova/+bug/1401690
17:14 EmilienM mfisch: ok I'll look
17:14 mfisch thx
17:16 openstackgerrit Emilien Macchi proposed stackforge/puppet-openstack_extras: Implement openstack_extras::wsgi::apache  https://review.openstack.org/136442
17:16 EmilienM fc__: richm1 ^ updated :)
17:32 aimon joined #puppet-openstack
17:36 cwolferh_ joined #puppet-openstack
17:37 richm1 EmilienM: will get to that soon
17:41 rmoe joined #puppet-openstack
17:42 richm1 crinkle: I'm using your latest aviator commits to convert keystone_user
17:43 richm1 crinkle: In the password method - how do I make an auth request to see if the user's password is correct?  If I call get_session it will override and replace @session
17:45 richm1 ruby question to anyone - would I save self.class.session, call get_session, then replace self.class.session with the orig?
17:52 crinkle richm1: it shouldn't be overriding the session, if a session exists it should return it
17:54 richm1 crinkle: right - but - if I want to call keystone_user.password - there is already an "admin" session - I don't want to replace it - I just want to test if the given user's password works
17:55 crinkle oh hrm
17:55 richm1 the easiest way to do that is to call get_session with a credentials hash
17:55 richm1 but if I do that, it replaces @session
17:55 richm1 otherwise, looks like I have to call ::Aviator::Session.new(:config => configuration) and session.authenticate
17:56 richm1 which means I have to expose aviator code to the higher level keystone code
17:56 crinkle maybe we could add a private_session method to openstacklib?
17:57 crinkle that wouldn't use an instance variable
17:57 richm1 ok - sounds good
17:57 crinkle ok
17:59 richm1 crinkle: https://gist.github.com/richm/490f9f5b10f0c9bfa562 - like this?
17:59 crinkle richm1: sure
17:59 crinkle we'd also probably want an authenticated? method to check whether the session got authenticated
18:00 openstackgerrit Colleen Murphy proposed stackforge/puppet-openstacklib: Refactor aviator code  https://review.openstack.org/139942
18:04 richm1 crinkle: won't an error be raised if authentication failed?
18:11 crinkle richm1: ah you're right, it raises a Aviator::Session::AuthenticationError
18:15 openstackgerrit Colleen Murphy proposed stackforge/puppet-openstacklib: Refactor aviator code  https://review.openstack.org/139942
18:20 richm1 crinkle: should be "def self.get_private_session" - I guess it has to be a class method
18:22 openstackgerrit Colleen Murphy proposed stackforge/puppet-openstacklib: Refactor aviator code  https://review.openstack.org/139942
18:22 crinkle richm1: yeah i just noticed
18:27 prad joined #puppet-openstack
18:28 cwolferh_ joined #puppet-openstack
18:37 richm1 crinkle: Looks good
18:42 xarses joined #puppet-openstack
19:15 mschmitt joined #puppet-openstack
19:25 tfz joined #puppet-openstack
19:41 aimon joined #puppet-openstack
19:44 EmilienM mfisch: looking at your bug now.
19:45 rwsu joined #puppet-openstack
19:46 * EmilienM reading https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/pick.rb
19:49 EmilienM mgagne: I'm investigating https://bugs.launchpad.net/puppet-nova/+bug/1401690
19:49 EmilienM mgagne: did I forgot something in manifests/db.pp ? it seems $::nova::database_connection is not looked-up correctly
19:49 mgagne EmilienM: ok
19:49 mgagne EmilienM: checking
19:50 EmilienM I was wondering about an eventual "include nova", but I thought it was implicit
19:50 mgagne EmilienM: you have to include ::nova first
19:50 mgagne it won't include it for you
19:50 EmilienM mgagne: that's where i did a mistake.
19:50 EmilienM thanks
19:50 mgagne EmilienM: it's an ordering issue which I though people would have figured out
19:50 EmilienM I'm patching it
19:51 mgagne EmilienM: because nova::db is included by nova::init so variables should be defined by that time
19:51 EmilienM my bad
19:51 mgagne EmilienM: if you include nova::db, it won't work, it will use nova::db::database_connection instead
19:51 mgagne EmilienM: I don't see it as a problem tbh
19:51 mgagne EmilienM: might only be a misunderstanding on how to use the class
19:52 * mgagne reads bug comments
19:52 cwolferh_ joined #puppet-openstack
19:52 EmilienM mgagne: ok. So you think we don't have to add the "include ::nova" from puppet-nova/nova::db but instead let the composition layer doing it?
19:53 mgagne EmilienM: we shouldn't
19:53 mgagne EmilienM: nova::db is consumed by nova::init, not the other way around
19:54 mgagne mfisch: ping
19:55 mgagne EmilienM: will have to see the actual manifest used by mfisch
19:57 openstackgerrit Merged stackforge/puppet-monasca: Add version to keystone catalog endpoints  https://review.openstack.org/141484
19:59 mdorman joined #puppet-openstack
20:04 mgagne wth...
20:05 mgagne "Could not find gem 'beaker-rspec (~> 2.2.4) ruby'"
20:05 mgagne installs 4585 gems
20:05 subscope joined #puppet-openstack
20:07 bitblt joined #puppet-openstack
20:07 bitblt left #puppet-openstack
20:09 EmilienM \o/
20:10 nibalizer mgagne: :(
20:10 mgagne EmilienM: I tried to reproduce mfisch's problem and wasn't able to
20:10 mgagne EmilienM: I used rspec-puppet
20:10 EmilienM mgagne: let's wait for his manifest
20:11 mgagne EmilienM: could it be Puppet 3.7 ?
20:11 mgagne EmilienM: where undef isn't under anymore?
20:11 EmilienM hum
20:12 aimon joined #puppet-openstack
20:12 mgagne EmilienM: forget it, I tested against puppet 3.7.3
20:12 EmilienM mgagne: the doc says it's still the same: https://docs.puppetlabs.com/puppet/latest/reference/lang_datatypes.html#undef
20:13 mgagne EmilienM: will test with hiera this time
20:15 mgagne EmilienM: nope, can't reproduce
20:17 openstackgerrit Emilien Macchi proposed stackforge/puppet-openstack_extras: Implement openstack_extras::wsgi::apache  https://review.openstack.org/136442
20:20 EmilienM mgagne: you may want to see https://review.openstack.org/#/c/139942/
20:22 prad joined #puppet-openstack
20:23 badiane_ka joined #puppet-openstack
20:28 openstackgerrit Emilien Macchi proposed stackforge/puppet-tempest: Allow to not manage Tempest code in Puppet  https://review.openstack.org/138838
20:28 EmilienM crinkle: updated ^
20:28 mfisch hey guys EmilienM mgagne , I'm back
20:28 mfisch as long as you guys cannot repro then we should close it. Our environment is so complex it's not easy to send you the code
20:29 mfisch as long as it just affected me its some weird way I'm including stuff I bet
20:30 EmilienM mfisch: you let me with a bit of frustration. Can you share at least your way to configure Nova? (i.e. your manifests)
20:31 christop1eraedo joined #puppet-openstack
20:31 crinkle joined #puppet-openstack
20:31 adreyer joined #puppet-openstack
20:31 mgagne mfisch: do you have a custom node terminus?
20:37 openstackgerrit Ryan Hallisey proposed stackforge/puppet-ironic: Fix Ironic modules so services properly run in Juno  https://review.openstack.org/134048
20:38 openstackgerrit Ryan Hallisey proposed stackforge/puppet-nova: Add Ironic support into nova puppet modules  https://review.openstack.org/132704
20:38 mfisch we have a custom module that handles the roles & node types
20:38 mfisch its pretty massive
20:38 mfisch do you want to see how I'm including ::nova?
20:39 mfisch I can probably extract that
20:52 openstackgerrit Dan Prince proposed stackforge/puppet-neutron: Fix 'network' (newtork) mispellings  https://review.openstack.org/141901
20:57 openstackgerrit Merged stackforge/puppet-monasca: Update api config file to latest bits  https://review.openstack.org/140844
20:58 prad joined #puppet-openstack
21:04 jamespd joined #puppet-openstack
21:21 openstackgerrit Ryan Hallisey proposed stackforge/puppet-ironic: Fix Ironic modules so services properly run in Juno  https://review.openstack.org/134048
21:27 EmilienM mfisch: yes
21:36 richm1 how does aviator work?  In lib/puppet/feature/aviator/openstack/identity/requests/v2 I see public and admin subdirs, each with files like list_tenants.rb create_user.rb etc.
21:37 richm1 I'm assuming these implement the list tenants request, the create user request, etc.
21:37 richm1 But what about v3?  there is only requests/v3/public/create_token.rb
21:37 richm1 Does that mean the only v3 api call I can make is create_token?
21:38 richm1 Does this also mean all of the v3 api needs to be implemented?
21:38 richm1 aimon: ^^^
21:39 crinkle documentation is http://aviator.github.io/www/
21:39 crinkle mmaglana: is the person to ask
21:41 mmaglana richm1: yes, v3 request file need to be created for all other keystone v3 requests. waiting for contributions on that one.
21:42 crinkle mmaglana: i thought aviator had full v3 support for keystone?
21:43 openstackgerrit Ryan Hallisey proposed stackforge/puppet-glance: Add some config into Glance to support Ironic  https://review.openstack.org/141911
21:44 crinkle mmaglana: https://groups.google.com/a/puppetlabs.com/forum/#!searchin/puppet-openstack/aviator/puppet-openstack/rIsxuJb2JEQ/xVipI7UhZtsJ implies that there was full support
21:45 mmaglana crinkle: sorry for the confusion, but i did link to the blog post further detailing the v3 support and what was missing. http://www.relaxdiego.com/2014/07/aviator-keystone-v3.html
21:47 crinkle I supposed I should have read the blog post, but the mailing list post seemed clear to me
21:48 richm1 mea culpa as well
21:48 mfisch EmilienM: will work on it in a bit
21:48 crinkle EmilienM: ^ aviator doesn't fully support keystone v3 yet
21:49 EmilienM crinkle: what is missing?
21:49 crinkle EmilienM: all types of requests except authentication
21:49 mmaglana my fault as well for being a little too brief on the email part. too much adherance to DRY and overusing it outside of coding  :)
21:49 richm1 EmilienM: https://github.com/aviator/aviator/tree/master/lib/aviator/openstack/identity/requests/v3/public
21:49 richm1 EmilienM: basically, create_token is implemented
21:49 EmilienM we can create a token! that's a good start \o/
21:50 richm1 which means a lot of stuff needs to be implemented . . .
21:50 richm1 what is the major impediment getting python-openstack 1.0.x into ubuntu/debian?
21:50 mmaglana i have not looked at the rest of the keystone v3 api, but if it's not that different from v2, then you can create v3 request files that inherit from its v2 counterpart
21:51 EmilienM richm1: lol
21:51 openstackgerrit joined #puppet-openstack
21:51 aimon Is there a hard requirement for v3 API in puppet?
21:51 EmilienM aimon: yes.
21:51 aimon And if so what does it give us that v2 doesnt support?
21:51 richm1 domains
21:51 EmilienM trusts
21:51 EmilienM for heat delegation
21:51 richm1 multiple identity backends
21:51 richm1 etc.
21:51 EmilienM "use-cases where OpenStack is in production, not in devstack"
21:51 crinkle richm1: it's not scheduled until kilo, but maybe we could get mfisch to poke people?
21:52 richm1 mfisch: ping ^^^
21:54 EmilienM aimon: use-case: http://techs.enovance.com/5858/role-delegation-in-keystone-trusts (read the heat part)
21:57 aimon so this would be for the heat module?
21:57 crinkle the keystone module
21:57 aimon .. used by heat
21:57 crinkle yes
21:57 crinkle all the modules use keystone resources
21:58 aimon well yes but delegation is not one most require
21:58 aimon hence it never coming up in past
21:59 aimon it sounds like there are two options here: 1) use fog .. only partially kidding. or 2) someone do some contrib work to aviator..
21:59 aimon From what I can tell it would not be a lot of work to add the needded functionality
22:00 aimon less work then attempting to do something ad-hoc
22:09 rcallawa_ joined #puppet-openstack
22:15 openstackgerrit Ryan Bak proposed stackforge/puppet-monasca: Fixed monasca check group  https://review.openstack.org/141919
22:22 holser left #puppet-openstack
22:28 richm1 crinkle: What version of python-openstackclient is in ubuntu?
22:29 mfisch here
22:29 mfisch okay so I just talked to Canonical support and didnt get the same answer I got privately
22:29 mfisch I can push it to universe
22:29 richm1 mfisch: +10
22:29 mfisch is it in debian?
22:29 mfisch I'd rather it be in UCA
22:30 crinkle richm1: there isn't one in uca, there is 0.3.0 in universe
22:30 richm1 I want it to be wherever it needs to be for us to be able to use it in puppet-openstacklib and puppet-keystone
22:30 crinkle debian is 0.4.0 i think
22:30 mfisch I uploaded 0.4.1? to vivid
22:30 crinkle 1.0.1 is the most current version
22:30 richm1 which is key, because that contains the --json output
22:30 mfisch the ideal path is debian first
22:30 mfisch let me see who maintains it in debian
22:31 mfisch unless you know
22:31 * crinkle knows not
22:32 mfisch okay let me look
22:32 richm1 https://packages.debian.org/sid/python-openstackclient
22:32 richm1 ?
22:32 mfisch has anyone asked gustavo?
22:32 mfisch http://metadata.ftp-master.debian.org/changelogs//main/p/python-openstackclient/python-openstackclient_0.4.0-1_changelog
22:33 mfisch if its in UCA then we dont have to worry about trusty vs vivid vs whatever u was
22:33 mfisch utopic
22:34 vinsh joined #puppet-openstack
22:34 mfisch crinkle: you'd want it for Trusty but what about Utopic?
22:35 crinkle we'd want it on everything
22:35 richm1 https://qa.debian.org/developer.php?login=gfa%40zumbi.com.ar
22:35 mfisch yeah thats why UCA is nice
22:35 richm1 says 1.0.1 is on the "watch list"
22:35 crinkle but at least trusty since that's what the metadata says we support
22:35 holser joined #puppet-openstack
22:36 richm1 so if we get python-openstackclient 1.0.1 into UCA, then we can proceed with it in puppet/
22:36 richm1 ?
22:36 crinkle we'd still need it for debian
22:36 crinkle i'm not sure how that works
22:36 mfisch debian is the best option
22:37 mfisch let me ping gfa
22:37 crinkle ty
22:41 openstackgerrit Dan Prince proposed stackforge/puppet-neutron: l3 agent network_device_mtu deprecation fix  https://review.openstack.org/141926
22:42 mfisch crinkle: will let you know what he says
22:44 mfisch I can also again ask Canonical to get it into UCA
22:45 mfisch and/or just push it to universe
22:45 mfisch maybe I'll prep a package over the break
22:47 richm1 mfisch: If you open bugs/tickets can you please let me know the urls?
22:47 richm1 I would like to track these new packages and/or package upgrades
22:53 mfisch will do, I just emailed him for now
22:57 mfisch richm1: if we need to get this into trusty by whatever means then we should file a bug in Launchpad
22:57 mfisch to update the package and backport
23:02 richm1 mfisch: Anywhere Juno is supported, the package should be updated
23:06 richm1 https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1393873
23:06 richm1 There was already a bug
23:07 richm1 Would it be rude of me to improve the bug summary?
23:31 fandi joined #puppet-openstack
23:35 richm1 crinkle: Given this discussion (I asked with some trepidation), perhaps it is time to resurrect https://review.openstack.org/#/c/134843/ ?
23:35 richm1 and https://review.openstack.org/#/c/134844
23:36 crinkle I can unabandon them, sure
23:37 crinkle we're kind of in a standoff until we figure out whether we can get the package in debian and uca quickly
23:37 crinkle I'll also try to evaluate how much work it will be to get aviator up to speed
23:37 richm1 yeah, understood
23:39 rcallawa joined #puppet-openstack
23:56 rcallawa joined #puppet-openstack

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