Wednesday, 2014-09-24

asalkeldooo, nice:00:02
asalkeldpip install radon00:02
asalkeldradon cc --min C --max E heat/00:02
asalkeld(Cyclomatic Complexity00:03
*** sarob_away is now known as sarob00:03
*** Qiming has quit IRC00:03
asalkeldlol: radon mi --min B  heat/  (Maintainability Index score)00:04
asalkeldheat/tests/test_api_openstack_v1.py - C00:05
asalkeldthat is the worst00:05
larsksstevebaker: i've hacked around the auth issue; the root problem is https://bugs.launchpad.net/heat/+bug/137271000:08
uvirtbotLaunchpad bug 1372710 in heat "cfn-push-stats fails to authenticate" [Undecided,New]00:08
larsksstevebaker: boto and keystone generate different signatures.00:08
larsksI've modified keystone locally to discard the query_string component when talking to boto, but that's probably not the right solution.00:08
larskszaneb: I wonder if the code should just treat dimemsion = [] the same as dimension being undefined.00:09
larsksI think that might work.00:09
larsksNow that I have auth working...00:13
*** dsneddon has joined #heat00:13
larsks...what do I pass to the --watch arg for cfn-push-stats when using ceilometer-backed cloudwatch alarms?  Calling get_resource on the alarm results in an "arn:..." uri, rather than the watch name (which is what cloudwatch wants, apparently).00:13
larsksNot sure how do get the appropriate value in a Heat template.00:13
*** kopparam has joined #heat00:14
*** alexheneveld has quit IRC00:14
stevebakerasalkeld: do you know? ^00:14
asalkeldlarsks, you don't pass --watch00:15
larsksasalkeld: without --watch, I get a watchrulenotfound error.00:15
asalkeldare you sure that you are using OS::Ceilometer::Alarm?00:15
larsksPositive.  Just a sec...00:16
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/resources/ceilometer/alarm.py#L16800:16
larsksRight.00:17
larsksHere's the generated alarm: http://chunk.io/f/5bbf8fc600d8447ea5b6c9b60326f19400:17
larsksAnd the watch rule in the watch_rule table as "CEILOMETER_CONTROLLED".00:17
larsksI know I'm hitting the _to_ceilometer() method because of https://bugs.launchpad.net/heat/+bug/137314000:17
uvirtbotLaunchpad bug 1373140 in heat "_to_ceilometer does not properly handle empty dimensions property" [Medium,Triaged]00:17
larsks...but I only get that far if I manually pass teh watch name to --watch.00:18
asalkeldlarsks, you need the dimesions00:18
*** kopparam has quit IRC00:19
larsksasalkeld: what do they need to be?  I wasn't able to find any examples or docs, and the cfn/ examples in heat-templates don't appear to use the dimensions property at all...00:19
asalkeldlarsks, maybe you server is not getting the metadata you need00:19
*** jergerber has quit IRC00:19
asalkeldhttps://github.com/openstack/heat-cfntools/blob/master/bin/cfn-push-stats#L25600:20
asalkeldyou see that ^00:20
larsksYes.  But what metadata is it looking for?  And what is supposed to set it?00:20
asalkeld"metering.<something>" - i'll find it for you00:20
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/resources/autoscaling.py#L262-L27300:21
asalkeldthis is what the autoscaling does00:21
asalkeldit depends on the alarm you are making00:22
*** JayJ has joined #heat00:22
asalkeldlarsks, can you post your template?00:22
larsksasalkeld: Sure.  Right now, I was working with an harestarter resource, not an autoscaling group.00:22
asalkeldtotally00:22
asalkeldso what happens is:00:22
larsksThis is the template: http://chunk.io/f/d0c023058e11411aab001f6562574db700:22
asalkeld1 the server gets created with some metadata (metering....)00:23
asalkeld2 the sample is received and dimensions > metadata00:23
asalkeld3 sent to ceilometer00:23
*** dims has quit IRC00:24
asalkeld4 we tell ceilometer to alarm on a rule that matches that metadata00:24
*** nosnos has joined #heat00:24
asalkeldso, to debug:00:24
*** dims has joined #heat00:24
asalkeldmake sure that your server has the right metadata00:25
asalkeldmake sure that you can see the conversion of dimensions > metadata00:25
larsksRIght.  So, what is the right metadata?  I've been trying to use cfn/F17/WordPress_Single_Instance_With_IHA.template (from heat-templates) as an example, but that uses an explicit --watch and does not set explicit metadata.00:25
larsks(there are not HOT examples using harestarter or cloudwatch alarms)00:26
asalkeldok, well that might mean you are the first to do this:)00:26
asalkeldI smell a blog post / how to00:26
larsksGiven that cfn-push-stats can't auth, and the AWS_CloudWatch_Alarm.yaml template was broken...I think that yes, that may be the case :)00:26
larsksThat is actually my primary goal with all this -- producing some documentation on how to put it together.00:26
asalkeldcool00:27
larsksThere were some questions on ask.openstack.org that seemed simple, and then...rabbit hole.00:27
asalkeldyour dimensions are:00:27
asalkeldAlarmName: server_alarm00:27
*** JayJ has quit IRC00:27
*** JayJ has joined #heat00:27
asalkeldso you need server metadata that is "metering.AlarmName = server_alarm"00:28
*** dims has quit IRC00:29
*** Drago has quit IRC00:29
larsksSo like this? http://chunk.io/f/ff9060f9c33a4787b9f508e32ea7cf7100:29
*** hdd has joined #heat00:31
larsksWith that metadata: key in the os::nova::server resource, I get a server with what sounds like the appropriate metadata attached...00:32
*** JayJ has quit IRC00:32
larsks...but "cfn-push-stats --heartbeat" still gets "WatchRuleNotFound: The Watch Rule (Unknown) could not be found.00:32
asalkeldlooks about right00:33
*** JayJ has joined #heat00:33
*** ramishra has joined #heat00:33
asalkeldok, let me look00:33
larsksThe rest includes the AlarmName dimension...this is the actual request, captured with tcpdump: http://chunk.io/f/2b97168fc42b440ba3a780ad3c6560d400:34
larsksHuh, actually I lied...there is no AlarmName there, is there.00:35
larsksSo not clear how that request is supposed to get associated with anything.00:35
asalkeldyip00:35
asalkeldit00:35
asalkeldit should get it from the metadata (in cfn-push-stats)00:36
larsksAnd cfn-push-stats should be getting the metadata by making an api request prior to POSTing the meter, right?00:37
*** JayJ has quit IRC00:37
asalkeldlarsks, the metadata should be pulled down by cloud-init / cfn-init00:38
*** JayJ has joined #heat00:38
larsksOkay.  Where does that get placed?  /var/lib/heat/...?00:38
asalkeld i think it's /var/lib/cloud/00:38
asalkeldhang on I'll look at cfn-push-stats00:39
larsksThe raw user-data goes into /var/lib/cloud/instance/user-data.txt, but the cfn-tools stuff parses that out into /var/lib/heat-cfn-tools.00:39
larsksWHich has these files: cfn-boto-cfg  cfn-metadata-server  cfn-userdata  cfn-watch-server  provision-finished00:39
*** Drago has joined #heat00:39
larsksThis is the raw user-data.txt from /var/lib/cloud: http://chunk.io/f/aae1da38e5a94668bd00507e1ab47f4600:40
asalkeldit needs to pull done nova metadata00:41
asalkeldcache_path='/var/lib/heat-cfntools/nova_meta.json'00:41
asalkeldlook there ^00:41
larsksYeah, that files is not there (see file list ^^^^)00:42
*** JayJ has quit IRC00:42
*** Abner_Zulauf83 has quit IRC00:42
larsks(And cfn-push-stats does not appear to make any api requests other than the POST to cloudwatch...)00:43
*** JayJ has joined #heat00:43
*** gokrokve_ has quit IRC00:44
asalkeldhttps://github.com/openstack/heat-cfntools/blob/master/bin/cfn-push-stats#L25600:44
asalkeldthat calls this: https://github.com/openstack/heat-cfntools/blob/master/heat_cfntools/cfntools/cfn_helper.py#L117400:44
*** LiJiansheng has joined #heat00:44
asalkeldhttps://github.com/openstack/heat-cfntools/blob/master/heat_cfntools/cfntools/cfn_helper.py#L117400:44
asalkelddoes that path exist? /var/lib/heat-cfntools00:45
larsksYeah...that's the directory from which I posted the file list a few lines back.00:46
larsksI ran a tcpdump while running cfn-push-stats and I did not see a metadata fetch.00:46
larsksReading through the code right now...00:46
*** saurabhs has left #heat00:46
*** sarob is now known as sarob_away00:46
asalkelddo you have curl installed?00:47
*** JayJ has quit IRC00:47
larsksYup.00:48
larsksI can fetch the meta-data.json without a problem.00:48
larsksSo, the call to cfn_helper.Metadata('not-used', None) is returning "null".  Haven't gotten past that yet...00:48
asalkeldpython -m pdb cfn-push-stats00:48
*** julienvey has quit IRC00:49
*** julienvey has joined #heat00:49
*** gokrokve has joined #heat00:49
*** JayJ_ has joined #heat00:49
larsksI'm not familiar with pdb; I was hoping that "break cfn_helper.Metadata" would get me what I want...00:50
asalkeldjust step00:51
larsksThat seems to step into modules...so I'm currently stepping through "argparse". I don't think that's what we want...00:52
larsksThere we go; break send_stats gets me closer.00:53
larsksOkay, stepping through get_tags...00:53
*** julienvey has quit IRC00:54
*** Antonio87 has joined #heat00:54
larsksHahahaha.00:54
larsksApparently, it uses "wget" to fetch the metadata?00:54
*** JayJ_ has quit IRC00:54
larsksGuess what doesn't exist in an F20 cloud image?00:55
larsksasalkeld: https://github.com/openstack/heat-cfntools/commit/8ef88a6e864fa49cdc6dda9b1c701a29e055725300:55
*** JayJ_ has joined #heat00:55
stevebakerlarsks: latest release of heat-cfntools switches to curl00:55
larsksstevebaker: Yeah, that's the above commit...00:55
larsksWell, that explains why this hasn't been working.00:56
asalkeldoops00:56
larsksIf only cfn-push-stats were written in a language that had a native http module...00:56
larsksSo, let me install wget and see how far this gets.00:57
asalkeldlarsks, man curl says "-O, --remote-name"00:57
asalkeld -o, --output <file>00:57
larsksYup.  I've just installed wget.00:57
asalkelds/O/o00:57
larsksSo, that gets us a valid metadata fetch (and the /var/lib/heat-cfn-tools/nova_meta.json file exists now).00:58
asalkeldw00t00:58
asalkeldthat was hard work:O00:58
larsksAnd now the  request looks better: http://chunk.io/f/072c78d91f784418ab846a8a95910d2b00:59
larsksBut...00:59
*** sgordon_ has joined #heat00:59
larsksWatchRuleNotFound: The Watch Rule (Unknown) could not be found.00:59
asalkeldI can see why00:59
*** JayJ_ has quit IRC01:00
asalkeldthere is more than one dimension01:00
*** JayJ_ has joined #heat01:00
asalkeldlarsks, btw: you are doing awesome work here, well done!01:01
larsksThanks :).  All kinds of excitement...01:01
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/watchrule.py#L280-L28201:01
asalkeldthat only gets the first dimension01:01
asalkeld:-(01:01
larsksBut we're not getting that far...01:02
larsksThe WatchRuleNotFound happens *before* that call, I think.01:02
*** hdd has quit IRC01:02
larsksI have an open('/var/tmp/heat.log', 'w') at the beginning to _to_ceilometer(), and it's not getting triggered.01:03
stevebakerlarsks: to be honest I consider heat-cfntools to be for cfn compatiblility only (and cfn-push-stats isn't even a cfn compat tool). We're likely better off writing a new push-stats tool and deploying as a diskimage-builder element01:04
larsksstevebaker: I am...largely okay with, I guess.  This all started because I was trying to tackle a simple "how do I use harestarter" sort of document.01:04
asalkeldstevebaker, sure - but we have code there and it should really work01:05
larsksMy conclusion so far is, "don't", or "pass the AlarmUrl from the harestarter resource to an external monitoring tool like nagios, etc"01:05
asalkeldlarsks, it's the same issue01:05
*** JayJ_ has quit IRC01:05
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/watchrule.py#L384-L38601:06
asalkeldwell 2 patches should fix it: one to cfntools and one to Heat01:06
larsksIs this fix here to iterate over Dimensions and build a merged dictionary?01:07
*** gokrokve has quit IRC01:07
larsksOr should Dimensions not be a list to begin with?01:08
asalkeldlarsks, i can fix the heat part if you want01:09
larsksasalkeld: This is the value of stats_data in that function: http://chunk.io/f/5e197c697bfb4b56a59abd23a894a92901:10
larsksIt looks as if Dimensions[0] would actually be correct, right?01:10
*** mandre has joined #heat01:12
asalkeldmmm, maybe - Just adding a unit test with that data01:12
*** hdd has joined #heat01:14
*** kopparam has joined #heat01:15
*** Qiming has joined #heat01:16
*** david-lyle has joined #heat01:17
*** JayJ_ has joined #heat01:19
larsksasalkeld: Okay, help me out here: in rule_can_use_sample, if wr.state == wr.CEILOMETER_CONTROLLED, it's looking in wr.rule['matching_metadata'] for the dimensions. That key is empty; the dimensions are in stats_data.01:19
*** spzala has quit IRC01:19
larsksOr is matching_metadata there supposed to be set in the *template*?01:19
*** julienvey has joined #heat01:19
asalkeldwe need to look at the cloudwatch resource to see how it is converted01:20
*** kopparam has quit IRC01:20
larsksThe template is setting AlarmName: server_alarm, but maybe that isn't getting converted correctly...01:20
larsksRight.01:20
asalkeldhttps://github.com/openstack/heat/blob/master/etc/heat/templates/AWS_CloudWatch_Alarm.yaml#L8601:21
larsksIn the template (/etc/heat/templates/AWS_CloudWatch_Alarm.yaml)...01:21
asalkeldyip01:21
larsksmatching_metadata is set like this:01:21
larsks "Fn::MemberListToMap": [Name, Value, {Ref: Dimensions}]01:21
larsksAnd "Dimensions" is a CommaDelimitedList.01:21
asalkeldhttp://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html01:22
asalkeldso this is wrong:01:23
asalkeldDimensions:01:23
asalkeld        - AlarmName: server_alarm01:23
larsksOr is the template wrong? Because it declares Dimensions as a list...should it actually be a mapping?01:23
larsksNo, wait, look at the example on that page...01:23
asalkeldshould be: Dimensions: [{Name: AlarmName, Value: server_alarm}]01:23
larsksOh, I see, Name: and Value:01:24
larsksRight.  Let's try that.01:24
asalkelddimensions are weird01:24
*** julienvey has quit IRC01:24
larsks...recreating stack...01:24
*** Antonio87 has quit IRC01:25
*** JayJ_ has quit IRC01:25
*** JayJ_ has joined #heat01:26
*** wpf has joined #heat01:26
larsksHmmm....Resource CREATE failed: HTTPBadRequest: HTTPBadRequest (HTTP 400) ERROR Unknown argument: "AlarmName": unrecognized field in query:01:26
asalkeldlets see the template01:27
larsksThis is the template with updated Dimensions: http://chunk.io/f/9ec176cc5bbf42f5930cc54a61adad1601:27
asalkeldtry putting {} around the Name value01:28
larsksThe format I have and the format you have are syntactically identical...01:28
*** kebray has quit IRC01:28
larsks...but, assuming you would ask that, I tried.  Same error.01:28
larskshttp://chunk.io/f/a72ab435b5534d5a9dfd1a5a6755753a01:29
*** hdd has quit IRC01:29
larsksThe full error is: 2014-09-23 21:28:18.735 11883 TRACE heat.engine.resource Error: Resource CREATE failed: HTTPBadRequest: HTTPBadRequest (HTTP 400) ERROR Unknown argument: "AlarmName": unrecognized field in query: [<Query u'AlarmName' eq u'server_alarm' Unset>], valid keys: set(['end', 'start', 'metaquery', 'meter', 'project', 'source', 'user', 'start_timestamp_op', 'resource', 'end_timestamp_op',01:30
larsks'message_id'])01:30
*** zns has joined #heat01:30
*** JayJ_ has quit IRC01:31
asalkeldthat's a conversion issue (from dimensions to ceilometer query)01:31
asalkeldI am trying this myself now01:31
*** JayJ_ has joined #heat01:31
*** Drago has quit IRC01:31
*** oakstream has quit IRC01:33
larsksWhat's the easiest way to find the origin source of that exception?  It seems to be masked in the traceback in the file...01:33
asalkeldso that is when the ceilometer alarm is created01:34
asalkeldjust print out the kwargs going into ceilometer01:34
*** JayJ_ has quit IRC01:34
larsksHere? /usr/lib/python2.7/site-packages/heat/engine/stack_resource.py01:36
larsksI meant: https://github.com/openstack/heat/blob/master/heat/engine/resources/ceilometer/alarm.py#L15701:36
larsks(sorry, bad paste)01:36
*** JayJ_ has joined #heat01:38
asalkeldyip just print out props01:38
larsksThis is props: http://chunk.io/f/a9f80a9a0b404943a996d451e321805201:38
asalkeldthat actually good quite good01:41
larsksshould that actually look something metadata.user_metadata.AlarmName?01:42
larsksThat's what I see in other examples.01:42
*** swygue has joined #heat01:43
larsksE.g. https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml#L12201:43
asalkeldmaybe, it's been a while01:43
*** KanagarajM has quit IRC01:43
larsksWhich matches from line 74 in that file: https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml#L7401:43
larsksBut there is some sort of magical transformation going on there.01:44
larsksmetering.stack --> metadata.user_metadata.stack01:44
*** mandre has quit IRC01:44
asalkeldyeah, we might need to do that in the _to_ceilometer()01:44
*** mandre has joined #heat01:45
*** sarob_away is now known as sarob01:47
larsksThat's the wrong place, isn't it? _to_ceilometer() is called via cfn-push-stats, but we're instantiating the alarm in engine/resources/ceilometer/alarm.py...isn't the problem on that side?01:47
larsksThat is, we need to fix how we're calling ceilometer().alarms.create(**props)01:47
larsksOr maybe we fix this in /etc/heat/templates/AWS_CloudWatch_Alarm.yaml?01:49
asalkeldyes, you right01:50
*** pasquier-s_ has quit IRC01:50
*** erkules_ has joined #heat01:51
*** hdd has joined #heat01:52
larsksCan we fix this just in the template? I guess we have to do some sort of transformation on the "Name" value.01:52
*** Alene_Kiehn79 has joined #heat01:52
*** erkules has quit IRC01:53
asalkeldlarsks, it is converted01:54
asalkeldmemberlist to map01:54
larsksasalkeld: right, but we we need to transform, e.g., "AlarmName" into "metadata.user_metadata.AlarmName".  Or not?01:55
asalkeldi am still getting a ceilometer alarm create exception01:55
*** sarob is now known as sarob_away01:56
*** Yanyanhu has joined #heat01:58
*** zns has quit IRC01:59
larsksasalkeld: I'm running out of steam, I think.  At least we've identifed a problem.  Errr, number of problems, I think.02:01
asalkeldyip, I'll keep having a look02:01
asalkeldat least to be able to create the alarm02:01
larsksRemind me, other than the issue we have right now with Dimensions/matching_metadata mapping, were there things that needed fixing in cfn-push-stats and heat?02:01
*** dims has joined #heat02:02
*** WinnieTsang has quit IRC02:02
*** pasquier-s_ has joined #heat02:04
*** david-lyle has quit IRC02:05
*** david-lyle has joined #heat02:06
asalkeldlarsks, fix the -o option to curl02:06
asalkeld(in cfn-push-stats)02:06
larsksasalkeld: Can I just make cfn-push-stats use urllib?02:07
*** ramishra has quit IRC02:08
larsksIt looks like the call to "curl" is already fixed.02:08
larsks(in heat-cfntools master)02:08
asalkeldok02:08
*** swygue has quit IRC02:09
*** ramishra has joined #heat02:09
*** gokrokve has joined #heat02:09
*** david-lyle has quit IRC02:10
larsksThanks again for all your help on this.  Let me know if you get things working...02:11
asalkeldok, bbl - getting lunch02:13
*** tomek_adamczewsk has joined #heat02:14
*** kopparam has joined #heat02:16
*** kopparam has quit IRC02:20
*** lipinski has joined #heat02:23
*** lipinski has left #heat02:27
*** gokrokve has quit IRC02:31
*** gokrokve has joined #heat02:32
*** dims has quit IRC02:35
*** sdake_ has joined #heat02:35
*** dims has joined #heat02:35
*** gokrokve has quit IRC02:36
*** harlowja is now known as harlowja_away02:36
*** Alene_Kiehn79 has quit IRC02:38
*** dims has quit IRC02:39
*** pasquier-s_ has quit IRC02:44
*** WinnieTsang has joined #heat02:44
*** Abdiel_Koss79 has joined #heat02:45
*** sarob_away is now known as sarob02:47
*** tomek_adamczewsk has quit IRC02:49
*** sarob is now known as sarob_away02:57
*** JayJ_ has quit IRC02:59
*** sdake_ has quit IRC03:05
*** wendar has quit IRC03:07
*** wendar has joined #heat03:08
*** kopparam has joined #heat03:16
*** radez_g0n3 is now known as radez03:19
*** julienvey has joined #heat03:20
*** kopparam has quit IRC03:21
*** radez is now known as radez_g0n303:25
*** julienvey has quit IRC03:25
*** achampion has joined #heat03:29
*** achampio1 has quit IRC03:31
*** jrist has quit IRC03:33
*** Abdiel_Koss79 has quit IRC03:39
*** jyoti-ranjan has joined #heat03:40
*** jrist has joined #heat03:40
*** Alfred8 has joined #heat03:41
*** ramishra has quit IRC03:51
*** lazy_prince is now known as killer_prince04:00
*** liusheng has quit IRC04:03
*** uberj has quit IRC04:03
*** uberj has joined #heat04:03
*** liusheng has joined #heat04:03
*** achampion has quit IRC04:04
*** ramishra has joined #heat04:11
*** Drago1 has joined #heat04:15
openstackgerrithuangtianhua proposed a change to openstack/heat: Add two attributes for cinder volume outputs  https://review.openstack.org/12332404:17
*** kopparam has joined #heat04:17
*** Alfred8 has quit IRC04:18
openstackgerritAngus Salkeld proposed a change to openstack/python-heatclient: Add a required 'args' to do_list()  https://review.openstack.org/12362704:20
*** reed has joined #heat04:21
*** kopparam has quit IRC04:21
*** rushiagr_away is now known as rushiagr04:23
*** reed has quit IRC04:25
*** nikunj2512 has joined #heat04:27
*** killer_prince has quit IRC04:36
*** ramishra has quit IRC04:39
*** ramishra has joined #heat04:39
*** rakesh_hs has joined #heat04:41
*** hdd has quit IRC04:46
*** sarob_away is now known as sarob04:47
*** sanjayu has joined #heat04:53
*** MohitS has joined #heat04:55
*** sarob is now known as sarob_away04:57
*** hdd has joined #heat04:59
*** gokrokve has joined #heat05:00
*** KanagarajM has joined #heat05:10
*** ramishra has quit IRC05:13
*** Drago1 has quit IRC05:13
*** ramishra has joined #heat05:14
*** kopparam has joined #heat05:18
*** asalkeld has quit IRC05:19
*** julienvey has joined #heat05:21
*** pasquier-s has joined #heat05:22
*** daneyon has quit IRC05:22
*** kopparam has quit IRC05:23
*** daneyon has joined #heat05:23
*** julienvey has quit IRC05:26
*** ramishra has quit IRC05:31
*** pasquier-s has quit IRC05:33
*** ramishra has joined #heat05:35
*** asalkeld has joined #heat05:36
*** cmyster_ has joined #heat05:39
cmyster_morning05:40
asalkeldhi05:40
*** Yanyanhu has quit IRC05:51
*** unmeshg has joined #heat05:52
*** unmeshg has quit IRC05:54
*** unmeshg has joined #heat05:55
*** gokrokve_ has joined #heat05:58
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/12000406:00
*** gokrokve has quit IRC06:01
*** Yanyanhu has joined #heat06:01
*** jcoufal has joined #heat06:01
*** gokrokve_ has quit IRC06:02
*** ramishra has quit IRC06:04
*** LiJiansheng has quit IRC06:05
*** ramishra has joined #heat06:07
*** killer_prince has joined #heat06:07
*** killer_prince is now known as lazy_prince06:07
*** k4n0 has joined #heat06:09
*** ramishra has quit IRC06:18
*** kopparam has joined #heat06:19
*** sdake_ has joined #heat06:21
*** sdake_ has quit IRC06:21
*** sdake_ has joined #heat06:21
*** KanagarajM has quit IRC06:21
*** tspatzier has joined #heat06:22
*** kopparam has quit IRC06:23
*** gokrokve has joined #heat06:28
*** asalkeld has quit IRC06:29
*** gokrokve has quit IRC06:29
*** gokrokve has joined #heat06:30
*** julienvey has joined #heat06:31
*** Drago1 has joined #heat06:32
*** gokrokve has quit IRC06:35
*** jprovazn has joined #heat06:41
*** Drago1 has quit IRC06:41
*** asalkeld has joined #heat06:41
*** ramishra has joined #heat06:41
*** Drago1 has joined #heat06:43
*** jistr has joined #heat06:46
*** Yanyanhu has quit IRC06:51
*** jstrachan has joined #heat06:52
*** hdd has quit IRC06:52
*** LiJiansheng has joined #heat06:55
*** ramishra has quit IRC06:58
*** sdake_ has quit IRC06:59
*** ramishra_ has joined #heat07:00
*** pas-ha has joined #heat07:00
*** zns has joined #heat07:00
pas-hamorning all07:00
*** julienvey has quit IRC07:00
*** julienvey has joined #heat07:01
*** Yanyanhu has joined #heat07:02
*** alexheneveld has joined #heat07:02
*** ifarkas has joined #heat07:02
*** jstrachan has quit IRC07:05
*** julienvey has quit IRC07:05
*** jstrachan has joined #heat07:07
*** liuhang has joined #heat07:11
*** Drago1 has quit IRC07:11
*** Drago has joined #heat07:13
cmyster_morning07:15
*** Drago has quit IRC07:19
*** kopparam has joined #heat07:19
*** erkules_ is now known as erkules07:22
openstackgerrithuangtianhua proposed a change to openstack/heat: Do not attempt a stack update when it is deleting  https://review.openstack.org/12365107:24
*** kopparam has quit IRC07:24
*** ramishra_ has quit IRC07:26
*** gokrokve has joined #heat07:31
*** ramishra has joined #heat07:32
*** gokrokve has quit IRC07:35
*** idanmo has joined #heat07:37
*** idanmo has left #heat07:37
*** zns has quit IRC07:37
*** zns has joined #heat07:38
*** kopparam has joined #heat07:40
*** ramishra_ has joined #heat07:41
*** jamiehannaford has joined #heat07:41
*** kopparam has quit IRC07:44
*** ramishra has quit IRC07:44
*** kopparam has joined #heat07:45
*** kopparam has quit IRC07:50
*** zns has quit IRC07:56
*** zns has joined #heat08:00
*** ramishra_ has quit IRC08:05
*** julienvey has joined #heat08:17
*** ckmvishnu has joined #heat08:18
*** kopparam has joined #heat08:19
*** yassine has joined #heat08:20
*** ramishra has joined #heat08:23
*** mandre has quit IRC08:24
*** gokrokve has joined #heat08:28
*** gokrokve has quit IRC08:33
*** kopparam has quit IRC08:34
*** kopparam has joined #heat08:35
*** ramishra has quit IRC08:39
*** ramishra has joined #heat08:44
*** kbyrne has joined #heat08:45
*** jistr has quit IRC08:45
*** justin-8_ has joined #heat08:45
*** andreaf_ is now known as andreaf08:47
*** justin-8 has quit IRC08:48
*** liuhang has quit IRC08:49
*** stannie has joined #heat08:50
*** blues-man has joined #heat08:51
*** blues-man has quit IRC08:56
*** blues-man has joined #heat08:56
*** ramishra has quit IRC09:02
*** mkollaro has joined #heat09:05
*** ramishra has joined #heat09:05
*** sorantis has joined #heat09:07
*** justin-8 has joined #heat09:08
*** jistr has joined #heat09:08
*** derekh has joined #heat09:09
*** julienvey has quit IRC09:09
*** justin-8_ has quit IRC09:11
*** zns has quit IRC09:12
unmeshgHi, curious to know the reasons of having flavor resource in contrib and not a core resource09:12
*** zns has joined #heat09:12
*** Yanyanhu has quit IRC09:13
*** openstack has joined #heat09:23
*** julienvey has joined #heat09:28
*** gokrokve has joined #heat09:28
*** gokrokve has quit IRC09:29
*** gokrokve has joined #heat09:30
pas-haunmeshg, because it is admin-only09:32
*** ramishra has quit IRC09:34
pas-haand thus useless for ordinary users, causing confusion09:34
*** gokrokve has quit IRC09:35
pas-haso if a cloud admin thinks he needs it, s(he) must specifically choose to deploy it09:35
unmeshgok, got it09:35
unmeshgthanks09:35
*** ramishra_ has joined #heat09:36
*** jamiehan_ has joined #heat09:38
*** miarmak has quit IRC09:39
*** zns has quit IRC09:39
*** jamiehannaford has quit IRC09:41
*** bdossant has joined #heat09:42
*** zns has joined #heat09:42
bdossanthi! is it possible to trigger a scale up policy using the resource-signal cmd?09:43
*** mkollaro has quit IRC09:43
Qimingbdossant, yes09:43
*** jamiehan_ has quit IRC09:43
bdossantcan you show me some examples?09:44
bdossantsome web page or something?09:44
bdossantive been googling but without luck09:44
*** tomek_adamczewsk has joined #heat09:44
Qimingbdossant, I don't think there is document/example on this09:45
bdossantso for example, i should use like this "heat resource-signal scale_lb WebServerScaleDownPolicy -D "09:46
bdossant?09:46
bdossantand then put some json data after right?09:46
*** jamiehannaford has joined #heat09:46
Qimingbdossant, right09:46
Qimingbdossant, if you are doing this in a python program, you can refer to this: http://git.openstack.org/cgit/openstack/heat-templates/tree/hot/software-config/elements/heat-config/os-refresh-config/configure.d/55-heat-config#n9509:47
bdossantno actually i wanted to use the command line09:49
Qimingalso, this handle_signal function can help understand what are the JSON contents that will be consumed: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/scaling_policy.py#n10609:49
Qimingcommand line should be okay09:50
bdossantmaybe i just need to know the json format for input09:50
bdossantthanks09:50
Qimingbdossant, in the comments09:50
*** stannie has quit IRC09:55
*** tomek_adamczewsk has quit IRC09:55
*** Qiming has quit IRC09:56
*** jstrachan_ has joined #heat09:57
*** sorantis_ has joined #heat09:59
*** jstrachan has quit IRC10:00
*** jstrachan has joined #heat10:01
*** sorantis has quit IRC10:01
*** sorantis_ is now known as sorantis10:01
*** swygue has joined #heat10:02
*** jstrachan_ has quit IRC10:04
bdossantQiming: Thanks it worked10:06
bdossantsomething like this: heat --debug resource-signal scale_lb WebServerScaleDownPolicy -D '{"alarm_id": "c7a1350d-c725-4a58-a5ce-4d8dbd3b98b8", "previous": "ok", "current": "alarm", "reason": "..."}'10:06
*** swygue has quit IRC10:13
*** swygue has joined #heat10:27
pas-haQiming, do you happen to know if nanjj intends to pick up his https://review.openstack.org/#/c/109923/ ? the last activity was over a month ago...10:28
pas-haand I have a better implementation but am hesitant to take over10:28
*** gokrokve has joined #heat10:28
*** sgordon_ has quit IRC10:29
*** nikunj2512 has quit IRC10:30
*** julienvey has quit IRC10:31
*** gokrokve has quit IRC10:33
*** swygue has quit IRC10:33
*** Qiming has joined #heat10:35
*** tomek_adamczewsk has joined #heat10:39
*** rushiagr is now known as rushiagr_away10:40
*** zns has quit IRC10:40
*** rushiagr_away is now known as rushiagr10:43
*** tomek_adamczewsk has quit IRC10:47
*** dims has joined #heat10:48
*** unmeshg has quit IRC10:51
*** mkollaro has joined #heat10:52
*** kopparam has quit IRC10:55
*** kopparam has joined #heat10:55
*** kopparam has quit IRC10:59
*** kopparam has joined #heat11:03
*** sorantis has quit IRC11:03
*** sorantis has joined #heat11:10
*** swygue has joined #heat11:12
*** julienvey has joined #heat11:13
*** tomek_adamczewsk has joined #heat11:17
*** pasquier-s has joined #heat11:21
*** sgordon_ has joined #heat11:26
*** gokrokve has joined #heat11:28
*** asalkeld has quit IRC11:28
*** tomek_adamczewsk has quit IRC11:29
*** blues-man has quit IRC11:29
*** sgordon_ has quit IRC11:32
*** gokrokve has quit IRC11:33
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12369911:34
*** kopparam has quit IRC11:36
*** kopparam has joined #heat11:36
*** kopparam has quit IRC11:41
*** kopparam has joined #heat11:43
*** asalkeld has joined #heat11:44
*** sgordon_ has joined #heat11:46
*** stannie has joined #heat11:56
*** dmakogon_ is now known as denis_makogon11:56
*** Putns has joined #heat12:02
*** bdossant has quit IRC12:03
PutnsHi, i have a newbie question concerning HOT syntax - what is the correct way to write lists in it? The documentation doesn't seem to explicitly explain this12:05
*** dims has quit IRC12:05
*** dims has joined #heat12:05
asalkeldPutns, it's yaml12:08
asalkeldlist_name:12:08
asalkeld-12:08
asalkeld- item112:08
asalkeld- item212:08
asalkeldetc...12:08
Putnsah, yes, i see12:09
Putnsthanks12:09
asalkeldhttp://www.yaml.org/start.html12:09
Putnsyes, i was being stupid12:10
Putnsthanks again12:10
*** rcb_afk is now known as rbowen12:10
*** JayJ_ has joined #heat12:12
*** cmyster_ has quit IRC12:14
*** liuhang has joined #heat12:15
mkulkehello, is it possible to assign a floating ip resource to an instance?12:16
mkulkein the samples i found, the floating ip is always set to a port12:16
mkulkecurrently i use: networks:12:18
mkulke        - network: {get_resource: fixed_network}12:18
mkulketo assign networks to instances12:18
*** LiJiansheng has quit IRC12:20
*** jprovazn has quit IRC12:26
*** pmyers has quit IRC12:27
*** gokrokve has joined #heat12:28
*** jdob has joined #heat12:31
*** hdd has joined #heat12:32
jdandreamkulke: Were you looking at this example perchance? https://github.com/openstack/heat-templates/blob/master/hot/servers_in_new_neutron_net.yaml12:33
jdandrea(That's how I've always tied floating IPs to Server instances.)12:33
*** gokrokve has quit IRC12:33
*** rakesh_hs has quit IRC12:36
*** ramishra_ has quit IRC12:37
*** ckmvishnu has quit IRC12:39
*** ramishra has joined #heat12:41
openstackgerritAngus Salkeld proposed a change to openstack/heat: Add an option to disable cloud watch lite  https://review.openstack.org/12303912:43
asalkeldtherve, are you about?12:43
therveasalkeld, Hey12:44
asalkeldo, hi12:44
asalkeldjust a question about ceilometer alarming12:44
asalkeldhttps://bugs.launchpad.net/heat/+bug/137324712:44
uvirtbotLaunchpad bug 1373247 in heat "Cloud watch alarms don't work via Ceilometer" [Undecided,New]12:44
asalkeldI have always thought we need "metering.bla"12:45
asalkeldbut you have "user_metadata.bla"12:45
asalkeldwhere did you get that from the "user_metadata"12:45
therveHum12:46
asalkeldthe way i thought it worked was nova you grab any metadata that had "metering" at the begining12:46
therveNote that I didn't add user_metadata in that patch12:46
asalkeldand send that on to ceilometer12:47
asalkeldreally, ok - my bad12:47
*** justin-8_ has joined #heat12:47
asalkeldno worries therve, I'll dig a bit more12:48
therveasalkeld, AFAICT, if you put "metering.foo" in nova metadata12:48
therveYou get 'metadata.user_metadata.foo' in ceilometer12:48
asalkeldserious? - that's messed up12:48
therveWhy?12:49
asalkeldwell you put one thing in and it changes12:49
asalkeldi'd expect it to stay the same12:49
therveThe same as?12:50
*** justin-8 has quit IRC12:50
asalkeldso if i put in "metering.X", i'd expect to be able to search for "metering.X"12:50
asalkeldbut you are saying i'd need to search for "user_metadata.X"12:51
asalkeldthat's not easy to guess12:51
thervePresumably you shouldn't guess and find the documentation instead :)12:51
asalkeldmost only read docs as a matter of desperation12:52
asalkeld(maybe that's just me)12:52
asalkeld:-O12:52
jdandreaNaive question: Why *isn't* it consistent?12:52
asalkeldnot sure, we need to ask on #openstack-metering12:53
* jdandrea nods12:53
thervejdandrea, Consistent with what? :)12:54
*** MohitS has quit IRC12:54
*** tonisbones has joined #heat12:54
jdandreametadata: {"metering.stack": {get_param: "OS::stack_id"}} ... and matching_metadata: {'metadata.user_metadata.stack': {get_param: "OS::stack_id"}} - The keys don't match up. Why? (Answer: We need to ask on #openstack-metering)12:55
jdandreaIt's right there: "matching_metadata"12:55
therveIt seems fairly consistent to me.12:55
* jdandrea shakes head12:56
asalkeldtherve, the problem is if you use an agent to add samples it doesn't change12:56
asalkeldso if i add metering.X ceilometer just records that12:56
asalkeldIMO that's confusing12:57
*** ramishra has quit IRC12:57
therveSorry I don't understand. agent, samples?12:57
therveWhat doesn't change?12:57
asalkeldtherve, cfn-push-stats12:58
asalkeldor using ceilometer client directly12:58
asalkeldhttps://github.com/openstack/ceilometer/blob/master/ceilometer/compute/util.py#L3413:00
therveSO yeah it does exactly what I expected it to do13:01
asalkeldit makes things really messy13:01
asalkeldalso that reservered_metadata_namespace should not be configurable13:02
asalkeld(Heat can't read that option)13:02
*** kopparam has quit IRC13:05
*** swygue has quit IRC13:06
therveOver configurability is an issue13:06
*** tomek_adamczewsk has joined #heat13:06
asalkeldfor sure13:07
*** blues-man has joined #heat13:08
therveBut the prefix behavior makes sense to me. If it stayed right there, you'd have the feeling other metadata  is available, but it's not.13:09
asalkeldshrug, it really surprised me13:10
*** radez_g0n3 is now known as radez13:11
*** kopparam has joined #heat13:12
asalkeldg'night all - getting late13:15
*** asalkeld has quit IRC13:16
*** hdd has quit IRC13:18
*** jprovazn has joined #heat13:20
*** swygue has joined #heat13:20
*** hdd has joined #heat13:21
*** hdd has quit IRC13:21
*** zns has joined #heat13:22
*** nosnos has quit IRC13:27
*** nosnos has joined #heat13:27
*** gokrokve has joined #heat13:28
*** che-arne has quit IRC13:30
*** nosnos has quit IRC13:32
*** swygue has quit IRC13:32
*** swygue has joined #heat13:33
*** gokrokve has quit IRC13:33
*** jdob has quit IRC13:34
*** jdob has joined #heat13:34
*** EricGonczer_ has joined #heat13:42
*** ramishra has joined #heat13:42
*** swygue has quit IRC13:45
*** jdob has quit IRC13:46
*** jdob has joined #heat13:46
*** jstrachan_ has joined #heat13:48
*** jstrachan has quit IRC13:52
*** jstrachan has joined #heat13:53
*** zz_gondoi is now known as gondoi13:53
*** jstrachan_ has quit IRC13:55
*** sanjayu has quit IRC13:57
*** jstrachan has quit IRC13:58
*** sorantis has quit IRC13:59
*** swygue has joined #heat13:59
*** jstrachan has joined #heat13:59
*** hdd has joined #heat13:59
*** achampion has joined #heat14:02
*** gokrokve has joined #heat14:03
*** gokrokve has quit IRC14:03
*** gokrokve has joined #heat14:03
*** gokrokve has quit IRC14:03
*** jstrachan_ has joined #heat14:04
*** gokrokve has joined #heat14:04
*** sorantis has joined #heat14:05
*** jstrachan has quit IRC14:07
*** sabeen has quit IRC14:08
*** gondoi is now known as zz_gondoi14:10
*** sorantis has quit IRC14:11
*** Qiming has quit IRC14:12
*** sabeen1 has joined #heat14:18
*** hdd has quit IRC14:21
*** swygue has quit IRC14:23
*** hdd has joined #heat14:24
*** MohitS has joined #heat14:25
mkulkejdandrea, yeah thanks.14:26
*** Drago has joined #heat14:26
jdandreamkulke: You're welcome. Did that help?14:27
*** zz_gondoi is now known as gondoi14:27
mkulkejdandrea: kindof :)14:28
mkulkei was hoping i could attach that floating ip to the instance directly14:28
mkulkenot via a port14:28
jdandreaYeah, I was trying to better understand that. I've always had to use ports in conjunction with floating IPs that way. I never thought there was another way.14:29
mkulkeit's even this way in horizon14:31
*** david-lyle has joined #heat14:31
*** david-lyle has quit IRC14:31
*** MohitS_ has joined #heat14:31
*** david-lyle has joined #heat14:32
larsksPart of the issue is that floating ips are not associated with *instances*.  An instance can have multiple fixed ips, and each fixed ip can be associated with a different floating ip...and since fixed ips are assigned to ports (in neutron), this is where you have to associate the floating ips, too.14:32
mkulkei guess i am spoiled by the shortcut in my config: "networks: [network: {get_resource: fixed_network}]14:32
mkulkeyeah, i understand the technical reasons14:33
*** MohitS has quit IRC14:33
*** david-lyle has quit IRC14:33
*** david-lyle has joined #heat14:34
mkulkewhat if there are no floating ips allocated for the project, btw?14:34
*** david-lyle has quit IRC14:34
*** david-lyle has joined #heat14:35
*** kopparam has quit IRC14:35
*** andreaf_ has joined #heat14:36
*** andreaf has quit IRC14:36
*** andreaf_ is now known as andreaf14:36
radezstevebaker: ping14:36
*** andreaf_ has joined #heat14:36
radezWhen I call back into cfn to report my waitcondtion I get this error14:37
radez<ErrorResponse><Error><Message>User is not authorized to perform action</Message><Code>AccessDenied</Code><Type>Sender</Type></Error></ErrorResponse>14:37
radezanyone know what access I don't have in place14:38
radez?14:38
*** swygue has joined #heat14:38
jdandreaGood question. I've never tried to find out, but my guess is it will fail.14:39
jdandrea(that was for mkulke)14:39
mkulkei'll try that now :)14:40
*** andreaf has quit IRC14:43
* jdandrea braces for the results14:44
*** julienvey has quit IRC14:47
*** julienvey has joined #heat14:47
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374914:50
jdandreaAs I'm being good and avoiding HARestarter like the plague, is there some other way to "restart" a resource, in particular a Server, via Heat? (Suspecting no.) If not, does anyone know of other alternatives?14:51
*** julienvey has quit IRC14:52
* jdandrea considers nova reboot14:53
*** blomquisg has quit IRC14:53
*** blomquisg has joined #heat14:54
*** jprovazn is now known as jprovazn_afk14:56
*** jamiehan_ has joined #heat14:57
*** andreaf has joined #heat14:57
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374914:58
*** jamiehannaford has quit IRC14:59
*** ifarkas has quit IRC14:59
*** jyoti-ranjan has quit IRC15:00
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374915:01
*** sabeen1 has quit IRC15:05
*** EricGonczer_ has quit IRC15:05
*** EricGonc_ has joined #heat15:05
*** kopparam has joined #heat15:06
*** kebray has joined #heat15:06
*** achampio1 has joined #heat15:12
*** achampio1 has quit IRC15:12
*** kopparam has quit IRC15:13
*** che-arne has joined #heat15:15
*** jamiehan_ has quit IRC15:15
*** MohitS_ has quit IRC15:18
*** MohitS_ has joined #heat15:19
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374915:20
*** jistr has quit IRC15:21
*** pas-ha has quit IRC15:23
*** DaveJ_ has joined #heat15:25
*** david-ly_ has joined #heat15:25
*** jergerber has joined #heat15:26
*** david-lyle has quit IRC15:27
DaveJ_Hi Guys - could anyone offer some advice on my autoscaling group: http://pastebin.com/t7YqN4a515:27
DaveJ_I want specify the port, but get_resource can't seem to find my_port.  I'm assuming it's because it's nestled in the AutoScalingGroup15:28
*** sabeen has joined #heat15:28
DaveJ_is there a way to reference these, some sort of namespcaing ?15:28
*** rushiagr is now known as rushiagr_away15:29
*** ramishra has quit IRC15:31
*** lazy_prince is now known as killer_prince15:34
*** rushiagr_away is now known as rushiagr15:37
therveDaveJ_, You can't create a group like that15:42
therveDaveJ_, You need a separate template with your scaling unit15:42
therveSee https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml#L6815:42
*** denis_makogon has quit IRC15:47
*** sabeen3 has joined #heat15:47
*** ramishra has joined #heat15:47
*** sabeen has quit IRC15:49
DaveJ_therve: Thanks, already looked at that, although it didn't really help. I have no problem when I use an external template, but I was wanting to include everything inline, to avoid hosting extra files15:54
therveDaveJ_, You can't do that.15:55
*** saurabhs has joined #heat15:55
therveEither you have one resource in your group, or you use an external file15:55
*** swygue has quit IRC15:55
*** mkollaro has quit IRC15:55
*** ramishra has quit IRC15:56
*** killer_prince is now known as lazy_prince15:59
openstackgerritJose Castanos proposed a change to openstack/heat-templates: Software config hook for configuring with Chef-Solo  https://review.openstack.org/8022916:00
*** daneyon has quit IRC16:01
*** JayJ_ has quit IRC16:01
*** alexheneveld has quit IRC16:01
*** JayJ_ has joined #heat16:01
*** daneyon has joined #heat16:01
*** k4n0 has quit IRC16:03
*** aweiteka has quit IRC16:05
DaveJ_therve:  Thanks16:06
*** tspatzier has quit IRC16:08
*** kopparam has joined #heat16:09
*** swygue has joined #heat16:09
*** liusheng has quit IRC16:12
*** liusheng has joined #heat16:12
*** kopparam has quit IRC16:14
*** MohitS_ has quit IRC16:17
*** aweiteka has joined #heat16:18
*** larsks has quit IRC16:19
*** andersonvom has joined #heat16:20
*** pasquier-s has quit IRC16:20
*** dsneddon has quit IRC16:24
*** dsneddon has joined #heat16:25
*** larsks has joined #heat16:29
*** pasquier-s has joined #heat16:30
*** blues-man has quit IRC16:32
*** radez is now known as radez_g0n316:34
*** openstackgerrit has quit IRC16:35
*** WinnieTsang has quit IRC16:36
*** stannie has quit IRC16:45
*** dsneddon has quit IRC16:45
*** jistr has joined #heat16:45
*** dsneddon has joined #heat16:46
*** jamielennox has joined #heat16:54
*** harlowja_away is now known as harlowja16:56
*** derekh has quit IRC16:56
*** Drago1 has joined #heat17:02
*** f13o has quit IRC17:03
*** rwsu has quit IRC17:03
*** swygue has quit IRC17:04
*** Drago has quit IRC17:05
*** aweiteka has quit IRC17:05
*** dsneddon has quit IRC17:06
*** rwsu has joined #heat17:06
*** dsneddon has joined #heat17:06
*** WinnieTsang has joined #heat17:06
*** rushiagr is now known as rushiagr_away17:08
*** jstrachan has joined #heat17:09
*** kopparam has joined #heat17:10
*** jstrachan_ has quit IRC17:11
*** kopparam has quit IRC17:15
*** swygue has joined #heat17:17
*** andreaf has quit IRC17:17
*** andreaf has joined #heat17:18
*** aweiteka has joined #heat17:19
*** rpothier has joined #heat17:19
*** reed has joined #heat17:22
*** Drago1 has quit IRC17:23
*** openstackgerrit has joined #heat17:25
*** dsneddon has quit IRC17:26
*** harlowja has quit IRC17:27
*** harlowja has joined #heat17:27
*** dsneddon has joined #heat17:27
*** Drago1 has joined #heat17:37
*** WinnieTsang has left #heat17:41
*** newbie|3 has joined #heat17:43
*** AJaeger_ has joined #heat17:46
AJaeger_heat cores, could you import translations, please? https://review.openstack.org/#/c/120004/17:46
*** gokrokve has quit IRC17:46
*** jcoufal has quit IRC17:51
*** openstackgerrit has quit IRC17:51
*** openstackgerrit has joined #heat17:53
*** newbie|3 has left #heat17:58
*** WinnieTsang has joined #heat17:58
*** WinnieTsang has left #heat18:01
*** WinnieTsang has joined #heat18:02
*** julienvey has joined #heat18:02
*** jstrachan has quit IRC18:02
*** DanyC has joined #heat18:05
*** radez_g0n3 is now known as radez18:06
DanyChi all - i have a prob which i'm trying to solve on IceHouse. I'm creating a stack by defploying 2 instances. Now i need during the instance creation to generate the ssh keys on each instance and then transfer between both instances so i can have passwordless ssh between them.18:06
DanyCDoes anyone has any idea how i can do this via HEAT? I know i can do that by injecting some bash script into user_Data however that will only sort out the key generation and not the transfer - since will ask me for a password18:07
DanyCi read about cloud config but not sure i can generate most importantly how to transfer it to the toher instance18:08
*** gokrokve has joined #heat18:08
openstackgerritA change was merged to openstack/python-heatclient: Add a required 'args' to do_list()  https://review.openstack.org/12362718:12
*** DanyC has quit IRC18:14
*** jistr has quit IRC18:16
*** pas-ha has joined #heat18:18
*** spzala has joined #heat18:26
*** zigo has quit IRC18:26
*** zigo has joined #heat18:28
*** aweiteka has quit IRC18:28
*** sdake_ has joined #heat18:29
*** lsmola has quit IRC18:31
*** lsmola has joined #heat18:31
*** tspatzier has joined #heat18:32
*** DaveJ_ has quit IRC18:36
*** andreaf has quit IRC18:38
*** andreaf has joined #heat18:39
*** tango has joined #heat18:39
*** AJaeger_ has left #heat18:42
*** aweiteka has joined #heat18:43
zanebSpamapS: if you bring the sombrero, I will wear it at summit ;)18:48
*** andreaf has quit IRC18:50
*** andreaf has joined #heat18:51
SpamapSzaneb: sorry, harlowja already beat you to it https://www.dropbox.com/s/mvimdrf8q2eq3mn/joshtalk.png?dl=018:56
harlowja:-P18:56
harlowjawe can share it, ha18:56
zaneboh man, there's no competing with that18:56
zanebI'll just stick to my fedora18:57
harlowjaha19:00
*** morganfainberg is now known as morgan19:02
*** morgan is now known as morganfainberg19:03
SpamapSzaneb: https://www.dropbox.com/s/j6wms2iq6bkpkdz/ZaneTalk.png?dl=019:06
zaneblol19:06
zanebI really wish that little footer that openstack-dev inserts into every email included a link to that message in the web archive19:12
zanebI feel like I spend half my day looking those up19:12
*** coolsvap is now known as coolsvap|gone19:13
*** radez is now known as radez_g0n319:15
*** jprovazn_afk has quit IRC19:20
ryansbthat would be awesome19:30
*** andreaf has quit IRC19:31
*** andreaf has joined #heat19:32
stevebakerradez_g0n3, pong19:33
*** sdake_ has quit IRC19:36
*** lazy_prince is now known as killer_prince19:38
*** rbowen has quit IRC19:39
*** rbowen has joined #heat19:41
*** radez_g0n3 is now known as radez19:41
radezstevebaker: found my issue, it was an haproxy infront of keystone issue.19:43
*** openstackgerrit has quit IRC19:46
*** openstackgerrit has joined #heat19:48
*** coolsvap|gone has quit IRC19:51
stevebakerradez, good. still getting the cfn auth fail?19:54
radezstevebaker: nope, I foudn that issue too... the cfn url was misconfigured. it had ec2tokern in it and heat was appending it again so the url was ec2token/ec2token which got a 40419:56
radez[root@broker ~]# service activemq status19:57
stevebakerheh19:57
radezoops, sry19:57
*** david-ly_ is now known as david-lyle19:58
*** sballe__ has joined #heat20:00
pas-hameeting?20:01
ryansbyup20:02
stevebakerzaneb, yo20:02
zanebo hai20:02
zanebstarted20:02
*** packet has joined #heat20:07
*** aweiteka has quit IRC20:08
*** DanyC has joined #heat20:08
DanyCI've asked a question earlier but i lost connection hence appologize asking again.20:09
DanyCIn IceHouse, i'm creating via HEAT a stackw ith 2 instances which needs to have passwordless ssh between them. Anyone can suggest if/ how to achieve that via HEAT to a) generate the key on each instance and b) transfer the keys between each instance?20:11
*** julienvey has quit IRC20:11
*** julienvey has joined #heat20:12
DanyCanyone can help with any answer, suggestion? Can be done or it can't ? Thx20:15
*** julienvey has quit IRC20:16
*** aweiteka has joined #heat20:21
*** tonisbones has quit IRC20:21
*** packet has quit IRC20:27
*** packet has joined #heat20:28
pas-haDanyC, http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::KeyPair20:28
*** packet has quit IRC20:29
pas-hanot sure it was in Icehouse though, most probably yes20:29
*** packet has joined #heat20:30
pas-hayou could try create the keys, ref them as keys for your servers and use get_attr: [serverA, private_key] to inject the key content with cloud-init20:30
pas-hai.e with user_data of the server, like with OS::Heat::CloudConfig etc20:31
*** asalkeld has joined #heat20:32
DanyCpas-pa: many thanks for the direction. Will give it a go!20:32
DanyCpas-ha:  sorry for the typo20:33
pas-haDanyC, np20:33
*** DanyC has quit IRC20:43
*** radez is now known as radez_g0n320:46
*** jdob has quit IRC20:51
*** alexheneveld has joined #heat20:51
*** Drago1 has quit IRC20:55
*** pasquier-s_ has joined #heat20:56
*** aweiteka has quit IRC20:58
*** pasquier-s has quit IRC20:59
pas-haasalkeld, still trying to parse. our default.yaml maps AWSCloudWatchAlarm to CWLiteAlarm, yes?21:01
asalkeldyes21:02
asalkeldbut deployers need to change that21:02
*** tspatzier has quit IRC21:02
asalkeldwe should change the default21:02
asalkeldmaybe I'll add that to the patch21:02
pas-haok, got it. but as I said I will try to check with services team about there knowledge of the cloud zoo out there :)21:03
asalkeldok, let me know21:03
pas-has/there/their21:03
pas-hasure21:03
*** sballe__ has quit IRC21:05
*** spzala has quit IRC21:05
*** julienvey has joined #heat21:11
*** pas-ha has quit IRC21:11
*** julienvey has quit IRC21:15
asalkeldstevebaker, this reliance on tempurl's - is swift installed on most clouds?21:24
asalkeldcan we rely on it21:24
asalkeld(being there)21:24
asalkeldor is just going have to be an option21:24
*** JayJ_ has quit IRC21:26
stevebakerasalkeld: it would be an option, like the cfn api, heat api, zaqar (or ssh ;)21:27
asalkeldok21:27
stevebakerrather an option like cloudwatch api, ceilometer api21:27
asalkeldi was just hoping we wouldn't need too many options21:27
stevebakerit solves all the auth issues though21:28
*** EricGonc_ has quit IRC21:29
*** EricGonczer_ has joined #heat21:29
*** alexpilotti has joined #heat21:34
*** alexheneveld has quit IRC21:35
*** alexpilotti has quit IRC21:35
*** alexpilotti has joined #heat21:36
asalkeldwould it be too harsh to say "to use heat standalone, the cloud you are talking *must* have swift"21:42
asalkeldit would be good to know what the swift install rates were like21:42
stevebakerwell, "to use heat standalone without swift requires network access from your clouds servers to heat, which may be impractical"21:44
*** harlowja has quit IRC21:47
stevebakerasalkeld: our docs should be able to explain all the options and tradeoffs21:47
*** harlowja has joined #heat21:47
asalkeldok, well let's not make more options than we really need21:48
*** EricGonczer_ has quit IRC21:55
*** dims_ has joined #heat21:55
-openstackstatus- NOTICE: The openstack-infra/config repo will be frozen for project-configuration changes starting at 00:01 UTC. If you have a pending configuration change that has not merged or is not in the queue, please see us in #openstack-infra.21:57
*** dims__ has joined #heat21:58
*** dims has quit IRC21:59
*** dims_ has quit IRC22:00
*** david-lyle has quit IRC22:00
*** rpothier has quit IRC22:01
*** david-lyle has joined #heat22:01
*** WinnieTsang has quit IRC22:02
*** WinnieTsang has joined #heat22:02
*** harlowja has quit IRC22:03
*** harlowja has joined #heat22:03
*** sgordon_ has quit IRC22:03
*** pasquier-s__ has joined #heat22:06
*** pasquier-s_ has quit IRC22:08
*** harlowja has quit IRC22:09
*** harlowja_ has joined #heat22:09
*** tomek_adamczewsk has quit IRC22:10
*** liu_hang has joined #heat22:18
*** yassine has quit IRC22:20
*** gondoi is now known as zz_gondoi22:21
*** liuhang has quit IRC22:22
openstackgerritAngus Salkeld proposed a change to openstack/heat: Add an option to disable cloud watch lite  https://review.openstack.org/12303922:27
*** achampion has quit IRC22:34
*** nijaba_ has joined #heat22:35
*** nijaba has quit IRC22:35
*** otoolee has quit IRC22:41
stevebakercrikey, somebody vote zaneb on to the TC already! ;)22:41
*** spzala has joined #heat22:43
*** openstackgerrit has quit IRC22:47
asalkeldisn't he doing that him self?22:47
asalkeld:-O22:47
*** openstackgerrit_ has joined #heat22:48
asalkeldbut i do agree that our main use case is not just described by wordpress22:48
*** openstackgerrit_ is now known as openstackgerrit22:48
zanebguys, if y'all have an opinion weigh in, because this stuff pretty much gets decided on the basis of who is noisiest on the ML22:50
*** asalkeld has quit IRC22:56
*** LiJiansheng has joined #heat22:58
*** david-lyle has quit IRC22:59
stevebakerzaneb: dude, *reading* those threads is taking up enough of my time23:01
zanebstevebaker: you're telling me23:02
*** tomek_adamczewsk has joined #heat23:02
* zaneb has been working on that email since Friday23:02
ryansbO.o23:02
stevebakerI'm going to guess this won't be ready for rc1 https://bugs.launchpad.net/heat/+bug/1289560 https://review.openstack.org/#/c/90109/123:04
uvirtbotLaunchpad bug 1289560 in heat "Missing template version breaks template parsing" [Medium,In progress]23:05
zanebstevebaker: I have an action item to re-read that and work out what still needs to be done23:06
stevebakerhttps://bugs.launchpad.net/heat/+bug/1300830 looks more like a feature23:06
zanebbut 'no' is probably a good bet ;)23:06
uvirtbotLaunchpad bug 1300830 in python-heatclient "stack abandon should have a dry run option" [Medium,In progress]23:06
zanebstevebaker: I'd call it more of a "stack abandon is irretrievably broken without this"23:07
zaneband will have to be a "tech preview" _again_ as a result23:07
stevebakeryep23:08
zanebwe should probably add a config option and disable it by default23:08
stevebakerdisable abandon?23:08
zanebyes23:08
stevebakerit would still be useful if you have no intention of adopting23:08
zanebit's not safe23:09
*** asalkeld has joined #heat23:09
*** packet has quit IRC23:10
stevebakerA review on https://review.openstack.org/#/c/122274/ can close https://bugs.launchpad.net/heat/+bug/130474323:10
uvirtbotLaunchpad bug 1304743 in heat "Exceptions Error and ResourceFailure cannot be serialized over RPC" [Medium,In progress]23:10
*** sgordon_ has joined #heat23:10
zanebdone23:12
*** julienvey has joined #heat23:12
*** julienvey has quit IRC23:16
stevebakerasalkeld: why don't you just test https://review.openstack.org/#/c/117076/3 with a list? that py26 stuff is hairy23:21
*** zns has quit IRC23:22
*** dims__ has quit IRC23:22
asalkeldstevebaker, mmm well it's not really testing the use case23:23
asalkeldit was {some_func()]23:24
asalkeldand that returned a string instead of a dict23:24
asalkeldwith py26 it's just different23:24
asalkeldand I care less about 26 as we will soon remove support for it23:25
asalkeldi believe this coming cycle23:25
*** dsneddon has quit IRC23:27
*** kebray has quit IRC23:28
*** dsneddon has joined #heat23:29
zaneb\o/23:31
*** coolsvap|gone has joined #heat23:31
*** coolsvap|gone is now known as coolsvap23:31
*** tomek_adamczewsk has quit IRC23:34
*** EricGonczer_ has joined #heat23:34
*** dims has joined #heat23:37
*** EricGonczer_ has quit IRC23:37
*** gus has joined #heat23:38
gusif I update a resourcegroup, it looks like heat nukes the entire set of sub-resources at once.  Is there any way to have that be a rolling update?23:39
*** achampion has joined #heat23:43
*** hdd has quit IRC23:47
*** dsneddon has quit IRC23:48
*** dsneddon has joined #heat23:50
asalkeldgus not sure23:54
*** openstackstatus has quit IRC23:55
*** openstack has joined #heat23:56
-sendak.freenode.net- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp23:56

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