Friday, 2015-08-28

*** gildub has quit IRC00:01
*** saneax has quit IRC00:02
pabelangerEmilienM: good to know00:09
*** xarses_ has joined #puppet-openstack00:12
*** gildub has joined #puppet-openstack00:25
*** markvoelker has joined #puppet-openstack00:39
mfischEmilienM: bug list updated for mid-cycle: https://etherpad.openstack.org/p/puppet-liberty-mid-cycle00:48
*** zhangjn has joined #puppet-openstack00:57
*** sergmelikyan has quit IRC01:03
*** v1k0d3n has quit IRC01:29
Vinshcan providers create files from templates?01:36
*** ducttape_ has joined #puppet-openstack01:42
*** ilbot3 has quit IRC01:45
*** ilbot3 has joined #puppet-openstack01:47
*** tiswanso has joined #puppet-openstack01:50
*** tiswanso_ has joined #puppet-openstack01:55
*** tiswanso has quit IRC01:57
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Keystone V3 support with domain checking  https://review.openstack.org/21804401:58
*** xingchao has joined #puppet-openstack01:59
openstackgerritAdam Vinsh proposed openstack/puppet-swift: WIP Manage swift with swift_service defined type  https://review.openstack.org/20322002:05
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Use domain checking for tenant provider  https://review.openstack.org/21805902:16
openstackgerritRoland Hochmuth proposed openstack/puppet-monasca: Remove primary key on definition_dimensions_id  https://review.openstack.org/21806002:18
*** ducttape_ has quit IRC02:24
*** aimon has joined #puppet-openstack02:24
*** aimon_ has quit IRC02:27
EmilienMmfisch: thx02:35
EmilienMmfisch: awesome, good to have this list02:36
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735202:39
*** aimon_ has joined #puppet-openstack02:41
*** aimon has quit IRC02:43
*** v1k0d3n has joined #puppet-openstack02:52
*** severion has joined #puppet-openstack02:53
*** v1k0d3n has quit IRC02:56
*** aimon_ has quit IRC02:58
*** aimon has joined #puppet-openstack02:59
*** richm has quit IRC03:16
*** mihgen has quit IRC03:27
*** mgagne has quit IRC03:28
*** mihgen has joined #puppet-openstack03:32
*** mgagne has joined #puppet-openstack03:34
*** sergmelikyan has joined #puppet-openstack03:39
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Endpoints can be APIs version-less  https://review.openstack.org/21395703:41
*** tiswanso_ has quit IRC03:45
*** saneax has joined #puppet-openstack03:56
*** sergmelikyan has quit IRC04:09
*** saneax has quit IRC04:23
*** gildub has quit IRC04:24
*** saneax has joined #puppet-openstack04:25
*** saneax has quit IRC04:29
*** saneax has joined #puppet-openstack04:31
*** chandankumar has joined #puppet-openstack04:33
*** xingchao has quit IRC04:48
*** fedexo has joined #puppet-openstack04:51
*** chandankumar has quit IRC05:47
*** xingchao has joined #puppet-openstack05:47
*** xingchao has quit IRC06:11
*** chandankumar has joined #puppet-openstack06:14
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Keystone V3 support with domain checking  https://review.openstack.org/21804406:30
*** gildub has joined #puppet-openstack06:31
*** xingchao has joined #puppet-openstack06:32
*** clayton has quit IRC06:33
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Use domain checking for tenant provider  https://review.openstack.org/21805906:33
*** clayton has joined #puppet-openstack06:33
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Use domain checking for tenant provider  https://review.openstack.org/21805906:42
openstackgerritMerged openstack/puppet-openstack-integration: Install python-pymysql on Ubuntu  https://review.openstack.org/21780706:50
*** rochaporto has joined #puppet-openstack07:00
*** severion has quit IRC07:06
*** jpena has joined #puppet-openstack07:08
*** zhangjn has quit IRC07:15
*** dgurtner has joined #puppet-openstack07:34
openstackgerritDenis Egorenko proposed openstack/puppet-sahara: Add distribute mode for Sahara  https://review.openstack.org/19272107:35
*** stamak has joined #puppet-openstack07:54
*** derekh has joined #puppet-openstack08:10
*** jistr has joined #puppet-openstack08:12
openstackgerritXingchao Yu proposed openstack/puppet-designate: Add designate::mdns class  https://review.openstack.org/21497608:16
*** xingchao has quit IRC08:16
*** fedexo has quit IRC08:26
*** xingchao has joined #puppet-openstack08:49
*** IBerezovskiy has quit IRC08:58
*** skolekonov has quit IRC09:01
*** degorenko has quit IRC09:01
*** v1k0d3n has joined #puppet-openstack09:07
*** v1k0d3n has quit IRC09:11
*** stamak has quit IRC09:15
*** stamak has joined #puppet-openstack09:17
*** degorenko has joined #puppet-openstack09:30
*** skolekonov has joined #puppet-openstack09:33
*** degorenko has quit IRC09:39
*** degorenko has joined #puppet-openstack09:44
*** IBerezovskiy has joined #puppet-openstack09:48
*** xingchao has quit IRC10:12
*** stamak has quit IRC10:27
*** jpena has quit IRC10:27
*** saneax has quit IRC10:27
*** mgagne has quit IRC10:27
*** mihgen has quit IRC10:27
*** TC01 has quit IRC10:27
*** Vinsh has quit IRC10:27
*** dweaver has quit IRC10:27
*** michchap has quit IRC10:27
*** d0ugal has quit IRC10:27
*** Hunner has quit IRC10:27
*** _morgan has quit IRC10:27
*** aderyugin has quit IRC10:27
*** dmsimard has quit IRC10:27
*** pleia2 has quit IRC10:27
*** tlbr has quit IRC10:27
*** rochaporto has quit IRC10:27
*** markvoelker has quit IRC10:27
*** barthalion has quit IRC10:27
*** spredzy has quit IRC10:27
*** amaksimov has quit IRC10:27
*** krotscheck has quit IRC10:27
*** asilenkov has quit IRC10:27
*** rochaporto has joined #puppet-openstack10:29
*** markvoelker has joined #puppet-openstack10:29
*** barthalion has joined #puppet-openstack10:29
*** spredzy has joined #puppet-openstack10:29
*** amaksimov has joined #puppet-openstack10:29
*** krotscheck has joined #puppet-openstack10:29
*** asilenkov has joined #puppet-openstack10:29
*** cameron.freenode.net sets mode: +o spredzy10:29
*** stamak has joined #puppet-openstack10:30
*** jpena has joined #puppet-openstack10:30
*** saneax has joined #puppet-openstack10:30
*** mgagne has joined #puppet-openstack10:30
*** mihgen has joined #puppet-openstack10:30
*** TC01 has joined #puppet-openstack10:30
*** Vinsh has joined #puppet-openstack10:30
*** dweaver has joined #puppet-openstack10:30
*** michchap has joined #puppet-openstack10:30
*** d0ugal has joined #puppet-openstack10:30
*** Hunner has joined #puppet-openstack10:30
*** _morgan has joined #puppet-openstack10:30
*** aderyugin has joined #puppet-openstack10:30
*** dmsimard has joined #puppet-openstack10:30
*** pleia2 has joined #puppet-openstack10:30
*** tlbr has joined #puppet-openstack10:30
*** stamak has quit IRC10:30
*** jpena has quit IRC10:30
*** saneax has quit IRC10:30
*** mgagne has quit IRC10:30
*** mihgen has quit IRC10:30
*** TC01 has quit IRC10:30
*** Vinsh has quit IRC10:30
*** dweaver has quit IRC10:30
*** michchap has quit IRC10:30
*** d0ugal has quit IRC10:30
*** Hunner has quit IRC10:30
*** _morgan has quit IRC10:30
*** aderyugin has quit IRC10:30
*** dmsimard has quit IRC10:30
*** pleia2 has quit IRC10:30
*** tlbr has quit IRC10:30
*** stamak has joined #puppet-openstack10:32
*** jpena has joined #puppet-openstack10:32
*** saneax has joined #puppet-openstack10:32
*** mgagne has joined #puppet-openstack10:32
*** mihgen has joined #puppet-openstack10:32
*** TC01 has joined #puppet-openstack10:32
*** Vinsh has joined #puppet-openstack10:32
*** dweaver has joined #puppet-openstack10:32
*** michchap has joined #puppet-openstack10:32
*** d0ugal has joined #puppet-openstack10:32
*** Hunner has joined #puppet-openstack10:32
*** _morgan has joined #puppet-openstack10:32
*** aderyugin has joined #puppet-openstack10:32
*** dmsimard has joined #puppet-openstack10:32
*** pleia2 has joined #puppet-openstack10:32
*** tlbr has joined #puppet-openstack10:32
aderyuginHi, folks! Please review https://review.openstack.org/#/c/217033/ https://review.openstack.org/#/c/211043/10:55
*** v1k0d3n has joined #puppet-openstack11:08
*** v1k0d3n has quit IRC11:13
*** dprince has joined #puppet-openstack11:30
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: MySQL and PostreSQL class implementation  https://review.openstack.org/21822111:41
*** pradk has quit IRC12:07
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: Keystone auth class implementation  https://review.openstack.org/21823412:09
*** ducttape_ has joined #puppet-openstack12:13
*** msimonin has joined #puppet-openstack12:19
EmilienMhello12:24
iurygregorygood morning12:27
*** ducttape_ has quit IRC12:32
*** jpena is now known as jpena|lunch12:38
openstackgerritIury Gregory Melo Ferreira proposed openstack/puppet-keystone: [WIP] Support for Keystone as Identity Provider  https://review.openstack.org/20805412:49
*** richm has joined #puppet-openstack12:51
*** v1k0d3n has joined #puppet-openstack13:04
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735213:07
*** kbyrne has quit IRC13:13
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735213:16
*** saneax has quit IRC13:17
openstackgerritVasyl Saienko proposed openstack/puppet-keystone: refactor keystone_user, keystone_user_role providers  https://review.openstack.org/21390613:18
*** kbyrne has joined #puppet-openstack13:19
openstackgerritGilles Dubreuil proposed openstack/puppet-keystone: Resource keystone_trust for Keystone V3 API  https://review.openstack.org/20099613:20
*** kbyrne has quit IRC13:20
*** kbyrne has joined #puppet-openstack13:21
*** samuelBartel has joined #puppet-openstack13:36
*** ferest has joined #puppet-openstack13:36
*** paramite has joined #puppet-openstack13:42
*** jpena|lunch is now known as jpena13:43
*** dfisher has joined #puppet-openstack13:47
openstackgerritDan Prince proposed openstack/puppet-swift: Add incoming/outgoing chmod params to storage/all  https://review.openstack.org/21770713:47
*** gildub has quit IRC13:48
*** degorenko has quit IRC13:52
*** skolekonov has quit IRC13:52
partnerany hints on how to manage tenant quotas with puppet? i noticed the nova module only controls global defaults13:52
partneralso, any idea where the defaults are stored if/when touched from for example Horizon? couldn't find from under /etc and neither from the database..?13:53
*** degorenko has joined #puppet-openstack13:56
*** skolekonov has joined #puppet-openstack13:56
*** dprince has quit IRC14:01
*** ducttape_ has joined #puppet-openstack14:01
*** msimonin has quit IRC14:04
*** msimonin has joined #puppet-openstack14:08
openstackgerritAthlan-Guyot sofer proposed openstack/puppet-openstack-specs: Add support for multiple domain configuration.  https://review.openstack.org/21828114:12
*** saneax has joined #puppet-openstack14:12
openstackgerritAthlan-Guyot sofer proposed openstack/puppet-openstack-specs: Add support for multiple domain configurations.  https://review.openstack.org/21828114:15
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: RabbitMQ class implementation  https://review.openstack.org/21828814:23
*** dprince has joined #puppet-openstack14:37
*** IBerezovskiy has quit IRC14:42
*** ferest has quit IRC14:45
*** kbyrne has quit IRC14:45
*** degorenko has quit IRC14:51
*** dh64 has quit IRC14:53
*** sergmelikyan has joined #puppet-openstack14:55
*** kbyrne has joined #puppet-openstack14:57
*** chandankumar has quit IRC14:57
*** sergmelikyan has quit IRC15:00
*** msimonin has left #puppet-openstack15:00
*** skolekonov has quit IRC15:02
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: Client and dashboard class implementation  https://review.openstack.org/21833315:03
*** skolekonov has joined #puppet-openstack15:05
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: Use zuul-cloner for tempest  https://review.openstack.org/21724215:08
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy & test glance  https://review.openstack.org/21641815:08
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy RabbitMQ  https://review.openstack.org/21682815:08
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Neutron  https://review.openstack.org/21683115:09
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Nova  https://review.openstack.org/21693815:09
openstackgerritKaren Almog proposed stackforge/puppet-ceph: Added the option to set mon_clock_drift_allowed. Especially important for virtualized ceph monitors  https://review.openstack.org/21834015:13
EmilienMpabelanger: I took the freedom to do https://review.openstack.org/#/c/217242/2..3/run_tests.sh,cm15:13
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: RabbitMQ class implementation  https://review.openstack.org/21828815:15
openstackgerritAlexey Deryugin proposed openstack/puppet-murano: Client and dashboard class implementation  https://review.openstack.org/21833315:15
aderyuginFolks! Please review https://review.openstack.org/#/q/status:open+project:openstack/puppet-murano+branch:master+topic:murano-initial-implementation,n,z15:16
pabelangerEmilienM: thanks, however that will break puppet-tempest if zuul-cloner is not installed. Since we no longer clone the repo15:17
pabelangerI was considering adding some pip logic to install zuul-cloner, if it couldn't be found on the local system15:17
pabelangereg: pip install zuul --user15:17
EmilienMoh nice15:18
pabelangerotherwise, we just use a git clone of openstack/tempest master15:18
pabelangerIn coffee shop today, so crappy internet15:18
EmilienMthe fact is (and I should not tell you) but I run the puppet openstack integ on my dev env with vagrant15:18
EmilienMand this change I just did ^ is the only one blocker for me to run it in my env15:18
EmilienMotherwise I can run everything like in openstack infra15:18
*** skolekonov has quit IRC15:19
EmilienM*but* I know one day I won't be able to run it in my env anymore, before of infra deps...15:19
crinkleEmilienM: I'm on vacation from now through Monday, I won't be reachable15:26
EmilienMcrinkle: enjoy !15:27
pabelangerYa, working on ansible launcher now.  For zuulv3 spec.15:28
pabelangerI see a day, where zuul and developer use the same test tools to launch the tests15:28
pabelangereither way, if that works for you won't block15:28
pabelangerwill be hacking on it hard next week in MTL15:28
EmilienMcool :)15:28
*** ferest has joined #puppet-openstack15:30
*** chandankumar has joined #puppet-openstack15:31
*** chandankumar has quit IRC15:32
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735215:37
*** ferest has quit IRC15:55
*** stamak has quit IRC15:55
*** jpena has quit IRC16:09
*** sergmelikyan has joined #puppet-openstack16:11
*** EmilienM sets mode: +o clayton16:13
*** EmilienM sets mode: +o mfisch16:13
*** EmilienM sets mode: +o mgagne16:14
*** sergmelikyan has quit IRC16:15
*** dgurtner has quit IRC16:22
*** rochaporto has quit IRC16:25
*** samuelBartel has quit IRC16:28
openstackgerritEmilien Macchi proposed openstack/puppet-tripleo: loadbalancer: use http mode for Horizon haproxy config  https://review.openstack.org/21838316:31
*** jistr has quit IRC16:35
*** derekh has quit IRC16:36
*** dprince has quit IRC16:41
*** paramite is now known as paramite|afk16:42
*** tiswanso has joined #puppet-openstack16:47
*** tiswanso has quit IRC16:50
*** tiswanso has joined #puppet-openstack16:51
*** aimon_ has joined #puppet-openstack16:56
*** aimon has quit IRC16:59
*** dprince has joined #puppet-openstack16:59
*** paramite|afk is now known as paramite17:14
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735217:14
openstackgerritEmilien Macchi proposed openstack/puppet-neutron: Make sure Nova_admin_tenant_id_setter is executed after Keystone_endpoint  https://review.openstack.org/21695017:17
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735217:18
*** dgurtner has joined #puppet-openstack17:19
*** dh64 has joined #puppet-openstack17:25
*** ericpeterson has joined #puppet-openstack17:28
*** ducttape_ has quit IRC17:30
*** ericpeterson has quit IRC17:34
*** ducttape_ has joined #puppet-openstack17:34
*** aimon_ has quit IRC17:37
*** ducttape_ has quit IRC17:40
*** ducttape_ has joined #puppet-openstack17:41
*** paramite is now known as paramite|afk17:41
openstackgerritEmilien Macchi proposed openstack/puppet-tempest: Make sure neutron network is created before Tempest_neutron_net_id_setter  https://review.openstack.org/21839817:43
*** tiswanso has quit IRC17:49
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735217:52
*** sergmelikyan has joined #puppet-openstack17:54
*** saneax has quit IRC17:57
*** chem has quit IRC17:57
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute tests  https://review.openstack.org/21735217:58
*** chem has joined #puppet-openstack17:59
*** sergmelikyan has quit IRC18:03
*** sergmelikyan has joined #puppet-openstack18:05
*** aimon has joined #puppet-openstack18:08
*** xarses_ has quit IRC18:13
*** paramite|afk is now known as paramite18:14
*** tiswanso has joined #puppet-openstack18:19
*** paramite is now known as paramite|afk18:25
*** paramite|afk is now known as paramite18:27
*** pradk has joined #puppet-openstack18:29
*** xarses_ has joined #puppet-openstack18:34
*** ducttape_ has quit IRC18:49
*** tiswanso has quit IRC18:52
*** tiswanso has joined #puppet-openstack18:52
EmilienMHunner,_ody: during our midcycle, I would be interested to make progress for getting our modules approved - are you guys willing to help ?18:57
*** tiswanso has quit IRC18:57
*** dgurtner has quit IRC19:03
*** ducttape_ has joined #puppet-openstack19:04
*** sergmelikyan has quit IRC19:09
_odyEmilienM: Yeah.  I put it on the agenda planning doc yesterday.19:12
EmilienMthat's you!19:12
EmilienMthanks :)19:12
*** ducttape_ has quit IRC19:16
*** dgurtner has joined #puppet-openstack19:21
*** sergmelikyan has joined #puppet-openstack19:32
*** ducttape_ has joined #puppet-openstack19:41
openstackgerritGuilherme Balzana proposed openstack/puppet-swift: Add a blank line to the beginning of each filter  https://review.openstack.org/20528419:51
dfisherEmilienM:  was your Tokyo talk selected?19:58
EmilienMdfisher: no19:58
iurygregoryreally? D:19:58
dfisherme neither :(19:58
iurygregory:'(19:59
dfisherwell, me not being selected isn't a surprise to anybody :)19:59
dfishernobody wants to hear about Solaris19:59
EmilienMwe actually do20:00
dfisherhaha20:00
dfisherok, the puppet folks do.20:00
dfishernobody else :)20:00
EmilienMdfisher: I used to be solaris sysadmin, 4 years20:00
dfishercome back!  we still love you20:00
EmilienMit's okay you know20:00
EmilienM:)20:00
* dfisher sobs20:00
*** ericpeterson has joined #puppet-openstack20:01
iurygregoryhere at ufcg we have sent 6 talks and just one was accepted20:01
openstackgerritAdam Vinsh proposed openstack/puppet-swift: WIP Manage swift with swift_service defined type  https://review.openstack.org/20322020:01
EmilienMiurygregory: are you coming to Tokyo?20:02
iurygregoryEmilienM, i'm trying ^^20:03
EmilienMiurygregory: cool, I hope meeting you in person and thanks for your work20:03
*** ducttape_ has quit IRC20:04
iurygregoryMe too and I remember the chocolate that i owe you20:04
iurygregoryo/20:04
EmilienMlol20:05
* _ody still is a Solaris admin...20:05
*** paramite has quit IRC20:05
*** ducttape_ has joined #puppet-openstack20:06
iurygregoryif you still want of course20:06
dfisheryay!20:06
*** ericpeterson has quit IRC20:08
*** jtomasek has quit IRC20:15
*** sergmelikyan has quit IRC20:17
*** stamak has joined #puppet-openstack20:43
iurygregoryHey EmilienM, if i need to notify Keystone service after a exec and Keystone need to be running under apache. Should i use  $::apache::params::service_name or  $::keystone::params::service_name ?20:43
EmilienMvery good question20:44
EmilienMa sec, I show you code20:44
iurygregorythanks :D20:44
EmilienMiurygregory: see https://github.com/openstack/puppet-keystone/blob/master/manifests/init.pp#L840-L88620:45
EmilienMit's very important if we run wsgi or not20:46
EmilienMbecause service name is not the same :)20:46
EmilienMso you might need to read from ::keystone::service_name20:46
EmilienMand see if "httpd' then $::apache::params::service_name20:46
EmilienMelse $::keystone::params::service_name20:47
*** xarses_ is now known as xarses20:48
iurygregoryi need to ensure that keystone is with wsgi , so i can use you mean, if $::keystone::service_name ==  $::apache::params::service_name  { do something} else { fail (...)}20:49
EmilienMno20:51
EmilienMif $::keystone::service_name == 'httpd' then do what you like else fail;20:51
EmilienMyou have to take the same logic in ::keystone20:51
iurygregoryoh, but this work for ubuntu?20:51
EmilienMbecause $::apache::params::service_name might be apache or httpd20:51
EmilienMyes20:51
EmilienMpeople running wsgi set ::keystone::service_name in 'httpd' anyway20:52
iurygregoryok ^^20:52
EmilienMand our module will lookup the correct service name20:52
EmilienMit allows to keep manifest consistent across distros20:52
iurygregoryok20:52
EmilienMand our module make the logic happen20:52
HunnerEmilienM: Yeah, I can chase down the approval stuff20:55
EmilienMHunner: cool20:55
openstackgerritEmilien Macchi proposed openstack/puppet-tempest: add basic scenarios options  https://review.openstack.org/21846720:55
*** richm has quit IRC20:59
*** dprince has quit IRC21:00
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735221:02
*** richm has joined #puppet-openstack21:03
EmilienMmtreinish: this iteration has: network tests, floating IP support & configuration (see run_tests.sh), scenario config21:04
mtreinishEmilienM: ok cool21:07
EmilienMHunner, _ody : in a resource type, can I use autorequire on another provider to run? like autorequire(:neutron_config)21:07
Hunnerautorequire on a provider? Not a type?21:08
EmilienMoops, a type21:08
HunnerYeah, that's usually how it works is type->type21:08
EmilienMbut I wonder if you *have* to provide the type name21:08
EmilienMbecause I want to autorequire on any neutron_config21:09
Hunnerautorequire(<type name>) do <return array of titles> end21:09
HunnerSo you can evaluate the type dynamically21:09
HunnerHmm. "any"...21:09
EmilienMmy question is: <return array of titles> is required?21:09
EmilienMI want to do:21:09
EmilienMautorequire(<type name>) do end21:10
EmilienMI want to do:21:10
EmilienMNeutron_config<||> -> Neutron_network<||>21:10
EmilienMbut in the Neutron_network type code21:10
HunnerWell, you can do catalog.resources.collect { |r| if r.type == 'Neutron_config' then r.name else nil end }.compact21:11
Hunnerand return that21:11
Hunnerwhich should be an array of all neutron_config resources in the catalog21:11
EmilienMsweet21:11
Hunner(unless you're creating neutron_config resources from generate or something21:11
Hunner)21:11
HunnerI'm not sure about what r.type is, so it's best to put a pry in the autorequire and see what catalog.resources returns21:12
HunnerAnd you might need self.catalog.resources, etc21:12
EmilienMok21:12
EmilienMHunner: I managed to deploy OpenStack in single puppet run21:12
EmilienMHunner: see ML, though I needed to patch many stuffs21:13
*** ducttape_ has quit IRC21:13
Hunner:o21:13
EmilienMyes21:13
EmilienMnova, neutron, keystone wsgi, mysql, rabbit, tempest21:14
EmilienMand the puppet run is idempotent21:14
EmilienMone run, and you can use openstack21:14
EmilienMHunner: https://review.openstack.org/#/c/217352/21/fixtures/scenario001.pp,cm21:14
EmilienMsee the whole manifest21:14
richmEmilienM: nice!21:15
EmilienMyeah21:15
EmilienMmyself I was surprised21:15
EmilienMHunner: https://docs.puppetlabs.com/guides/custom_types.html#automatic-relationships21:17
EmilienMin fact I don't need to use a loop I think21:17
EmilienMI can use self[:neutron_config]21:17
EmilienM[self[:neutron_config]] if self[:neutron_config]21:19
EmilienMit works ^21:19
*** Vinsh has quit IRC21:19
*** stamak has quit IRC21:20
openstackgerritEmilien Macchi proposed openstack/puppet-neutron: Make sure Neutron_config is applied before Neutron_network  https://review.openstack.org/21847421:23
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: scenario001: deploy Nova  https://review.openstack.org/21693821:24
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735221:26
_odysurprising.  I can't get the vs_bridge resource to create br-ex and set external_ids paramter in a single run.21:26
EmilienM_ody: honestly, the last CI run was without vs_bridge21:26
EmilienM_ody: let me check if it works - I ran that thing in bash before21:26
EmilienM_ody: though you only need OVS running for that21:27
HunnerEmilienM: self[:neutron_config] will return the value passed to an attribute called neutron_config, which would only be one resource21:33
EmilienMHunner: hm21:36
*** xingchao has joined #puppet-openstack21:38
EmilienMHunner: in fact, the autorequire that is already here should be enough21:39
EmilienMbecause neutron module has Neutron_config<||>     ~> Service['neutron-server']21:39
EmilienMand there is an autorequire on neutron server service21:39
EmilienMbut I guess we would need the -> here21:39
EmilienMHunner: is that  better? ^21:41
openstackgerritEmilien Macchi proposed openstack/puppet-neutron: Make sure Neutron_config is applied before Neutron_network  https://review.openstack.org/21847421:41
EmilienMyou were right, the code was not good21:42
Hunnercollectors are slow and ugly, so autorequire is nicer21:49
*** tiswanso has joined #puppet-openstack21:51
HunnerThis creates many-to-many edges on the graph :(21:52
_odyHunner: What makes a collector slower than the autorequire?  Logically it seems to be doing the same thing.  From catalog return me all things that match X criteria and associated it with Y.21:53
*** aimon has quit IRC21:53
_odynvm.  I just reread your last statement.  It is just the result of creating a bigger graph because more things are collected and assocaited together than is actually require.21:54
EmilienMok I'll find a way to make it21:57
EmilienMit's beer time though21:57
EmilienMhave a great week end everyone21:57
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735222:02
Hunner_ody: autorequires are only evaluated once, but collectors are evaluated at the end of every manifest evaluation or type validation22:13
Hunnermore specifically, autorequires are only evaluated client-side22:13
Hunnerand collectors are evaluated many times during compile22:13
*** benh57 has quit IRC22:20
*** tiswanso has quit IRC22:20
*** tiswanso has joined #puppet-openstack22:20
_odyHunner: Hu.  I would have expected autorequires to be evaluated on the master since they are in the type definitions.22:23
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735222:26
EmilienM_ody: me too, ovs bridge needs two runs22:27
EmilienMI do in bash now... i'll dig on monday22:27
_odyEmilienM: Yeah.  It looks like a simple provider bug.22:29
*** aimon has joined #puppet-openstack22:34
_odyWe are looking into using rally for SLA monitoring of our kilo deployment...so I build packages.22:40
_odyhttp://archive.home.herriges.org/rally/22:41
*** ducttape_ has joined #puppet-openstack22:44
*** saneax has joined #puppet-openstack22:45
*** ducttape_ has quit IRC22:48
*** ducttape_ has joined #puppet-openstack22:49
*** dgurtner has quit IRC22:49
*** xingchao has quit IRC22:54
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735222:55
*** ericpeterson has joined #puppet-openstack22:58
*** ducttape_ has quit IRC22:58
*** dfisher has quit IRC23:02
*** ericpeterson has quit IRC23:14
*** dgurtner has joined #puppet-openstack23:15
*** dgurtner has quit IRC23:15
*** dgurtner has joined #puppet-openstack23:15
*** tiswanso has quit IRC23:15
*** tiswanso has joined #puppet-openstack23:15
*** tiswanso has quit IRC23:19
*** tiswanso has joined #puppet-openstack23:25
*** aimon has quit IRC23:35
*** xarses_ has joined #puppet-openstack23:41
openstackgerritEmilien Macchi proposed openstack/puppet-openstack-integration: run Tempest with compute and network tests  https://review.openstack.org/21735223:43
*** xarses has quit IRC23:44
*** andreww has joined #puppet-openstack23:50
*** dgurtner has quit IRC23:51
*** xarses_ has quit IRC23:54
*** xingchao has joined #puppet-openstack23:54

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