Tuesday, 2015-11-03

*** pratikma_ has quit IRC00:06
*** dyasny has quit IRC00:14
*** Marga_ has quit IRC00:17
*** shadower has quit IRC00:23
*** shadower has joined #heat00:23
*** stevebaker is now known as stevebaker200:25
*** jobewan has quit IRC00:29
*** stevebaker has joined #heat00:41
*** eliqiao1 is now known as eliqiao00:52
*** ricolin has joined #heat00:52
*** stevebaker has quit IRC00:59
*** stevebaker has joined #heat01:00
*** lkarm has joined #heat01:03
*** sdake has quit IRC01:07
*** zhenguo has joined #heat01:09
*** sdake has joined #heat01:10
*** sdake has quit IRC01:19
*** achanda has quit IRC01:20
*** manishg has joined #heat01:25
*** manishg has quit IRC01:25
*** manishg has joined #heat01:26
*** Qiming has joined #heat01:36
*** Yanyanhu has joined #heat01:36
lifelessmfisch: stevebaker: wait what ?01:42
lifelessstevebaker: releases cannot be .dev ever01:42
*** achanda has joined #heat01:44
*** dims has quit IRC01:49
*** elynn has joined #heat01:52
*** achanda has quit IRC01:52
*** achanda has joined #heat01:54
elynnmorning01:55
*** bana_k has quit IRC01:56
*** dims has joined #heat02:08
*** sdake has joined #heat02:13
*** lkarm_ has joined #heat02:20
ricolinmorning02:22
*** lkarm has quit IRC02:22
stevebakermfisch: lifeless can give you the long story02:28
lifelessstevebaker: I don't know, can I?02:29
mfischshort story works ;)02:29
lifelessthe .0suffix is a compromise position between pbr, PEP-440 and Semver02:31
*** sdake has quit IRC02:35
*** lkarm_ has quit IRC02:37
*** daneyon has joined #heat02:37
*** daneyon has quit IRC02:38
*** masco_ has joined #heat02:38
*** cwolferh has quit IRC02:56
*** palexster1 has joined #heat03:12
ramishramorning all03:13
*** palexster has quit IRC03:13
*** dims has quit IRC03:28
*** jobewan has joined #heat03:32
*** Qiming has quit IRC03:36
stevebakerramishra: hi03:45
*** sdake has joined #heat03:47
cmystermorning03:49
*** links has joined #heat03:53
*** masco__ has joined #heat03:55
openstackgerritMerged openstack/heat: Don't set stack updated_time when creating it  https://review.openstack.org/24084903:56
*** masco_ has quit IRC03:59
*** KanagarajM has joined #heat04:03
openstackgerrithuangtianhua proposed openstack/heat: Catch exceptions for restore_prev_rsrc/prepare_for_replace  https://review.openstack.org/24108404:05
*** bana_k has joined #heat04:14
openstackgerritMerged openstack/heat: Change assertTrue(isinstance()) by optimal assert  https://review.openstack.org/24005004:25
*** pt_15 has quit IRC04:28
cmysterstevebaker: ello, still around ?04:35
*** ananta has joined #heat04:38
*** arunb has joined #heat04:40
arunbjoin #openstack-freezer04:41
*** lkarm has joined #heat04:48
*** manishg has quit IRC04:49
*** pt_15 has joined #heat04:51
*** lkarm has quit IRC04:53
*** sdake has quit IRC04:57
*** sdake has joined #heat04:58
*** boris-42 has quit IRC04:58
*** bana_k has quit IRC05:01
*** vijayagurug has joined #heat05:05
*** vijayagurug has left #heat05:09
*** radez has quit IRC05:22
*** radez has joined #heat05:24
*** sileht has joined #heat05:40
*** masco__ has quit IRC05:42
*** signed8bit has quit IRC05:45
*** jaosorior has joined #heat05:46
*** jamielennox is now known as jamielennox|away05:47
*** vgridnev has joined #heat05:48
*** jobewan has quit IRC05:50
*** rakesh_hs has joined #heat05:51
*** Qiming has joined #heat05:56
*** jamielennox|away is now known as jamielennox05:58
*** jobewan has joined #heat06:03
*** hdd has joined #heat06:06
*** jobewan has quit IRC06:17
*** hdd has quit IRC06:22
*** KanagarajM has quit IRC06:25
*** bana_k has joined #heat06:28
*** jaosorior has quit IRC06:32
*** jaosorior has joined #heat06:34
*** arunb has quit IRC06:34
*** hdd has joined #heat06:39
*** masco__ has joined #heat06:46
*** jtomasek has quit IRC06:49
*** openstackstatus has quit IRC06:49
*** openstackstatus has joined #heat06:49
*** ChanServ sets mode: +v openstackstatus06:49
*** pt_15 has quit IRC06:58
*** akuznetsov has joined #heat07:12
*** boris-42 has joined #heat07:18
openstackgerritRakesh H S proposed openstack/heat: Fix nested stack validation failure  https://review.openstack.org/23516307:20
*** jprovazn has joined #heat07:22
*** jamielennox is now known as jamielennox|away07:29
*** chlong has quit IRC07:31
openstackgerritRakesh H S proposed openstack/heat: Fix nested stack validation failure  https://review.openstack.org/23516307:33
*** dkusidlo has joined #heat07:35
*** lkarm has joined #heat07:38
*** dkusidlo has quit IRC07:40
*** lkarm has quit IRC07:42
*** bana_k has quit IRC07:46
*** jcoufal has quit IRC07:53
*** zigo has quit IRC07:53
*** zigo has joined #heat07:55
*** sorantis has joined #heat08:06
*** akuznets_ has joined #heat08:09
*** akuznetsov has quit IRC08:09
*** akuznets_ has quit IRC08:18
*** achanda has quit IRC08:25
*** xek has quit IRC08:28
openstackgerrithuangtianhua proposed openstack/heat: Support neutron QoSPolicy resource plugin  https://review.openstack.org/23451408:28
*** xek has joined #heat08:28
*** dkusidlo has joined #heat08:28
*** KanagarajM has joined #heat08:31
*** vgridnev has quit IRC08:33
ccardwhat's the recommended way to manage heat stacks in a production environment? e.g. we manage all our servers using puppet, is it a good idea to also manage deployment of heat templates using puppet?08:38
*** hdd_ has joined #heat08:40
*** hdd has quit IRC08:43
*** tspatzier has joined #heat08:45
*** sorantis has quit IRC08:47
*** therve` is now known as therve08:51
*** gberginc has joined #heat08:56
*** nijaba has quit IRC08:57
*** dkusidlo has quit IRC08:57
*** nijaba has joined #heat08:59
*** nijaba has quit IRC08:59
*** nijaba has joined #heat08:59
*** jistr has joined #heat09:00
*** sdake has quit IRC09:02
*** jcoufal has joined #heat09:03
*** metral is now known as metral_zzz09:03
*** metral_zzz is now known as metral09:03
*** sdake has joined #heat09:03
*** yassine has joined #heat09:12
*** KanagarajM_ has joined #heat09:15
*** e0ne has joined #heat09:15
*** KanagarajM has quit IRC09:18
*** rakesh_hs_ has joined #heat09:18
*** dkusidlo has joined #heat09:19
*** rakesh_hs has quit IRC09:21
*** tspatzier has quit IRC09:21
*** jdandrea has quit IRC09:22
*** jtomasek has joined #heat09:23
*** achanda has joined #heat09:25
*** dkusidlo has quit IRC09:29
*** achanda has quit IRC09:31
*** rakesh_hs_ has quit IRC09:38
*** rakesh_hs has joined #heat09:39
*** rakesh_hs has quit IRC09:42
*** rakesh_hs has joined #heat09:42
*** derekh has joined #heat09:45
*** ochuprykov has joined #heat09:45
*** jtomasek has quit IRC09:52
*** jtomasek has joined #heat09:52
*** vgridnev has joined #heat09:53
openstackgerritOleksii Chuprykov proposed openstack/heat: Use pbr for installing wsgi scripts  https://review.openstack.org/22858609:53
*** Yanyanhu has quit IRC09:55
*** Qiming has quit IRC09:56
*** rakesh_hs has quit IRC10:02
*** zhenguo has quit IRC10:03
openstackgerrithuangtianhua proposed openstack/heat: Provide QoS capability for neutron network  https://review.openstack.org/23750710:03
openstackgerrithuangtianhua proposed openstack/heat: Support neutron QoSBandwidthLimitRule resource plugin  https://review.openstack.org/23511710:03
*** jamielennox|away is now known as jamielennox10:06
*** KanagarajM_ has quit IRC10:06
*** stannie has joined #heat10:08
*** lkarm has joined #heat10:09
*** ccard has quit IRC10:12
openstackgerrithuangtianhua proposed openstack/heat: Provide the QoS capability for port  https://review.openstack.org/23746910:12
*** hdd__ has joined #heat10:13
*** KanagarajM has joined #heat10:13
*** lkarm has quit IRC10:14
*** hdd_ has quit IRC10:14
*** elynn has quit IRC10:17
*** liusheng has quit IRC10:25
*** liusheng has joined #heat10:26
*** dkusidlo has joined #heat10:27
*** achanda has joined #heat10:28
openstackgerrithuangtianhua proposed openstack/heat: Improve UserWarning messages  https://review.openstack.org/24116010:33
*** achanda has quit IRC10:34
*** alex_xu has quit IRC10:40
*** alex_xu has joined #heat10:44
*** ricolin has quit IRC10:44
*** zengyingzhe__ has joined #heat10:52
*** dkusidlo has quit IRC10:52
*** Qiming has joined #heat10:54
*** yassine has quit IRC10:56
*** prazumovsky has joined #heat11:03
*** dims has joined #heat11:09
*** ochuprykov has quit IRC11:10
*** huangtianhua has quit IRC11:13
*** huangtianhua has joined #heat11:14
*** jprovazn has quit IRC11:16
*** zengyingzhe_ has joined #heat11:17
*** zengyingzhe__ has quit IRC11:17
*** sorantis has joined #heat11:17
*** alex_xu has quit IRC11:24
*** alex_xu has joined #heat11:25
*** zengyingzhe__ has joined #heat11:27
*** zengyingzhe_ has quit IRC11:29
*** dkusidlo has joined #heat11:30
*** jaosorior has quit IRC11:35
*** liusheng has quit IRC11:35
*** jamielennox is now known as jamielennox|away11:35
*** jaosorior has joined #heat11:35
openstackgerritRabi Mishra proposed openstack/heat-specs: Add Neutron SubnetPool Resource support  https://review.openstack.org/24040311:38
*** chlong has joined #heat11:47
*** jprovazn has joined #heat11:52
*** ananta_ has joined #heat12:01
*** chlong has quit IRC12:03
*** ananta has quit IRC12:04
*** chlong has joined #heat12:04
*** dkusidlo has quit IRC12:06
*** yassine has joined #heat12:13
*** achanda has joined #heat12:24
*** jaosorior has quit IRC12:25
*** lkarm has joined #heat12:26
*** achanda has quit IRC12:26
*** jaosorior has joined #heat12:26
*** lkarm has quit IRC12:30
*** EmilienM has quit IRC12:33
*** EmilienM has joined #heat12:36
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds 5 backport db migration place holder for liberty  https://review.openstack.org/24118712:41
*** EricGonczer_ has joined #heat12:48
*** elynn has joined #heat12:50
*** KanagarajM has quit IRC12:55
*** links has quit IRC12:56
*** dprince has joined #heat12:56
*** boris-42 has quit IRC12:58
*** jobewan has joined #heat13:06
*** steveg_afk has joined #heat13:14
*** zengyingzhe__ has quit IRC13:18
*** ananta_ has quit IRC13:19
*** abramley_ has joined #heat13:22
*** LimorStotland has quit IRC13:22
*** abramley has quit IRC13:22
*** abramley_ is now known as abramley13:22
*** LimorStotland has joined #heat13:22
*** pratikmallya has joined #heat13:25
*** ochuprykov has joined #heat13:25
*** tlashchova has quit IRC13:31
*** crose has joined #heat13:38
*** tlashchova has joined #heat13:39
*** ochuprykov has quit IRC13:44
*** signed8bit has joined #heat13:45
*** jobewan has quit IRC13:52
*** manishg has joined #heat13:52
*** prazumovsky has quit IRC13:53
*** manishg has quit IRC13:56
*** Rita_ has joined #heat13:57
Rita_Hi all13:57
openstackgerritRakesh H S proposed openstack/heat: Fix nested stack validation failure  https://review.openstack.org/23516313:58
*** jruano has joined #heat14:00
*** Rita_ has quit IRC14:01
*** jonesbr has joined #heat14:02
*** Rita_ has joined #heat14:02
*** EricGonczer_ has quit IRC14:02
Rita_Hi all14:02
Rita_I am facing problem while i am trying to create fc volume from image...In the cinder log I checked there I found that  "cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver Zone exists in I-T mode. Skipping zone creation" and also it is throwing error as fibre channel volume device not found14:03
*** inc0 has joined #heat14:03
Rita_please suggest wat needs to be done to resolve this error14:04
*** sdake has quit IRC14:06
*** sdake has joined #heat14:06
*** lkarm has joined #heat14:06
*** sdake has quit IRC14:08
*** jasond has joined #heat14:09
*** elynn has quit IRC14:10
*** rakesh_hs has joined #heat14:11
*** manishg has joined #heat14:12
*** jaime49 has joined #heat14:14
*** crose has quit IRC14:19
*** manishg has quit IRC14:20
*** inc0 has quit IRC14:21
*** jruano has quit IRC14:21
*** dkusidlo has joined #heat14:24
therveRita_, Is Heat involved in that issue?14:29
*** elynn has joined #heat14:32
*** Qiming has quit IRC14:32
*** elynn has quit IRC14:37
*** aweiteka_ is now known as aweiteka14:43
*** neelashah has joined #heat14:44
*** rakesh_hs has quit IRC14:44
*** blomquisg has joined #heat14:45
*** e0ne has quit IRC14:48
*** jobewan has joined #heat14:49
*** dyasny has joined #heat14:52
*** masco__ has quit IRC14:56
jdobzaneb: can you take a look at my last comment on https://review.openstack.org/#/c/239967/ ? i think that'll work and remove your concern, but I wanted another pair of eyes before I go updating that patch14:57
*** alexpilotti has joined #heat14:58
*** jrist has quit IRC14:59
*** kodokuu has joined #heat14:59
kodokuuHi, I try scaling my stack with url return by "alarm_url" for scaling UP. But I have User is not authorized to perform action and "Authorization failed. Invalid EC2 signature." in keystone.log15:00
kodokuuHow can I check signature ?15:01
*** tspatzier has joined #heat15:02
*** e0ne has joined #heat15:03
*** vijayagurug has joined #heat15:04
*** jrist has joined #heat15:09
*** sorantis has quit IRC15:10
*** vijendar has joined #heat15:12
kodokuuI need to create ec2 credentials ?15:13
*** manishg has joined #heat15:14
*** vijayagurug has left #heat15:18
*** vgridnev has quit IRC15:22
*** dims has quit IRC15:24
*** dims has joined #heat15:24
*** manishg has quit IRC15:28
*** jdandrea has joined #heat15:29
thervekodokuu, You don't need to. Heat should do it for you15:33
therveHow do you trigger that URL?15:33
*** Kennan has quit IRC15:34
kodokuutherve I curl -XPOST -i "URL"15:35
openstackgerritBryan Jones proposed openstack/heat: LBaaS v2 Pool Member  https://review.openstack.org/24125115:35
kodokuutherve So if heat create credential for me I can see this credential with "ec2-credentials-list" ??15:36
kodokuutherve because I see anything with ec2-credentials-list15:36
*** jistr has quit IRC15:37
*** e0ne has quit IRC15:37
therveIt's a little bit more complicated than that15:37
therveIt doesn't create credentials for your user15:37
therveIt creates a user and credentials for it15:37
kodokuuok15:38
kodokuutherve So how can I check this credential ?15:39
thervekodokuu, Maybe look in the heat-cfn logs to see if you get a more interesting message15:39
*** rpothier has joined #heat15:40
kodokuuthis is heat-cfn which create this credential ?15:40
therveIt's the one receiving the POST call15:41
therveAnd thus checking it15:41
kodokuuI paste log15:42
*** EricGonczer_ has joined #heat15:42
kodokuuwhen I curl URL15:42
kodokuutherve http://paste.openstack.org/show/477870/15:43
therveIt seems it's doing the right thing15:43
thervekodokuu, What about keystone logs?15:43
kodokuutherve http://paste.openstack.org/show/477871/15:45
*** sergmelikyan has joined #heat15:46
openstackgerritThomas Herve proposed openstack/heat: Clean up convergence error message  https://review.openstack.org/24125515:46
*** daneyon has joined #heat15:46
therveAh, hum15:48
thervekodokuu, It may need to be against /v3/ec2tokens15:48
therveAlso non-admin endpoint15:49
kodokuuOk so I need to change [ec2authtoken] auth_uri = http://127.0.0.1:35357/v2.0 to [ec2authtoken] auth_uri = http://127.0.0.1:35357/v3/15:50
kodokuuin heat.conf15:50
kodokuuor [ec2authtoken] auth_uri = http://127.0.0.1:5000/v315:50
therveYeah the latter sounds good15:52
*** kodokuu_ has joined #heat15:52
kodokuutherve ok I'll try15:52
kodokuutherve Authenticating with http://127.0.0.1:5000/v3/ec2tokens so it's good15:55
kodokuubut I have always AWS authentication failure15:55
*** crose has joined #heat15:55
kodokuuand always "Authorization failed. Invalid EC2 signature." in keystone.log15:55
*** arlion has quit IRC15:55
*** kebray has joined #heat15:56
*** achanda has joined #heat15:56
kodokuutherve I'll try to redeploy a complete stack15:57
thervekodokuu, Yeah, I don't have a great idea right now15:57
*** daneyon has quit IRC15:59
*** jistr has joined #heat16:01
*** pratikmallya has quit IRC16:02
kodokuutherve ok same issue :/16:03
kodokuutherve I can see creation of crendential in keystone.log16:05
*** achanda has quit IRC16:05
kodokuuI see 2 creations I guess for scallup and scalldown16:06
*** zeih has joined #heat16:06
kodokuuSo maybe with API V3 I can see credential and compare with my URL ?16:07
therveYou can see if the access key is correct16:07
therveTrying to rebuild the signature is going to be tricky16:07
therveI'd guess there ought to be something wrong in the conf of either heat or keystone, but it's hard to tell16:08
kodokuuIn keystone.log, for creation of credential I see u'{"access": "*****************************************", "secret": "***************************************"}'16:08
kodokuuso I guess this is heat credential which use for Authorizing identity:create_credential16:08
*** manishg has joined #heat16:12
*** vgridnev has joined #heat16:14
kodokuutherve Ok I have acces key but where I can find the key which send by heat ? Because in scallURL I have a signature16:15
thervekodokuu, AWSAccessKeyId=64bf14a1205b448aac6e9e07d9af751116:16
therveIt's well hidden in the URL16:16
kodokuuha yes16:16
kodokuusorry ><16:16
*** dhellmann has quit IRC16:16
kodokuuok when I GET on v3/credentials/ I doesn't see this accesskey :/16:17
*** dhellmann has joined #heat16:18
therveNote that's from the log your previously pasted, it may have changed16:19
*** dprince has quit IRC16:20
kodokuutherve Yes I can see it :/16:20
*** alexpilotti has quit IRC16:21
kodokuuSo I send the good key in URL, heat-cfn detect a good AWS key but keystone not :/16:21
kodokuuI use keystone V216:21
kodokuumaybe it's not good ?16:21
*** jruano has joined #heat16:24
*** pratikmallya has joined #heat16:24
*** dims_ has joined #heat16:24
*** dims has quit IRC16:24
*** alexpilotti has joined #heat16:25
thervekodokuu, Where do you use v2?16:25
*** ccard has joined #heat16:26
kodokuuall service use V2 just heat use v316:27
kodokuubut heat use v2 for [keystone_authtoken]16:27
therveWell, it says so it the conf, but it ought to use v3 anyway16:30
therveDepends on your version, etc16:30
*** pratikmallya has quit IRC16:30
ryansbtherve: can you paste me the devstack setup you use for your zaqar/heat patch?16:30
*** pratikmallya has joined #heat16:30
*** Piet has quit IRC16:31
therveryansb, What do you need in particular?16:31
*** Drago has joined #heat16:31
therveI just enable heat and zaqar16:31
ryansbk16:32
ryansbthat's easy16:32
therveYes :)16:32
ryansbthought you might have the clone branches set too16:32
*** Drago has quit IRC16:32
*** Drago has joined #heat16:32
therveryansb, Ah that. Yeah no, sorry16:33
therveI manually pull the heat patch16:33
therveryansb, You'll need a patch on the client too16:34
*** Raj1 has joined #heat16:34
*** pratikma_ has joined #heat16:34
ryansbk, I'm getting a fresh VM up for it16:34
thervehttp://paste.openstack.org/show/477873/16:34
*** jruano has quit IRC16:35
*** pratikmallya has quit IRC16:37
*** Raj1 has quit IRC16:37
*** Raj1 has joined #heat16:38
pratikma_can someone please approve this: https://review.openstack.org/#/c/223016/16:39
*** pratikma_ is now known as pratikmallya16:40
*** EricGonc_ has joined #heat16:42
*** stannie has quit IRC16:46
*** EricGonczer_ has quit IRC16:46
*** dkusidlo has quit IRC16:48
*** hdd__ has quit IRC16:48
*** stannie has joined #heat16:49
*** cwolferh has joined #heat16:52
*** Raj1 has quit IRC16:57
*** jaime49 has quit IRC17:01
*** jaime49 has joined #heat17:02
*** Raj1 has joined #heat17:02
*** pt_15 has joined #heat17:09
*** zeih has quit IRC17:10
*** arlion has joined #heat17:24
*** yassine has quit IRC17:24
*** Raj2 has joined #heat17:25
*** jtomasek has quit IRC17:25
*** Raj2 has joined #heat17:25
*** alexpilotti has quit IRC17:25
*** pratikmallya has quit IRC17:26
*** Raj1 has quit IRC17:27
*** EricGonc_ has quit IRC17:28
*** pratikmallya has joined #heat17:29
*** kodokuu has quit IRC17:35
*** jcoufal has quit IRC17:44
*** stannie has quit IRC17:47
*** dprince has joined #heat17:51
*** sdake has joined #heat17:51
*** EricGonczer_ has joined #heat17:51
*** Raj2 has quit IRC17:52
*** Raj1 has joined #heat17:52
*** Raj1 has left #heat17:59
*** derekh has quit IRC18:00
*** lkarm has quit IRC18:02
*** lkarm has joined #heat18:03
*** bana_k has joined #heat18:03
*** cody-somerville has joined #heat18:07
*** cody-somerville has quit IRC18:07
*** cody-somerville has joined #heat18:07
*** lkarm has quit IRC18:07
*** dsneddon has joined #heat18:15
*** lkarm has joined #heat18:17
*** daneyon has joined #heat18:17
*** tspatzier has quit IRC18:17
*** sdake has quit IRC18:23
*** bana_k has quit IRC18:23
*** daneyon has quit IRC18:24
*** bana_k has joined #heat18:24
*** neelashah has quit IRC18:25
*** achanda has joined #heat18:28
*** bnemec has quit IRC18:37
*** dprince has quit IRC18:38
*** jistr has quit IRC18:39
*** bnemec has joined #heat18:41
*** Piet has joined #heat18:47
*** neelashah has joined #heat18:49
*** sdake has joined #heat18:49
*** shardy has quit IRC18:50
*** Raj1 has joined #heat18:54
*** neelashah has quit IRC19:01
*** jaosorior has quit IRC19:02
*** neelashah has joined #heat19:03
*** sergmelikyan has quit IRC19:04
*** manishg has quit IRC19:05
*** jprovazn has quit IRC19:08
*** manishg has joined #heat19:11
*** sergmelikyan has joined #heat19:14
*** e0ne has joined #heat19:14
*** jruano has joined #heat19:15
*** manishg has quit IRC19:15
*** manishg has joined #heat19:20
*** DandyPandy has joined #heat19:22
openstackgerritJay Dobies proposed openstack/heat: Add environment_files to REST and RPC APIs  https://review.openstack.org/23996719:32
*** Qiming has joined #heat19:33
*** manishg has quit IRC19:34
stevebakermorning19:36
*** stevebaker2 has quit IRC19:37
*** EricGonc_ has joined #heat19:43
openstackgerritJason Dunsmore proposed openstack/heat: Try twice to fetch absolute limits from Nova  https://review.openstack.org/23825719:43
*** e0ne has quit IRC19:45
*** EricGonczer_ has quit IRC19:46
*** pratikmallya has quit IRC19:46
*** achanda has quit IRC19:55
*** neelashah has quit IRC20:02
*** crose has quit IRC20:02
*** hdd__ has joined #heat20:07
*** jasond has quit IRC20:09
*** jtomasek has joined #heat20:12
*** manishg has joined #heat20:14
*** neelashah has joined #heat20:14
*** pratikmallya has joined #heat20:15
*** neelashah has quit IRC20:15
*** neelashah has joined #heat20:17
*** tspatzier has joined #heat20:17
*** hdd__ has quit IRC20:18
*** hdd has joined #heat20:20
openstackgerritBryan Jones proposed openstack/heat: LBaaS v2 Pool  https://review.openstack.org/24004920:21
openstackgerritBryan Jones proposed openstack/heat: Add cmd_resource option to NeutronClient.resolve  https://review.openstack.org/24100820:21
openstackgerritBryan Jones proposed openstack/heat: LBaaS v2 Loadbalancer  https://review.openstack.org/23861220:21
openstackgerritBryan Jones proposed openstack/heat: LBaaS v2 custom constraints  https://review.openstack.org/23270920:21
openstackgerritBryan Jones proposed openstack/heat: LBaaS v2 Listener  https://review.openstack.org/23975520:21
*** sergmelikyan has quit IRC20:24
*** neelashah has quit IRC20:28
*** EricGonc_ has quit IRC20:33
*** cwolferh has quit IRC20:38
*** hdd has quit IRC20:42
*** hdd has joined #heat20:44
*** achanda has joined #heat20:45
*** Raj1 has quit IRC20:53
*** EricGonczer_ has joined #heat20:54
*** EricGonc_ has joined #heat20:55
*** boris-42 has joined #heat20:55
*** Raj has joined #heat20:57
*** EricGonczer_ has quit IRC20:59
*** cwolferh has joined #heat21:02
*** kebray has quit IRC21:04
*** Qiming has quit IRC21:07
*** colonwq has quit IRC21:07
*** colonwq has joined #heat21:08
*** hdd has quit IRC21:08
*** alex_xu has quit IRC21:10
*** neelashah has joined #heat21:11
*** alex_xu has joined #heat21:12
*** jruano has quit IRC21:12
*** cwolferh has quit IRC21:13
*** sdake has quit IRC21:15
*** sdake has joined #heat21:16
*** alex_xu has quit IRC21:16
*** alex_xu has joined #heat21:22
*** neelashah has quit IRC21:23
*** cwolferh has joined #heat21:24
*** jamielennox|away is now known as jamielennox21:25
pratikmallyahello, are notifications supported in heat?21:27
*** Raj has left #heat21:27
*** hdd has joined #heat21:31
*** dims_ has quit IRC21:37
*** pratikmallya has quit IRC21:38
*** dspano has joined #heat21:42
*** crose has joined #heat21:44
*** neelashah has joined #heat21:46
*** dims has joined #heat21:48
*** crose has quit IRC21:49
*** cwolferh has quit IRC21:49
*** tspatzier has quit IRC21:49
*** sdake has quit IRC21:50
*** neelashah has quit IRC21:50
*** sdake has joined #heat21:50
*** hdd has quit IRC21:50
*** kebray has joined #heat21:52
*** spzala has joined #heat21:52
*** cwolferh has joined #heat21:54
*** dims has quit IRC21:54
*** jamielennox is now known as jamielennox|away21:55
*** zeih has joined #heat21:55
*** kebray has quit IRC21:56
*** kebray has joined #heat21:57
*** neelashah has joined #heat21:58
*** neelashah1 has joined #heat21:58
*** rowagner has joined #heat22:00
*** manishg_ has joined #heat22:01
*** manishg has quit IRC22:01
*** fbo has quit IRC22:01
*** manishg_ has quit IRC22:01
rowagnerHello, I'm trying to use heat to deploy a few RHEL servers, but instead of deploying in parallel, they deploy sequentially.  Is there some setting in heat.conf or something that I have to set to allow multiple servers to deploy in parallel?22:01
*** manishg has joined #heat22:02
*** neelashah has quit IRC22:02
*** Guest12181 has quit IRC22:03
stevebakerrowagner: if there is no dependencies between the server resource in the template then they should most definitely deploy in parallel22:03
*** manishg has quit IRC22:04
rowagneryeah there is no depends_on field in any of the server definitions22:04
*** d0ugal has joined #heat22:04
rowagnerrhel6.7-server_x86-64:22:04
*** manishg has joined #heat22:04
rowagner    type: OS::Nova::Server22:04
stevebakerrowagner: a get_resource or get_attr between the servers will do it too22:04
rowagner    properties:22:04
*** d0ugal is now known as Guest9855622:04
rowagner      networks:22:05
rowagner          - port: { get_resource: rhel6.7-server_x86-64_b2ac2526-ae8f-4d82-b1da-8d77b79f3476_port  }22:05
rowagner      name: "rhel6.7-server_x86-64"22:05
rowagner      image: "502aba64-0e53-46b9-abda-c20199c0237c" # rhel6.7-server_x86-6422:05
rowagner      flavor: { get_param: flavor }22:05
rowagner      key_name: { get_param: key_name }22:05
rowagner      availability_zone: { get_param: availability_zone }22:05
rowagneroh?22:05
*** fbo has joined #heat22:05
rowagnerso if they share this line:  - port: { get_resource: rhel6.7-server_x86-64_b2ac2526-ae8f-4d82-b1da-8d77b79f3476_port  }22:05
rowagnerthat could cause issues?22:05
*** manishg has quit IRC22:06
stevebakeryou have 4 servers sharing a single port?22:06
rowagnerthey all try to get a port from a network dynamically22:06
stevebakercan you put the template in paste.openstack.org?22:06
*** manishg has joined #heat22:07
rowagnerhttp://paste.openstack.org/show/477911/22:07
*** daneyon has joined #heat22:11
stevebakerrowagner: that looks fine. What version of heat are you running? I recall ancient versions serialising creates22:11
rowagnerJuno I believe22:11
stevebakerI thought that was fixed earlier than that, maybe zaneb remembers22:12
zanebfixed in Havana IIRC22:13
*** Piet has quit IRC22:14
*** slagle has quit IRC22:14
*** pratikmallya has joined #heat22:15
rowagnerIs there something in the heat.conf file that needs to be there in order to allow parallel threads?22:16
rowagnerI already set num_engine_workers=322:16
rowagneris there anything else?22:16
*** pratikma_ has joined #heat22:18
*** pratikmallya has quit IRC22:21
*** daneyon_ has joined #heat22:21
*** crose has joined #heat22:22
zanebrowagner: no. you don't even need more than one engine worker22:22
*** lkarm has quit IRC22:23
zanebstevebaker: could it be that the Neutron ports don't have check_create_complete in Juno so those are forcing everything to be serialised?22:24
*** lkarm has joined #heat22:24
stevebakerzaneb: I think port create has always been atomic22:24
*** daneyon has quit IRC22:25
zanebwell I'm pretty sure server was parallelised by that point22:25
zanebyup, it was22:25
stevebakerrowagner: have you tried not creating port resources, and just specifying - network_id: {get_param: network_id_b2ac2526-ae8f-4d82-b1da-8d77b79f3476}?22:26
zaneband yeah, port is synchronous anyway22:26
zanebadd_dependencies() hackery applies only to subnets22:26
stevebakerrowagner: If you don't need port resources in your template its preferable to avoid them22:27
*** rpothier has quit IRC22:27
asalkeldo/22:28
*** zeih has quit IRC22:28
rowagnerSo something like networks:22:28
*** lkarm has quit IRC22:28
rowagner-network_id: { get_resource: network_yadayada}?22:28
zanebrowagner: dumb question: how do you know they're being created sequentially?22:28
*** crose has quit IRC22:28
rowagnerI put in a time.sleep(20) and a log statement and I can see each one taking it's turn.22:29
*** chlong has quit IRC22:31
rowagnerI'm kind of new to IRC, how are you tagging my name like that?22:31
stevebakerrowagner: don't do that ;) you'll prevent the scheduler from doing other things while the thread is sleeping22:32
stevebaker ^^ mention the nick in your message to highlight that person22:32
rowagnerwell I changed it to just a large while (count < 0): count+=1 kind of deal22:32
rowagnerstevebaker like this?22:33
stevebakeryep22:33
rowagnerstevebaker so if I wanted to directly use the network id instead of the ports, how should it look?22:33
stevebakerrowagner: instead of inserting sleeps, try just calling nova list to see them being created22:34
*** zz_gondoi is now known as gondoi22:34
stevebakerrowagner: Its using a property which has been since deprecated and removed, I think its22:35
stevebakernetworks:22:35
stevebaker  uuid: {get_param: network_id_b2ac2526-ae8f-4d82-b1da-8d77b79f3476}22:36
zanebrowagner: everything runs (in parallel) in a single thread. so if you put large delays in that thread then you will definitely see large delays at the end22:36
stevebakerrowagner: the modern way is to use 'network' instead of 'uuid', which allows name as well as ID http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-prop-networks-*-network22:36
*** jonesbr has left #heat22:37
rowagnerstevebaker like so? network: { get_param: network_id_b2ac2526-ae8f-4d82-b1da-8d77b79f3476 }22:37
stevebakerrowagner: that is the new way, yes22:38
rowagnerzaneb: so I should just tail the nova log without the while or sleeps to see the servers being kicked off in parallel?22:38
*** neelashah1 has quit IRC22:39
zanebrowagner: tbh I don't know why you need to do anything to see that22:39
rowagnerzaneb: right now I'm trying to prove that my current setup has the ability to run deploying things like servers and components in parallel.22:42
zanebjust do a "nova list". if you see more than one server not yet in the active state then it's working22:42
*** Raj has joined #heat22:42
rowagnerzaneb: really, for it to be truly parallel, there should be three servers getting kicked off on three threads and each should be printing out my message about my "sleeper" code22:43
*** sdake has quit IRC22:43
zanebrowagner: not true22:43
rowagnerzaneb: if one thread is doing all three and it's doing one at a time, that's not parallel.22:43
*** sdake has joined #heat22:43
zanebnot really interested in debating dictionary definitions tbh22:45
*** vijendar has quit IRC22:46
*** dspano has quit IRC22:46
*** EricGonc_ has quit IRC22:47
rowagnerzaneb: sorry if I'm came off as rude, I'm just trying to get down to the nitty gritty on how this system is actually behaving22:50
rowagnerzaneb: the servers kick off in what seems to be a sequential order but are fast enough, however later on I have some components attached to those servers that have their own process which do not depend on each other, yet also seem to be running sequentially.22:51
zanebwe have to create a server and wait for it to become active22:51
zanebthat happens in parallel, so we don't have to wait for one server to become active before we can create the next one22:52
zanebhowever no threads are involved, so any tests you perform that are predicated on assumptions about threads will give unreliable results22:52
*** manishg_ has joined #heat22:55
*** manishg has quit IRC22:55
rowagnerzaneb: so one thread handles all the server starts, kind of kicks them off and lets them do their thing22:56
zanebyes, and it also handles the polling to see if they are done22:56
rowagnerzaneb: so stevebaker mentioned the get_resource or get_attr can cause dependencies or something between servers or other objects in heat, do you know what that was about exactly?22:58
stevebakerzaneb: you don't have any server referencing any other server, so that is not an issue22:59
zanebexactly that. a resource won't be created unless all of its dependencies are complete (although in your template there are none)22:59
*** jamielennox|away is now known as jamielennox23:00
rowagnerso even if some multiple components have the same  get_resource or get_attr, as long as that resource or attribute is completed, that won't cause a lock?23:03
rowagnerzaneb stevebaker this is what my full diagram is http://paste.openstack.org/show/477917/23:05
*** Raj has quit IRC23:06
stevebakerrowagner: can you confirm that when you remove all thread sleeps (and other heat modifications) and do a nova list during the stack create that you have multiple servers being created?23:10
*** cwolferh has quit IRC23:10
*** slagle has joined #heat23:10
*** colonwq has quit IRC23:10
rowagnerI can see in the web UI my instances being spun up and starting install at the same time23:11
*** Piet has joined #heat23:11
rowagnerstevebaker zaneb: so in the components attached to the servers, each one has to wait for an install script to finish on the new server then run a process (For this, I changed the process to something simple like an echo out to a temp txt file with a sleep command inside the bash script).23:14
*** cody-somerville has quit IRC23:15
rowagnernone of the components depend on the other, so is one thread handling all the components just like one thread handled all the servers?23:15
rowagnerand if so, does that mean I have to generate my own threads to just say "if all your dependencies are done, call up another thread and finish"23:16
*** yuanying has quit IRC23:16
*** sdake_ has joined #heat23:16
*** Raj has joined #heat23:17
*** sdake has quit IRC23:18
stevebakerrowagner: heat doesn't use threads, it has its own scheduler which manages whatever tasks need to be done. You don't need to understand how the scheduler works to use heat23:19
rowagnerstevebaker: OK, so if I have a bunch of components to run that wait for the servers to come up, does this scheduler start them one by one to run in a parallel fashion similar to how it does the servers? Is there documentation for how the scheduler works?23:21
rowagnerstevebaker: also the components only depend on their respective server being up23:21
*** cwolferh has joined #heat23:23
*** sileht has quit IRC23:24
stevebakerrowagner: currently all you have is boot config for each server, and no signalling back to heat. If your components depend on the server being up, then just reference the server from the component. However if your components depend on the software on the server being configured then you need to use WaitCondition or deployment resources23:25
stevebakerhttp://docs.openstack.org/developer/heat/template_guide/software_deployment.html#software-deployment-resources23:25
*** dims has joined #heat23:27
*** vgridnev has quit IRC23:27
*** manishg_ has quit IRC23:27
rowagnerstevebaker: OK cool. I right now do have the components themselves listed in that new paste.openstack like I gave.23:28
rowagnerstevebaker: tc_1:23:28
rowagner    type: IBM::UrbanCode::SoftwareDeploy::UCD23:28
rowagner    properties:23:28
rowagner      apply_config: { get_resource: tc_1_sw_config }23:28
rowagner      server: rhel6.7-server_x86-6423:28
rowagner      version: LATEST23:28
rowagner      agent_timeout: "360"23:28
rowagner      inputs:23:28
rowagnerI have 3 of them, tc_1, tc_2, tc_323:28
rowagnereach have their own server and software config23:29
rowagnerbut after the servers have all come up and the software config has been sourced or whatever, each component runs one after the other, waiting for the previous one to finish instead of in parallel.23:30
stevebakerrowagner: is IBM::UrbanCode::SoftwareDeploy::UCD backed by a SoftwareDeployment resource? If so you should probably do server: {get_resource: rhel6.7-server_x86-64}23:30
*** dims has quit IRC23:30
rowagnerthat's why I was asking if this part also behaves similar to how the servers come up in that one thread is handling them all and and if I have while loops waiting for things to respond or time.sleeps if that would cause them to behave as if they were running sequentially instead of in parallel.23:31
*** gondoi is now known as zz_gondoi23:32
*** steveg_afk has quit IRC23:33
stevebakeragain, don't think about threads or sleeps at all. Heat does what it can in parallel based on the dependencies between resources as established by depends_on, get_resource, get_attr. Thats all you need to know23:34
stevebakerrowagner: once you've fixed IBM::UrbanCode::SoftwareDeploy::UCD, it won't be created until tc_1_sw_config and rhel6.7-server_x86-64 are fully created23:36
*** tochi has joined #heat23:42
*** yuanying has joined #heat23:43
*** manishg has joined #heat23:44
rowagnerstevebaker: OK thanks for the help, I think my dependencies are whats holding me back. When I print out my dependcy list, I'm finding weird things like some of the components depending on themselves. Weird...23:50
*** colonwq has joined #heat23:52

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