Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2014-05-23

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

All times shown according to UTC.

Time Nick Message
00:21 michchap joined #puppet-openstack
00:34 michchap_ joined #puppet-openstack
00:50 kitp joined #puppet-openstack
00:54 openstackgerrit David Gurtner proposed a change to stackforge/puppet-ceph: Roles/Profiles manifests using data from hiera  https://review.openstack.org/94195
01:07 dvorak EmilienM: does it make sense to you that we'd need to do this? https://github.com/twc-openstack/puppet-neutron/commit/099e7fe8665e8427c7b273f1ff77e2ef0b24ccab
01:08 dvorak or anyone else familar with ml2 configuration
01:08 rmoe joined #puppet-openstack
01:31 giorgiodinapoli moin
01:33 xingchao joined #puppet-openstack
01:36 giorgiodinapoli aldavud, thank btw dfor the easy question :DD no, ididnt configure it properly
01:40 openstackgerrit Clayton O'Neill proposed a change to stackforge/puppet-nova: add rbd keyring name to secret.xml template  https://review.openstack.org/95052
01:49 kitp joined #puppet-openstack
01:50 xingchao_ joined #puppet-openstack
01:52 aimon__ joined #puppet-openstack
01:52 rmoe_ joined #puppet-openstack
02:18 ricardo joined #puppet-openstack
02:30 kkirkpatrick joined #puppet-openstack
02:32 alugovoi joined #puppet-openstack
02:41 xarses joined #puppet-openstack
02:50 kitp joined #puppet-openstack
02:52 aldavud joined #puppet-openstack
02:58 xarses joined #puppet-openstack
03:15 morazi joined #puppet-openstack
03:15 thumpba joined #puppet-openstack
03:18 badiane_ka joined #puppet-openstack
03:29 kitp joined #puppet-openstack
04:42 marun joined #puppet-openstack
04:45 michchap_ xavpaice: ping
04:45 michchap_ xavpaice: seems to work ok... https://github.com/michaeltchapman/puppet-lint/commit/fe24c6dde923ad3ca6476e419455d59c04055630
04:46 michchap_ xavpaice: if you have a ruby wizard at the ready I could use some style help
04:46 alugovoi joined #puppet-openstack
04:46 rickerc joined #puppet-openstack
04:55 xavpaice michchap_: the ruby wizard I was hoping for has gone home already, but I'm sure she'd be OK to look at stuff next week?
04:55 michchap_ xavpaice: yeah it's not urgent. see if you can break it if you have some free time.
04:55 xavpaice (it's beer o'clock here in NZ)
04:55 michchap_ xavpaice: pretty sure it's beer o'clock here too :)
04:56 michchap_ xavpaice: enjoy your w/e
04:56 xavpaice I thought Aussies started beer o'clock at about... Monday?
04:56 michchap_ start and end are both undef afaik.
04:57 xavpaice I guess I'm going to be writing some documentation then
04:57 sanjayu joined #puppet-openstack
05:05 cbaesema joined #puppet-openstack
05:09 michchap_ xavpaice: :) hope so
05:10 xavpaice any chance of a hand with usage on that?
05:10 * xavpaice guesses there's a switch to enable the extra plugin
05:12 michchap_ oops forgot to include it
05:12 michchap_ I was piggybacking off another check before
05:15 michchap_ ok, amended
05:15 michchap_ should run by default now
05:16 michchap_ https://github.com/michaeltchapman/puppet-lint/commit/f11a1f808b92cec845d430432726659425e62aa8#diff-290120b89c4ad3e2c0dce7c6f4544fd8R65
05:17 michchap_ twas missing the line in plugins.rb
05:30 shakayumi joined #puppet-openstack
05:38 dgollub joined #puppet-openstack
05:48 xavpaice gah - looks like I need to update the rest of the gem rather than just your single file :(
05:48 ryanycoleman joined #puppet-openstack
05:54 xavpaice yay.  Works for me too!
05:54 xavpaice thanks michchap_ , now I'm outta here
05:54 michchap_ xavpaice: later
06:41 mkoderer joined #puppet-openstack
07:04 arnaud_orange joined #puppet-openstack
07:08 artem_panchenko joined #puppet-openstack
07:24 sanjayu joined #puppet-openstack
07:35 gcha joined #puppet-openstack
07:37 sanjayu joined #puppet-openstack
07:40 rickerc joined #puppet-openstack
07:44 mmagr joined #puppet-openstack
07:49 giorgiodinapoli joined #puppet-openstack
08:00 derekh_ joined #puppet-openstack
08:58 aldavud joined #puppet-openstack
09:05 aldavud giorgiodinapoli: so you figured out what was amiss?
09:16 comptona joined #puppet-openstack
11:03 aldavud joined #puppet-openstack
11:03 tfz joined #puppet-openstack
11:21 giorgiodinapoli aldavud, yes indeed it was the network configuration since this ip_helper function did return . if ip was set wrong
11:21 giorgiodinapoli but im still trying to get it to work, hope this will be working soon
11:21 giorgiodinapoli oner error i still get at the beginning
11:21 giorgiodinapoli Error: Could not set 'directory' on ensure: Could not find user glance at 18:/etc
11:27 giorgiodinapoli as a result next error dependant on this i think is, Warning: /Stage[main]/Glance::Api/File[/etc/glance/glance-cache.conf]: Skipping because of failed dependencies
11:59 giorgiodinapoli how can it be that i have this error and noone realized as of yet
12:17 aldavud joined #puppet-openstack
12:23 shakayumi joined #puppet-openstack
12:23 openstackgerrit A change was merged to stackforge/puppet-nova: add rbd keyring name to secret.xml template  https://review.openstack.org/94466
12:24 dprince joined #puppet-openstack
12:28 csschwe joined #puppet-openstack
12:31 giorgiodinapoli LOL now the firewall on installing by puppet blocks EVERYTHING here
12:32 giorgiodinapoli even ssh is lost :(
12:41 prad_ joined #puppet-openstack
12:56 guimaluf joined #puppet-openstack
13:02 giorgiodinapoli what can it be?
13:02 giorgiodinapoli i flushed iptables
13:02 giorgiodinapoli no result
13:03 holser gateway or routing
13:07 gcha joined #puppet-openstack
13:23 openstackgerrit A change was merged to stackforge/puppet-openstack: Fix upstream rspec failure in cinder  https://review.openstack.org/94033
13:41 openstackgerrit A change was merged to stackforge/puppet-nova: Allow configuring the rbd keyring name  https://review.openstack.org/94603
13:44 cbaesema joined #puppet-openstack
13:58 kitp joined #puppet-openstack
13:59 kkirkpatrick joined #puppet-openstack
14:06 openstackgerrit Clayton O'Neill proposed a change to stackforge/puppet-nova: add rbd keyring name to secret.xml template  https://review.openstack.org/95052
14:08 rwsu joined #puppet-openstack
14:15 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-swift: Improve readability of swift::xfs  https://review.openstack.org/94867
14:16 kkirkpatrick joined #puppet-openstack
14:16 openstackgerrit A change was merged to stackforge/puppet-nova: add rbd keyring name to secret.xml template  https://review.openstack.org/95052
14:17 thumpba joined #puppet-openstack
14:32 hogepodge joined #puppet-openstack
14:37 snk joined #puppet-openstack
14:50 meylor joined #puppet-openstack
14:59 ryanycoleman joined #puppet-openstack
15:01 kitp joined #puppet-openstack
15:10 ryanycoleman joined #puppet-openstack
15:12 mdorman joined #puppet-openstack
15:15 dgollub joined #puppet-openstack
15:24 ryanycoleman joined #puppet-openstack
15:29 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Allow Glance to COW images to Cinder Volumes  https://review.openstack.org/91113
15:30 ryanycoleman joined #puppet-openstack
15:30 guimaluf joined #puppet-openstack
15:42 markvoelker joined #puppet-openstack
15:54 dgollub joined #puppet-openstack
16:01 ryanycoleman joined #puppet-openstack
16:04 ryanycoleman joined #puppet-openstack
16:07 rmoe joined #puppet-openstack
16:12 marun joined #puppet-openstack
16:16 EmilienM markvoelker: hey, did I miss something? https://review.openstack.org/#/c/91113/4/data/hiera_data/user.common.yaml,cm
16:23 mgagne hogepodge: ping
16:27 markvoelker joined #puppet-openstack
16:33 arnaud_orange left #puppet-openstack
16:36 aimon_ joined #puppet-openstack
16:40 cwolferh joined #puppet-openstack
16:52 csschwe joined #puppet-openstack
16:55 ryanycoleman joined #puppet-openstack
16:56 ryanycoleman joined #puppet-openstack
16:59 openstackgerrit A change was merged to stackforge/puppet_openstack_builder: Allow Glance to COW images to Cinder Volumes  https://review.openstack.org/91113
17:02 spredzy mgagne, ping
17:02 mgagne spredzy: hi
17:02 spredzy mgagne, how's it doing ?
17:03 mgagne spredzy: fine and yourself?
17:03 aimon_ joined #puppet-openstack
17:03 spredzy mgagne, sunny day in montreal, so I can only be good ;)
17:03 spredzy I wanted to know your point of view on my answer to your comment here https://review.openstack.org/#/c/94399/5/manifests/init.pp
17:03 dgollub joined #puppet-openstack
17:03 spredzy before I submit a new patchset
17:03 mgagne spredzy: hehe, yesterday wasn't that great in the evening ^^'
17:03 mgagne spredzy: checking
17:04 spredzy mgagne, defintly not, funny those sky above St Laurent was completly dark, sky above Mont Royal was sunny, it was a funny contrast ;)
17:04 spredzy s/those/thought
17:08 Madkiss joined #puppet-openstack
17:08 Madkiss folks, trying to deploy openstack with puppet, I see this:
17:08 Madkiss May 23 17:07:42 puppet puppet-master[1926]: (Scope(Class[Cinder])) The sql_connection parameter is deprecated, use database_connection instead.
17:08 marun joined #puppet-openstack
17:08 Madkiss May 23 17:07:42 puppet puppet-master[1926]: Must provide non empty value. on node alice.example.com
17:08 Madkiss What's wrong here?
17:11 spredzy Madkiss, first message means you should run database_connection instead of sql_connection, and probably that your current sql_connection is empty
17:11 spredzy (ie. undef)
17:13 spredzy mgagne, thanks for the answer
17:14 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-heat: Enable heat server to be run in SSL mode  https://review.openstack.org/94412
17:15 hogepodge joined #puppet-openstack
17:15 hogepodge mgagne pong
17:19 xarses joined #puppet-openstack
17:22 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-neutron: Enable neutron server to be run in SSL mode  https://review.openstack.org/94432
17:28 Madkiss spredzy: $database_connection _is_ defined. these two messages are apparently not related.
17:30 spredzy Madkiss, based on your error message you seem to have both $sql_connection set (mea culpa for the previous indication), but from what you say you also have $database_connection defined, but since you have $sql_connection set it will be the value used
17:31 spredzy what value do you have set for $sql_connection ?
17:31 spredzy Madkiss, cf. https://github.com/stackforge/puppet-cinder/blob/master/manifests/init.pp#L110-L115
17:32 Madkiss uhm.
17:32 Madkiss misunderstanding.
17:32 Madkiss I changed sql_connetion to database_connection.
17:32 Madkiss now the warning is gone
17:32 Madkiss the error is still there. i have confirmed that database_connection is set properly.
17:34 alugovoi joined #puppet-openstack
17:34 spredzy Madkiss, using hiera ?
17:34 Madkiss no.
17:37 spredzy Maybe -> https://projects.puppetlabs.com/issues/21088 what does hostname -f gives you ?
17:37 Madkiss alice.example.com
17:37 Madkiss just like it should
17:40 spredzy Madkiss, are you just trying to install cinder on alice? or the whole openstack? Can you paste your manifest somewhere ?
17:44 Madkiss oh well.
17:45 Madkiss i guess i will just call it a day.
17:45 Madkiss puppet is a neverending nightmare.
17:51 dvorak EmilienM: around?  co-worker and I are looking over your OVS ML2 patch and had some questions about the firewall driver
17:51 dvorak right now we're having issues with the ML2 plugin class and the OVS ML2 agent class stepping on each other
17:53 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-nova: Enable nova server to be run in SSL mode  https://review.openstack.org/94399
17:55 Madkiss spredzy: there must be a way to figure out where that goddamn error message is calling from, eh?
17:55 Madkiss I mean, somebody has to actually *call* the pick
17:56 spredzy Madkiss, surely, but with the info you provided I am limited to make suggestions
17:56 Madkiss what's the default procedure for this? how can I make the pick function more verbose?
17:57 spredzy puppet agent -vt
17:57 spredzy -v standing for verbose
17:57 Madkiss i ran "--debug --verbose".
17:57 Madkiss Exact the same amount of useful information
17:58 spredzy check your puppet master log
17:58 spredzy see if anything popped
17:58 Madkiss May 23 17:53:00 puppet puppet-master[1493]: Must provide non empty value. on node alice.example.com
17:58 Madkiss nothing else.
17:59 spredzy provide the manifest you are trying to run so we can help you with some concrete example
18:00 Madkiss https://github.com/madkiss/kickstack/tree/icehouse
18:02 spredzy Madkiss, what I am supposed to look at ?
18:02 ryanycoleman joined #puppet-openstack
18:03 Madkiss I have assigned the "infrastructure" role to the node that's causing the problem.
18:05 spredzy did you try commenting them  all and then out one by one to find out which one exactly is causing it ?
18:06 Madkiss the problematic one appears to be the api class.
18:06 spredzy which one ?
18:06 Madkiss kickstack::class::api.
18:08 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Add Cobbler support for baremetal provisioning  https://review.openstack.org/95232
18:09 ryanycoleman joined #puppet-openstack
18:09 dtalton joined #puppet-openstack
18:10 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Add Cobbler support for baremetal provisioning  https://review.openstack.org/95232
18:15 Madkiss spredzy: found it.
18:15 ryanycoleman joined #puppet-openstack
18:15 Madkiss the problem is in kickstack::neutron::server.
18:15 spredzy and what was the cause ?
18:16 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Add Cobbler support for baremetal provisioning  https://review.openstack.org/95232
18:17 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Add Cobbler support for baremetal provisioning  https://review.openstack.org/95232
18:19 Madkiss spredzy: a missing dependency
18:21 ryanycoleman joined #puppet-openstack
18:21 alugovoi joined #puppet-openstack
18:24 ryanycoleman joined #puppet-openstack
18:36 Madkiss Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter secret at /etc/puppet/modules/keystone/manifests/init.pp:251 on node alice.example.com
18:36 Madkiss hmmm
18:37 openstackgerrit Mark T. Voelker proposed a change to stackforge/puppet-neutron: Add parameter to set veth MTU  https://review.openstack.org/95247
18:37 dgollub joined #puppet-openstack
18:37 openstackgerrit Chris Ricker proposed a change to stackforge/puppet_openstack_builder: Set charset and collation order parameters  https://review.openstack.org/95248
18:46 openstackgerrit Donald Talton proposed a change to stackforge/puppet_openstack_builder: Add Cobbler support for baremetal provisioning  https://review.openstack.org/95232
18:48 cbaesema joined #puppet-openstack
18:59 prad joined #puppet-openstack
19:01 prad_ joined #puppet-openstack
19:06 openstackgerrit Chris Ricker proposed a change to stackforge/puppet-nova: Default to utf8 for MySQL  https://review.openstack.org/95254
19:14 mgagne hogepodge: ping
19:15 openstackgerrit Chris Ricker proposed a change to stackforge/puppet-ceilometer: Default to utf8 for MySQL  https://review.openstack.org/95255
19:20 kkirkpatrick joined #puppet-openstack
19:23 dgollub joined #puppet-openstack
19:26 dgollub joined #puppet-openstack
20:02 ryanycoleman joined #puppet-openstack
20:03 ryanycoleman joined #puppet-openstack
20:03 hogepodge pong mgagne
20:04 mgagne hogepodge: how do you think we should make use of aviator? How should we make it available for our modules? package resource from gems? bundle in openstacklib? A new puppet module aviator which only installs/bundles aviator?
20:07 hogepodge Either package resource from gems, or install/bundle from openstacklib would be my first two responses.
20:08 mgagne hogepodge: would there be cases where people can't install from gems in production?
20:08 hogepodge Likely, yes.
20:08 Hunner I assume it's not packaged in distros, is it?
20:08 hogepodge Nope.
20:09 hogepodge By nope I would assume not. It’s not a widely used library. Fog would more likely be packaged.
20:09 Hunner Gems are frustrating, especially for anyone using rbenv etc
20:09 Hunner Anything you stick in the lib/ directory of a module can be loaded by a puppet agent (providers etc)
20:10 Hunner So we could just track releases in openstacklib and ship aviator along with it
20:10 mgagne Hunner, hogepodge: My suggestion would therefore be: Can we create a puppet module which would bundle aviator?
20:10 hogepodge I don’t see why not.
20:10 Hunner mgagne: "bundle" == stick it in lib/ ?
20:10 mgagne Hunner: I was more or less thinking about the reusability of aviator
20:10 Hunner I used to do that with hiera :). It worked well
20:10 hogepodge My initial reaction was “not another module”, but having another module makes it more widely usable.
20:11 mgagne hogepodge: that's what I though
20:11 mgagne hogepodge: a puppet module bundling aviator could be released more often than our openstacklib
20:12 mgagne hogepodge: so the end user won't have to install openstacklib to make use of aviator
20:12 hogepodge mgagne. Yeah, that’s my thought process too. Took me a moment to get there.
20:12 mgagne hogepodge: if we go down that path, I don't know what would be left to be put in openstacklib
20:14 openstackgerrit Chris Ricker proposed a change to stackforge/puppet-swift: Add dependency so swift config creation succeeds  https://review.openstack.org/95259
20:14 mgagne hogepodge: we could do this instead: puppet-nova --requires--> openstacklib --requires--> aviator
20:14 mgagne hogepodge: so we only have to depend on one common lib
20:15 mgagne hogepodge: and insert our common functions in openstacklib if needed
20:15 hogepodge mgagne I’d like to see common functions in openstacklib
20:15 mgagne hogepodge: sure
20:31 dvorak has anyone actually used aviator?
20:33 dvorak it seems ot assume it's going to consume a yaml config file, or a previous session state
20:33 dvorak https://github.com/aviator/aviator/blob/master/lib/aviator/core/session.rb#L40-L49
20:46 hogepodge dvorak It’s on Stackforge now, so we can patch to initialize in memory.
20:47 hogepodge https://github.com/stackforge/aviator
20:48 hogepodge I expect that work is going to be done on the library, but it’s work that would be written anyway.
20:48 dvorak nod
20:49 hogepodge aimon is mark in this room? Do you know his IRC nick?
21:02 ryanycoleman joined #puppet-openstack
21:04 dtalton joined #puppet-openstack
21:13 sputnik13 joined #puppet-openstack
21:14 mgagne hogepodge: it's aimon
21:15 mgagne hogepodge: oh, haha
21:16 mgagne hogepodge: should be mmaglana I guess
21:16 bogdando joined #puppet-openstack
21:17 mgagne hogepodge: he is in #openstack-qa and #openstack-dev
21:22 ryanycoleman joined #puppet-openstack
21:37 aimon hodgepodge yes he is here
21:38 mmaglana joined #puppet-openstack
21:38 aimon well here in  this roiom physically
21:38 aimon asking him to join this channel
21:38 mmaglana ping hogepodge
21:38 aimon here he is
21:38 mmaglana it is i
21:39 hogepodge mmaglana we’re already talking about modding aviator to use in-memory configuration
21:40 mmaglana yeah, that shouldn't be too difficult to do.
21:40 hogepodge Also talking about how to package for the modules. Right now the leading idea is to publish a module that repackages the source so it’s available to Puppet.
21:41 hogepodge Thanks for putting it on Stackforge, btw.
21:41 hogepodge That was fast.
21:41 hogepodge Thanks aimon
21:41 hogepodge and mmaglana
21:41 mmaglana no worries. i'm not yet done with the move though. still need to define the jenkins jobs.
21:41 aimon A module with it in lib?
21:42 mmaglana i was going to continue working on the move today but got caught up with stuff at work :)
21:42 hogepodge Yeah, not really ideal.
21:42 hogepodge The problem is there are lots of orgs where gems aren’t allowed.
21:43 hogepodge So packaging/distributing becomes a problem.
21:43 hogepodge nothing set in stone yet, though.
21:43 aimon hmm inside a module would be ok I think
21:43 hogepodge Just bouncing ideas round.
21:43 hogepodge A lib in a module means it’s immediately available to everything in Puppet.
21:43 aimon yep
21:43 mmaglana that should be fine.
21:44 aimon and other modules can call on it
21:44 aimon ig. types and providers for openstack
21:44 aimon *eg
21:44 aldavud joined #puppet-openstack
21:44 mmaglana as long as the lib/ dir is in the path, it will be ok.
21:45 aimon we can test that locally and see if it works
21:46 aimon hogepodge I can write a simple test type and provider to see if/how it will work
21:48 ryanycoleman joined #puppet-openstack
21:48 aimon or you can...
21:48 aimon :)
21:53 mmaglana regarding initializing from memory, it's just a matter of adding another condition in the initializer to check for a specific argument (e.g. 'config')  which gets assigned to @environment if it exists.
21:57 meylor joined #puppet-openstack
21:57 meylor joined #puppet-openstack
22:04 ryanycoleman joined #puppet-openstack
22:09 dtalton2 joined #puppet-openstack
22:10 rickerc_ joined #puppet-openstack
22:12 thumpba joined #puppet-openstack
22:15 openstackgerrit joined #puppet-openstack
22:30 thumpba joined #puppet-openstack
22:35 thumpba joined #puppet-openstack
22:45 mgagne hogepodge: and would we want to pass credentials to aviator? Still parsing from the openstack service config file? What about a configuration file of our own?
22:51 hogepodge mgagne I’d very much like to find a solution that doesn’t require the api config files (with credentials) to be in place.
22:52 mgagne hogepodge: great, I think we both agree on that one
22:52 hogepodge Falling back to them is ok imo, but I feel like the providers should be able to run just against an api
22:53 hogepodge I want the puppet modules to not just install OpenStack, but to treat an OpenStack installation as a “local” resource if so desired.
22:56 aldavud joined #puppet-openstack
22:59 badiane_ka joined #puppet-openstack
23:13 ryanycoleman joined #puppet-openstack
23:17 kitp joined #puppet-openstack
23:17 dvorak aviator has outside deps also though, right?  you'd have to put those in a module too
23:17 ryanycoleman joined #puppet-openstack
23:20 mmaglana dvorak: yes on the dependencies. it currently has 4 immediate dependencies: faraday, activesupport, thor, and terminal-table. all others are development and testing dependencies. see https://github.com/aviator/aviator/blob/master/aviator.gemspec
23:20 dvorak nod, I was looking earlier
23:21 mmaglana if you're not going to use the cli portion of aviator, then you can forgo thor and terminal-table.
23:21 dvorak I suspect those pull in a bunch of other things, I wonder if there is a good way to just have some automated way of pulling all of them into the module tree
23:26 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-nova: Enable nova server to be run in SSL mode  https://review.openstack.org/94399
23:29 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-nova: Enable nova server to be run in SSL mode  https://review.openstack.org/94399
23:36 openstackgerrit Yanis Guenane proposed a change to stackforge/puppet-cinder: Enable cinder server to be run in SSL mode  https://review.openstack.org/94395
23:47 john3213 joined #puppet-openstack
23:52 john3213 left #puppet-openstack
23:56 ozialien joined #puppet-openstack

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