Friday, 2014-01-03

*** rushiagr has joined #heat00:04
*** alexheneveld has joined #heat00:05
*** rongze has joined #heat00:14
*** rushiagr has quit IRC00:17
*** rongze has quit IRC00:18
*** Linz_ has quit IRC00:25
*** jergerber has quit IRC00:29
*** gokrokve has quit IRC00:30
*** gokrokve has joined #heat00:31
*** Linz has joined #heat00:43
openstackgerritDennyZhang proposed a change to openstack/heat: Fix get_column_num problem in heat-keystone-setup  https://review.openstack.org/6190400:52
*** Linz has quit IRC00:59
*** Linz_ has joined #heat00:59
*** giulivo has quit IRC01:00
*** jay-lau-513 has quit IRC01:07
*** rongze has joined #heat01:15
*** rongze has quit IRC01:20
*** alexheneveld has quit IRC01:37
*** rongze has joined #heat01:38
*** alexheneveld has joined #heat01:40
*** yogesh has quit IRC01:50
openstackgerritA change was merged to openstack/python-heatclient: Fixed typo error OS_IMAGE_URL  https://review.openstack.org/6366102:00
openstackgerritA change was merged to openstack/python-heatclient: Wrapped some long lines  https://review.openstack.org/6366202:00
*** nati_ueno has joined #heat02:03
*** liang has joined #heat02:17
*** rongze has quit IRC02:18
*** rongze has joined #heat02:19
*** rongze has quit IRC02:19
*** rongze has joined #heat02:20
openstackgerrithuangtianhua proposed a change to openstack/heat: Fixes typo of explanation on exception.py  https://review.openstack.org/6476502:23
*** erkules has quit IRC02:23
*** john-n-seattle has quit IRC02:24
*** john-n-seattle has joined #heat02:26
*** rongze has quit IRC02:32
*** rongze has joined #heat02:33
*** erkules has joined #heat02:39
*** rpothier_ has joined #heat02:43
*** rpothier_ is now known as rpothier02:45
*** rpothier__ has quit IRC02:46
*** liang has quit IRC03:06
*** sabeen has quit IRC03:07
openstackgerritDennyZhang proposed a change to openstack/heat: Improve tools/uninstall-heat  https://review.openstack.org/6469403:07
*** Daviey has quit IRC03:15
sdakestevebaker are you out of the office or in the office today?03:17
*** liang has joined #heat03:19
*** Daviey has joined #heat03:26
openstackgerrithuangtianhua proposed a change to openstack/heat: Fixes missing "_" on msg_fmt  https://review.openstack.org/6477003:28
*** alexheneveld has quit IRC03:33
*** alexheneveld has joined #heat03:34
*** liang has quit IRC03:35
*** spzala has quit IRC03:49
*** harlowja is now known as harlowja_away03:51
*** liang has joined #heat03:52
*** nkhare has joined #heat03:57
*** nkhare has quit IRC03:58
*** nkhare has joined #heat03:59
*** rongze has quit IRC04:04
*** gokrokve has quit IRC04:40
*** gokrokve has joined #heat04:41
*** gokrokve has quit IRC04:45
*** blamar has quit IRC05:00
*** Linz_ has quit IRC05:04
*** Linz has joined #heat05:05
*** john-n-seattle has quit IRC05:08
*** john-n-seattle has joined #heat05:10
*** alexheneveld has quit IRC05:10
*** uvirtbot has quit IRC05:20
*** rpothier_ has joined #heat05:21
*** rpothier has quit IRC05:25
*** gokrokve has joined #heat05:31
openstackgerritA change was merged to openstack/heat: update rackspace clients.py  https://review.openstack.org/6248305:32
openstackgerritA change was merged to openstack/heat: Add new Ceilometer combination alarm resource  https://review.openstack.org/6267205:33
*** gokrokve has quit IRC05:35
*** andersonvom has quit IRC05:35
*** chandankumar has joined #heat05:37
openstackgerritJun Jie Nan proposed a change to openstack/heat: Removed unused variables  https://review.openstack.org/6282705:40
*** yogesh has joined #heat05:41
*** chandankumar has quit IRC05:44
*** sgordon has quit IRC05:45
*** chandankumar has joined #heat05:45
*** chandankumar has quit IRC05:50
*** chandankumar has joined #heat05:52
*** rushiagr has joined #heat05:53
*** gokrokve has joined #heat05:54
*** gokrokve has quit IRC06:01
*** nanjj has joined #heat06:01
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/6450406:05
*** jpeeler has quit IRC06:11
*** chandankumar is now known as ciypro06:36
*** Linz has quit IRC06:49
*** gokrokve has joined #heat07:01
*** gokrokve has quit IRC07:06
*** rongze has joined #heat07:12
openstackgerrithuangtianhua proposed a change to openstack/heat: I18N support for InvalidContentType exception  https://review.openstack.org/6477007:17
*** gokrokve has joined #heat07:31
*** gokrokve has quit IRC07:36
openstackgerritA change was merged to openstack/heat: Sort the output of config/generator.py by group name  https://review.openstack.org/6450007:45
*** ifarkas has joined #heat07:50
*** rushiagr has quit IRC07:56
*** jprovazn has joined #heat08:02
shardymorning08:04
chmouelhello08:06
Alienyyg__shardy: hi08:06
asalkeld_hi08:10
Alienyyg__Hi guys, I  meet an authenitcation  error while doing autoscaing with aws resources: the cloudwatch seems ok ,but an authentication errors appear in heat-api, and after I stress the instance, no more instance appears, the heat-engine.log :  http://paste.openstack.org/show/59830/08:14
Alienyyg__ the heat-api.log :  http://paste.openstack.org/show/59832/08:14
shardy"AWS authentication failure"08:16
shardyThere is something wrong with the signed URL you're using08:16
shardyAre you using cfn-signal in-instance, ceilometer signals, or a curl call?08:17
shardys/cfn-signal/cfn-push-stats08:18
Alienyyg__shardy: cfn-push-stats08:18
shardyAlienyyg__: And you've created the user/accesskey as here?08:19
shardyhttps://github.com/openstack/heat-templates/blob/master/cfn/F17/AutoScalingMultiAZSample.template#L19908:19
Alienyyg__shardy: yes08:20
Alienyyg__shardy: I followed this example08:20
*** asalkeld_ has quit IRC08:22
*** asalkeld_ has joined #heat08:22
Alienyyg__shardy: but when I create the stack ,the first webserver is correct, then the second failed because of the webserverkey? what is the diffirence between the first one and the second one?08:24
shardyAlienyyg__: This seems to be another manifestation of the issue you reported under rhbz #104731608:25
shardyIt's not failing to validate the signature, keystone is just denying the request08:25
Alienyyg__sharyd: in that bug,I use neutron network08:27
Alienyyg__shardy: I use nova network herer08:27
shardyAlienyyg__: I don't think that's relevant, in both cases the ec2tokens validation is failing with denied08:27
Alienyyg__shardy:maybe some config error in keystone?08:29
*** bgorski has joined #heat08:30
*** gokrokve has joined #heat08:31
shardyAlienyyg__: Possibly, is there anything in the keystone log indicating errors?08:31
Alienyyg__shardy: I just turn it to debug level, and will take me some time to get the log information08:32
therveGood morning!08:33
Alienyyg__hello,08:33
*** Alienyyg__ has quit IRC08:34
shardyHi therve08:34
*** gokrokve has quit IRC08:35
*** alienyyg has joined #heat08:37
*** lsmola_ has joined #heat08:43
*** nkhare has quit IRC08:45
*** nkhare has joined #heat08:50
*** yogesh has quit IRC08:51
*** yogesh has joined #heat08:52
openstackgerritJun Jie Nan proposed a change to openstack/heat: Replace try...except...pass block with assertRaises  https://review.openstack.org/6479708:53
*** alienyy has joined #heat08:54
*** alienyy has quit IRC08:56
*** yogesh has quit IRC08:56
*** nkhare has quit IRC08:56
*** nkhare has joined #heat08:56
*** alienyyg1 has joined #heat08:57
*** alienyyg1 has left #heat08:58
*** alienyyg1 has joined #heat08:58
*** alienyyg has quit IRC09:01
*** jistr has joined #heat09:02
alienyyg1shardy: the keystone.log http://paste.openstack.org/show/59842/09:05
*** alienyyg1 has left #heat09:05
*** alienyyg1 has joined #heat09:05
therveI have a problem creating a AWS::ElasticLoadBalancing::LoadBalancer resource when I have several networks09:05
therveNova complains that I need to specify the network ID, but I don't seem to have the possibility?09:06
alienyyg1therve: It seem impossible to assign a network ID to loadbalancer.09:06
therveIt sounds problematic :/09:06
shardytherve: Can you use the neutron loadbalaner resource instead?09:07
therveshardy, I don't have it deployed in this environment yet...09:08
therveBut I have have to09:08
therveI may have to09:09
shardyObviously we're constrained by the AWS properties for the cfn compatible resources09:09
shardyI'd like to see all of them replaced with provider templates over time09:09
*** rongze has quit IRC09:10
*** rushiagr has joined #heat09:14
*** derekh has joined #heat09:18
*** rushiagr has quit IRC09:22
*** rushiagr has joined #heat09:23
*** rushiagr2 has joined #heat09:28
openstackgerritAngus Salkeld proposed a change to openstack/heat: Add migration method to test sqldump files  https://review.openstack.org/6325109:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Test db migration 31  https://review.openstack.org/6325309:29
*** rushiagr has quit IRC09:31
asalkeld_anyone keen to review: https://review.openstack.org/#/c/58723/09:31
*** gokrokve has joined #heat09:31
*** gokrokve has quit IRC09:35
shardyasalkeld_: looking09:39
asalkeld_ta09:39
asalkeld_shardy, to me a question is whether to hash the plugin code or use the new version09:40
shardyasalkeld_: One interesting side effect of this is it will make testing handle_update, or retrying failed updates (in development where you're changing the code between attempts) kinda interesting ;)09:42
shardyMaybe should be a config option to disable it09:42
*** sdake has quit IRC09:43
asalkeld_well shardy we could use the version for that09:43
asalkeld_that's why the question of hash/version09:43
asalkeld_but it's progress, don't be nervous ;)09:44
shardyYeah, I'm not that keen on the hash tbh - I'm thinking it will also hit users after a heat upgrade, the next update blows away nearly every resource in their stacks, cos we've changed stuff ;)09:44
asalkeld_not yaco (yet another config option)09:44
asalkeld_well the update should be a no-op09:45
asalkeld_if values have not actually changed09:46
*** sdake has joined #heat09:46
asalkeld_only if the plugin sucks09:46
shardyEven if the signature has changed?09:46
asalkeld_and doesn't have a update09:46
* shardy looks at the patch more closely..09:46
asalkeld_sure it will run update09:46
asalkeld_shardy, there is a major and minor "version"09:47
*** liang has quit IRC09:47
asalkeld_so impl. signature == replace09:47
asalkeld_sorry, major version change == replace09:48
asalkeld_for a plugin the class name has to change before a replace happens09:49
shardyasalkeld_: I'm not sure that's what users will want - they want to update the definition of their stack, and if we then replace stuff they haven't changed, it could get really confusing09:49
asalkeld_but if the code changes then it is just an update09:49
shardyOk, so if the code changes, we don't replace the resource?09:50
asalkeld_shardy, correct09:50
shardyMaybe a wiki page with a few worked examples would help, to illustrate the use-cases09:50
asalkeld_the main use case is for template resource09:51
asalkeld_the plugin stuff shouldn't change much09:51
asalkeld_the use case is in the commit message09:51
shardyYeah I just don't get how that relates to hashing the python plugins - seems like we should only be comparing the templates of the before/after provider templates09:52
shardymaybe I just need more coffee :)09:52
asalkeld_I made it generic09:52
asalkeld_(on your request)09:53
*** giulivo has joined #heat09:53
asalkeld_lol shardy read your own review a month ago09:53
shardyHaha, yeah, it's been a while, sorry ;)09:54
asalkeld_"I have a question re the scope of this change - I'd like to understand why we can't have a hash signature for all resources, as provided we can figure out the right stuff to hash, this seems more widely useful than just for template_resources?"09:54
asalkeld_I think it is ok as-is (my only qu. is hash/static version)09:55
shardySo my original comment was about hashing the template snippet, not the plugin implementation09:56
* asalkeld_ thinks it's improved09:58
shardyif prev_class != cur_class09:59
shardyWon't that replace the resource every time the signature changes?09:59
asalkeld_self.__class__.__name__10:00
asalkeld_no, it's just the name10:00
asalkeld_it returns (class name, hash)10:00
asalkeld_for a template resource it returns (schema hash, template hash)10:01
shardyAha.  Maybe some variable renaming could make that a bit clearer10:01
asalkeld_maybe10:02
*** rongze has joined #heat10:04
*** bvandenh has joined #heat10:14
shardyasalkeld_: If we rename plugins due to migrating to provider templates (like OS::Heat::CWLiteAlarm) will they all get replaced on the next update?10:22
asalkeld_yip, and you would want that10:22
shardywell you'd only really want it if the new resource implementation was a provider template, not if we'd just renamed the old plugin?10:23
asalkeld_difficult knowing that (besides hashing the code)10:25
asalkeld_but shardy that is not a common thing10:25
shardyYeah, just trying to figure out the path-of-least-surprises for users, I guess we can document it10:25
asalkeld_and also knowing when we do/don't what a replace10:25
shardyasalkeld_: well it could be if we decide to reimplement all the CFN compatible resources as provider templates10:26
asalkeld_I think that patch improves what we haev10:26
shardybut I guess we'd just have to document it as part of the release notes10:26
shardyasalkeld_: Sure, it definitely gives us more information at update time10:26
shardyasalkeld_: Couple of minor comments but OK otherwise10:28
asalkeld_cool, thx shardy10:28
asalkeld_I know it looks scary10:29
asalkeld_but I think it's quite neat10:29
shardyYeah, I just wanted to discuss it, so we can be clear what the user impact is, I like the general idea10:29
*** nanjj has quit IRC10:30
*** gokrokve has joined #heat10:31
*** gokrokve has quit IRC10:36
alienyyg1shardy: did you get something from that log information?10:38
shardyalienyyg1: "Authorization failed. EC2 signature not supplied."10:40
shardyalienyyg1: Can you please confirm the version of python-boto and heat-cfntools in the instance?10:41
shardyalienyyg1: and the version of python-keystoneclient on the box running keystone10:41
alienyyg1boto (2.5.2)10:42
alienyyg1heat-cfntools (1.2.3)10:42
alienyyg1python-keystoneclient-0.4.1-3.el6.noarch10:43
alienyyg1shardy: It is the heat-engine tell keystone that a new isntance need to be lanuched, so why the boto adn cfntools in the instance?10:49
*** alexheneveld has joined #heat10:50
shardyhttps://github.com/hardys/presentations/raw/master/owf_heat_autoscaling_ceilometer_04102013.pdf10:52
shardyalienyyg1: see slide 510:52
shardyYou have errors from the waitcondition notification in api-cfn.log, you also need to check for similar errors in api-cloudwatch.log10:53
shardybut the issue appears to be the requets don't contain the correct signature10:53
shardywhich is created either by heat-engine (pre-signed URL, for wait conditions)10:53
shardyor by boto (for stats sent via cfn-push-stats)10:54
*** gokrokve_ has joined #heat11:33
*** gokrokve_ has quit IRC11:37
*** sgordon has joined #heat11:45
*** bgorski has quit IRC12:04
*** bgorski has joined #heat12:08
*** sgordon has quit IRC12:09
*** john-n-seattle has quit IRC12:10
*** nkhare has quit IRC12:11
*** john-n-seattle has joined #heat12:11
*** jamieh has joined #heat12:23
*** gokrokve has joined #heat12:31
*** gokrokve has quit IRC12:35
alienyyg1shardy: It maybe  something wrong with boto,because there is no /etc/boto.cfg file (or ~/.boto) is found, and it(  https://wiki.openstack.org/wiki/Heat/BotoCli) says I can get the AWS key via keystone ec2-credentials-list, but it returns nothing, is this because I create the AWS key via heat ??12:46
openstackgerritA change was merged to openstack/heat: "mountpoint" should not be required parameter  https://review.openstack.org/6463612:46
*** rushiagr2 is now known as rushiagr_away12:47
*** bgorski has quit IRC12:55
*** bgorski has joined #heat13:04
*** rushiagr_away is now known as rushiagr213:08
*** rongze has quit IRC13:10
shardyalienyyg1: Yes heat creates the credentials for you, owned by a new keystone user (do keystone user-list to see them)13:25
*** bgorski has quit IRC13:25
shardyalienyyg1: we then deploy a heat boto config to /var/lib/heat-cfntools/cfn-boto-cfg13:27
openstackgerritSimon Pasquier proposed a change to openstack/heat-cfntools: cfn-signal provides a unique default id  https://review.openstack.org/6482613:27
shardyAnd the credentials should be set in the template in /etc/cfn/cfn-credentials13:28
*** bgorski has joined #heat13:31
openstackgerritA change was merged to openstack/heat: EventService exception handling to not log errors  https://review.openstack.org/6244613:36
*** jpeeler has joined #heat13:40
*** jpeeler has joined #heat13:40
*** rongze has joined #heat13:41
*** john-n-seattle has quit IRC13:43
*** radez_g0n3 is now known as radez13:44
*** ciypro has quit IRC13:51
*** john-n-seattle has joined #heat13:52
*** rongze has quit IRC13:52
*** jpeeler has quit IRC14:00
*** jpeeler has joined #heat14:01
*** liang has joined #heat14:01
*** sgordon has joined #heat14:04
*** andersonvom has joined #heat14:13
*** jcru has joined #heat14:18
*** sabeen has joined #heat14:20
*** vijendar has joined #heat14:29
*** gokrokve has joined #heat14:31
openstackgerritSimon Pasquier proposed a change to openstack/heat-templates: Fix MultiNode_DevStack template  https://review.openstack.org/6483314:35
*** gokrokve has quit IRC14:36
openstackgerritVijendar Komalla proposed a change to openstack/heat: Add _() to rackspace resource strings  https://review.openstack.org/6292214:40
*** rongze has joined #heat14:45
*** liang has quit IRC14:47
*** rongze has quit IRC14:50
*** rongze has joined #heat14:56
*** jasond` has quit IRC14:56
*** jasond` has joined #heat14:57
*** chmouel has quit IRC14:59
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Remove X-Auth-Url header from authtoken middleware  https://review.openstack.org/6099115:03
sdakemorning15:04
andersonvommorning!15:04
*** radez is now known as radez_g0n315:09
*** arbylee has joined #heat15:10
*** gokrokve has joined #heat15:14
*** rushiagr2 has quit IRC15:15
*** jamieh has quit IRC15:18
*** alienyyg_ has joined #heat15:19
*** alienyyg_ has left #heat15:19
*** russellb is now known as rustlebee15:23
*** sjmc has joined #heat15:26
*** blamar has joined #heat15:29
*** dims has quit IRC15:30
*** dims has joined #heat15:33
*** radez_g0n3 is now known as radez15:33
*** dims is now known as dimsum15:34
*** spzala has joined #heat15:38
*** sjmc has quit IRC15:40
*** sjmc has joined #heat15:40
*** pafuent has joined #heat15:51
*** sabeen has quit IRC15:53
*** sabeen has joined #heat15:53
*** chmouel has joined #heat16:00
*** pasquier-s has quit IRC16:00
*** alienyyg has joined #heat16:04
*** ifarkas has quit IRC16:05
*** gokrokve has quit IRC16:07
openstackgerritRichard Lee proposed a change to openstack/heat: Refactor Instance#_check_active  https://review.openstack.org/6247816:07
*** jprovazn is now known as jprovazn_afk16:07
*** gokrokve has joined #heat16:08
openstackgerritDennyZhang proposed a change to openstack/heat: Improve tools/uninstall-heat  https://review.openstack.org/6469416:09
*** gokrokve has quit IRC16:12
*** alienyyg has quit IRC16:18
*** alexheneveld has quit IRC16:19
*** alienyyg has joined #heat16:34
*** alienyyg has quit IRC16:37
*** bvandenh has quit IRC16:40
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Check resources are in expected states  https://review.openstack.org/5864116:46
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add way to group exceptions in DependencyTaskGroup  https://review.openstack.org/6247916:46
*** alienyyg has joined #heat16:52
pafuentHi everyone. Can somebody take a look at these patches?17:01
pafuenthttps://review.openstack.org/#/c/60607/17:01
pafuenthttps://review.openstack.org/#/c/62752/17:01
shardypafuent: will do17:03
pafuentshardy: Thanks17:03
*** radez is now known as radez_g0n317:04
jasond`if someone can look at https://review.openstack.org/#/c/63002/ i'd appreciate it17:04
*** alienyyg has quit IRC17:04
shardyjasond`: Sorry I had a quick look yesterday after you asked, I'll try to take a closer look later17:05
jasond`shardy: thanks17:05
jasond`one thing i don't fully understand is when the context switching happens in the service.Service greenthreads17:06
shardyNobody does because it's eventlet17:07
jasond`uh oh :)17:07
shardy;)17:08
*** bnemec is now known as beekneemech17:09
zaneblol17:11
*** alienyyg has joined #heat17:16
*** rcleere has joined #heat17:16
*** Linz has joined #heat17:20
*** alexheneveld has joined #heat17:24
*** Linz has quit IRC17:26
*** Linz has joined #heat17:27
*** derekh has quit IRC17:29
*** harlowja_away is now known as harlowja17:38
*** ruhe has joined #heat17:40
*** pafuent has left #heat17:51
*** jistr has quit IRC17:55
*** ruhe is now known as _ruhe17:57
*** _ruhe is now known as ruhe18:13
*** arbylee has quit IRC18:17
*** pafuent has joined #heat18:19
*** rushiagr has joined #heat18:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Make LoadBalancer nested stack template configurable  https://review.openstack.org/6487418:24
openstackgerritSteven Hardy proposed a change to openstack/heat: Make LoadBalancer nested stack template configurable  https://review.openstack.org/6487418:26
*** rwsu has quit IRC18:28
*** ruhe is now known as _ruhe18:28
*** _ruhe is now known as ruhe18:33
*** akuznetsov has joined #heat18:41
openstackgerritJason Dunsmore proposed a change to openstack/heat: Document Heat terms in glossary.rst  https://review.openstack.org/6431418:44
*** yogesh has joined #heat18:45
*** arbylee has joined #heat18:47
*** arbylee has quit IRC18:50
*** arbylee has joined #heat18:51
*** gokrokve has joined #heat18:54
*** bgorski has quit IRC18:56
*** gokrokve has quit IRC18:59
*** rushiagr has quit IRC19:05
*** rongze has quit IRC19:15
*** andrew_plunk has joined #heat19:15
*** rongze has joined #heat19:16
*** rongze has quit IRC19:20
*** giulivo has quit IRC19:24
*** tomek_adamczewsk has joined #heat19:28
*** gokrokve has joined #heat19:34
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add documentation for multi-engine  https://review.openstack.org/6396319:38
*** spzala has quit IRC19:39
*** rwsu has joined #heat19:41
*** tomek_adamczewsk has quit IRC19:45
*** pafuent has quit IRC19:48
*** pafuent has joined #heat19:55
*** sabeen has quit IRC20:02
*** spzala has joined #heat20:15
*** rongze has joined #heat20:16
*** radez_g0n3 is now known as radez20:20
openstackgerritZane Bitter proposed a change to openstack/heat: Fix schema format in template generation unit tests  https://review.openstack.org/6489920:22
openstackgerritZane Bitter proposed a change to openstack/heat: Use the new Schema class for template generation  https://review.openstack.org/6490020:22
openstackgerritZane Bitter proposed a change to openstack/heat: Correct use of Fn::Split in generated provider templates  https://review.openstack.org/6490120:22
openstackgerritZane Bitter proposed a change to openstack/heat: Generate provider templates with Boolean params correctly  https://review.openstack.org/6490220:22
openstackgerritZane Bitter proposed a change to openstack/heat: Include a format version in generated templates  https://review.openstack.org/6490320:22
*** rongze has quit IRC20:23
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Check resources are in expected states  https://review.openstack.org/5864120:35
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add way to group exceptions in DependencyTaskGroup  https://review.openstack.org/6247920:35
*** radix_ has joined #heat20:39
*** sabeen has joined #heat20:47
openstackgerritZane Bitter proposed a change to openstack/heat: Convert Server to new Schema format  https://review.openstack.org/6178620:48
*** sabeen has quit IRC20:50
*** sabeen has joined #heat20:50
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Unscoped List Stacks  https://review.openstack.org/6304120:53
openstackgerritZane Bitter proposed a change to openstack/heat: Convert Server to new Schema format  https://review.openstack.org/6178620:54
*** jprovazn_afk has quit IRC21:02
*** pafuent has left #heat21:06
*** rongze has joined #heat21:19
*** john-n-seattle2 has quit IRC21:20
*** rongze has quit IRC21:23
pscheieIf I want to have multiple instances of a resource (a VM), is that just a matter of having a Count parameter in the Properties for the resource?21:42
zanebpscheie: no21:42
zanebpscheie: for VMs, you can use a ScalingGroup resource to accomplish what you want21:43
*** giulivo has joined #heat21:44
pscheiezaneb, is that the same thing as autoscaling?21:44
*** lsmola_ has quit IRC21:55
yogeshhi..21:57
yogeshis there a way to add a lag/wait within the template so that the resource creation is sparsed....i am facing a nova over rate issue and thinking of this as one of the solutions...21:58
yogesh:zaneb21:59
*** nati_ueno has quit IRC22:05
*** nati_ueno has joined #heat22:08
*** SergeyLukjanov has joined #heat22:10
*** sgordon has quit IRC22:12
*** arbylee has quit IRC22:12
*** mahipal has joined #heat22:16
*** rongze has joined #heat22:20
*** jergerber has joined #heat22:20
*** nati_ueno has quit IRC22:22
*** rongze has quit IRC22:25
zanebpscheie: it's autoscaling without the auto part22:29
zanebyogesh: I can't actually think of a way to do that :(22:30
yogeshzaneb: i was reading about the waitcondition22:31
jasond`yogesh: you could do explicit dependencies so they all create sequentially22:31
zanebyeah, but I don't think that's what you want22:31
yogeshneed to explore more, was curious about more ways than waitcondition or dependson22:31
zanebyeah, I was about to suggest what jasond` said22:32
zanebso make one server depend on another22:32
yogeshit is not about servers...22:32
zanebthen you won't hit the nova api again until after the first is built22:32
yogeshi have to add multiple security rules...22:32
yogeshand all of them are within the same security group...22:32
yogeshwhich makes my nova over rate ruptured...22:33
zanebugh22:33
yogeshone of the ways is definitely to have multiple security groups...and distribute rules amongst them...22:33
zanebwaitconditions won't help you, because when they time out they cause your whole stack to fail22:34
yogeshwith 'dependson'22:34
yogeshbut didn't find it too elegant22:34
*** jergerber has quit IRC22:34
zanebyogesh: that sounds like a good idea under the circumstances22:34
yogeshyeah, a good hack... :-)22:34
jasond`i was thinking about putting in a patch for the way polling happens during resource creation22:35
zanebwill just adding dependencies between the rules (even within one security group) not help? I suspect not, but worth a try22:35
yogeshit won't actually22:35
zanebok22:35
jasond`to make it non-linear, so the longer it takes, the longer the poll interval will be22:35
yogeshcoz the rate limit will still exceeed until and unless there is an explicit wait22:36
jasond`zaneb: does that sound like a bug report or a BP?22:36
zanebjasond`: ah, my least favourite question ;) Yes. Yes it does.22:37
jasond`depends on how close we are to freeze, right?22:37
zaneblol, exactly22:38
jasond`;)22:38
yogesh:-)22:38
zanebI guess that makes it a bp then ;)22:39
lifelessjasond`: I'd much rather you fix the resources you're creating to callback on completion / failure, so we don't need to poll at all22:41
*** alexheneveld has quit IRC22:43
jasond`lifeless: not sure i understand.  we're polling (nova, for example) to see when the resource creation is complete22:44
jasond`is there a way to tell nova to tell us when it's done?22:44
*** gokrokve has quit IRC22:45
*** gokrokve has joined #heat22:45
yogeshjasond`: is it related to my question...if yes, how is it going to help...22:49
yogeshsorry, for being lame...22:49
lifelessjasond`: there isn't, but if there was, heat and nova would both spend less wasted effort handling polling.22:49
lifelessjasond`: so the obvious thing to do is to fix nova :)22:49
*** gokrokve has quit IRC22:50
zanebjasond`, lifeless: actually there is, nova has some sort of notification thingy22:50
zanebor so I am told22:50
jasond`yogesh: yes.  your rate limiting is probably N requests/minute,  so dynamically increasing the polling interval would definitely affect that22:51
yogeshok...got it22:51
jasond`zaneb: i will have to research that22:52
zanebask shardy about it, I think that's who I heard it from22:52
jasond`zaneb: will do.  thanks22:52
zanebI doubt that in yogesh's case we are polling security group rules. those are more of a one-shot thing anyway22:53
*** alexheneveld has joined #heat22:54
yogeshzaneb: yeah, point...22:54
yogeshsecurity rules are not separate resources22:54
* zaneb looks at the code22:55
zanebooooohhh22:55
zanebdidn't realise a rule was not a separate resource type22:56
zanebso we're actually creating them all in a tight loop :(22:57
*** jasond` has quit IRC22:58
zanebso maybe we need to split that up into batches22:59
*** jcru has quit IRC22:59
zanebyogesh: can you file a bug?22:59
yogeshsure23:00
lifelesszaneb: even more reason to use it23:06
zaneb+1, I'd love to get rid of polling23:06
*** nati_ueno has joined #heat23:07
sjmci folks. i'm trying to pass an existing auth token to heat (rather than a username/password) but getting a 401 even though the token's valid23:10
sjmcare there any settings i should be looking at? i've been digging around but i haven't found any evidence the token's getting used23:11
*** jasond` has joined #heat23:12
*** rongze has joined #heat23:20
*** vijendar has quit IRC23:22
*** giulivo has quit IRC23:24
*** rongze has quit IRC23:25
*** SergeyLukjanov has quit IRC23:26
yogeshsjmc:23:28
sjmchey yogesh23:28
yogeshplease check that the admin credentials configured in the heat configuration are configured right23:28
yogeshthis is 123:29
sjmci'm not running as an admin23:29
yogeshthere are couple other things..23:29
sjmcso if that's necessary, that might be it23:29
yogeshthat is it...23:29
sjmcbut i can make requests using a username/password23:29
sjmcok23:29
yogeshare u communicating with keystone in insecure mode?23:31
yogeshor do u have a certificate configured?23:32
sjmcno cert23:32
yogeshis insecure flag set for keystone?23:33
yogeshin your heat configuration?23:33
*** rcleere has quit IRC23:33
sjmcno23:33
sjmcmy setup, for some background, is that i'm running heat as an ordinary tenant on a cloud on which i don't have admin privileges23:34
yogeshunder [keystone_authtoken] and [clients_keystone] sections23:34
yogeshset insecure =true23:35
yogeshoh23:35
sjmci know there are some things i can't do (like creating wait conditions), but are there other limitations i'm likely to run into?23:36
yogeshso, if the user you have configrued as admin on heat, doesn't have admin privileges on keystone...it won't work23:36
yogeshbecause the auth token u r passing...needs to be confirmed from keystone for validity23:36
yogeshand only the admin roile has the privilege to confirm the validity of another token23:37
sjmcand that requires admin? ok, my misunderstanding23:37
yogeshonce u fix this u'll get into the insecure related issues...23:38
sjmcyeah.. so is it impractical to use heat at all like this?23:38
yogeshfor them, u need to set insecure flag under [keystone_authtoken] and [clients_keystone] sections23:38
yogeshwell...23:38
yogeshwehre are u running it...?23:39
yogeshu can run it in devstack...23:39
sjmcjust experimenting with it for now23:39
yogeshto get some control..23:39
yogeshi would say...23:39
yogeshtry using heat in conjunction with devstack23:39
yogeshhttps://wiki.openstack.org/wiki/Heat/GettingStartedUsingDevstack23:40
yogeshu'll have some control from the openstack perspective23:41
sjmcyeah, that won't help longer term though23:41
sjmcok, maybe i need to rethink23:41
yogeshthere is a next step... :-)23:41
yogeshtehn u can try heat standalone: https://github.com/mehrayogesh/heat-standalone23:41
yogeshcool..23:42
sjmcthat's essentially what i have23:42
yogeshsure23:42
yogeshyeah but since u dont have control on teh openstack on your cloud..23:42
yogesh.u need a devstack to see things happening23:42
sjmcno...23:42
sjmci've been able to provision stuff23:42
yogeshusing username, password?23:43
sjmclike i said, username and password works23:43
sjmcyeah23:43
yogeshsure23:43
yogeshyeah23:43
yogeshso standalone, anyways u have it working23:43
*** ruhe is now known as _ruhe23:44
*** yogesh has quit IRC23:46
sjmcdoes the engine try to authenticate in the same way? i.e. if i wasn't going through heat-api would the same problem crop up?23:47
*** sjmc has quit IRC23:56
*** dimsum has quit IRC23:57

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