Saturday, 2014-03-01

*** cadenzajon has quit IRC00:00
*** lindsayk has quit IRC00:01
sdake__zaneb you sure                 if isinstance(params[k], collections.Iterable):00:02
sdake__ is right for a list?00:02
sdake__it seems to be triggering on everything00:02
zanebnote that strings are also iterable00:02
sdake__(strings included)00:02
zanebyou have to check for the strings first00:02
zanebyou can use isinstance(x, list)00:03
zanebbetter is isinstance(x, (list, tuple))00:03
*** zns has joined #heat00:05
*** zns has quit IRC00:05
sdake__thanks thats better00:06
sdake__fixed a bug and run_tests.sh reports 2 more00:07
sdake__imo run_tests.sh is unreliable :(00:07
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279800:08
sdake__new oslo.messaging added a serilaizer for hte context which is handy00:23
sdake__wonder why that didn't go in oslo-incuabot00:23
*** alexpilotti has quit IRC00:31
*** gokrokve_ has quit IRC00:32
*** cody-somerville has joined #heat00:34
sdake__calling into messaging._drivers00:36
sdake__sounds evil00:36
sdake__I guess we can deal with it later00:36
*** saurabhs1 has left #heat00:39
*** david-lyle has joined #heat00:41
*** gokrokve has joined #heat00:41
*** nati_ueno has quit IRC00:45
SpamapSok.. spike failing.. I think I'll have to investigate abandon/fix/adopt00:47
SpamapSsdake__: you're not supposed to be using run_tests.sh00:48
SpamapSsdake__: tox ftw00:48
SpamapSI mean, people use it.. its fine.. but. don't use.00:48
sdake__i use nosetest acutally00:48
sdake__so i can get printout00:49
SpamapStox prints out00:50
SpamapSwell some :)00:50
SpamapSIMO prints too much00:50
sdake__i'll dig into that when i have more time00:51
*** gokrokve has quit IRC00:56
sdake__zaneb what is the difference between * and **00:59
*** nati_ueno has joined #heat01:04
*** nati_ueno has quit IRC01:07
*** openstackgerrit has quit IRC01:10
*** openstackgerrit has joined #heat01:11
*** nati_ueno has joined #heat01:18
SpamapSugh01:27
SpamapSwe have abandon in heatclient, but not adopt yet?01:27
SpamapSahh unreleased01:29
SpamapSstevebaker: I can haz python-heatclient releazzz?01:29
*** erkules has joined #heat01:36
Slowerheh01:38
*** pvaneck has quit IRC01:42
*** achampion has joined #heat01:43
*** spzala has joined #heat01:45
*** gokrokve has joined #heat01:46
tangoSpamapS: Hi Clint, still around?01:54
*** jufeng has joined #heat01:59
*** mkollaro has quit IRC02:00
*** lnxnut has joined #heat02:10
*** tango has quit IRC02:15
*** erkules_ has joined #heat02:18
*** spzala has quit IRC02:20
*** jufeng has quit IRC02:20
*** erkules has quit IRC02:21
*** ramishra has joined #heat02:31
*** lazy_prince is now known as killer_prince02:41
*** jufeng has joined #heat02:41
*** dtalton2 has quit IRC02:49
*** faramir1 has joined #heat02:52
*** lnxnut has quit IRC02:52
*** lnxnut has joined #heat02:55
*** ramishra has quit IRC02:58
*** lindsayk has joined #heat03:08
*** annegentle has joined #heat03:10
*** jufeng has quit IRC03:34
*** jufeng has joined #heat03:39
*** faramir1 has quit IRC03:43
*** jasond has joined #heat03:45
*** jasond has left #heat03:46
*** andersonvom has quit IRC03:56
*** sballe_ has quit IRC04:12
*** andersonvom has joined #heat04:12
*** sballe_ has joined #heat04:13
*** lindsayk1 has joined #heat04:13
*** jufeng has quit IRC04:14
*** jufeng has joined #heat04:14
*** lindsayk has quit IRC04:17
*** lnxnut has quit IRC04:18
*** sballe_ has quit IRC04:20
*** lnxnut has joined #heat04:22
*** harlowja is now known as harlowja_away04:31
*** Michalik has quit IRC04:32
*** andersonvom has quit IRC04:33
*** andersonvom has joined #heat04:36
*** ramishra has joined #heat04:37
*** chandan_kumar has joined #heat04:48
*** wchrisj has quit IRC04:49
*** wchrisj__ has joined #heat05:16
*** lindsayk1 has quit IRC05:25
*** lindsayk has joined #heat05:28
*** ramishra has quit IRC05:36
*** lindsayk has quit IRC05:39
*** chandan_kumar has quit IRC06:01
*** killer_prince has quit IRC06:05
*** killer_prince has joined #heat06:08
*** killer_prince has quit IRC06:08
*** killer_prince has joined #heat06:08
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7256606:10
*** chandan_kumar has joined #heat06:14
*** yogesh has joined #heat06:19
*** wchrisj__ has quit IRC06:22
*** chandan_kumar has quit IRC06:28
*** yogesh has quit IRC06:37
*** ramishra has joined #heat06:40
*** chandan_kumar has joined #heat06:41
*** nati_ueno has quit IRC06:47
*** chandan_kumar has quit IRC06:48
*** nati_ueno has joined #heat06:48
*** ramishra has quit IRC06:57
*** ramishra has joined #heat06:58
*** chandan_kumar has joined #heat06:59
*** faramir has joined #heat06:59
*** nati_ueno has quit IRC07:02
*** ramishra has quit IRC07:02
*** faramir has quit IRC07:05
*** bada_ has quit IRC07:08
*** akuznetsov has quit IRC07:12
*** killer_prince has quit IRC07:12
*** yogesh has joined #heat07:14
*** chandan_kumar has quit IRC07:22
*** ramishra_ has joined #heat07:25
*** jufeng has quit IRC07:35
*** yogesh_ has joined #heat07:37
*** yogesh has quit IRC07:39
*** killer_prince has joined #heat07:46
*** killer_prince has quit IRC07:46
*** killer_prince has joined #heat07:46
*** jufeng has joined #heat07:53
*** cody-somerville has quit IRC07:57
*** killer_prince is now known as lazy_prince08:00
*** cfriesen_ has quit IRC08:02
*** ramishra_ has quit IRC08:15
*** yogesh_ has quit IRC08:22
openstackgerritA change was merged to openstack/heat: Change Stack timestamps to save correct info  https://review.openstack.org/7451908:23
*** kfox1111 has quit IRC08:35
*** akuznetsov has joined #heat08:35
*** gokrokve has quit IRC08:38
*** gokrokve_ has joined #heat08:41
*** gokrokv__ has joined #heat08:43
*** gokrokve_ has quit IRC08:45
openstackgerritJesse proposed a change to openstack/heat: Fix python 3.x compatibility for print function  https://review.openstack.org/7734409:05
*** david_lyle_ has joined #heat09:10
*** akuznetsov has quit IRC09:12
*** david-lyle has quit IRC09:13
*** david-lyle has joined #heat09:13
*** david_lyle_ has quit IRC09:15
openstackgerritJesse proposed a change to openstack/heat: Fix python 3.x compatibility for metaclass  https://review.openstack.org/7734509:15
*** gokrokv__ has quit IRC09:17
*** mkollaro has joined #heat09:29
*** sdake__ has quit IRC09:36
*** tspatzier has joined #heat09:42
*** tspatzier has quit IRC09:47
*** gokrokve has joined #heat09:48
*** gokrokve_ has joined #heat09:49
*** chandan_kumar has joined #heat09:51
*** gokrokve has quit IRC09:52
*** jufeng has quit IRC09:54
*** chandan_kumar has quit IRC10:02
*** david_lyle_ has joined #heat10:19
*** david-lyle has quit IRC10:23
*** chandan_kumar has joined #heat10:25
*** alexpilotti has joined #heat10:40
*** lazy_prince has quit IRC10:57
*** jamieh has joined #heat10:58
*** asalkeld has quit IRC11:03
*** Michalik has joined #heat11:12
*** lazy_prince has joined #heat11:16
*** lazy_prince is now known as killer_prince11:16
*** killer_prince has quit IRC11:28
*** chandan_kumar has quit IRC11:36
*** chandan_kumar has joined #heat11:54
*** alexpilotti has quit IRC11:54
*** killer_prince has joined #heat11:59
*** killer_prince has quit IRC12:10
*** lazy_prince has joined #heat12:16
*** lazy_prince is now known as killer_prince12:16
*** e0ne has joined #heat12:24
*** killer_prince has quit IRC12:30
*** lazy_prince has joined #heat12:36
*** lazy_prince is now known as killer_prince12:37
*** jamieh has quit IRC12:37
*** chandan_kumar has quit IRC12:38
*** alexpilotti has joined #heat12:45
*** rpothier has quit IRC13:01
*** rpothier has joined #heat13:02
*** erkules_ is now known as erkules13:02
*** akuznetsov has joined #heat13:03
openstackgerritA change was merged to openstack/python-heatclient: Remove None for dict.get()  https://review.openstack.org/7469413:11
openstackgerritA change was merged to openstack/python-heatclient: Update apiclient.base and reuse new functional  https://review.openstack.org/7287713:11
openstackgerritA change was merged to openstack/python-heatclient: Do not use the '+' operation dict_items()  https://review.openstack.org/7471013:12
*** christophk_ has quit IRC13:15
*** alexpilotti has quit IRC13:27
*** fandi has joined #heat13:29
*** mkollaro has quit IRC13:38
*** e0ne has quit IRC14:24
*** blamar has quit IRC14:52
*** lnxnut has quit IRC14:58
*** e0ne has joined #heat15:03
*** lnxnut has joined #heat15:04
*** e0ne has quit IRC15:12
*** akuznetsov has quit IRC15:12
*** fandi has quit IRC15:15
*** akuznetsov has joined #heat15:18
*** e0ne has joined #heat15:22
*** e0ne has quit IRC15:26
*** lnxnut has quit IRC15:27
*** akuznetsov has quit IRC15:32
*** lnxnut has joined #heat15:35
*** alexpilotti has joined #heat15:37
*** lnxnut has quit IRC15:39
*** e0ne has joined #heat15:43
*** jamieh has joined #heat15:43
*** sdake__ has joined #heat15:44
*** sdake__ has quit IRC15:47
*** sdake_ has joined #heat15:48
sdake_hey guys15:48
sdake_anyone know why nosetest would run the same test 5 times when it i s told only once to run it?15:48
*** akuznetsov has joined #heat15:51
*** e0ne has quit IRC15:53
*** mestery_ has quit IRC15:54
*** mestery has joined #heat15:54
*** tomek_adamczewsk has joined #heat15:55
*** blamar has joined #heat15:56
*** aignatov_ is now known as aignatov16:00
*** e0ne has joined #heat16:02
*** fandi has joined #heat16:10
*** e0ne has quit IRC16:21
*** alexpilotti has quit IRC16:22
*** mspreitz has joined #heat16:23
mspreitzIs anybody here able to make Ceilometer work?16:26
mspreitzradix: are you there?16:30
*** spzala has joined #heat16:34
*** lnxnut has joined #heat16:35
*** aignatov2 has joined #heat16:38
*** ruhe- has joined #heat16:39
*** SergeyLukjanov2 has joined #heat16:40
*** ruhe has quit IRC16:40
*** ruhe- is now known as ruhe16:40
*** lnxnut has quit IRC16:40
*** aignatov has quit IRC16:41
*** aignatov2 is now known as aignatov16:41
*** SergeyLukjanov has quit IRC16:41
*** SergeyLukjanov2 is now known as SergeyLukjanov16:41
radixmspreitz: i am out at breakfast... should be back at a computer in an hour or so16:59
*** lnxnut has joined #heat17:00
*** fandi has quit IRC17:14
*** wchrisj has joined #heat17:22
*** wchrisj has quit IRC17:26
*** fandi has joined #heat17:26
*** wchrisj has joined #heat17:28
*** wchrisj has quit IRC17:31
*** killer_prince is now known as lazy_prince17:32
*** e0ne has joined #heat17:32
*** e0ne has quit IRC17:37
*** gokrokve_ has quit IRC17:43
*** gokrokve has joined #heat17:43
therve`mspreitz, Yeah I made it work relatively recently17:48
*** spzala has quit IRC17:49
*** lnxnut has quit IRC17:52
*** lnxnut has joined #heat17:53
sdake_victory test_api_openstack_v1.py is passing all tests17:59
*** jamieh has quit IRC18:00
sdake_down to 24 errors getting closer18:13
*** lnxnut has quit IRC18:20
SpamapSsdake_: is this still trying to get from oslo-incubator rpc to oslo.messaging?18:20
*** lnxnut has joined #heat18:21
*** lnxnut has quit IRC18:21
*** lnxnut has joined #heat18:22
sdake_SpamapS yup18:26
*** lnxnut has quit IRC18:26
sdake_should have sometihng ready for review today18:26
sdake_I finally solved the last hard problem (I think)18:26
sdake_serialization of exceptions18:26
SpamapSsdake_: cool. I gave up on the retry spike.18:26
mspreitztherve`: Is the Resource Usage / stats display in Horizon showing proper data?18:27
SpamapSWhich is.. devastating frankly.18:27
sdake_I am really close with oslo.messging18:27
SpamapSIf I can't figure out how to use abandon/adopt .. we will likely have to rip Heat out18:27
SpamapSI'm still a bit shocked that we're the only people who want updates to not kill stacks.18:28
*** cfriesen_ has joined #heat18:30
sdake_SpamapS I think what went wrong in the icehouse timeframe is that blueprint was set to high18:31
mspreitzSpamapS: what do you mean by only people?18:31
sdake_it sounds like it should have been set to critical18:31
mspreitzSpamapS: in what way to updates kill stacks?18:32
mspreitzs/to/do18:32
SpamapSmspreitz: any error -> dead stack18:32
sdake_zaneb had alot of high prio blueprints on his plate and he cut one that allowed him to work on the others18:32
mspreitzSpamapS: out of what would you rip Heat if you ca not figure out how to use abandon/adopt?18:32
sdake_SpamapS I'll make sure in juno1 we make it a  priority atleast from the rht side to get update in a working state - we need it for tuskar and a hos tof other projects18:33
SpamapSsdake_: well I think I should have looked deeper into the problem. I thought we could resume more reliably, but the devil is in the way updates are implemented18:33
SpamapSmspreitz: TripleO18:33
mspreitzthat would be bad18:33
mspreitzIn what way is the stack dead if there is an error in update?18:33
SpamapSyeah, but the stateful nature is scaring the bejezus out of me18:33
SpamapSone slip up and your state is screwed18:33
SpamapSand the state is poorly recorded18:33
sdake_sounded lik cypher for a minut ethere ;)18:34
SpamapSbasically now that I"m actually trying to _USE_ heat, I am seeing that it is really far from being production ready18:34
sdake_i think far is an overstatement18:34
sdake_It definately has some kinks to be worked out18:34
SpamapSsdake_: a blueprint that requires an entire rewrite of a major function == far in my book.18:34
sdake_I think icehosue is the first version of heat I'd feel comfortable deploying in production18:35
sdake_update works, just not in the way that is useable for you spamaps18:35
SpamapSmspreitz: if you encounter any error while updating a stack, and you cannot rollback, the stack is dead. You cannot update it anymore, and its state in the database is completely inconsistent.18:35
sdake_its not like update falls over18:35
*** cfriesen_ has quit IRC18:35
SpamapSsdake_: it falls over _25% of the time_ in our cloud.18:36
sdake_clearly it could be better18:36
sdake_SpamapS yup I get the scale issue18:36
mspreitzSpamapS: that sounds pretty bad.  Do you understand what has to change to fix this?18:36
SpamapSmspreitz: yes. update must record incremental state so that it can be resumed.18:36
sdake_like a journal18:36
mspreitzyeah, makes sense18:37
sdake_tbh I guess I dont understand what is so hard about making a journal18:37
sdake_but if zane says 2 months18:37
sdake_something could probably be hacked togehter in 1 mo18:37
sdake_but to meet zane's standards 2 mos is right on target18:37
SpamapSsdake_: my current spike is a journal18:37
SpamapSit might be made to work18:37
mspreitzIf I could get some IBM colleagues to help, could this go into Icehouse-3?18:38
SpamapSand then I'll be less pessimistic about the other Heat debt we have to repay.18:38
SpamapSmspreitz: Monday.18:38
mspreitzOK18:38
*** e0ne has joined #heat18:38
sdake_mspreitz need to speak with stevebaker about jamming new stuff into i3 - 4th is the dealdine18:38
mspreitzdeadline for BPs or bug fixes?18:38
SpamapSIf it isn't in a working state by Monday, it will require exceptions.18:39
sdake_I actually added a cat fro mthe rht side to assist spamaps18:39
mspreitzI see18:39
sdake_but the timeline (5 days) just too short18:39
SpamapSmspreitz: this is an invasive enough change I think there is concern that it would de-stabilize other bits.18:39
sdake_i wonder if working mean sreviewed and in master :)18:39
mspreitzI see18:39
*** wchrisj has joined #heat18:39
sdake_oslo.messaging may need an exception i nthis case18:39
SpamapSworking means it has done the thing it should do and has at least basic test coverage18:40
SpamapSand it is in the review queue..18:40
sdake_I dont htink I can get it reviewed by i318:40
sdake_mspreitz daedline for blueprint implementations is march 4th18:40
sdake_bug fixes can come for another mo or so18:40
SpamapSI did try to get that done .. but I hit the wall yesterday because at this point I need the engine scheduler to write out the journal and then in the update case, I need to read that journal to recover the state of the update..18:41
mspreitzI think this could be called a bug fix, but if it's really invasive I understand the concern18:41
SpamapSmspreitz: the spike to use a journal is an attempt at being less invasive.18:42
sdake_its definately a feature18:42
SpamapSthe appropriate architectural change has us letting go of state and just keeping track of the change in user intentions.18:42
sdake_who manages state then?18:42
SpamapSsdake_: talk to zaneb .. the bug it fixes is that when you have a failed update, it is entirely possible when you delete that stack you are not deleting everything.18:43
SpamapSsdake_: nova.. neutron.. etc.18:43
sdake_spamaps that part is a bug fix18:43
sdake_but my understanding was you want  to be able to update stacks after they have failed18:43
sdake_that is a feature18:44
mspreitzSeems to me like a focus on state is the direct approach.  User gives desired state, Heat migrates actual state to match desired state.18:44
SpamapSbasically if I look at the template I have, and I compare it to what is in nova, neutron, cinder, etc, then I can just make what I have expressed happen.18:44
mspreitzSpamapS: yeah, that's what I mean18:44
SpamapSsdake_: you don't think it is a bug that on any hiccup, any problem whatsoever ... your only recourse is rollback (just as scary) or delete the entire stack?18:44
sdake_SpamapS what is your recourse during a create operation?18:45
SpamapSsdake_: same.18:45
sdake_right, so update and create are lifecycle operations18:46
SpamapSsdake_: we could easily resume create, though, because we don't have a previous delta to consider.18:46
sdake_agree, and we probably want to intoroduce that18:46
sdake_but we haven't yet - need more minerals :)18:46
SpamapSsdake_: I'm also just frustrated because I've known about this problem for a year.. and I haven't managed to get it fixed. :-/18:47
sdake_SpamapS just so you are aware, I am getting alot of feedback not just from you but from rht customers that update is a huge model for them18:47
sdake_I think when we originally tackled update it was more of like a lets get it to work18:47
SpamapSright...18:47
SpamapSwe have one internal customer who uses create / delete only...18:47
sdake_the viewpoint on the value of update is changing and resources will flow accordingly18:47
SpamapSeverybody else evaluates update.. has it fail on them.. and then abandons using Heat18:47
SpamapS(everybody else internally I mean)18:48
*** wchrisj has quit IRC18:48
sdake_yup its a problem18:48
sdake_we also need a way to autoscale native instance os::Nova::servers18:48
SpamapSI get why we're here. I just really really need to have a fix.18:48
sdake_right now can only autoscale ec218:48
sdake_clunky18:48
SpamapSsdake_: autoscale.. meh ;)18:48
sdake_well I've commited to you that we are going to make that a priority and address in early i18:49
sdake_atleast if I can convince the cats that work on it to :)18:49
sdake_I've explained I've got alot of other pressue to make it work better then it does as well18:49
sdake_what I can't do is figure out how to solve it in icehouse because it wasn'tclear to me at the time it was a problem18:49
SpamapSsdake_: that is really too late. I need it addressed immediately.. so we will likely have to run a branch of heat until i releases.18:50
mspreitzOS::Heat::AutoScalingGroup can scale any resource18:50
sdake_I think next time if we hve any of these critical bugs, we shoudl mark them in critical in launchpad18:50
SpamapSsdake_: well it wasn't clear to me exactly how critical it was until we started using Heat in a real system with real issues.18:51
mspreitzstack update definitely figures in IBM's plans too18:51
sdake_right which is the same thing that our customers are hitting with it18:51
SpamapSI figured we would just kick it in the head or something if we ever hit these corner cases.18:51
sdake_thing is the info is just hitting  this month from multiple sources18:51
SpamapSAt this point I need to test abandon/--edit abandon file to reflect reality--/adopt18:52
sdake_SpamapS stevebaker is responsible for heat, I just try to help coordinate people from the rht side18:52
SpamapSsdake_: this is nobody's fault. I'm just venting.18:52
sdake_cool18:52
sdake_I just dont want you to tihnk we let you down :)18:52
SpamapSI look really bad right now. It is my own doing.18:52
sdake_you cant fix what you dont know until you know it18:52
SpamapSBecause I _also_ have to land graceful updates so we can live migrate instances while doing an update.18:53
sdake_how do you live migrate with heat?18:53
SpamapSyou don't18:53
SpamapSyou do it in instance18:53
sdake_mspreitz is there an example hot template - tha would be really hot :)18:53
mspreitzsdake_: example that does what?  There are trivial examples in heat-templates already.18:54
sdake_lsat itme i used autoscaling group it wouldn't scale an OS::Nova::Server instance18:55
sdake_complains about image ids and such18:56
sdake_is that fixed in icehouse?18:56
sdake_iirc the autoscaling code was looking for an ec2 resources not an OS resource18:56
*** wchrisj has joined #heat18:56
sdake_mspreitz I got people bitching about that nonstop, if you havesome ibm cats to fix it that would rock :)18:57
SpamapSI believe there's a review up to make scaling any resource work18:57
mspreitzYes, I am testing it now18:58
mspreitzLet me review my test cases...18:58
sdake_basically if you take the autoscaling sample for f17and change the resource type of the scaling group to OS::Nova::Server, it no worky18:59
sdake_of the instance of the scaling group18:59
sdake_I have not tried in a couple months18:59
sdake_maybe something has landed18:59
SpamapSsdake_: no I think it is in review now19:00
SpamapSnot landed yet19:00
mspreitzhttp://paste.openstack.org/show/71090/19:00
mspreitzhttps://review.openstack.org/#/c/74229/   --- it is in review..  I am testing.  That template I pasted works with this patch19:00
mspreitzIf/when I can wrangle my Ceilometer into behaving I can finish testing the "auto" part19:02
mspreitzI now have a Ceilo that produces plausible samples, but at odd times.  Have not tried aggregation yet.  And the display in Horizon is messed up.19:03
mspreitzGotta take care of some other things now, but hope to get back to it soon.19:03
*** wchrisj has quit IRC19:06
sdake_SpamapS any ide ahow to debug this  test cawse or what this error means: http://paste.fedoraproject.org/81561/0072013919:07
radixmspreitz: heya, I'm back19:09
mspreitzradix: thanks.  I'm trying to get a decent Ceilometer so I can finish testing OS::Heat::AutoScalingGroup.  But right now I'm doing other things, hope to get back to it later today.19:10
radixokie doke19:10
mspreitzWhat I have right now is decent data but not at regular times.  Is this what I should expect?19:11
radixmspreitz: honestly I don't know hardly anything about ceilometer19:11
sdake_radix time to learn thats what triggers autoscaling :)19:17
radixsdake_: hitting URLs triggers autoscaling19:18
mspreitzgood point19:18
sdake_radix what converts the ceilometer alarms to hit the urls?19:20
sdake_radix you mean in the new autoscaling model, not the existing19:20
radixsdake_: no, even the existing one. anything can hit a signal URL19:20
sdake_radix shows how much I know19:21
sdake_just for your edification, pick a random file out of heat, and git log | grep Author | sor t | uniq -d | wc -l19:21
sdake_everything has been rewritten like 30 time s:)19:22
*** tspatzier has joined #heat19:22
*** lnxnut has joined #heat19:23
mspreitzWoa, tspatzier, you need to know the bad news about stack update19:23
mspreitzI'll send a copy of recent IRC discussion19:24
sdake_i think reqally its a matter of scale19:25
sdake_stack update works pretty well up to a limited scale19:25
sdake_people are starting to push its limits on scale and running into problems tha tneed addressing19:25
sdake_its not that the idate of update is fundamentally broken, it just needs more minerals :)19:25
mspreitzsent19:26
SpamapSsdake_: it isn't really about scale..19:26
SpamapSsdake_: it is about the cost of deleting19:26
sdake_good point19:26
*** tspatzier has quit IRC19:27
*** lnxnut has quit IRC19:27
*** lnxnut has joined #heat19:35
therve`mspreitz, I didn't look into Horizon. But I had cpu alarms working19:37
*** therve` is now known as therve19:37
mspreitztherve: were you getting CPU data at regular intervals?19:40
*** lnxnut has quit IRC19:40
thervemspreitz, Yes. You may need to change the internal in the pipeline, though19:42
therveBy default it's 10 minutes or something19:42
*** daneyon has joined #heat19:44
mspreitztherve: interesting.  My CPU data is indeed coming evey 10 minutes, while other data (e.g. disk.root.size) that Horizon says are also from nova come at odd times19:47
thervemspreitz, http://openstack.redhat.com/CeilometerQuickStart has some good content19:50
radixfwiw, cpu time, load etc are generally pretty bad things for autoscaling. more often things like loadbalancer load, request time, or internal message queus are the best thing to base autoscaling on19:52
radixqueue lengths, rather19:52
therveradix, They are pretty great for demo :)19:53
radixheh, yes19:53
therveAlso maybe using cpu for scaling down is not totally bad19:55
mspreitzI agree.  But I am also interested in server metrics.19:57
SpamapSresponse time19:58
SpamapSGoogle has published some papers on this.19:59
SpamapSBasically nothing else matters. If you can spend money to bring down response time, do it.19:59
SpamapSand most host based metrics are just bad proxies for response time19:59
openstackgerritThomas Herve proposed a change to openstack/heat: Add a validation step to parameters schema  https://review.openstack.org/6965520:00
*** topol has joined #heat20:04
therveWell, except that you can use host based metrics to predict that your response time is going to increase20:04
therveWhereas if you react on response time becoming bad it's already a bit too late20:04
*** topol_ has joined #heat20:06
SpamapStherve: that is a proxy20:07
SpamapStherve: too late is too late with CPU as well. Your response time will have an ideal number, and then at max utilization, you'll be just a bit above that. So you should scale up when your response times start to rise, and down when they are ideal.20:08
*** topol has quit IRC20:09
*** topol_ is now known as topol20:09
SpamapStherve: so if your app, without any contention, responds in 250ms, you should scale up at a percentage of that response time increase.. so 20% increase would be 300ms .. thats a good time to scale up... if it drops down to 250ms you are at a point where you _can_ scale down.20:10
SpamapStherve: and then the magic thing to do is to find out whether your app runs well in smaller and smaller servers.. and then you get more granular scaling and thus in theory cost savings. :)20:11
SpamapSThere's also the response time of non-scalable resources to consider... that does complicate things.20:12
*** topol has quit IRC20:20
* SpamapS decides to try another spike.. because who needs Saturdays anyway?20:20
* SpamapS closes irc, email, and the door to office..20:20
mspreitzradix: what would I write in a template to extract the URL to hit to trigger a scaling action?20:21
mspreitztherve: thanks for the pointer, I will study it when I get a chance20:21
radixmspreitz: you need the "AlarmUrl" attribute of the AWS::AutoScaling::ScalingPolicy resource20:24
*** lnxnut has joined #heat20:35
*** daneyon has quit IRC20:37
*** rwsu has quit IRC20:40
*** lnxnut has quit IRC20:40
*** daveed has quit IRC21:13
*** daveed has joined #heat21:14
*** alexheneveld has joined #heat21:24
*** mkollaro has joined #heat21:30
*** wchrisj has joined #heat21:34
*** lnxnut has joined #heat21:35
*** kfox1111 has joined #heat21:39
*** lnxnut has quit IRC21:40
*** cody-somerville has joined #heat21:48
*** cody-somerville has quit IRC21:48
*** cody-somerville has joined #heat21:48
*** wchrisj has quit IRC21:54
*** e0ne has quit IRC22:24
*** e0ne has joined #heat22:25
*** lnxnut has joined #heat22:35
*** lnxnut has quit IRC22:40
*** cody-somerville has quit IRC22:45
openstackgerritA change was merged to openstack/heat: Change access to ceilometerclient  https://review.openstack.org/7232122:45
*** alexpilotti has joined #heat22:55
*** fandi has quit IRC22:57
*** mspreitz has quit IRC23:08
*** yogesh has joined #heat23:21
*** lnxnut has joined #heat23:35
*** che-arne has quit IRC23:36
*** lnxnut has quit IRC23:40
*** che-arne has joined #heat23:49
*** sballe has joined #heat23:58
openstackgerritClint "SpamapS" Byrum proposed a change to openstack/heat: WIP: Record resource actions in a journal  https://review.openstack.org/7737423:59
SpamapSalright, there is my spike23:59
SpamapSneed to take a break for a while and try to do "Saturday"23:59
*** yogesh has quit IRC23:59

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