Thursday, 2016-06-16

*** openstack has joined #heat06:00
*** alex_xu has quit IRC06:03
*** alex_xu has joined #heat06:06
*** jprovazn has joined #heat06:14
*** ramishra has quit IRC06:21
*** neatherweb has joined #heat06:21
*** rcernin has joined #heat06:24
*** ramishra has joined #heat06:26
*** jcoufal has quit IRC06:36
*** afazekas is now known as afazekas|dentist06:52
*** ramishra has quit IRC07:00
*** ramishra has joined #heat07:05
*** sorantis has joined #heat07:05
*** bana_k has quit IRC07:06
*** jamielennox is now known as jamielennox|away07:12
*** zeih has joined #heat07:16
*** vincentll has joined #heat07:18
*** permalac has quit IRC07:19
*** ramishra has quit IRC07:19
*** ramishra has joined #heat07:19
*** ramishra has quit IRC07:26
*** ramishra has joined #heat07:28
*** shardy has joined #heat07:30
*** wangbo has quit IRC07:31
*** ramishra has quit IRC07:32
*** eldon_ has quit IRC07:32
*** ccamacho has joined #heat07:35
*** ramishra has joined #heat07:37
openstackgerritSteven Hardy proposed openstack/heat: Add test for SoftwareDeploymentGroup resource  https://review.openstack.org/32946007:41
*** neatherweb has quit IRC07:43
*** ramishra has quit IRC07:46
*** ramishra has joined #heat07:46
*** eldon_ has joined #heat07:48
shardyramishra: Hi!  Are you around?07:51
*** wangbo has joined #heat07:53
*** jaosorior has quit IRC08:07
*** jaosorior has joined #heat08:08
*** permalac has joined #heat08:09
*** zeih has quit IRC08:14
*** zeih has joined #heat08:15
*** wangbo has quit IRC08:18
*** zeih has quit IRC08:19
*** jprovazn has quit IRC08:21
*** wangbo has joined #heat08:31
*** zeih has joined #heat08:31
ramishrashardy: hi08:32
ramishrashardy: sorry was away for lunch08:36
*** jamie_h has joined #heat08:43
*** yassine__ has joined #heat08:45
*** derekh has joined #heat08:47
*** jprovazn has joined #heat08:59
*** dmk0202 has joined #heat09:02
*** nijaba has quit IRC09:06
*** nijaba has joined #heat09:13
*** zeih has quit IRC09:22
*** mkoderer__ has quit IRC09:28
openstackgerrithuangtianhua proposed openstack/heat: Decouple hot and cfn for outputs  https://review.openstack.org/32891709:29
*** zeih has joined #heat09:36
openstackgerritSteven Hardy proposed openstack/heat-specs: Add spec for more flexible environment merging  https://review.openstack.org/33041409:40
openstackgerrithuangtianhua proposed openstack/heat: Provides 'if' intrinsic function  https://review.openstack.org/28347909:45
openstackgerrithuangtianhua proposed openstack/heat: Add a Macro class to heat.engine.function  https://review.openstack.org/32224809:45
openstackgerrithuangtianhua proposed openstack/heat: Support resource/output condition  https://review.openstack.org/28336609:45
shardyIf anyone is interested in bug #1592374 https://review.openstack.org/#/c/329460/ appears to be reproducing it now09:49
openstackbug 1592374 in heat "deleting in_progress stack with nested stacks fails with convergence enabled" [High,Confirmed] https://launchpad.net/bugs/159237409:49
shardythe CI results seem to indicate it is a convergence specific problem09:49
shardyI'm unlikely to have time to pick it up in the next few days, feel free to take it if anyone wants to09:49
*** KanagarajM has quit IRC09:50
*** yanyanhu has quit IRC10:11
*** zhurong has quit IRC10:14
*** jamielennox|away is now known as jamielennox10:15
*** sorantis has quit IRC10:23
*** sirushti has quit IRC10:26
*** sorantis has joined #heat10:26
*** jtomasek_ has joined #heat10:31
*** sirushti has joined #heat10:33
*** elynn_ has quit IRC10:36
*** sdake has joined #heat10:40
*** sdake_ has joined #heat10:42
*** sdake has quit IRC10:45
*** Rotwang_ has joined #heat10:55
Rotwang_Hi, can I have something like "terraform plan" with heat?10:55
*** ccamacho is now known as ccamacho|lunch10:56
*** Rotwang_ is now known as Rotwang10:56
*** Rotwang has quit IRC10:56
*** Rotwang has joined #heat10:56
*** jtomasek_ has quit IRC10:59
*** mohankumar has joined #heat11:00
openstackgerritRabi Mishra proposed openstack/heat: Add test for SoftwareDeploymentGroup resource  https://review.openstack.org/32946011:06
openstackgerritRabi Mishra proposed openstack/heat: [WIP]Support rolling_update for SDG  https://review.openstack.org/33046711:06
openstackgerritRabi Mishra proposed openstack/heat: [WIP]Add test for rolling_update  https://review.openstack.org/33046811:06
*** sdake_ has quit IRC11:10
*** ramishra has quit IRC11:10
*** ramishra has joined #heat11:16
Rotwangthe other question is cloudformation vs hot, is cloudformation not going to be accepted by heat in a later time?11:17
RotwangI'm just reading a pdf from cisco on heat and this is what I've found: "HOT is not backward compatible with AWS. However, it is OpenStack native and meant to11:18
Rotwangreplace CFN over time."11:18
*** ananta has quit IRC11:25
therveRotwang, No it won't replace it11:25
Rotwangtherve: so they are developed in parallel?11:39
RotwangI have a elasticsearch cluster to deploy to openstack11:40
therveKinda yeah11:40
Rotwangso I'm trying to figure out what should I use: terraform vs hot vs cloudformation11:40
Rotwangwe use aws quite extensively, so my first thought was cloudformation11:41
Rotwanghowever template for aws and openstack wont be identical I guess (e.g. vpc settings)11:42
Rotwangthe other thing is that cloudformation seems to lack features that hot has11:42
Rotwange.g. admin_user for compute instance11:42
Rotwangyet another problem is that both hot and cloudformation doesn't have "previev" or "plan" that terraform or cloudformation on aws has11:44
Rotwangany hints for someone who wants to be able to switch between aws and openstack?11:44
therveI don't know what's terraform, but I guess you can't use it on Heat11:49
therveHeat has a preview API, not sure what you need11:50
*** ramishra has quit IRC11:52
Rotwangtherve: I want see what is hot going to change if I update a stack11:52
therveYeah we have that11:53
*** dprince has joined #heat11:54
thervehttp://developer.openstack.org/api-ref-orchestration-v1.html#stack_update_preview11:54
Rotwangso what is the difference between openstack command line utility and heat command line utility11:54
RotwangI've heard from someone that heat is deprecated11:55
Rotwangbut I can't find anywhere that that's true11:55
therveYeah it ought to be11:55
Rotwangso I should use openstack cli utils then, any announcement I can refer to?12:00
therve"Use openstack CLI"12:02
therveThere ^^^ :)12:03
*** ramishra has joined #heat12:03
*** shardy has quit IRC12:04
*** sdake has joined #heat12:05
*** wangbo has quit IRC12:05
*** wangbo has joined #heat12:06
*** ramishra has quit IRC12:10
*** ramishra has joined #heat12:12
*** slagle_ is now known as slagle12:16
*** ramishra has quit IRC12:16
*** ramishra has joined #heat12:21
*** rcernin has quit IRC12:24
*** wangbo has quit IRC12:25
*** zhurong has joined #heat12:25
*** ccamacho|lunch is now known as ccamacho12:26
Rotwangtherve: thanks12:27
*** pradk has joined #heat12:31
*** jcoufal has joined #heat12:34
*** lrensing has joined #heat12:34
*** tochi has quit IRC12:34
*** rcernin has joined #heat12:38
*** wangbo has joined #heat12:39
*** mwheckmann has joined #heat12:40
*** wangbo has quit IRC12:44
*** zeih has quit IRC12:44
*** wangbo has joined #heat12:49
*** steveg_afk has joined #heat12:51
*** zeih has joined #heat12:53
*** rcernin has quit IRC12:54
*** ramishra has quit IRC12:54
openstackgerritgaryk proposed openstack/heat: Fix typo in LBaaS support  https://review.openstack.org/33052512:56
*** fultonj has joined #heat12:57
*** ramishra has joined #heat12:58
*** rajpatel has joined #heat12:59
*** rajpatel has quit IRC13:00
*** ramishra has quit IRC13:05
*** vgridnev has joined #heat13:05
*** ramishra has joined #heat13:05
*** rcernin has joined #heat13:06
*** cllewellyn_ has joined #heat13:11
*** cllewellyn__ has joined #heat13:11
*** zeih has quit IRC13:11
*** zeih has joined #heat13:12
*** zeih has quit IRC13:18
*** wangbo has quit IRC13:19
*** zeih has joined #heat13:19
*** jcoufal has quit IRC13:23
*** KanagarajM has joined #heat13:23
*** akshai has joined #heat13:26
*** akshai_ has joined #heat13:27
*** vincentll has quit IRC13:28
*** vincentll has joined #heat13:28
*** akshai has quit IRC13:31
*** ramishra has quit IRC13:31
*** wangbo has joined #heat13:32
*** ramishra has joined #heat13:37
*** zeih has quit IRC13:39
*** dyasny has joined #heat13:42
*** randallburt has joined #heat13:47
*** randallburt1 has joined #heat13:49
*** randallburt has quit IRC13:52
*** jcoufal has joined #heat13:52
openstackgerritRabi Mishra proposed openstack/heat: [WIP]Add test for rolling_update  https://review.openstack.org/33046814:00
*** crose has joined #heat14:07
*** spotz_zzz is now known as spotz14:07
*** crose has quit IRC14:14
*** zeih has joined #heat14:17
*** zz_dimtruck is now known as dimtruck14:18
*** hemanth has joined #heat14:22
hemanthIs it possible to update Security group of already created port (using neutron port-create command) using Heat templates?14:22
*** vgridnev has quit IRC14:23
*** zeih has quit IRC14:27
*** jistr is now known as jistr|mtg14:28
openstackgerritDmitriy Uvarenkov proposed openstack/heat: Add new resource Security Group Rule  https://review.openstack.org/33060814:31
*** EricGonczer_ has joined #heat14:34
*** ramishra has quit IRC14:34
openstackgerritZane Bitter proposed openstack/heat: Unit tests: add a test resource that takes multiple steps  https://review.openstack.org/33061114:34
openstackgerritZane Bitter proposed openstack/heat: Always call TaskRunner._sleep()  https://review.openstack.org/33061214:34
openstackgerritZane Bitter proposed openstack/heat: Scheduler: Add a progress callback to TaskRunner  https://review.openstack.org/33061314:34
*** ramishra has joined #heat14:37
thervehemanth, I don't think so. What do you use to do that ? (without heat)14:41
*** cllewellyn_ has quit IRC14:48
*** cllewellyn__ has quit IRC14:48
*** jaosorior has quit IRC14:49
hemanthActually I am trying to launch Loadbalancer setup using heat templates14:50
hemanthWhere I need to attach security policies to VIP port14:50
*** EricGonczer_ has quit IRC14:50
hemanthI am not able to do tht using VIP as it doesnt have atttributes of Security group14:50
hemanthSo my idea is to attach security group using neutron port (VIP one) in the heat template itself14:52
therveI think you need a floating ip anyway, no?14:52
therveThen you can attach the group to that14:52
hemanthEven with floating IP ... packets reaches VIP it drops based on security group14:53
hemanthI am using OpenStack+Contrail setup ... where COntrail allocates by default 'default' security group to VIP port14:53
hemanthI dont want to update my rules in default security group14:53
hemanthHave created a new security group and want to attach the same14:54
*** sdake has quit IRC14:54
therveOK I don't know14:54
*** ramishra has quit IRC14:57
*** vijendar has joined #heat14:57
*** ramishra has joined #heat14:59
*** zhurong has quit IRC14:59
*** sdake has joined #heat14:59
*** david-lyle_ is now known as david-lyle15:00
openstackgerritZane Bitter proposed openstack/heat: Improve unit tests for stack-update-cancel  https://review.openstack.org/33005915:13
*** ramishra has quit IRC15:14
*** ramishra has joined #heat15:16
*** jistr|mtg is now known as jistr15:19
*** EricGonczer_ has joined #heat15:21
*** ricolin has joined #heat15:25
openstackgerritJay Dobies proposed openstack/heat-specs: Add spec for more flexible environment merging  https://review.openstack.org/33041415:26
*** openstackgerrit has quit IRC15:34
*** openstackgerrit has joined #heat15:35
*** EricGonczer_ has quit IRC15:35
*** vincentll has quit IRC15:35
*** wangbo has quit IRC15:35
*** wangbo has joined #heat15:37
*** wangbo has quit IRC15:42
*** EricGonczer_ has joined #heat15:42
*** sorantis has quit IRC15:53
*** coreyob has quit IRC15:54
*** prazumovsky has joined #heat15:57
*** akshai has joined #heat15:58
*** dprince has quit IRC16:01
*** akshai_ has quit IRC16:01
*** dprince has joined #heat16:02
*** akshai_ has joined #heat16:10
*** sabeen has joined #heat16:11
*** akshai has quit IRC16:13
*** permalac has quit IRC16:15
*** KanagarajM has quit IRC16:16
*** coreyob has joined #heat16:17
*** bana_k has joined #heat16:17
*** dprince has quit IRC16:20
*** sdake has quit IRC16:20
*** dprince has joined #heat16:21
*** ramishra has quit IRC16:22
*** ramishra has joined #heat16:26
*** sdake has joined #heat16:28
*** prazumovsky has quit IRC16:31
*** ramishra has quit IRC16:34
*** david-lyle has quit IRC16:35
*** EricGonc_ has joined #heat16:35
*** EricGonczer_ has quit IRC16:37
openstackgerritMerged openstack/heat: Fix typo in LBaaS support  https://review.openstack.org/33052516:39
*** ramishra has joined #heat16:40
*** ricolin has quit IRC16:42
*** dmk0202 has quit IRC16:42
*** KanagarajM has joined #heat16:43
*** EricGonc_ has quit IRC16:46
*** EricGonczer_ has joined #heat16:50
*** ramishra has quit IRC16:55
*** derekh has quit IRC16:59
jaimguerhello everyone16:59
*** EricGonczer_ has quit IRC17:01
*** akshai_ has quit IRC17:06
*** sabeen has quit IRC17:13
*** bana_k has quit IRC17:16
*** rcernin has quit IRC17:21
*** boltR_ has quit IRC17:27
*** akshai has joined #heat17:28
*** ccamacho has quit IRC17:30
*** jprovazn has quit IRC17:44
*** bana_k has joined #heat17:45
*** KanagarajM has quit IRC17:59
*** dimtruck is now known as zz_dimtruck18:01
*** spotz is now known as spotz_zzz18:01
*** spotz_zzz is now known as spotz18:02
*** rcernin has joined #heat18:07
*** akshai has quit IRC18:08
*** sabeen has joined #heat18:10
*** akshai has joined #heat18:11
*** yassine__ has quit IRC18:13
*** mkoderer__ has joined #heat18:24
*** zz_dimtruck is now known as dimtruck18:41
*** dmk0202 has joined #heat18:44
*** dmk0202 has quit IRC18:45
*** akshai_ has joined #heat18:45
*** akshai has quit IRC18:47
*** akshai_ has quit IRC18:50
*** EricGonczer_ has joined #heat19:08
*** EricGonczer_ has quit IRC19:13
*** fultonj has quit IRC19:23
*** fultonj has joined #heat19:24
*** dprince has quit IRC19:27
*** vijendar has quit IRC19:28
*** dimtruck is now known as zz_dimtruck19:39
*** vijendar has joined #heat19:39
*** dmk0202 has joined #heat19:40
*** EricGonczer_ has joined #heat19:41
*** dmk0202 has quit IRC19:43
*** EricGonczer_ has quit IRC19:45
*** sabeen has quit IRC19:46
*** fragatin_ has quit IRC19:51
*** sabeen has joined #heat19:58
*** spotz is now known as spotz_zzz20:00
*** zz_dimtruck is now known as dimtruck20:07
*** fragatina has joined #heat20:10
*** fragatina has quit IRC20:10
*** fragatina has joined #heat20:11
*** jcoufal has quit IRC20:12
*** akshai has joined #heat20:13
*** openstackstatus has joined #heat20:18
*** ChanServ sets mode: +v openstackstatus20:18
*** ayoung has quit IRC20:18
*** dmk0202 has joined #heat20:23
*** lrensing has quit IRC20:27
*** mwheckmann has quit IRC20:32
openstackgerritMerged openstack/heat: Fix building query key for ceilometer alarm  https://review.openstack.org/32325620:35
*** vijendar has quit IRC20:41
*** spotz_zzz is now known as spotz20:41
*** daneyon has quit IRC20:42
*** jamie_h has quit IRC20:57
*** fultonj has quit IRC21:06
*** vijendar has joined #heat21:21
*** vijendar has quit IRC21:28
*** jamespd_ has left #heat21:32
*** rcernin has quit IRC21:36
*** dimtruck is now known as zz_dimtruck21:37
*** zz_dimtruck is now known as dimtruck21:37
*** dimtruck is now known as zz_dimtruck21:37
*** dmk0202 has quit IRC21:38
openstackgerritSteve Baker proposed openstack/heat: Be consistent about context first argument in db api  https://review.openstack.org/33079821:39
openstackgerritSteve Baker proposed openstack/heat: del _session(), use context.session directly  https://review.openstack.org/33079921:39
openstackgerritSteve Baker proposed openstack/heat: WIP switch to oslo_db enginefacade pattern  https://review.openstack.org/33080021:39
*** zzzeek has joined #heat21:41
stevebakerzzzeek: I've just posted https://review.openstack.org/#/c/330800/ which came from oslo_db docs and neutron's WIP https://review.openstack.org/#/c/300017/1321:42
zzzeekok21:42
stevebakerzzzeek: unit tests currently fail because tables are not being created, for example http://paste.openstack.org/show/516732/21:43
zzzeekstevebaker: well you already have a "context" so that's good!  seems like the right idea is here.21:43
stevebakerzzzeek: unit test db is created by this which is run in test setUp http://git.openstack.org/cgit/openstack/heat/tree/heat/tests/utils.py#n5221:44
zzzeekok so...everyones test suite has a different hting going on21:45
zzzeekcreate_all(), that's refreshing (rather than running all the migrations)21:45
stevebakerzzzeek: here is our BASE http://git.openstack.org/cgit/openstack/heat/tree/heat/db/sqlalchemy/models.py#n2921:46
zzzeekstevebaker: so, when we see "tables aren't created", a good guess is that the engine which is here is not the same one that the tests are using, if this is a sqlite in-memory database21:46
zzzeekunless that "heat.db" is a database file21:46
stevebakerzzzeek: I think we desire an in-memory sqlite for faster test runs, its been years since I had to know that though. My working dir has no heat.db21:48
zzzeekstevebaker: OK, that is fine21:48
zzzeekso where you do this _facade = context_manager._factory.get_legacy_facade()21:49
zzzeekthat is likely the line we have to change21:49
zzzeekstevebaker: in fact yes because the decorator you're using is @enginefacade.writer etc., that's the "global" context21:50
zzzeekstevebaker: but then for the get_legacy() you're using a local module-level context21:50
stevebakerzzzeek: I can take out the decorators for now if they're not helping21:51
zzzeekstevebaker: those decorators are the whole thing :)  you either need to make those local to that context_manager, or make the get_engine() / get_session() point to the "global" context21:51
zzzeekstevebaker: want me to just update this to make it work ?21:52
stevebakerzzzeek: yes, for now, and just to improve my understanding21:52
zzzeekstevebaker: ok21:52
*** zz_dimtruck is now known as dimtruck21:53
stevebakerzzzeek: also backing up a bit, one reason I'm doing this is that currently every query is preceded by a SELECT 1 - I think this is an indication that we're DoingThingsWrong but I'm not sure why or exactly how enginefacade helps21:56
*** dimtruck is now known as zz_dimtruck21:57
zzzeekstevebaker: the SELECT 1 is per transaction, so if every query has that then yes you are getting a new session / transaction on every query :)21:57
zzzeekstevebaker: which is the problem enginefacade seeks to solve21:57
stevebakerthat is what I thought, so good21:57
zzzeekstevebaker: im just looking to see the best way to get osprofiler in here, some other ppl had trouble w/ that21:58
zzzeekand i was hoping osprofiler would add integration but seems like they havent21:58
stevebakerneutron has this proposed https://review.openstack.org/#/c/312393/9/neutron/db/api.py21:59
*** dmk0202 has joined #heat22:04
*** akshai has quit IRC22:11
zzzeekstevebaker: im making some progress here but now im stuck inside of getting a method to use the right session and stuff.   haven't worked w/ heat API before22:17
*** randallburt1 has quit IRC22:21
stevebakerzzzeek: you mean the ones that call get_session() or the ones using context.session? I think I'll be aiming to get rid of get_session entirely as part of this series but I'd need to understand why they are not using the context session in each case22:21
zzzeekstevebaker: yes , but im getting a much more specific failure which I believe indicates something along the chain of a certain test is not doing the right thing22:22
zzzeekstevebaker: but im jumping into a totally random test that does lots of things none of which I know anything about :)22:22
stevebakerzzzeek: heat/tests/db/test_sqlalchemy_api.py should be a good self-contained test to start with22:23
zzzeekstevebaker: good idea22:23
stevebakerzzzeek: if you get that going I could do the rest22:23
*** dmk0202 has quit IRC22:39
stevebakerzzzeek: or at least get a proportion of the tests passing22:45
zzzeekstevebaker: ive got a lot passsing22:45
stevebakercool22:45
zzzeekstevebaker: trying to get a tricky one to pass to set up some more patterns22:45
stevebakerk22:45
zzzeekstevebaker: the hard part is that all ofthis code assumes transaction per method call22:46
zzzeekincluding the tests22:46
stevebakerzzzeek: yeah, we may need a transition period of adding explicit transactions initially22:49
*** sabeen has quit IRC22:51
*** hemanth has quit IRC22:52
*** spotz is now known as spotz_zzz23:07
*** pradk has quit IRC23:07
*** rustyeddy has quit IRC23:11
openstackgerritMichael Bayer proposed openstack/heat: del _session(), use context.session directly  https://review.openstack.org/33079923:15
openstackgerritMichael Bayer proposed openstack/heat: Be consistent about context first argument in db api  https://review.openstack.org/33079823:15
openstackgerritMichael Bayer proposed openstack/heat: WIP switch to oslo_db enginefacade pattern  https://review.openstack.org/33080023:15
zzzeekstevebaker: these were chained in three commits, i only appended onto the top one23:15
stevebakerzzzeek: sweet, I'll take a look23:16
*** daneyon has joined #heat23:16
zzzeekstevebaker: ok im out, lets talk tomorrow23:17
stevebakerzzzeek: ok, lets do it next week, my tomorrow is saturday23:18
zzzeekstevebaker: congrats, will do23:18
stevebakerzzzeek: thanks again23:18
*** daneyon has quit IRC23:33
*** tochi has joined #heat23:39
*** chlong has quit IRC23:42
*** sshen_ has quit IRC23:43
*** sshen has joined #heat23:48
*** sdake has quit IRC23:57

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