Thursday, 2016-02-18

crinklemfisch: clayton do you still deploy designate in virtualenvs with puppet? or any other openstack services?00:04
claytonno, we deploy it in docker now00:14
claytonbut it's a virtalenv inside the docker container00:15
claytonwe use this code + the puppet-designate module - https://github.com/twc-openstack/puppet-os_docker00:15
claytonwe also deploy heat and nova the same way00:21
claytongoing to probably do neutron or keystone next00:21
crinkleclayton: hmm okay00:23
*** rahulait has quit IRC00:24
*** xarses has quit IRC00:45
*** rcernin has quit IRC00:46
*** dfisher has quit IRC00:52
*** mdorman has quit IRC00:56
*** ducttape_ has joined #puppet-openstack01:15
*** xarses has joined #puppet-openstack01:23
*** nlahouti has quit IRC01:28
*** ducttape_ has quit IRC01:29
mfischis anyone using the neutron_router_interface provider?01:33
*** rahulait has joined #puppet-openstack01:52
*** ducttape_ has joined #puppet-openstack02:01
*** angdraug has quit IRC02:26
*** ducttape_ has quit IRC02:29
*** ducttape_ has joined #puppet-openstack02:31
*** cwolferh has quit IRC02:31
*** ducttape_ has quit IRC02:39
*** brandon has quit IRC02:43
*** ilbot3 has quit IRC02:45
*** ilbot3 has joined #puppet-openstack02:48
*** ducttape_ has joined #puppet-openstack02:49
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add api_paste type/provider for Sahara  https://review.openstack.org/28161302:51
*** kindjal has joined #puppet-openstack03:06
kindjalDoes anyone have an example of puppet-manila?03:06
*** gildub has quit IRC03:11
*** rahulait has quit IRC03:14
*** ducttape_ has quit IRC03:30
*** gildub has joined #puppet-openstack03:35
*** ducttape_ has joined #puppet-openstack03:36
EmilienMkindjal: https://github.com/openstack/puppet-manila/blob/master/spec/acceptance/basic_manila_spec.rb is a good start03:37
openstackgerritEmilien Macchi proposed openstack/puppet-keystone: Mitaka master updates  https://review.openstack.org/28038503:45
*** ducttape_ has quit IRC03:46
*** nlahouti has joined #puppet-openstack03:49
*** nlahouti1 has joined #puppet-openstack03:50
*** fedexo has joined #puppet-openstack03:52
*** nlahouti has quit IRC03:53
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935104:03
*** ducttape_ has joined #puppet-openstack04:11
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151504:11
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Cinder with RBD backend  https://review.openstack.org/28162404:28
*** ducttape_ has quit IRC04:28
*** richm has quit IRC04:30
*** saneax_AFK is now known as saneax04:34
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935104:46
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151504:47
EmilienMcrinkle: I think we have an orchestration issue with the disable admin token class, I'm trying to solve it here: https://review.openstack.org/#/c/280385/04:49
openstackgerritEmilien Macchi proposed openstack/puppet-keystone: CI test - never merge  https://review.openstack.org/28162604:49
EmilienMand I think puppet-keystone gate is currently broken04:49
EmilienMcrinkle: should we really require keystone::roles::admin ?04:50
crinkleEmilienM: require it where?04:52
EmilienMcrinkle: https://github.com/openstack/puppet-keystone/blob/master/manifests/disable_admin_token_auth.pp#L1504:52
EmilienMI think it can causes issue04:52
EmilienMall beaker tests are failing right now04:52
EmilienMbecause in some beaker tests, we change the default domain04:53
EmilienMand openrc needs to be updated but in the right order I think04:53
crinkleEmilienM: yes it needs to be required because the admin user needs to be created with the admin token before it gets disabled04:53
crinklethey were passing when we merged the thing04:53
EmilienMright, I'm sure I screwed up something04:54
EmilienMI'll dig tomorrow04:54
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935104:58
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151504:59
EmilienMI confirm puppet-keystone beaker jobs are broken: https://jenkins04.openstack.org/job/gate-puppet-keystone-puppet-beaker-rspec-dsvm-trusty/311/consoleFull05:00
crinkleEmilienM: can we maybe just keep that beaker test in the keystone module and remove it from the integration repo05:02
EmilienMcrinkle: what do you want to remove from integ? the class?05:02
EmilienMrevert https://github.com/openstack/puppet-openstack-integration/commit/becca2e139d389f579d5241e9dfa499267aeecec ?05:02
crinkleyes the disable_admin_token_auth class05:02
EmilienMcrinkle: I would like to have this class in our integration tests though05:03
EmilienMI thought it might be useful to test it05:04
EmilienMwith other components, like glance, neutron05:04
EmilienMcrinkle: I can try to revert it05:07
EmilienMI'll dig a little bit more tomorrow.05:07
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935105:27
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151505:27
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add api_paste type/provider for Sahara  https://review.openstack.org/28161305:32
*** gildub has quit IRC06:13
*** furlongm has joined #puppet-openstack06:18
*** jaosorior has quit IRC06:23
*** jaosorior has joined #puppet-openstack06:24
*** nlahouti1 has quit IRC06:35
*** nlahouti has joined #puppet-openstack06:35
*** fedexo has quit IRC06:47
*** fedexo has joined #puppet-openstack06:54
*** rcernin has joined #puppet-openstack07:50
*** samuelBartel has quit IRC07:52
*** foxhunt_away is now known as foxhunt7208:03
*** skolekonov_ has joined #puppet-openstack08:10
*** dgurtner has joined #puppet-openstack08:10
*** dgurtner has quit IRC08:10
*** dgurtner has joined #puppet-openstack08:10
*** jtomasek|afk is now known as jtomasek08:15
*** fedexo has quit IRC08:20
*** jpena has joined #puppet-openstack08:27
*** nlahouti has quit IRC08:28
*** leanderthal|afk is now known as leanderthal08:29
*** hjensas has joined #puppet-openstack08:42
*** hjensas has joined #puppet-openstack08:42
*** johnmilton has joined #puppet-openstack08:50
*** gfidente has joined #puppet-openstack09:10
*** igajsin1 has left #puppet-openstack09:15
*** paramite has joined #puppet-openstack09:32
*** samuelBartel has joined #puppet-openstack09:45
*** johnmilton has quit IRC09:51
*** derekh has joined #puppet-openstack09:56
*** openstackgerrit has quit IRC10:02
*** openstackgerrit has joined #puppet-openstack10:03
*** davideagle_ has joined #puppet-openstack10:29
*** dalees has quit IRC10:30
*** dalees has joined #puppet-openstack10:34
openstackgerritOleksiy Molchanov proposed openstack/puppet-ceph: Add possibility to use mod_proxy for radosgw  https://review.openstack.org/26602710:36
*** aarefiev has quit IRC10:37
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add the capability to configure api-paste.ini with config.pp  https://review.openstack.org/28175610:47
*** kindjal_ has joined #puppet-openstack10:57
*** kindjal has quit IRC10:57
*** kindjal_ is now known as kindjal10:57
*** _degorenko|afk is now known as degorenko11:01
*** andybotting has quit IRC11:09
*** aarefiev has joined #puppet-openstack11:11
*** davideagle_ has quit IRC11:22
*** davideagle_ has joined #puppet-openstack11:29
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add the capability to configure api-paste.ini with config.pp  https://review.openstack.org/28175611:34
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add the capability to configure api-paste.ini with config.pp  https://review.openstack.org/28175611:37
openstackgerritzhongshengping proposed openstack/puppet-sahara: Add the capability to configure api-paste.ini with config.pp  https://review.openstack.org/28175611:38
EmilienMhello12:40
degorenkohey o/12:41
EmilienMdegorenko: fyi, I'll me 100% off tomorrow12:42
degorenkoEmilienM, ok, ack :)12:42
EmilienMdegorenko: and fyi puppet-keystone beaker jobs are broken12:42
EmilienMhttps://review.openstack.org/#/c/281626/12:43
degorenkothat's not good :(12:43
* degorenko looking12:43
EmilienMbecause of https://review.openstack.org/28035012:43
*** johnmilton has joined #puppet-openstack12:43
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Glance with RBD backend  https://review.openstack.org/28145512:43
EmilienMI wanted to revert it but I think that's not good12:44
EmilienMwe need to fix beaker12:44
EmilienMI'm trying to fix here: https://review.openstack.org/#/c/280385/12:44
EmilienMbut I failed until now12:44
degorenkohow it passed then tests before?12:45
degorenkoi'm about keystone_disable_admin_token_auth_spec.rb12:45
degorenkooh, we do nothing here12:45
degorenkoi see12:46
EmilienMdegorenko: crinkle did the patch before me in puppet-keystone https://review.openstack.org/25624812:46
degorenkoyeah, i've +2 it12:47
*** dalees has quit IRC12:47
*** dalees has joined #puppet-openstack12:48
openstackgerritMerged openstack/puppet-tripleo: Upgrade all packages after puppet managed ones  https://review.openstack.org/26825712:49
degorenkoEmilienM, looks like providers also use token_auth12:51
*** davideagle_ has quit IRC12:54
*** morazi has joined #puppet-openstack12:54
*** ducttape_ has joined #puppet-openstack12:58
*** ducttape_ has quit IRC13:11
*** jayg|g0n3 is now known as jayg13:13
*** paramite is now known as paramite|afk13:13
*** jayg is now known as jayg|g0n313:14
*** jayg|g0n3 is now known as jayg13:14
*** karimb has joined #puppet-openstack13:20
openstackgerritJames Slagle proposed openstack/puppet-tripleo: packages: secure upgrade workflow from dependency cycles  https://review.openstack.org/28184613:23
*** alee_dinner has quit IRC13:23
gfidenteEmilienM, do you know if there is a reason why puppet-ceph doesn't allow setting of 'host=' key?13:26
EmilienMgfidente: no idea13:26
gfidentecan I go adding it or is it not included by choice?13:27
EmilienMi don't know this param13:27
gfidenteack will add it13:27
EmilienMbut go ahead13:27
openstackgerritGiulio Fidente proposed openstack/puppet-cinder: Allow customization of DEFAULT/host  https://review.openstack.org/28185113:33
*** davideagle_ has joined #puppet-openstack13:33
*** karimb has quit IRC13:37
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935113:39
openstackgerritEmilien Macchi proposed openstack/puppet-zaqar: Add acceptance spec for zaqar with mongo.  https://review.openstack.org/27935113:44
*** jpena is now known as jpena|lunch13:44
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151513:46
*** ducttape_ has joined #puppet-openstack13:50
*** hjensas has quit IRC13:50
*** ducttape_ has quit IRC13:51
*** davideagle_ has quit IRC13:56
*** richm has joined #puppet-openstack13:56
openstackgerritOleksiy Molchanov proposed openstack/puppet-ceph: Add possibility to use mod_proxy for radosgw  https://review.openstack.org/26602713:58
*** paramite|afk is now known as paramite13:59
*** hjensas has joined #puppet-openstack14:04
*** hjensas has joined #puppet-openstack14:04
*** ducttape_ has joined #puppet-openstack14:08
*** skolekonov_ has quit IRC14:12
*** davideagle_ has joined #puppet-openstack14:14
*** ducttape_ has quit IRC14:14
openstackgerritMerged openstack/puppet-openstack-integration: scenario001: deploy Glance with RBD backend  https://review.openstack.org/28145514:15
*** ducttape_ has joined #puppet-openstack14:19
*** ducttape_ has quit IRC14:23
*** jaosorior has quit IRC14:24
*** jaosorior has joined #puppet-openstack14:25
*** kindjal has quit IRC14:26
*** davideagle_ has quit IRC14:29
*** davideagle_ has joined #puppet-openstack14:35
*** alee_dinner has joined #puppet-openstack14:36
*** jtomasek has quit IRC14:39
*** jtomasek has joined #puppet-openstack14:44
*** ducttape_ has joined #puppet-openstack14:48
*** jpena|lunch is now known as jpena14:50
*** dfisher has joined #puppet-openstack14:53
*** ducttape_ has quit IRC14:54
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151514:56
*** ducttape_ has joined #puppet-openstack14:56
*** jaosorior has quit IRC14:58
*** jaosorior has joined #puppet-openstack14:59
*** ducttape_ has quit IRC14:59
*** xarses has quit IRC15:04
*** kindjal has joined #puppet-openstack15:05
*** saneax is now known as saneax_AFK15:05
chemjayg: I posted some comments and a patch on the puppet-pacemaker lint patch15:07
chemjayg: I assume that you have created a patch for adding the headers to the file.15:07
chemjayg: I think you should adjust part of it, see my comments :)15:08
jaygchem: ok, will look at your comments after call15:12
*** davideagle_ has quit IRC15:14
*** davideagle_ has joined #puppet-openstack15:17
*** davideagle_ has quit IRC15:30
*** cwolferh has joined #puppet-openstack15:35
*** xarses has joined #puppet-openstack15:38
openstackgerritKeith Schincke proposed openstack/puppet-ceph: Add support for civetweb  https://review.openstack.org/25454815:42
*** ducttape_ has joined #puppet-openstack15:46
*** yottatsa has joined #puppet-openstack15:47
*** davideagle_ has joined #puppet-openstack15:48
*** iurygregory has quit IRC15:51
*** paramite is now known as paramite|afk15:53
*** morazi has quit IRC15:53
*** angdraug has joined #puppet-openstack15:55
*** iurygregory has joined #puppet-openstack15:57
*** skolekonov_ has joined #puppet-openstack15:59
*** mdorman has joined #puppet-openstack16:00
IvanBerezovskiyEmilienM: you will be glad to know https://review.openstack.org/#/c/279460/16:00
*** alee_dinner is now known as alee16:01
IvanBerezovskiyand CI is coming! :)16:01
EmilienMIvanBerezovskiy: I already commented16:01
*** morazi has joined #puppet-openstack16:02
IvanBerezovskiyEmilienM: you are welcome to review as well ;)16:02
*** zigo has quit IRC16:03
*** zigo has joined #puppet-openstack16:05
*** hjensas has quit IRC16:05
*** gchamoul has quit IRC16:05
*** rcernin has quit IRC16:17
*** paramite|afk is now known as paramite16:19
*** gchamoul has joined #puppet-openstack16:21
jaygchem: ok, updated https://review.openstack.org/#/c/280683 if you want to take a look before I run recheck16:24
chemjayg: the check will run anyway I think16:25
jaygah, k16:26
jayg(didn't seem like it did last time, maybe I was too impatient)16:26
chemjayg: this LGTM, I just removed two rogues space because I'm being pedantic, I'll +2 now16:33
chemjayg: I'm just waiting for the tests to be triggered and then I'll +216:36
*** haplo37 has joined #puppet-openstack16:39
*** leanderthal is now known as leanderthal|afk16:39
*** skolekonov__ has joined #puppet-openstack16:40
*** skolekonov_ has quit IRC16:42
*** holser_ has joined #puppet-openstack16:43
degorenkochem, hey :) can you review my cinder patch again? :) it should be ready now16:47
*** skolekonov_ has joined #puppet-openstack16:49
*** skolekonov__ has quit IRC16:53
*** foxhunt72 is now known as foxhunt_away16:56
*** davideagle_ has quit IRC16:58
*** nlahouti has joined #puppet-openstack16:59
*** skolekonov__ has joined #puppet-openstack16:59
*** skolekonov__ has quit IRC17:00
jaygchem: thanks for catching those, I thought I had cleaned them all :)17:01
*** yottatsa has quit IRC17:01
*** dgurtner has quit IRC17:02
*** skolekonov_ has quit IRC17:03
*** fedexo has joined #puppet-openstack17:04
*** ericksonsantos has joined #puppet-openstack17:11
*** dmsimard is now known as rdobot17:11
*** rdobot is now known as dmsimard17:13
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151517:18
openstackgerritKeith Schincke proposed openstack/puppet-ceph: Add support for civetweb  https://review.openstack.org/25454817:25
chemdegorenko: will do, tomorrow morning, is that ok ?17:26
degorenkochem, sure, thanks17:26
openstackgerritMatt Fischer proposed openstack/puppet-keystone: Create PKI signing folder if pki setup is enabled  https://review.openstack.org/28197217:27
*** fedexo has quit IRC17:27
*** samuelBartel has quit IRC17:29
*** saneax_AFK is now known as saneax17:30
chemjayg the infra is slow today... will give a look at it latter and if green (no reason it won't be, but hell, let's do it the right way) I'll put +217:31
*** ayoung has joined #puppet-openstack17:32
jaygchem: fair enough, I was just checking for any results as well17:33
jayghad a transient error yesterday that needed recheck, so I'll watch for results17:33
*** dhollinger has joined #puppet-openstack17:34
ayoungOK, working on the last two providers  for the Keystone Federation APIs:  mapping and federation protocol.  Doing the last on first.  I've cloned: (reverse-i-search)`cp': sudo cp /etc/puppet/modules/keystone/spec/unit/type/keystone_identity_provider_spec.rb /etc/puppet/modules/keystone/spec/unit/type/keystone_federation_protocol_spec.rb17:35
ayoungand17:35
ayoungmade the following dir:17:35
ayoung/etc/puppet/modules/keystone/lib/puppet/provider/keystone_federation_protocol/openstack.rb17:35
ayoungand replaced identity_provider with federataion_protocol17:36
*** rcernin has joined #puppet-openstack17:36
ayoungwell, except without the typo17:36
ayoungand17:36
ayoungcat protocol.pp17:36
ayoungkeystone_federation_protocol { 'keycloak':\n    ensure => present\n}\n17:36
ayoung(\n added by me to not spam17:36
ayoungbut:17:37
ayoungsudo puppet apply protocol.pp17:37
ayoungError: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type keystone_federation_protocol at /home/heat-admin/protocol.pp:3 on node overcloud-controller-0.localdomainWrapped exception:17:37
ayoungSo it seems it is not finding my new thing17:37
ayoungpastes are http://paste.openstack.org/show/487457/  and http://paste.openstack.org/show/487456/17:39
ayoungrichm, EmilienM, or mfisch  ^^  ?17:44
jaygayoung: did you add type in addition to provider?  that is what it looks like the error is saying is missing17:49
jaygyou spec requires 'puppet/type/keystone_federation_protocol'17:49
ayoungjayg, I thought so...let me double check17:50
*** dgurtner has joined #puppet-openstack17:50
jaygbut the pastes above show only provider/keystone_federation_protocol/openstack.rb17:50
ayoungjay file is /etc/puppet/modules/keystone/spec/unit/type/keystone_federation_protocol_spec.rb17:50
ayoungjayg, in this one http://paste.openstack.org/show/487456/17:51
jaygright, that is the spec, but I mean in /lib/puppet/type17:51
ayoungah17:51
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Cinder and Nova with RBD backend  https://review.openstack.org/28162417:52
ayoungjayg, ayuh.  that was it17:53
jaygcool :)17:53
ayounghere's hoping that I don't hose my system too badly...17:53
EmilienMayoung: use a vm :P17:54
ayoungEmilienM, I am.  I need to get setup better for Puppet development, though17:55
ayoungI'm using a tripleo overcloud controller node,17:55
EmilienMayoung: I use vagrant: http://my1.fr/blog/puppet-module-functional-testing-with-vagrant-openstack-and-beaker/17:55
EmilienMor https://github.com/openstack/puppet-openstack-integration#all-in-one17:56
ayoungjayg, EmilienM, OK...so it failed, but in a good way:17:57
ayounghttp://paste.openstack.org/show/487461/17:57
ayoungthat makes sense to me, didn;'t have the idp or mapping in the call.17:58
*** alee is now known as alee_lunch17:58
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151517:58
openstackgerritBen Nemec proposed openstack/puppet-tripleo: Handle redirects for Horizon  https://review.openstack.org/28199118:00
*** degorenko is now known as _degorenko|afk18:02
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Cinder and Nova with RBD backend  https://review.openstack.org/28162418:02
*** ducttape_ has quit IRC18:11
*** saneax is now known as saneax_AFK18:14
*** derekh has quit IRC18:16
openstackgerritGiulio Fidente proposed openstack/puppet-cinder: Set default branch to stable/liberty in .gitreview  https://review.openstack.org/28199718:21
openstackgerritGiulio Fidente proposed openstack/puppet-cinder: Allow customization of DEFAULT/host  https://review.openstack.org/28199818:21
*** ducttape_ has joined #puppet-openstack18:23
*** jpena has quit IRC18:34
openstackgerritMerged openstack/puppet-cinder: Allow customization of DEFAULT/host  https://review.openstack.org/28185118:40
*** gfidente has quit IRC18:47
*** jaosorior has quit IRC19:04
*** dgurtner has quit IRC19:09
*** mdorman has quit IRC19:10
openstackgerritMatt Fischer proposed openstack/puppet-keystone: Create PKI signing folder if pki setup is enabled  https://review.openstack.org/28197219:12
mfischEmilienM: I dont understand your selinux comment19:14
mfischcan I add what?19:14
EmilienMdamn19:14
EmilienMsorry for that I wanted to cancel it19:14
EmilienMin a separate patch I want to add selinux_ignore_defaults19:14
EmilienMbecause if SElinux is enforced we can have troubles if keystone packaging already manage this dir19:15
mfischlet me check ubuntu19:16
mfischmaybe we dont need this folder at all19:16
EmilienMno need for ubuntu19:16
mfischdoes RDO have it?19:16
EmilienM(for selinux)19:16
EmilienMnope19:16
mfischok19:16
EmilienMbut I've seen many cases in openstack where we manage dirs already managed by packaging19:16
EmilienMand it leads to selinux issues19:16
mfischok19:16
EmilienMlet me show you an example19:16
EmilienMmfisch: https://github.com/puppetlabs/puppetlabs-rabbitmq/commit/0227f762070ffbbea3c28d6a60174de98fa4cc1c19:17
mfischinteresting19:17
mfischbut yeah that should be a separate patch I think19:17
EmilienMno worries19:18
*** angdraug has quit IRC19:20
*** ducttape_ has quit IRC19:21
openstackgerritBen Kero proposed openstack/puppet-openstack-integration: Add ability to manually install puppet modules  https://review.openstack.org/28201419:21
*** paramite has quit IRC19:24
*** alee_lunch is now known as alee19:28
*** ducttape_ has joined #puppet-openstack19:30
openstackgerritBen Kero proposed openstack/puppet-openstack-integration: Add ability to manually install puppet modules  https://review.openstack.org/28202019:30
openstackgerritBen Kero proposed openstack/puppet-openstack-integration: Add ability to pass puppet args in as env var  https://review.openstack.org/28202319:32
*** brandon has joined #puppet-openstack19:35
*** dgurtner has joined #puppet-openstack19:35
*** rcernin has quit IRC19:55
bkero^ backports to liberty branch20:02
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (4 for 2..3)20:03
ayoungError: Invalid parameter mapping(:mapping)20:03
ayoungError: /Stage[main]/Main/Keystone_federation_protocol[keycloak]/ensure: change from absent to present failed: Invalid parameter mapping(:mapping)20:03
ayoung  what am I doing wrong?20:03
ayoungjayg, EmilienM ?20:04
kindjalpuppet-manila installs an ancient manila client: 0.1~git20140208-0ubuntu120:04
kindjalI do not see a more modern client in the apt repos…20:04
kindjalshould there be: provider => pip in the client.pp module?20:05
EmilienMkindjal: we don't support source installs, only packaging. But contributions are welcome20:05
EmilienMayoung: which code?20:05
kindjalEmilienM: Is it correct that puppet-manila install that older client? I mean, it doesn’t work...20:06
kindjalIs that a bug? Or am I doing something wrong?20:06
EmilienMkindjal: it depends on your repos config20:06
EmilienMpuppet-manila does not manage the repos for you20:06
ayoungEmilienM, I'm hacking up a new provider20:07
EmilienMit's just run "apt-get intall python-manilaclient', nothing else.20:07
ayoungI can paste.  1 sec20:07
EmilienMkindjal: or yum install..20:07
EmilienMbut we don't configure repos for you20:07
EmilienMso if you say package is old, its not because of puppet-manila20:07
EmilienMbut your repo config20:07
kindjalthis is: http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/kilo main20:07
kindjalwhich doesn’t appear to have python-manilaclient20:07
*** markvoelker_ has joined #puppet-openstack20:07
EmilienMwell, you running Kilo, obviously it's old ;-)20:08
EmilienMyou should check in your manifests what is installing Kilo repository.20:08
EmilienMand update it20:08
ayoungEmilienM, http://paste.openstack.org/show/487476/20:08
kindjalEmilienM: ok, thanks20:08
ayoungEmilienM, and, this is just "learn by Cargo culting" not near production code20:08
EmilienMayoung: I'm about to leave now and I'm back Monday, so I prefer being honest and say I can't help right now. But next week I'm all yours if you want20:09
ayoungSo I am hardcoding the list call on line  6420:09
ayoungEmilienM, No problem. We can talk on Monday20:09
*** todin_ has joined #puppet-openstack20:09
EmilienMmfisch: fyi puppet-keystone beaker jobs are broken20:10
EmilienMsince yesterday20:10
EmilienMan attempt to fix them: https://review.openstack.org/#/c/280385/ -- but not successful yet.20:10
EmilienMif nobody takes over it, I'll look on Monday20:10
*** markvoelker has quit IRC20:12
*** tlbr_ has quit IRC20:12
*** bnemec has quit IRC20:12
*** todin has quit IRC20:12
*** xenolog has quit IRC20:12
*** tristanC has quit IRC20:12
*** tlbr has joined #puppet-openstack20:12
*** xenolog has joined #puppet-openstack20:12
*** tristanC has joined #puppet-openstack20:13
*** bnemec has joined #puppet-openstack20:13
*** kgalanov has quit IRC20:15
*** social has quit IRC20:15
*** social has joined #puppet-openstack20:15
*** kgalanov has joined #puppet-openstack20:17
openstackgerritEmilien Macchi proposed openstack/puppet-nova: rbd: make sure libvirt is run before get-or-set virsh secret  https://review.openstack.org/28204420:17
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Cinder and Nova with RBD backend  https://review.openstack.org/28162420:17
*** mdorman has joined #puppet-openstack20:32
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario002: deploy & test Zaqar  https://review.openstack.org/28151520:34
*** rahulait has joined #puppet-openstack20:39
*** rahulait has quit IRC20:41
*** cwolferh has quit IRC20:44
jaygayoung: sorry, wasn't watching irc, did you add :mapping to the type/ declaration as well?  I have seen similar errors when I did not add it in bot provider and type20:45
ayoungjayg, nope.  let me do that20:46
ayoungjayg, what is the simplest way to make that read/write?20:47
ayoung  newparam(:name, :namevar => true) do20:48
tristanCEmilienM: so beside the "collect exported resources" red warning, is there a way to make the puppet-gnocchi less verbose ? It seems like each statements are reschedulling restart of all gnocchi services, resulting in quite big puppet logs20:48
ayoung    newvalues(/\S+/)20:48
ayoung  end20:48
ayounglike that but with mapping?20:48
EmilienMtristanC: yes, you don't need to run puppet with debug options20:48
jaygayoung: I think so, depends how much you need to limit content, though I am no expert in that area20:48
EmilienMtristanC: and serviecs should not restart at each puppet run20:49
EmilienMtristanC: our CI is currently testing gnocchi puppet runs as being idempotent, and they are idempotent20:49
tristanCEmilienM: those are 'Info' log, see http://paste.openstack.org/show/487479/20:49
EmilienMwhich means first puppet run takes care of config/services and second does nothing20:49
EmilienMyour exec is not idempotent20:50
EmilienMthis is how we do: https://github.com/openstack/puppet-openstack-integration/blob/master/manifests/provision.pp#L25-L3620:50
tristanCEmilienM: it's not about being indepotent, this is output from the very first run20:50
EmilienMah ok20:50
EmilienMyeah, you're usin --debug I guess20:51
EmilienMuse -vt and you'll see less output20:51
EmilienMtristanC: https://docs.puppetlabs.com/puppet/latest/reference/man/apply.html#USAGE20:51
tristanCEmilienM: this is Info, we don't run debug20:52
EmilienMyou won't see all those "Info" things without --debug20:52
EmilienMwhat options do you use?20:52
tristanC$ssh puppet apply --test --environment sf --modulepath=/etc/puppet/environments/sf/modules/:/etc/puppet/modules/ $manifest20:52
EmilienM--test: Enable the most common options used for testing. These are 'verbose', 'detailed-exitcodes' and 'show_diff'.20:53
ayoungjayg, getting further20:53
EmilienMtristanC: --test is enabling --verbose, so maybe that's why20:53
ayoungnow it creates the entry, buty tries to do it every time.  I get this error20:53
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': undefined method `collect' for "\n":Puppet::Util::Execution::ProcessOutput20:53
ayoungEmilienM, go away!20:54
EmilienMtristanC: in your manifest, I suggest you to add an "onlyif" or an "unless" to make it idempotent.20:54
EmilienMayoung: yeah... I'm leaving, just helping tristanC20:54
openstackgerritColleen Murphy proposed openstack/puppet-keystone: Fix rabbitmq ssl logic  https://review.openstack.org/28046220:55
*** nlahouti has quit IRC20:56
tristanCokay, so I'll just hide those Gnocchi:: service rescheduling then... thank20:56
jaygayoung: is that coolect in the paste from before or something new?20:57
tristanCwould be sweet to make puppet not schedule any restart and just write configurations20:58
openstackgerritEmilien Macchi proposed openstack/puppet-nova: rbd: make sure libvirt is run before get-or-set virsh secret  https://review.openstack.org/28204420:59
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Cinder and Nova with RBD backend  https://review.openstack.org/28162421:00
EmilienMtristanC: it should not restart any service at second puppet run21:00
EmilienMour CI is testing it21:00
EmilienMI need to drop off, please report a bug in launchpad if you find something weird, we'll take care of it.21:01
*** rahulait has joined #puppet-openstack21:03
*** cdelatte has quit IRC21:05
*** johnmilton has quit IRC21:05
tristanCEmilienM: Thank you21:06
mfischDoes the client_package_name in keystone's manifest/python.pp have any value?21:12
mfischclient.pp doesn't use it21:12
mfischI'm going to remove it21:12
*** brandon has quit IRC21:13
mfischactually does this whole class have any value?21:14
mfischdang it, everyone usesit21:15
openstackgerritMatt Fischer proposed openstack/puppet-keystone: Make client & python classes behave the same  https://review.openstack.org/28206521:21
jaygayoung: I am heading out, but am here tomorrow if you need any more help from me21:25
*** jayg is now known as jayg|g0n321:27
*** leanderthal|afk has quit IRC21:30
*** cdelatte has joined #puppet-openstack21:31
*** mdorman has quit IRC21:31
openstackgerritKeith Schincke proposed openstack/puppet-ceph: Add support for civetweb  https://review.openstack.org/25454821:34
*** gildub has joined #puppet-openstack21:48
openstackgerritMatt Fischer proposed openstack/puppet-keystone: Remove deprecated tenant_ LDAP parameters  https://review.openstack.org/28207321:56
*** nlahouti has joined #puppet-openstack22:02
*** cwolferh has joined #puppet-openstack22:03
ayoungmfisch, good one!22:04
ayoungkill that LDAP assignemtn cruft22:04
mfischyeah22:04
mfischthat one made me happy22:04
mfischim working on reconfiguring some anchors to allow alternative install methods like venv and docker and fixing stuff that I see22:05
mfischif project gets renamed again Im quitting openstack22:06
*** hjensas has joined #puppet-openstack22:07
ayoungmfisch, so..I'm trying to write a provider via cargo culting an old one22:13
ayoungand getting this22:13
mfischEmilienM: looking at your review22:13
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': undefined method `collect' for #<Puppet::Util::Execution::ProcessOutput:0x000000034a3050>22:13
ayoungError: Execution of '/bin/openstack federation protocol create --format shell --identity-provider keycloak --mapping keycloak-saml2 saml2' returned 1: Conflict occurred attempting to store federation_protocol - Duplicate Entry (HTTP 409) (Request-ID: req-40f7b12f-b1f3-44e5-b48e-d4fe7fff1805)22:13
*** colonwq has quit IRC22:14
ayoungmfisch, he better not be here.22:14
mfischayoung: do you already have a saml2 defined?22:14
ayoung list.collect do |federation_protocol|22:14
ayoung      current_resource =22:14
*** rahulait has quit IRC22:14
ayoungmfisch, yeah, but that is not the problem22:14
ayoungI tried to get just the top line22:15
ayoungthat failure leads to the second, so I know why that is happening22:15
ayoungmfisch, what I don't get is the undefined collect message22:15
mfischso is the undef method what you're digging into?22:15
mfischok22:15
ayoungmfisch, I would expect the show to fail...I'll past the code22:16
mfischok22:16
*** rahulait has joined #puppet-openstack22:16
ayoungmfisch, http://paste.openstack.org/show/487505/22:16
mfischim not a ruby expert but I assume that you're not getting any output and so collect is failing?22:16
ayoungoh...if that is it, then I can guess why....22:16
ayounglet me try to fix the show command22:17
mfischputs "#{list}"22:17
mfischbetween 2/322:17
ayoung+-------+----------------+22:18
ayoung| id    | mapping        |22:18
ayoung+-------+----------------+22:18
ayoung| saml2 | keycloak-saml2 |22:18
ayoung+-------+----------------+22:18
mfischthats what list looks like?22:19
ayoungyep22:19
ayoungso maybe a format thing?22:19
ayoung--shell?22:19
mfischI think usually we use csv format and some other options22:19
mfisch'--quiet', '--format', 'csv'22:20
ayoungok...lemm try22:20
mfischI thought request did that for you22:20
mfischthats in the request code22:20
richmmethinks the compound request string is throwing off request()22:21
mfischcrinkle: can you tell me how to run spec tests now with r10k?22:22
mfischbundle install && bundle exec rake spec no longer works22:22
mfisch/var/lib/gems/1.9.1/bin/r10k: No such file or directory22:22
*** colonwq has joined #puppet-openstack22:22
ayoungmfisch, Error: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (6 for 2..3)22:22
mfischopenstack client right?22:23
crinklemfisch: i had that problem too and decided to let the ci run it for me >.>22:23
ayoungmfisch, yeah22:23
mfischcrinkle: thats what I've been doing22:23
crinklemfisch: i don't know what changed22:23
crinklemfisch: are you using rbenv or rvm?22:23
ayoungmfisch, I was trying the format from the 'identity provider' provuider (heh) and that works OK22:24
ayoungthat looks like this22:24
richmayoung: it should be something like this22:24
richmrequest('federation protocol', 'list', '--identity-provider', 'keycloak')22:24
ayounglist = request('identity provider', 'list')22:24
ayoung    list.collect do |identity_provider|22:24
ayoung      current_resource =22:24
ayoung        request('identity provider', 'show', identity_provider[:id])22:24
richmand22:24
ayoungrichm, I started with that, but it complained...22:24
richmayoung: what was the complaint?22:24
ayounglert me roll back22:25
mfischrequest should be doing all the csv foo for you22:25
mfischcrinkle: I dont even know22:25
mfischcrinkle: I will ask osdev22:25
mfischmaybe help someone else22:25
ayoungrichm, Error: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (7 for 2..3)22:25
ayoungError: Execution of '/bin/openstack federation protocol create --format shell --identity-provider keycloak --mapping keycloak-saml2 saml2' returned 1: Conflict occurred attempting to store federation_protocol - Duplicate Entry (HTTP 409) (Request-ID: req-1713afb0-ee8f-4664-91b4-83c0dfab2a84)22:26
ayoungrichm, Ah...I bet is another one of those spec things.  I need to say more params are allowable somewhere?22:26
crinklemfisch: EmilienM might have insight22:26
ayoungcrinkle, we depend on him too much22:26
ayounghe's gone til monday22:26
mfischayoung: can you paste the line thats used for that federation list?22:27
crinkleah22:27
mfischthe command22:27
ayounglist = request('federation protocol', 'list', '--quiet', '--format', 'csv' ,'--identity-provider', 'keycloak')22:27
ayoungmfisch, let me see where the error comes from,22:27
richmayoung: omit the '--quiet', '--format', 'csv' ,22:27
richmrequest with a 2nd argument of 'list' will do that automatically22:28
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (4 for 2..3)22:28
mfischrichm: yeah thats what I meant when I said I think request() wil do that for you22:28
mfischsorry for the bad original info22:28
ayoungso this opne is different from most lists in that it needs the id-p variable22:28
ayoungis this a problem with the call to the openstack client expecting it to be param-less?22:29
mfischopne?22:29
ayoungDinner TIME!22:29
richmayoung: try list = request('federation protocol', 'list', ['--identity-provider', 'keycloak'])22:29
mfischcrinkle: solved r10k with a symlink22:30
crinklemfisch: hax22:31
*** saneax_AFK is now known as saneax22:31
mfischi am 3133722:31
crinklemfisch: it works for me with rvm and not with rbenv...though these are different machines so that might not be the only difference22:31
*** dgurtner has quit IRC22:52
ayoungrichm, Error: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (4 for 2..3)22:52
*** saneax is now known as saneax_AFK22:53
ayoungrichm, ok, I think I can fake it out with an array22:54
ayoungrichm, "id","mapping"22:55
ayoung"saml2","keycloak-saml2"22:55
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': undefined method `collect' for "\"id\",\"mapping\"\n\"saml2\",\"keycloak-saml2\"\n":Puppet::Util::Execution::ProcessOutput22:55
ayoungthe top two lines are the output from  puts "#{list}"22:55
crinklemfisch: if you follow what jjb does instead of using normal ruby management tools it works http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/puppet-module-jobs.yaml#n1522:56
*** kindjal has quit IRC22:56
*** kindjal has joined #puppet-openstack22:57
*** gildub has quit IRC22:59
*** cdelatte has quit IRC22:59
*** dhollinger has quit IRC23:02
*** alee has quit IRC23:03
richmayoung: I don't understand - list_of_things = request('thing', 'list', ['arg1', 'arg2'])23:05
richmthis is valid syntax used elsewhere23:05
ayoungrichm, I think that works.  I think it is the constructor that is failing23:05
ayoung undefined method `collect' for "\"id\",\"mapping\"\n\"saml2\",\"keycloak-saml2\"\n"23:05
*** jtomasek has quit IRC23:05
ayoungthat calls new23:06
ayoungrichm, let me paste the current code in toto23:06
richmayoung: the output of request('thing', 'list', ...) should be an array of hashes23:06
richmthe method `collect' is a valid method for an array object23:07
ayounghttp://paste.openstack.org/show/487509/23:07
ayoungah, maybe it does not think it is an array due to the \n23:08
richmayoung: hold on23:08
richmayoung: try this23:08
richmayoung: list = request('federation protocol', 'list', ['--identity-provider', 'keycloak'])23:08
richmayoung: same with show23:09
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (5 for 2..3)23:09
richmwtf23:09
richmthat is the exact same syntax used in several places23:10
richmayoung: that is coming from the 'list' command, not the 'show' command?  because the show command has the same problem23:11
richmthe show command should be this23:11
richmrequest('federation protocol', 'show', ['--identity-provider', 'keycloak',  federation_protocol[:id]])23:11
ayoungyeah, that is from list.  When list executes correctly I get a different problem23:12
*** rahulait has quit IRC23:12
ayoungrichm, http://paste.openstack.org/show/487509/23:12
ayoungwhat implements "request" here?23:12
richmayoung: that's the old paste23:12
ayoungwhere is the base class23:13
ayoungrichm, I know, but you see the show command in there23:13
ayounghaven't changed it23:13
ayoungrichm, OK, walk me through this, because I know nothing from ruby:23:13
ayoungequire 'puppet/provider/keystone'23:14
richmayoung: https://github.com/openstack/puppet-keystone/blob/master/lib/puppet/provider/keystone.rb#L20723:14
richmayoung: which calls https://github.com/openstack/puppet-openstacklib/blob/master/lib/puppet/provider/openstack.rb#L6023:14
richmthe third argument is either a single string property, or an array of properties - it must be one object, at any rate23:15
ayoungdoes that --format shell seemed to work23:15
richmayoung: here is an example of how to use request('thing', 'list', [list of args])23:16
richmayoung: https://github.com/openstack/puppet-keystone/blob/master/lib/puppet/provider/keystone_user/openstack.rb#L12523:16
ayoungrichm, nope I lied23:17
ayoungdid not work23:17
richmayoung: here is an example of using 'show' with an array of args: https://github.com/openstack/puppet-keystone/blob/master/lib/puppet/provider/keystone.rb#L13423:19
richmayoung: If you are doing exactly as in the examples, then we'll have to get creative in debugging this thing23:20
ayoungrichm, the problem is def the list right now.  I'm going to hack toward what the baseclass does23:20
*** haplo37 has quit IRC23:20
richmayoung: can you paste the current code you're using?  http://paste.openstack.org/show/487509/ is the old wrong code23:22
ayoungrichm, will do.editing ATM23:26
ayoungrichm, http://paste.openstack.org/show/487513/23:29
richmayoung: replace line 74 with list = request('federation protocol', 'list', ['--identity-provider', 'keycloak'])23:32
richmayoung: remove line 7523:32
richmayoung: replace line 81 with this23:32
richm        request('federation protocol', 'show', ['--identity-provider', 'keycloak',  federation_protocol[:id]])23:33
ayoungError: Could not prefetch keystone_federation_protocol provider 'openstack': wrong number of arguments (5 for 2..3)23:33
richmbut there aren't 5 arguments . . . there are 3 :P23:33
richmayoung: I suppose you could hack puppet-openstacklib/lib/puppet/provider/openstack.rb23:35
*** kindjal has quit IRC23:35
richmin def self.request add a puts "properties #{properties}"23:35
richmthen23:35
richmin def self.openstack23:35
richmadd puts "args #{args} and #{*args}"23:35
richmfind out wth is actually being passed to these methods23:36
ayoungrichm, I need to get this set up better for development.  Right now I'm hacking as root inside /etc/puppet23:37
ayoungshould I clone https://github.com/openstack/puppet-openstacklib to start?23:37
ayoungor can I get away with just cloning https://github.com/openstack/puppet-keystone23:38
richmayoung: I suppose you have already cloned puppet-keystone23:38
richmayoung: and you don't need to clone puppet-openstacklib if you're just going to hack on a file for the purposes of debugging (unless you find an actual bug)23:39
ayoungnope, this is all out of the git tree to date...thought it was going to be quick and dirty...23:39
ayoungits 3 sshs deep on a tripleo controller node23:39
richmyow23:39
ayoungssh to Hardware, ssh to undercloud, ssh to controller23:40
ayoungI am guessing I can ssh direct from HW to controller, though23:40
openstackgerritJames Slagle proposed openstack/puppet-cinder: Revert "Allow customization of DEFAULT/host"  https://review.openstack.org/28209823:40
ayoungHi Ho Triple O23:40
*** hjensas has quit IRC23:41
openstackgerritJames Slagle proposed openstack/puppet-cinder: Revert "Allow customization of DEFAULT/host"  https://review.openstack.org/28209823:41
*** openstackgerrit has quit IRC23:47
*** openstackgerrit_ is now known as openstackgerrit23:47
*** openstackgerrit_ has joined #puppet-openstack23:47
*** openstackgerrit_ is now known as openstackgerrit23:48
*** openstackgerrit_ has joined #puppet-openstack23:49
ayoungrichm, OK,  I have it git cloned.  How to tst puppet apply against the local dir?23:49
*** gildub has joined #puppet-openstack23:50
ayoung--modulepath=/home/heat-admin/puppet-keystone23:50
richmayoung: I think you use puppet resource or puppet edit to exercise self.prefetch23:50
*** openstackgerrit_ has quit IRC23:55
openstackgerritayoung proposed openstack/puppet-keystone: first hack at keystone_federation_protocol  https://review.openstack.org/28210323:56
*** dfisher has quit IRC23:56
ayoungrichm, that is my WIP23:56
*** openstackgerrit_ has joined #puppet-openstack23:56
ayoungrichm, let's work with that review:  annotate what you think needs to be done;.23:57

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!