Tuesday, 2014-08-26

openstackgerritA change was merged to openstack/heat: Gate-supporting files for functional tests  https://review.openstack.org/11652900:01
*** tango has quit IRC00:04
*** sballe has joined #heat00:04
*** alexheneveld has joined #heat00:05
Qimingstevebaker, around?00:05
stevebakerQiming: yes00:05
Qiminghi,  could you help check this: https://bugs.launchpad.net/heat/+bug/136112800:06
uvirtbotLaunchpad bug 1361128 in heat "ignore_not_found not working on ceilometer client" [Undecided,New]00:06
Qimingstevebaker, it only happens using the lastest ceilometerclient code00:06
*** reed_ has quit IRC00:06
*** sballe__ has quit IRC00:07
stevebakerQiming: Could you come up with a fix which checks for both kinds of NotFound exception, and attach python-ceilometerclient to that bug?00:08
Qimingstevebaker, if I change http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/clients/os/ceilometer.py#n15 into "ceilometerclient.openstack.common.apiclient import exceptoins as exc"00:08
Qimingand http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/clients/os/ceilometer.py#n45 into "return isinstance(ex, exc.NotFound)", problem is solved00:09
Qimingbut it looked so ugly to me ....00:09
Qimingmy feeling is that Heat is not supposed to import modules from "ceilometerclient.openstack...", maybe I'm missing something00:11
*** sballe has quit IRC00:12
stevebakerso if exceptions used to be raised from ceilometerclient.exc but are now raised from apiclient.exceptions then this is a library API break which they should fix. As long as we depend on the version of ceilometerclient which switched to apiclient.exceptions then we can switch over to importing that instead00:12
*** alexheneveld has quit IRC00:13
Qimingstevebaker, so it looks more like a ceilometer defect00:13
stevebakerQiming: yes, their types in .exc should map to the new types00:14
Qimingstevebaker, thanks, will try communicate this to ceilometer guys00:14
stevebakerQiming: but we may as well switch over to the other package00:15
Qimingat the same time, importing modules from ceilometerclient.openstack...apiclient will be a temp hack00:15
Qimingstevebaker: it smells that API client calls are being consolidated into apiclient in oslo, though00:17
stevebakerQiming: yes, there needs to be backwards compatibility taken into account though00:18
Qimingstevebaker: got it, thanks.00:18
Qimingstevebaker: got to run now, 08:18 here in Beijing, ttyl00:19
stevebakerQiming: \o00:20
*** asalkeld has quit IRC00:24
*** Qiming has quit IRC00:24
*** saju_m has quit IRC00:36
*** asalkeld has joined #heat00:36
*** reed_ has joined #heat00:52
*** alexpilotti has quit IRC01:04
*** reed_ has quit IRC01:07
*** sabeen has quit IRC01:07
openstackgerritMiguel Grinberg proposed a change to openstack/heat: boolean parameter type is not recognized in the API  https://review.openstack.org/11676201:12
*** Qiming has joined #heat01:19
*** erkules_ has joined #heat01:30
*** erkules has quit IRC01:32
*** sjmc7 has quit IRC01:40
*** nosnos has joined #heat01:44
*** achampion has joined #heat01:49
Qimingreview.openstack.org:29418 is down?01:50
*** achampio1 has quit IRC01:52
asalkeldQiming, working for me01:53
Qimingasalkeld, thanks for confirmation, checking01:54
asalkeldnp01:54
*** Yanyanhu has joined #heat02:01
*** sdake_ has joined #heat02:01
*** miguelgrinberg has joined #heat02:04
*** shakamunyi has quit IRC02:05
openstackgerrithuangtianhua proposed a change to openstack/heat: Correct function name to handle_snapshot_delete  https://review.openstack.org/11676502:12
asalkeldwould all agree to "assert() is for catching programming errors"?02:13
asalkeldthis looks odd to me: https://review.openstack.org/#/c/106054/21/heat/engine/service.py02:14
*** gokrokve_ has quit IRC02:15
asalkeldstevebaker, did you get to the bottom of the functionaltests/ vs. tests/functional/02:21
*** shakamunyi has joined #heat02:23
*** david-lyle has quit IRC02:31
stevebakerasalkeld: no, zaneb doesn't want it in the heat namespace but hasn't made a suggestion for what package they should be in02:34
asalkeldso I am more interested in what qa want02:34
asalkeldas they are pushing this02:35
asalkeldwe should fit into the grand scheme of things02:35
stevebakerasalkeld: sdague prefers the convention being established, heat.tests.functional, heat.tests.unit. Attempts to get sdague and zaneb in the same chat room were not successful02:36
asalkeldI'd go with sdague02:36
stevebakerasalkeld: you're right, that assert is bogus02:36
asalkeldzane just likes been different :-O02:37
*** Tross has joined #heat02:37
stevebakerasalkeld: no, he has a valid point, but valid points with concrete alternative suggestions are much more useful ;)02:37
asalkeldwhat's the point?02:38
asalkeldit needs to be in a seperate package?02:38
*** Tross1 has joined #heat02:38
*** sabeen has joined #heat02:39
*** Tross has quit IRC02:39
asalkeldshrug - I am just so over doing things "differently"02:39
*** Tross1 has quit IRC02:39
stevebakerfunctional tests run against whatever random cloud you've sourced credentials for, so packaging them along with unit tests and the rest of the heat source tree is misleading/confusing02:40
asalkeldwell the worst would be if each project was different02:41
Qiming telnet review.openstack.org 29418  -->  connect to address 23.253.232.87: Connection timed out02:41
*** Tross has joined #heat02:41
asalkeldand you had to read on each project how to run it's fuct. test02:41
Qimingam I trying the correct IP ?02:41
asalkeldQiming, don't you use "ssh"02:42
Qimingasalkeld: ssh: connect to host review.openstack.org port 29418: Network is unreachable02:42
asalkeldssh review.openstack.org02:42
asalkeldPermission denied (publickey).02:43
asalkeldQiming, has a broken internet02:43
asalkeld:-(02:43
Qimingasalkeld, trying to find out if DNS is telling me the correct IP02:43
asalkeldlast 2 traceroute entries:02:44
asalkeld22  aggr160b-4-core4.dfw2.rackspace.net (72.32.218.39)  217.469 ms aggr160b-4-core3.dfw2.rackspace.net (72.32.218.35)  215.680 ms aggr160b-4-core4.dfw2.rackspace.net (72.32.218.39)  213.564 ms02:44
asalkeld23  review.openstack.org (23.253.232.87)  217.206 ms !X  214.920 ms !X  218.055 ms !X02:44
Qimingthanks, asalkeld, that means my IP resolution is correct02:45
asalkeldmaybe a blocked port?02:45
Qimingasalkeld, checking02:45
*** saju_m has joined #heat02:47
Qimingtbh, feeling embarassed/frustrated/offended/irritated working behind the great wall ...02:47
asalkeldseems like the great firewall :O02:48
asalkeldmust be a hell of a firewall config;)02:48
Qimingwhy ... ? using google means I'm plotting a rebellion?  covering the ears/eyes of others then nothing happened? i'm speechless02:51
*** ramishra has joined #heat02:51
*** gokrokve has joined #heat02:53
*** nosnos has quit IRC02:54
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516602:54
*** KanagarajM has joined #heat03:03
*** saju_m has quit IRC03:08
*** ramishra has quit IRC03:10
*** ramishra has joined #heat03:11
*** saju_m has joined #heat03:17
elynn@Qiming, You can use http password instead ssh to access review.openstack.org03:21
*** saju_m has quit IRC03:21
*** LiJiansheng has joined #heat03:27
Qimingelynn, I'm trying to check in code, will that work?03:29
*** arbylee1 has quit IRC03:30
*** ramishra has quit IRC03:30
*** zns has joined #heat03:32
*** ramishra has joined #heat03:35
elynn@Qiming, change git config ,use htts://<yourname>@review.openstack.org/ instead of ssh://<yourname>@review.openstack.org:29418 to access review.openstack.org03:37
*** tiantian has quit IRC03:37
*** huangtianhua has joined #heat03:37
*** bmahalakshmi has joined #heat03:38
*** huangtianhua is now known as tiantian03:38
*** ramishra has quit IRC03:44
*** harlowja is now known as harlowja_away03:47
*** samstav_ has quit IRC03:48
*** harlowja_away is now known as harlowja03:48
*** tiantian has quit IRC03:52
*** huangtianhua has joined #heat03:52
*** akuznetsov has joined #heat03:55
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix failed to delete the EIP resource  https://review.openstack.org/10275803:55
*** david-lyle has joined #heat04:02
*** ccrouch has joined #heat04:06
*** david-lyle has quit IRC04:07
*** nosnos has joined #heat04:12
*** rakesh_hs has joined #heat04:41
*** chandankumar has joined #heat04:43
Qimingelynn, thanks, trying04:46
*** ramishra has joined #heat04:50
*** tnurlygayanov has quit IRC04:52
sdake_qiming you may need https raather then htts ;)04:53
Qimingsdake_, error: Failed to connect to 2001:4800:7815:104:3bc3:d7f6:ff03:bf5d: Network is unreachable while accessing https://tengqm@review.openstack.org:29418/openstack/heat.git/info/refs04:54
Qimingthere must be something between me and the server04:54
Qimingthe ping result is actually not so bad: 64 bytes from review.openstack.org (23.253.232.87): icmp_seq=1 ttl=39 time=388 ms04:55
*** pasquier-s has joined #heat05:03
*** david-lyle has joined #heat05:03
*** bmahalakshmi has quit IRC05:03
*** zns has quit IRC05:07
*** david-lyle has quit IRC05:07
*** ckmvishnu has joined #heat05:09
*** nikunj2512 has joined #heat05:09
*** dsneddon has quit IRC05:11
sdake_qiming are you located in china?05:15
sdake_i have a few friends in china who have trouble accessing openstack services because of the firewall located there05:16
*** shakamunyi has quit IRC05:16
sdake_not really friends more like aquantences05:16
sdake_but you get the idea :)05:16
*** KanagarajM has quit IRC05:17
*** chandankumar has quit IRC05:18
*** huangtianhua has quit IRC05:21
openstackgerritA change was merged to openstack/heat: Provide access to outputs from OS::Heat::AutoScalingGroup  https://review.openstack.org/11542805:24
*** kopparam has joined #heat05:25
Qimingsdake_, it used to work a few days before05:25
Qimingsdake_, it is REALLY frustrating, when google, blogspot, twiter, facebook, youtube ... seems something on mars, you heard of it but cannot access it05:27
skraynevgood morning05:30
asalkeldhi skraynev05:30
*** cmyster has quit IRC05:30
skraynevhi asalkeld :)05:30
*** ckmvishnu has left #heat05:31
*** kebray has quit IRC05:31
*** chandankumar has joined #heat05:32
*** yoyo_ has joined #heat05:32
yoyo_can someone provide me  heat template for launch instance from volume05:32
asalkeldyoyo_, have you looked heat-templates repo?05:33
asalkeldI haven't tried that05:33
yoyo_I have seen basic heat template for launch instance05:35
yoyo_but i want  heat template for launch instance from volume05:35
yoyo_can you provide some help in this05:36
*** KanagarajM has joined #heat05:36
asalkeldyoyo_, http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server05:38
asalkeldvolume_id : String05:38
asalkeld    The ID of the volume to boot from. Only one of volume_id or snapshot_id should be provided.05:38
asalkeldyoyo_, I have never used that - so I am just guessing05:39
yoyo_i have seen this link, but is any template you can provide for this?05:41
yoyo_any already built template on githib or somewhere else05:41
*** ramishra has quit IRC05:43
*** unmeshg has joined #heat05:43
*** ramishra has joined #heat05:43
asalkeldnot that i know of05:47
*** ishant has joined #heat05:50
*** arbylee has joined #heat05:50
*** saju_m has joined #heat05:53
sdake_qiming ya its irritating - althoug hI have been to beijing and seen the great wall - china rocks05:57
*** k4n0 has joined #heat05:57
sdake_been to the emporers palace05:57
sdake_place is huge05:57
Qimingsdake_, I promised you before I will show you the REAL great wall if you come to BJ again05:58
sdake_oh i think we had this conversation :)05:58
sdake_brain = busted05:58
Qimingyes.05:58
sdake_stevebaker around?05:58
Qimingbut, now I'm seriously considering a bold move -- move to other countries05:58
*** gokrokve has quit IRC06:00
skraynevQiming: are you big fun of traveling? ;)06:00
Qimingskraynev, 100%06:01
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/11679606:01
Qimingskraynev, not biz trip, :)06:01
skraynevQiming: sure :)06:02
*** david-lyle has joined #heat06:04
*** Tross has quit IRC06:08
*** ckmvishnu has joined #heat06:08
*** david-lyle has quit IRC06:08
*** akuznetsov has quit IRC06:13
*** huangtianhua has joined #heat06:14
*** asalkeld has quit IRC06:14
*** arbylee has quit IRC06:15
*** lazy_prince has quit IRC06:17
*** akuznetsov has joined #heat06:19
openstackgerritMike Spreitzer proposed a change to openstack/heat: Implement AZ spanning for ASGs  https://review.openstack.org/11613906:23
*** jprovazn has joined #heat06:26
*** gokrokve has joined #heat06:27
*** gokrokve has quit IRC06:28
*** gokrokve has joined #heat06:29
*** ramishra has quit IRC06:29
*** ramishra has joined #heat06:30
*** killer_prince has joined #heat06:30
*** killer_prince is now known as lazy_prince06:30
*** gokrokve has quit IRC06:30
*** asalkeld has joined #heat06:30
openstackgerritZhenguo Niu proposed a change to openstack/heat: Fix typo  https://review.openstack.org/11680406:30
*** harlowja is now known as harlowja_away06:31
*** gokrokve has joined #heat06:31
*** justin-8 has joined #heat06:35
*** gokrokve has quit IRC06:35
*** huangtianhua has quit IRC06:36
*** justin-8_ has joined #heat06:39
*** justin-8 has quit IRC06:40
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix port residue when instance deletion  https://review.openstack.org/11523406:41
*** cmyster has joined #heat06:43
*** Qiming has quit IRC06:53
*** david-lyle has joined #heat07:05
*** david-lyle has quit IRC07:09
*** kopparam has quit IRC07:09
*** jcoufal has joined #heat07:17
*** asalkeld has quit IRC07:26
*** sorantis has joined #heat07:27
*** Qiming has joined #heat07:28
*** gokrokve has joined #heat07:29
*** asalkeld has joined #heat07:30
*** gokrokve has quit IRC07:33
*** Daviey has quit IRC07:34
*** asalkeld has quit IRC07:38
*** pas-ha has joined #heat07:39
*** LiJiansheng has quit IRC07:41
*** justin-8_ has quit IRC07:41
pas-hamorning all07:41
*** LiJiansheng has joined #heat07:42
*** justin-8 has joined #heat07:42
*** asalkeld has joined #heat07:47
*** sdake_ has quit IRC07:47
*** saju_m has quit IRC07:53
*** jistr has joined #heat07:55
*** Daviey has joined #heat07:55
cmystermorning07:57
*** david-lyle has joined #heat08:05
*** kopparam has joined #heat08:06
*** david-lyle has quit IRC08:10
*** KanagarajM2 has joined #heat08:11
*** KanagarajM has quit IRC08:12
*** derekh has joined #heat08:23
*** tomek_adamczewsk has joined #heat08:24
*** yassine has joined #heat08:26
*** yassine has quit IRC08:28
*** yassine has joined #heat08:28
openstackgerritunmesh-gurjar proposed a change to openstack/python-heatclient: Updated usage for stack-preview rollback param  https://review.openstack.org/11682208:29
*** gokrokve has joined #heat08:29
*** mohits has joined #heat08:30
*** yoyo_ has quit IRC08:30
*** tiantian has joined #heat08:30
*** gokrokve has quit IRC08:34
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix failed to delete the EIP resource  https://review.openstack.org/10275808:38
*** fayablazer has joined #heat08:38
*** erkules_ is now known as erkules08:41
*** slagun has joined #heat08:41
*** alexpilotti has joined #heat08:46
skraynevshardy: I have some strange issue with autoscaling (after creating stack with template http://paste.openstack.org/show/100346/ - it's pure template just for testing that autoscaling work)08:50
skraynevshardy: so problem is: I see only NODATA in heat-engine logs08:50
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix port residue when instance deletion  https://review.openstack.org/11523408:50
skraynevshardy: it happens before and after additional loading08:51
skraynevshardy: in the same time this string https://github.com/openstack/heat/blob/master/heat/engine/watchrule.py#L318-L31908:52
skraynevshardy: reports me that value changes from 0-2 (if it vm has not load), to 100 (when I give some load)08:53
ckmvishnutiantian: Hi. Are you "huangtianhua"? Could not get your IRC handle from your launchpad profile.08:53
tiantian<ckmvishnu>: yes :)08:54
ckmvishnutiantian: great. updated cloud_watch change that you had asked for.08:55
ckmvishnutiantian: :)08:55
skraynevshardy: I tried restart heat-engine (and it leaded to changing state from NODATA to NORMAL (ALARM)) but It happened without any regularity..08:56
slagunHi. I have a question regarding how Heat uses keystone trusts. Can someone help me with that?08:56
skraynevshardy: so it looks very mysterious for me.08:56
shardyslagun: I can probably help, but please read my blog post about it first, if you haven't already:08:56
skraynevshardy: or I missed something important about how it should work08:56
shardyhttp://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-1-trusts.html08:57
slagunshardy: yes, I have08:57
tiantian<ckmvishnu>: Have a look :)08:57
slagunAm I correct saying that Heat uses trust for deferred operations only and using supplied token for immediate operations (like create VM)?08:58
*** bdossant has joined #heat08:58
shardyslagun: Yes, although there is a bug (bug #1306294) which may result in using the trust during create in future, if the token expires when creating a really huge stack (or the token expiry is smaller than the stack create timeout)09:00
*** stannie has quit IRC09:00
uvirtbotLaunchpad bug 1306294 in tripleo "Heat fails to re-authenticate when faced with authentication failure during stack operations" [High,In progress] https://launchpad.net/bugs/130629409:00
shardyslagun: but right now, we only switch to the trust during deferred operations (e.g autoscaling adjustments)09:01
shardyskraynev: Odd, is there a reason you're not using Ceilometer?09:01
shardyI'd like to deprecate CWLiteAlarm ASAP as the internal watchrule implementation is not scalable09:01
shardyAre you running more than one heat-engine?09:02
skraynevshardy: it's old test in our deployment.. possibly I will migrate it on ceilometer (but need time to bring this idea to other folks)09:03
skraynevshardy: no, just one09:03
shardyskraynev: if you can see the data coming from cfn-push-stats, then when the periodic alarm evaluation happens, it should just work09:04
slagunshardy: good. My question is what would happen if someone other than stack owner (another user in the same tenant) updates the stack. For example that someone could create auto-scaling group that will be scaled using quotas of the stack owner rather than the person that actually owns the resource. Is it expected behavior?09:04
shardynormally where folks go wrong is firewalls blocking cfn-push-stats from heat-api-cloudwatch, and that doesn't appear to be your problem09:05
bdossanthi! Can anyone tell me if in Juno will be possible to create heat users in a specific domain using keystone "Domain-specific Drivers" new feature?09:05
bdossantusing LDAP for the default domain and for example sql for the heat domain09:06
shardyslagun: Yeah, there are some known issues wrt multiple users managing the lifecycle of a stack, atm the trust is created once, at creation, and all deferred operations impersonsate the user who did the create09:06
*** david-lyle has joined #heat09:06
*** julienvey has joined #heat09:06
shardyThere's not a method to update that trust to a new user right now, but there is a bug about it:09:06
shardybug #130883409:07
uvirtbotLaunchpad bug 1308834 in heat "403 on trusts delete causes DELETE_FAILED" [Medium,Triaged] https://launchpad.net/bugs/130883409:07
shardybdossant: As I understand it, yes, but really that's a question for the keystone folks :)09:08
shardyI was told, recently, that it will be by ayoung09:08
shardybdossant: It shouldn't require any changes to heat, just a reconfiguration of keystone so the "heat" domain is backed by sql09:09
skraynevshardy: I think so too. And can not understand  why it does not work for me. So I continue debug it. Currently I just want to know all sequence of actions during scaling. have you any schema with this process?09:10
*** david-lyle has quit IRC09:10
slagunshardy: and one more question. Are there any plans (or it is possible already) to work with nested stacks as a first class citizens - have the same CRUD operations on *content* of nested stack as we have on enclosing one?09:12
shardyskraynev: I don't have any detailed docs about it, only overview slides in my presentations repo on github09:12
shardyslagun: It is already possible, you just need the ID of the nested stack (which is exposed via the physical_resource_id of the owning resource)09:12
skraynevshrady: for me it looks like. creating watchrule -> getting data from cfn-push-stats -> storing this in db -> ? (reading/loading these data from db after cooldown period ) -> triggering scale after changing status09:12
shardyslagun: also see my series posted which enables listing of stacks including nested stacks09:13
shardythat makes seeing the required ID's a bit easier09:13
bdossantshardy: yes im going to get more info from the keystone guys. I tried to configure this with the master branch but not with many luck. This will be a killer feature for CERN deployment...09:14
shardyslagun: https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/list-nested,n,z09:14
shardyslagun: also see http://hardysteven.blogspot.co.uk/2013_08_01_archive.html09:15
shardybdossant: sounds good, I've not yet tried it myself, but I'd be very interested in some notes on how to do it when you get it working :)09:16
shardy(a contribution to our docs would be even more awesome :)09:16
*** cmyster has quit IRC09:17
slagunshardy: thats awesome! Does it mean I can also create nested stack from HOT template from REST API request body (without providing http:/file: URL to it)?09:17
bdossantshardy: sure why not :)09:18
shardyskraynev: that's right, basically cfn-push-stats pushes the data in, and there's a periodic task (started in service.py) which then evaluates the data against the alarm criteria, by default this happens evey 60 seconds, configurable via heat.conf09:18
*** che-arne has joined #heat09:19
shardyskraynev: overall, it's a crude alarm mechanism, ceilometer is much better, but didn't exist when I wrote the watchrule stuff09:19
shardyslagun: Not quite sure what you mean - do you mean create a stack and tell heat via the API that it's owned by some other stack?09:20
shardyIf so then no, that's not possible, because you must define the owning resource in the owning stack's template09:20
slagunshardy: no, I mean to say "in stack X create stack 'resources: {resourceType: blabla}'"09:21
shardyslagun: Oh you mean specify the template inline?09:22
slagunshardy: exactly09:22
shardyslagun: I'm not sure, that may already be possible if you do it via python-heatclient09:22
shardycertainly it's something we can probably enable, if it doesn't work already09:23
skraynevshardy: cool. I hope, that it will help me :) about ceilometer - I agree it will  be better.09:23
slagunshardy: so this is the new feature that is going to be introduced in Juno release?09:24
slagunor this is something that was available earlier just only via REST API?09:25
slagunalso do nested stacks have keystone trusts of their own or they use parent stack trusts?09:26
*** cdent has joined #heat09:26
shardyslagun: during this cycle, we moved to the nested stacks using the parent trust, previously they all created their own new trust09:27
*** gokrokve has joined #heat09:29
*** gokrokve has quit IRC09:31
*** gokrokve has joined #heat09:31
*** akuznetsov has quit IRC09:31
*** Qiming has quit IRC09:32
slagunshardy: https://wiki.openstack.org/wiki/Heat/NestedStacks looks outdated. Does nested stack resources can reference resource in outer stack?09:35
*** gokrokve has quit IRC09:35
*** SaD is now known as sergmelikyan09:39
*** akuznetsov has joined #heat09:41
*** akuznetsov has quit IRC09:41
asalkeldslagun, you can access the parent stack's metadata09:48
asalkeldhttp://docs.openstack.org/developer/heat/template_guide/functions.html#fn-resourcefacade09:48
asalkeldyou could do what you want manually by passing in StackId as a parameter09:48
asalkeldwiki's really do suck - we should delete and docs on the wiki09:50
asalkelds/and/any09:50
tiantian<ckmvishnu>: done09:51
slagunshardy: asalkeld: thanks for help!09:53
asalkeldnp09:53
*** sergmelikyan has quit IRC10:00
*** mkollaro has joined #heat10:01
*** sergmelikyan has joined #heat10:02
*** sorantis has quit IRC10:02
*** mkollaro1 has quit IRC10:03
*** Yanyanhu has quit IRC10:04
*** david-lyle has joined #heat10:07
*** david-lyle has quit IRC10:12
*** yassine has quit IRC10:12
*** mkollaro has quit IRC10:24
*** mkollaro1 has joined #heat10:24
*** cmyster has joined #heat10:29
*** gokrokve has joined #heat10:29
*** gokrokve has quit IRC10:34
*** ramishra has quit IRC10:50
ckmvishnutiantian: does it mean that markers can only be uuid and not id?10:52
*** ramishra has joined #heat10:53
ckmvishnutiantian: actual type check should have been in stack identifier and not in list_stack11:01
ckmvishnushardy: Do we take it up after this cycle? i can abandon this for now.11:02
ckmvishnushardy: agree that it changes a lot.11:03
*** nikunj2512 has quit IRC11:06
*** sorantis has joined #heat11:07
*** Qiming has joined #heat11:07
*** david-lyle has joined #heat11:08
openstackgerritVictor Sergeyev proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516611:08
*** yassine has joined #heat11:11
*** bml23 has joined #heat11:12
bml23hi11:12
*** david-lyle has quit IRC11:12
bml23is there a way to run scripts and decompress tar files inside the template yaml?11:13
*** renlt has joined #heat11:13
*** denis_makogon has joined #heat11:13
*** bvandenh has joined #heat11:14
*** alexheneveld has joined #heat11:29
*** gokrokve has joined #heat11:29
*** LiJiansheng has quit IRC11:31
*** gokrokve has quit IRC11:33
*** cmyster has quit IRC11:35
shardyckmvishnu: It's up to you - I'm not saying we *can't* merge it this cycle, just asking if the risks are justified11:35
shardyIf you share those concerns, you're free to mark the patch as work-in-progress while we discuss it11:35
shardybml23: can you be more specific, do you mean inside the instaces launched by heat or something else?11:36
shardyinstances I mean..11:37
bml23I have to download a tarball, extract it and run a shell script from the tarball11:38
bml23can I specify this in the yaml file?11:38
ckmvishnushardy: sure. I address the in-line comments and push one final change. Let it be WIP for now. I'm ok with it.  :)11:39
shardybml23: well yes, you can just specify a script in the instance user-data which can do whatever you want11:41
bml23shardy: Thank you. And the script gets run automatically?11:45
*** kopparam has quit IRC11:48
*** cmyster has joined #heat11:56
shardybml23: Provided the image you're using contains cloud-init, or something else which runs the script (e.g a cirros image) then yes11:57
*** alexheneveld has quit IRC11:57
shardybml23: heat just passes the user-data to nova, which then boots the VM, so it's up to the image you boot to actually run the script11:57
bml23thanks11:57
shardytypically that is done via cloud-init, which is included in nearly all cloud-images created for openstack use11:58
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/hello_world.yaml11:59
shardybml23: There's a simple example, replace "echo db_port" with whatever script you need11:59
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml11:59
shardyOr that's a more real-world example which deploys wordpress12:00
*** ramishra has quit IRC12:01
bml23Thank you very much. I think I've got it from here on :)12:02
*** alexheneveld has joined #heat12:02
cmystershardy: hi whats up12:03
shardycmyster: hey12:05
cmystershardy: speaking of real live scenarios, have you seen this ever being used? OS::Nova::ServerGroup12:06
shardycmyster: No, but it's something I've been meaning to try out12:07
cmystershardy: ja, same here via a scenario. I see the api test in heat, but that's just something I cannot use.12:08
*** david-lyle has joined #heat12:08
*** saju_m has joined #heat12:12
*** saju_m has quit IRC12:12
*** david-lyle has quit IRC12:13
*** saju_m has joined #heat12:13
*** urulama has joined #heat12:16
cmystershardy: FYI http://lists.openstack.org/pipermail/openstack-dev/2014-April/031865.html12:17
*** KanagarajM2 has quit IRC12:18
*** kopparam has joined #heat12:19
*** praveenkumar has quit IRC12:23
*** ckmvishnu has quit IRC12:24
*** kopparam has quit IRC12:26
*** yassine has quit IRC12:26
*** bml_ has joined #heat12:29
*** bml23 has quit IRC12:29
*** gokrokve has joined #heat12:29
*** jdob has joined #heat12:30
*** mohits has quit IRC12:32
*** yassine has joined #heat12:32
openstackgerritA change was merged to openstack/python-heatclient: Update stack-preview usage text  https://review.openstack.org/11633112:33
*** gokrokve has quit IRC12:34
asalkeldSpamapS, should there be a trusty here: http://ppa.launchpad.net/tripleo/demo/ubuntu/dists/12:38
*** praveenkumar has joined #heat12:39
zanebasalkeld: for the record, I am against doing things differently too. I just think it's the other projects who should change :)12:41
*** denis_makogon has quit IRC12:41
asalkeldthat's kinda the definition of "doing things differently" ;)12:42
*** tonisbones has joined #heat12:44
*** akuznetsov has joined #heat12:44
*** unmeshg has quit IRC12:45
*** nosnos has quit IRC12:46
*** k4n0 has quit IRC12:49
*** arbylee has joined #heat12:52
*** rpothier has joined #heat12:54
asalkeldg'night all13:02
*** asalkeld has quit IRC13:02
skraynevasalkeld: good night13:03
*** aweiteka has joined #heat13:06
*** yassine has quit IRC13:06
*** yassine has joined #heat13:07
*** david-lyle has joined #heat13:09
openstackgerritMike Spreitzer proposed a change to openstack/heat: Implement AZ spanning for ASGs  https://review.openstack.org/11613913:10
*** ifarkas has quit IRC13:11
*** david-lyle has quit IRC13:13
*** yassine has quit IRC13:16
*** ifarkas has joined #heat13:17
*** htruta has joined #heat13:20
*** kopparam has joined #heat13:22
*** alexheneveld has quit IRC13:26
*** kopparam has quit IRC13:26
*** gokrokve has joined #heat13:29
*** rakesh_hs2 has joined #heat13:32
*** rakesh_hs has quit IRC13:33
*** gokrokve has quit IRC13:33
*** mkollaro1 is now known as mkollaro13:36
cmystershardy: remember by any chance that bug you opened some time ago about property type validation ?13:36
*** yassine has joined #heat13:37
cmystertrying to find it...13:37
*** chandankumar has quit IRC13:38
shardycmyster: bug #1317129 ?13:39
uvirtbotLaunchpad bug 1317129 in heat "Provider resource Integer/Number type mismatch" [Medium,Fix committed] https://launchpad.net/bugs/131712913:39
*** zz_gondoi is now known as gondoi13:39
*** sballe has joined #heat13:39
cmysteryes I think so,13:40
cmysterI'm having something else here, sec lemme paste13:40
*** Murali_ has joined #heat13:40
*** BillArnold has joined #heat13:40
*** chandankumar has joined #heat13:41
cmystershardy: not exactly the same thing http://paste.openstack.org/show/100474/13:42
cmystertemplate-validate OKed it13:42
*** rakesh_hs has joined #heat13:43
*** mkollaro has quit IRC13:43
*** mkollaro has joined #heat13:43
openstackgerritQiming Teng proposed a change to openstack/heat: Additional exception type check for ceilo-client  https://review.openstack.org/11689613:44
shardycmyster: Hmm, if you choose a string type for the parameter, I'm not sure how we can validate that other than at runtime13:44
*** rakesh_hs2 has quit IRC13:44
cmysterwith validate doing it like in real time :) but that probably not the case...13:45
shardyPresumably you either need to pass a list in as a parameter, or put [ { get_param: group_a_policy } ]13:45
cmysteryes its just me not paying attention, just thought that validate might be more sturdy then this13:45
shardycmyster: template-validate doesn't take parameters (stack-preview does though)13:45
cmysteryup that caught it alright13:46
cmystershardy: if validate is weaker then preview, why is there a need to have it ?13:47
*** saju_m has quit IRC13:47
cmysterif both are being used for the same cause13:47
shardyIf you used a list type for the parameter (comma_delimited_list) that might work as you'd force the user to enter a list parameter13:47
shardycmyster: history and aws comaptibility basically13:48
cmysterI see13:48
*** ishant has quit IRC13:48
*** Murali_ has quit IRC13:48
shardycmyster: we've had template-validate forever, stack-preview is a shiny new thing by comparison13:49
cmysterit is13:49
cmysteralso validate is still in there :)13:49
*** Murali_ has joined #heat13:49
*** alexheneveld has joined #heat13:52
cmysteralso shardy, in that template I pasted, if I change the type and value to list in the  parameters section it still won't work because list is not a valid type13:53
*** chandankumar has quit IRC13:53
cmysterI always put string there, but I thought that one can use the actual type that the property is defined to be13:54
*** chandankumar has joined #heat13:54
*** jmckind has joined #heat13:55
shardycmyster: comma_delimited_list13:55
shardyhttp://docs.openstack.org/developer/heat/template_guide/hot_spec.html#parameters-section13:55
cmysterah, check13:55
cmysterthanks13:55
*** arbylee has quit IRC13:57
*** denis_makogon has joined #heat13:57
*** denis_makogon has quit IRC13:57
*** david-lyle has joined #heat13:57
*** arbylee has joined #heat13:57
*** jprovazn has quit IRC13:58
*** gokrokve has joined #heat14:00
*** jprovazn has joined #heat14:00
*** saju_m has joined #heat14:00
*** alexheneveld has quit IRC14:00
*** sorantis has quit IRC14:02
*** saju_m has quit IRC14:02
*** saju_m has joined #heat14:03
*** sorantis has joined #heat14:03
*** alexheneveld has joined #heat14:03
*** sorantis has quit IRC14:04
*** ccrouch1 has joined #heat14:04
*** ccrouch has quit IRC14:05
*** bml_ has quit IRC14:05
*** aweiteka has quit IRC14:06
*** chandankumar has quit IRC14:06
*** alexheneveld has quit IRC14:07
*** nkhare has joined #heat14:07
*** alexheneveld has joined #heat14:08
*** jasondotstar has joined #heat14:12
*** saju_m has quit IRC14:14
*** zns has joined #heat14:17
*** aweiteka has joined #heat14:20
*** kopparam has joined #heat14:23
*** kopparam has quit IRC14:27
*** mspreitz has joined #heat14:28
*** vijendar has joined #heat14:29
*** samstav has joined #heat14:30
*** ekarlso has quit IRC14:31
*** praveenkumar has quit IRC14:31
*** rakesh_hs has quit IRC14:33
*** vijendar has quit IRC14:34
*** vijendar has joined #heat14:34
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix port residue when instance deletion  https://review.openstack.org/11523414:38
*** alexheneveld has quit IRC14:39
*** samstav has quit IRC14:40
*** samstav has joined #heat14:40
*** denis_makogon has joined #heat14:41
*** EricGonczer_ has joined #heat14:44
*** kebray has joined #heat14:45
*** praveenkumar has joined #heat14:46
*** kebray has quit IRC14:46
*** kebray has joined #heat14:46
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement CFN CancelUpdateStack action  https://review.openstack.org/10285214:50
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add RPC API for cancel update stack  https://review.openstack.org/10285114:50
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add Heat REST API action for cancel update stack  https://review.openstack.org/11691114:50
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/python-heatclient: Add 'cancel_update' action and command  https://review.openstack.org/10285414:51
*** saju_m has joined #heat14:52
jdandreaGiven a Req-ID (like 3ed9a41e-29d5-4659-9776-d07089da8f00, seen in heat stack-show upon encountering an error) is it possible to locate info about that request?14:52
*** jdob has quit IRC14:52
*** jdob has joined #heat14:53
jdandreaThe full error: "Resource CREATE failed: Error: Resource CREATE failed: BadRequest: Invalid input received: Availability zone [my_az_here] is invalid (HTTP 400 (Request-ID: req- 3ed9a41e-29d5-4659-9776-d07089da8f00)"14:53
jdandreaIt's not necessarily nova, that's why I'm wondering.14:53
*** jprovazn has quit IRC14:57
shardyjdandrea: I think you'll need the patches from bug #132406514:58
uvirtbotLaunchpad bug 1324065 in heat "Needs support for x-openstack-request-id" [Medium,Fix released] https://launchpad.net/bugs/132406514:58
*** randallburt has joined #heat14:58
*** sjmc7 has joined #heat14:59
*** kebray has quit IRC15:02
jdandreashardy: Thanks!15:03
openstackgerritA change was merged to openstack/heat: SoftwareDeployments move signal reason into resource plugin  https://review.openstack.org/10682515:04
*** reed has joined #heat15:05
*** reed has quit IRC15:09
*** reed has joined #heat15:12
*** jdob has quit IRC15:12
openstackgerritSteven Hardy proposed a change to openstack/heat-specs: Decouple Nested Stacks from parents  https://review.openstack.org/11329615:12
openstackgerritSteven Hardy proposed a change to openstack/heat: Mark metadata_update RPC call deprecated  https://review.openstack.org/10698515:15
*** jdob has joined #heat15:16
*** EricGonczer_ has quit IRC15:18
*** alexheneveld has joined #heat15:21
*** kebray has joined #heat15:21
*** jpeeler has quit IRC15:21
*** jpeeler has joined #heat15:22
*** jpeeler has quit IRC15:22
*** jpeeler has joined #heat15:22
*** kopparam has joined #heat15:23
*** achampio1 has joined #heat15:24
*** achampion has quit IRC15:24
*** renlt has quit IRC15:27
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix failed to delete the EIP resource  https://review.openstack.org/10275815:27
*** chandankumar has joined #heat15:27
*** kopparam has quit IRC15:28
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Allow to decide between Nova-network and Neutron  https://review.openstack.org/11596815:28
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::NodeGroupTemplate resource  https://review.openstack.org/10028815:29
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::Cluster resource  https://review.openstack.org/7233615:29
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::ClusterTemplate resource  https://review.openstack.org/10150915:29
*** ekarlso has joined #heat15:30
*** sdake_ has joined #heat15:30
*** EricGonczer_ has joined #heat15:31
*** zns has quit IRC15:33
*** EricGonczer_ has quit IRC15:36
openstackgerrithuangtianhua proposed a change to openstack/heat: Implement EC2 eip/eipassociation resources updatable  https://review.openstack.org/10757715:37
*** EricGonczer_ has joined #heat15:37
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix failed to delete the EIP resource  https://review.openstack.org/10275815:37
openstackgerrithuangtianhua proposed a change to openstack/heat: Implement EC2 eip/eipassociation resources updatable  https://review.openstack.org/10757715:38
*** achampion has joined #heat15:39
*** ekarlso has quit IRC15:40
*** lazy_prince is now known as killer_prince15:40
*** achampio1 has quit IRC15:41
*** bml23 has joined #heat15:42
openstackgerrithuangtianhua proposed a change to openstack/heat: Correct function name to handle_snapshot_delete  https://review.openstack.org/11676515:43
*** TVR_1 has joined #heat15:44
*** cdent_ has joined #heat15:45
*** cdent_ has quit IRC15:45
*** dsneddon has joined #heat15:45
*** cdent_ has joined #heat15:45
zanebarbylee: is https://blueprints.launchpad.net/heat/+spec/stack-display-fields now complete?15:46
arbyleezaneb: yes i believe so15:47
*** achampio1 has joined #heat15:47
*** cdent has quit IRC15:48
*** cdent_ is now known as cdent15:48
zanebarbylee: sweet, thanks15:49
*** achampion has quit IRC15:50
mspreitzI think check-tripleo-novabm-overcloud-precise-nonha is flaky; is there a way I can get just that one to re-check my change?15:50
zanebsadly no15:52
zanebbut it is non-voting, so... feel free to ignore it if it's just being flaky15:52
openstackgerritQiming Teng proposed a change to openstack/heat: Additional exception type check for ceilo-client  https://review.openstack.org/11689615:52
*** achampion has joined #heat15:53
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add networks property to OS::Trove::Instance  https://review.openstack.org/9108815:54
*** bml23 has quit IRC15:54
Qimingskraynev, please help recheck https://review.openstack.org/#/c/116896/2, thanks.15:55
*** achampio1 has quit IRC15:55
*** julienvey has quit IRC15:56
*** bvandenh has quit IRC15:57
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement CFN CancelUpdateStack action  https://review.openstack.org/10285216:00
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add RPC API for cancel update stack  https://review.openstack.org/10285116:00
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add Heat REST API action for cancel update stack  https://review.openstack.org/11691116:00
*** tomek_adamczewsk has quit IRC16:03
*** zns has joined #heat16:04
*** randallburt has quit IRC16:05
*** Qiming has quit IRC16:05
*** jcoufal has quit IRC16:09
*** reed has quit IRC16:10
*** EricGonczer_ has quit IRC16:14
*** nkhare has quit IRC16:20
*** randallburt has joined #heat16:23
*** kopparam has joined #heat16:24
*** sballe has quit IRC16:24
*** kopparam has quit IRC16:29
*** sballe_ has joined #heat16:31
*** cdent_ has joined #heat16:33
*** ramishra has joined #heat16:33
*** fayablazer has quit IRC16:33
*** gokrokve_ has joined #heat16:35
*** derekh has quit IRC16:36
*** cdent has quit IRC16:36
*** cdent_ is now known as cdent16:36
*** kebray has quit IRC16:37
*** sballe_ has quit IRC16:37
*** gokrokve has quit IRC16:38
*** pasquier-s has quit IRC16:39
*** balles has joined #heat16:40
*** pasquier-s has joined #heat16:41
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Unittests: Refactor Volume resources tests  https://review.openstack.org/10736216:43
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Deny updates to AWS::EC2::VolumeAttachment  https://review.openstack.org/11380916:43
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Check for error messages in volume tests  https://review.openstack.org/11501516:43
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Improve errors in Volume attach/detach tasks  https://review.openstack.org/11501416:43
*** ramishra has quit IRC16:45
*** ramishra has joined #heat16:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516616:46
*** sballe_ has joined #heat16:47
*** saurabhs has joined #heat16:48
*** ramishra has quit IRC16:51
*** ramishra has joined #heat16:52
*** pas-ha has quit IRC16:53
*** ramishra has quit IRC16:56
*** crose has joined #heat16:56
*** cdent has quit IRC17:01
*** killer_prince has quit IRC17:01
*** killer_prince has joined #heat17:04
*** killer_prince is now known as lazy_prince17:04
*** saju_m has quit IRC17:05
*** saju_m has joined #heat17:06
*** jistr has quit IRC17:07
shadoweranyone have time to look at this change? It's a two line fix: https://review.openstack.org/#/c/115379/417:07
shadowerzaneb, stevebaker ^17:08
zaneb+2, can't argue with that17:09
*** randallburt has quit IRC17:10
shadowerthanks!17:10
*** zns has quit IRC17:11
*** alexheneveld has quit IRC17:13
*** ankurrr has left #heat17:13
*** harlowja_away is now known as harlowja17:15
*** saju_m has quit IRC17:16
*** saju_m has joined #heat17:18
*** aweiteka has quit IRC17:20
*** tomek_adamczewsk has joined #heat17:22
saurabhsHi, I have a heat stack which creates 4 ports on a nuetron network and then associates those ports with the 4 different VMs which it creates on nova, but I am intermittently running into an issue where in one of the VMs don't get network information in nova. when I do nova list or nova show, there is no network information show for that nova instances.17:22
saurabhsbut if I do neutron port-list the port for the instances shows up in the list. and nuetron port-show has the information about the instance with which the port is associated in the device_id field.17:23
saurabhshas anybody seen this problem and have any work around for it17:23
*** kopparam has joined #heat17:25
openstackgerritMike Spreitzer proposed a change to openstack/heat-templates: Added simple samples that exercise autoscaling  https://review.openstack.org/9736617:25
*** bmahalakshmi has joined #heat17:26
*** jprovazn has joined #heat17:29
*** kopparam has quit IRC17:29
*** reed has joined #heat17:30
*** aweiteka has joined #heat17:33
*** tomek_adamczewsk has quit IRC17:34
*** daneyon has joined #heat17:35
*** randallburt has joined #heat17:38
jdobshardy: ping17:39
shardyjdob: Hi!17:39
jdobhowdy :)17:39
jdobthere's a way to pass in a single file to the heat client that contains all of the files for a stack (where "all" means all of the provider resources and environment), right?17:40
jdobit's some sort of JSON dict?17:40
*** zns has joined #heat17:41
shardyjdob: Not AFAIK, no, although it might be something we want to add17:41
*** tango has joined #heat17:42
jdobhrm, maybe i'm nuts then. i swear I read about it a few weeks ago but can't find anything about the format17:42
shardyjdob: you have to pass in the template and environment seperately, and heatclient then goes and resolves the file references in the templates and environment to populate the files map in the API request17:42
shardyjdob: It's possible something new got merged and I just didn't spot it :)17:42
* shardy looks17:43
jdob:)17:43
*** bmahalakshmi has quit IRC17:44
*** alexpilotti has quit IRC17:45
*** gokrokve has joined #heat17:47
shardyjdob: Sorry, I can't spot anything other than bug #133483917:48
uvirtbotLaunchpad bug 1334839 in python-heatclient "stack creator should be able to pass files an input" [Undecided,New] https://launchpad.net/bugs/133483917:48
*** EricGonczer_ has joined #heat17:49
jdobok, thanks for looking around shardy, appreciate it. if i remember why on earth I thought that was possible, I'll let you know  :D17:49
shardyIf it's something you need it can probably be done fairly easily, it's just a case of deciding what format, e.g a big json map containing "template" "environment" and "files" keys vs something like a tarball17:49
*** arbylee1 has joined #heat17:50
*** gokrokve_ has quit IRC17:50
jdobi was thinking the former. that's what i'll be returning from tuskar, a dict of file name to contents. for now, it's easy enough for tuskar to iterate that, write the files, and call the heat client17:51
jdobi think :)17:51
jdobi'll see how that goes and file a blueprint if necessary17:51
*** gokrokve has quit IRC17:51
shardyjdob: Ok, sounds good17:51
jdobthanks again :D17:52
shardynp!17:52
*** arbylee has quit IRC17:52
*** arbylee1 has quit IRC17:52
*** arbylee has joined #heat17:53
*** che-arne has quit IRC17:53
*** chandankumar has quit IRC17:53
*** gondoi is now known as zz_gondoi18:00
*** EricGonczer_ has quit IRC18:04
*** jmckind has quit IRC18:05
mspreitzIs there a way to see all the logging from the individual tests in a SUCCESSFUL run of heat's `tox -epy27` ?18:12
openstackgerritWinnie Tsang proposed a change to openstack/python-heatclient: Add stack-update argument for reset parameters  https://review.openstack.org/10946518:15
openstackgerritWinnie Tsang proposed a change to openstack/python-heatclient: Add stack-update argument for patching parameters  https://review.openstack.org/10910518:15
mspreitzOK, maybe the next will be an easier question...18:16
mspreitzI see some code says foo.items(), and other coee says six.iteritems(foo).  Does it matter which I use?18:16
ryansbmspreitz: yeah, it does18:16
mspreitzryansb: which should I use?18:16
ryansbitems()18:16
ryansboh, wait, use six.iteritems(foo)18:17
mspreitzOK, thanks18:17
ryansbso dict.iteritems doesn't exist in py3, but six.iteritems(foo) behaves just like it18:17
ryansband works in both18:17
*** sballe__ has joined #heat18:17
mspreitzI figured it must be something like that18:17
ryansb(dict.items exists in 2 and 3, but doesn't use an iterator)18:18
mspreitzthanks18:18
ryansbnp18:18
*** sballe_ has quit IRC18:19
*** gokrokve has joined #heat18:19
*** EricGonczer_ has joined #heat18:19
*** PsionTheory has joined #heat18:23
*** balles has quit IRC18:25
*** balles has joined #heat18:25
*** kopparam has joined #heat18:26
zanebmspreitz: six.iteritems(foo) avoids creating the whole list in memory at the same time... for a short list and/or small items, it probably doesn't matter either way18:27
mspreitzzaneb: thanks18:27
*** EricGonczer_ has quit IRC18:27
*** kopparam has quit IRC18:30
*** alexheneveld has joined #heat18:32
*** edmund has joined #heat18:32
*** sgordon has joined #heat18:41
*** sgordon has quit IRC18:41
*** sgordon has joined #heat18:41
*** bvandenh has joined #heat18:45
*** kebray has joined #heat18:51
*** urulama is now known as urulama-afk18:53
*** sabeen has quit IRC18:56
*** jasondotstar has quit IRC18:56
*** sabeen has joined #heat18:56
*** krt_ has joined #heat18:58
*** reed has quit IRC19:01
*** randallburt has quit IRC19:01
*** krt_ has quit IRC19:02
*** zns has quit IRC19:03
*** harlowja has quit IRC19:06
*** zns has joined #heat19:06
*** harlowja has joined #heat19:08
*** jistr has joined #heat19:14
jasond`zaneb: ping19:19
zanebo/19:20
jasond`zaneb: hey, i tried out your "update after failure" patchset19:20
zanebuh oh :D19:20
jasond`i thought i would be able to update a "create failed" stack, but i can't because i didn't have rollback enabled19:20
jasond`if i enable rollback, the stack is deleted after creation fails19:21
*** EricGonczer_ has joined #heat19:21
jasond`is this supposed to cover that use case?19:21
zanebyeah, you should be able to update it again if rollback was disabled19:22
zanebwhere is that check, do you know?19:22
jasond`getting a "State invalid for UPDATE"19:22
jasond`thought it was at https://review.openstack.org/#/c/112938/2/heat/engine/stack.py19:22
zanebso the create had FAILED, or was still IN_PROGRESS?19:24
jasond`CREATE_FAILED, but yeah, still trying to figure out which code path it's taking19:25
*** kopparam has joined #heat19:26
*** Murali__ has joined #heat19:28
*** tomek_adamczewsk has joined #heat19:29
*** kopparam has quit IRC19:31
*** Murali_ has quit IRC19:31
stevebakermorning19:33
stevebakershardy: hey, you about?19:33
*** kebray has quit IRC19:34
jasond`zaneb: it turns out i grabbed the first patch in your series when i meant to grab the last.  sorry for the false alarm.19:35
zanebhaha, no worries :)19:35
dekozoi cant get heat to create new instances, i'm trying to stress the instances via the load balancer, it seems to be passing the requests to the only instance i have from start, could someone tell me a way to check what's going on?19:36
zanebjasond`: I'll be interested to hear how you get along, in any event19:37
jpeelerstevebaker: when you have a few, can you review https://review.openstack.org/#/c/116143/ and then release heat-cfntools? if you don't want to release, okay - just thought i would ask.19:37
*** andersonvom has joined #heat19:39
*** jrist_ is now known as jrist19:41
stevebakerjpeeler: yep, I'll take a look19:44
*** daneyon has quit IRC19:45
*** daneyon has joined #heat19:45
dekozoi think perhaps i didnt configure the healthmonitor correctly19:46
*** mspreitz has quit IRC19:49
*** daneyon has quit IRC19:50
shardystevebaker: Hey, am now19:50
*** yassine has quit IRC19:52
*** Murali__ has quit IRC19:53
*** Murali has joined #heat19:53
stevebakershardy: I've found why it is not possible to have deployments in one provider resource and servers in another. The nested stacks have different stack_user_project_ids  so the deployments-for-server query returns empty. I'd like to change it so that a stack_user_project_id is created up-front for the root stack, and all nested stacks inherit that project id20:00
shardystevebaker: Ok, sounds fine to me, similar to the change I made recently where the trust (user_creds record) is inherited from the parent20:01
shardystevebaker: I'll also need to add it to the RPC interface like the owner and user_creds_id in my series currently posted20:02
stevebakershardy: yeah, I'll get a change up soon so you can take a look20:03
shardystevebaker: Sounds good, I'm happy to rebase my stuff on that change as it should hopefully be fairly simple20:03
*** shakamunyi has joined #heat20:04
stevebakershardy: probably just need to add a stack_user_project_id rpc arg20:05
shardystevebaker: Yeah, should be pretty easy20:05
*** jistr has quit IRC20:06
shardyI was playing with the idea of passing the root stack ID down the tree instead, but couldn't work out a way to make the retrieval efficient when loading the nested stacks, so opted to just pass each bit of data down the tree instead20:06
*** tomek_adamczewsk has quit IRC20:10
*** shakamunyi has quit IRC20:11
*** randallburt has joined #heat20:12
openstackgerritRandall Burt proposed a change to openstack/heat: Allow resource groups of 0 resources  https://review.openstack.org/11701520:12
*** tonisbones has quit IRC20:13
*** EricGonczer_ has quit IRC20:16
*** tomek_adamczewsk has joined #heat20:17
jasond`zaneb: it worked!20:18
*** saju_m has quit IRC20:18
zanebw00t!20:19
*** jprovazn has quit IRC20:19
zanebawesome, thanks jasond` :))20:19
*** EricGonczer_ has joined #heat20:19
jasond`zaneb: stopped nova-api, created http://paste.openstack.org/show/100633/, then started nova-api and updated with the same template20:19
jasond`np20:19
zanebcool20:20
*** sabeen has quit IRC20:20
zanebnew patch sets are coming today too20:20
zanebso we should be able to merge very soon20:20
jasond`great, will try to help with reviews20:20
*** alexpilotti has joined #heat20:21
*** alexheneveld has quit IRC20:21
dekozodoes anyone know if i have to do anything special in order to make heat autoscaling work? i have an image with my application deployed and i've used some example templates modified20:23
*** EricGonczer_ has quit IRC20:24
*** bvandenh has quit IRC20:24
openstackgerritA change was merged to openstack/heat: Use empty list in list_join for validation  https://review.openstack.org/11537920:25
*** kopparam has joined #heat20:27
*** kopparam has quit IRC20:31
*** tomek_adamczewsk has quit IRC20:32
*** arbylee1 has joined #heat20:34
*** arbylee has quit IRC20:34
*** arbylee1 has quit IRC20:35
*** arbylee has joined #heat20:35
*** jistr has joined #heat20:42
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516620:49
*** morganfainberg is now known as morganfainberg_Z20:49
tangozaneb: Hi Zane20:56
*** zz_gondoi is now known as gondoi20:57
*** jdob has quit IRC20:59
*** BillArnold has quit IRC21:01
zanebtango: I'm in the project meeting atm, but I can keep half an eye out on this channel21:02
tangozaneb: I can ping you later, need to ask you some questions21:02
*** stevelle has quit IRC21:03
*** kebray has joined #heat21:14
*** shakamunyi has joined #heat21:20
*** jistr has quit IRC21:21
*** kopparam has joined #heat21:28
*** aweiteka has quit IRC21:29
*** FL1SK has quit IRC21:29
*** FL1SK has joined #heat21:30
*** stevelle has joined #heat21:31
*** kopparam has quit IRC21:32
*** morganfainberg_Z is now known as morganfainberg21:33
*** mspreitz has joined #heat21:35
*** mspreitz has quit IRC21:41
*** mspreitz has joined #heat21:41
openstackgerritRandall Burt proposed a change to openstack/heat: Allow for setting ViP ID  https://review.openstack.org/11571021:42
*** harlowja is now known as harlowja_away21:43
*** zns has quit IRC21:46
*** kebray has quit IRC21:50
zanebtango: still around?21:56
*** rpothier has quit IRC21:57
*** asalkeld has joined #heat21:57
*** harlowja_away is now known as harlowja22:00
*** cinerama` is now known as cinerama22:00
*** blues-man has joined #heat22:05
*** vijendar has quit IRC22:05
*** Murali has quit IRC22:05
*** alexpilotti has quit IRC22:06
tangozaneb: Went to get my coffee22:06
tangoSo I just want to double check on your conment about the PATCH rest api for https://review.openstack.org/#/c/109284/22:07
*** slagun has left #heat22:07
blues-manhi all22:07
zanebtango: sure22:08
tangozaneb: To implement this, I can add the PATCH api, then in the heat client, check if the user has specified the --existing-parameter option22:09
zanebyeah, that's basically what I was thinking22:10
tangozaneb: if so, then the client would call the PATCH api.  If not, then the client would call the usual PUT api22:10
zaneb+122:10
zanebit's a shame we can't change the default client behaviour :/22:10
tangozaneb: right, and the PATCH api would not need to pass along the flag existing-parameter22:10
tangozaneb: Yeah I figure it would be a breaking change if we modify the existing PUT for stack-update22:11
zanebyou'd have to pass something over RPC to indicate whether it was a PATCH or PUT request22:11
tangozaneb: right22:11
tangozaneb: we would still need some flag, but at least the PATCH call would not have it22:12
zanebyep ++22:12
tangoSounds good, I will make the change and upload the new patches22:13
zanebcool, thanks tango22:13
tangotrying to make the deadline next week22:13
zanebyeah, we are cutting it fine on a lot of things22:13
zanebas usual22:13
zanebjust remember, the gate will be a logjam next week22:14
tangoyep22:14
zanebto keep it interesting ;)22:14
*** PsionTheory has quit IRC22:16
blues-manhi zaneb thanks again :)22:17
zanebblues-man: hey, no worries22:17
openstackgerritMiguel Grinberg proposed a change to openstack/heat: boolean parameter type is not recognized in the API  https://review.openstack.org/11676222:18
zanebwhat is this oslo.config>=1.4.0.0a3 that we now depend on22:19
*** jdandrea_ has joined #heat22:21
*** abramley has quit IRC22:22
*** abramley_ has joined #heat22:22
*** jdandrea has quit IRC22:22
*** jdandrea_ is now known as jdandrea22:22
*** abramley_ is now known as abramley22:23
*** larsks has quit IRC22:23
*** larsks has joined #heat22:24
*** crose has quit IRC22:24
*** slagle_ has joined #heat22:25
*** zbitter has joined #heat22:26
*** lvh_ has joined #heat22:26
*** jasond`` has joined #heat22:27
*** kopparam has joined #heat22:29
*** tsufiev has quit IRC22:29
*** tsufiev_ has joined #heat22:29
*** uvirtbot` has joined #heat22:32
*** sballe_ has joined #heat22:32
*** gokrokve_ has joined #heat22:33
*** kopparam has quit IRC22:33
*** samstav_ has joined #heat22:35
*** mkollaro1 has joined #heat22:36
*** gondoi is now known as zz_gondoi22:36
*** andreaf_ has joined #heat22:36
*** zz_gondoi is now known as gondoi22:36
*** pbelanyi_ has joined #heat22:36
*** sjmc7 has quit IRC22:36
*** huangtianhua has joined #heat22:36
*** andreaf_ has quit IRC22:36
*** sballe__ has quit IRC22:36
*** david-ly_ has joined #heat22:36
*** andreaf_ has joined #heat22:37
*** justin-8_ has joined #heat22:37
*** zaneb has quit IRC22:37
*** slagle has quit IRC22:37
*** lvh has quit IRC22:37
*** xmltok has quit IRC22:37
*** skraynev has quit IRC22:37
*** uvirtbot has quit IRC22:37
*** jasond` has quit IRC22:37
*** pbelanyi has quit IRC22:37
*** zbitter is now known as zaneb22:38
*** david-lyle has quit IRC22:38
zanebwell, I can't install the unit test environment with tox, so fingers crossed all those patches I just pushed work :/22:39
*** andreaf has quit IRC22:40
*** tango|2 has joined #heat22:40
*** radez_g0` has joined #heat22:40
SpamapSzaneb: whats bork?22:41
*** sballe_ has quit IRC22:41
*** cyli_ has joined #heat22:42
*** otoolee has quit IRC22:42
*** slagle_ has quit IRC22:43
*** gokrokve has quit IRC22:43
*** sdake_ has quit IRC22:43
*** samstav has quit IRC22:43
*** mkollaro has quit IRC22:43
*** tiantian has quit IRC22:43
*** justin-8 has quit IRC22:43
*** cyli has quit IRC22:43
*** openstackgerrit has quit IRC22:43
*** ryansb has quit IRC22:43
*** radez_g0n3 has quit IRC22:43
*** pscheie has quit IRC22:43
*** lsmola has quit IRC22:43
zanebSpamapS: everything. oslo.messaging needs some version not on pypi, the postgres client won't install and some C thing won't compile22:43
*** chmouel_ has quit IRC22:43
*** greghaynes has quit IRC22:43
*** tiantian has joined #heat22:43
*** tango has quit IRC22:43
*** huangtianhua has quit IRC22:43
*** pasquier-s_ has joined #heat22:43
*** greghaynes has joined #heat22:43
*** chmouel has joined #heat22:43
*** pscheie has joined #heat22:43
*** otoolee- has joined #heat22:44
*** sballe has joined #heat22:44
*** sdake_ has joined #heat22:44
*** lsmola has joined #heat22:45
*** ryansb has joined #heat22:45
*** pasquier-s has quit IRC22:46
*** skraynev has joined #heat22:47
*** gondoi is now known as zz_gondoi22:50
*** pasquier-s_ has quit IRC22:51
*** cmyster has quit IRC22:52
*** cmyster has joined #heat22:52
*** sballe has quit IRC22:54
*** mkollaro1 has quit IRC22:55
*** mkollaro1 has joined #heat22:55
*** pbelanyi_ has quit IRC22:55
*** pbelanyi_ has joined #heat22:55
*** radez_g0` has quit IRC22:55
*** radez_g0` has joined #heat22:55
*** otoolee- has quit IRC22:56
*** otoolee- has joined #heat22:56
*** lsmola has quit IRC22:56
*** lsmola has joined #heat22:56
*** blues-man has quit IRC22:57
*** david-ly_ is now known as david-lyle23:04
*** alexpilotti has joined #heat23:06
*** edmund has quit IRC23:09
*** asalkeld has quit IRC23:10
*** arbylee has quit IRC23:13
*** asalkeld has joined #heat23:23
*** kopparam has joined #heat23:29
*** randallburt has quit IRC23:31
*** kopparam has quit IRC23:34
*** sjmc7 has joined #heat23:46
*** pasquier-s has joined #heat23:52
*** arbylee has joined #heat23:53

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