Monday, 2014-10-13

*** tomek_adamczewsk has quit IRC00:00
stevebakerheh00:02
*** achanda has quit IRC00:03
*** Qiming has joined #heat00:07
*** hdd has joined #heat00:07
*** Putns has quit IRC00:10
*** EricGonczer_ has joined #heat00:12
*** EricGonczer_ has quit IRC00:15
*** Qiming has quit IRC00:16
*** akuznetsov has joined #heat00:25
*** akuznetsov has quit IRC00:30
openstackgerritA change was merged to openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/12778900:39
openstackgerritA change was merged to openstack/heat: Updated from global requirements  https://review.openstack.org/12663000:39
*** metral_zzz is now known as metral00:57
*** harlowja_at_home has joined #heat00:59
*** zhiwei has joined #heat01:09
*** Qiming has joined #heat01:17
*** harlowja_at_home has quit IRC01:17
*** dsneddon_ has quit IRC01:26
*** akuznetsov has joined #heat01:26
*** dsneddon_ has joined #heat01:27
*** hdd has quit IRC01:29
*** akuznetsov has quit IRC01:31
*** erkules_ has joined #heat01:32
*** erkules has quit IRC01:34
*** achanda has joined #heat01:35
*** jpeeler has joined #heat02:03
*** kebray has joined #heat02:12
*** swygue has joined #heat02:14
*** elynn has joined #heat02:14
*** ramishra has joined #heat02:19
*** dims has quit IRC02:22
*** akuznetsov has joined #heat02:27
*** zhiyan|afk is now known as zhiyan02:28
asalkeldstevebaker, what do you think of my last comment: https://review.openstack.org/#/c/124707/02:29
asalkeldas a way to dynamically adopt if possible02:30
*** akuznetsov has quit IRC02:32
stevebakerasalkeld: hmm, I have no opinion yet on whether that is best specified in the template or as args to some api operation02:36
asalkeldwell lets you write a template easier02:36
asalkeld(and share it more)02:36
asalkeldas an api op. the user has to do more work02:37
*** sgordon_ has joined #heat02:42
*** sgordon_ has quit IRC02:42
*** hdd has joined #heat02:47
asalkeldhttps://review.openstack.org/#/dashboard/?foreach=status%3Aopen&title=Priortized+Bug+Fix+Dashboard&&Milestone+all+Importance+High=change%3A101001+OR+change%3A118374&Milestone+all+Importance+Medium=change%3A107664+OR+change%3A98327+OR+change%3A105496+OR+change%3A109172+OR+change%3A122630+OR+change%3A118190+OR+change%3A120914+OR+change%3A127176+OR+change%3A125469+OR+change%3A127822&Milestone+all+Importance+Low=change%3A52552+OR+c02:51
asalkeldhange%3A47894+OR+change%3A93204+OR+change%3A61457+OR+change%3A93205+OR+change%3A79269+OR+change%3A84331+OR+change%3A110557+OR+change%3A109333+OR+change%3A122603+OR+change%3A127079&Milestone+all+Importance+Undecided=change%3A46697+OR+change%3A45857+OR+change%3A47251+OR+change%3A49976+OR+change%3A54446+OR+change%3A65050+OR+change%3A66234+OR+change%3A68021+OR+change%3A78895+OR+change%3A82759+OR+change%3A86043+OR+change%3A90325+OR+02:51
asalkeldchange%3A98580+OR+change%3A98733+OR+change%3A108975+OR+change%3A104754+OR+change%3A105992+OR+change%3A109505+OR+change%3A109888+OR+change%3A117127+OR+change%3A121794+OR+change%3A122913+OR+change%3A126726+OR+change%3A127387+OR+change%3A127699&Milestone+all+Importance+Wishlist=02:51
asalkeldall reviews that fix bugs02:51
asalkeld(priortised)02:51
asalkeldmmm, still not quite right02:52
openstackgerritEthan Lynn proposed a change to openstack/heat: Remove deprecated function i18n.install('heat')  https://review.openstack.org/11019203:00
*** Drago has quit IRC03:08
*** LiJiansheng has joined #heat03:17
*** kebray has quit IRC03:27
*** akuznetsov has joined #heat03:28
asalkeldbrb: errand03:30
*** akuznetsov has quit IRC03:32
*** LiJiansheng has quit IRC03:34
*** kebray has joined #heat03:35
*** kebray has quit IRC03:41
*** Drago has joined #heat03:45
*** Drago has quit IRC03:46
*** LiJiansheng has joined #heat03:47
openstackgerritA change was merged to openstack/heat: fixes stack deletion failure, when vol in deleting  https://review.openstack.org/11837404:08
*** LiJiansheng has quit IRC04:21
*** akuznetsov has joined #heat04:28
*** lazy_prince has joined #heat04:31
*** asalkeld has quit IRC04:31
*** lazy_prince has quit IRC04:31
*** lazy_prince has joined #heat04:32
*** akuznetsov has quit IRC04:33
*** nkhare has joined #heat04:40
*** akuznetsov has joined #heat04:50
*** lazy_prince is now known as killer_prince04:52
*** jyoti-ranjan has joined #heat04:55
*** swygue has quit IRC05:04
*** hdd has quit IRC05:08
*** rakesh_hs has joined #heat05:15
*** sanjayu has joined #heat05:20
*** lazy_prince has joined #heat05:24
*** lazy_prince has quit IRC05:27
*** killer_prince is now known as lazy_prince05:31
*** rushiagr_away is now known as rushiagr05:33
*** ckmvishnu has joined #heat05:50
*** erkules_ is now known as erkules06:00
*** unmeshg has joined #heat06:06
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add query property to threshold alarms.  https://review.openstack.org/12782106:12
*** k4n0 has joined #heat06:16
*** ananta has joined #heat06:18
*** ramishra has quit IRC06:18
*** ramishra has joined #heat06:18
*** jcoufal has joined #heat06:21
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add optional health maintenance to OS::Heat::ASG  https://review.openstack.org/12788406:30
*** achanda_ has joined #heat06:33
skraynevGood morning06:33
*** achanda has quit IRC06:37
ckmvishnushould this Bug #1380479 be tagger for juno-rc ?06:38
uvirtbotLaunchpad bug 1380479 in heat "data migration should depend on reflection" [Undecided,New] https://launchpad.net/bugs/138047906:38
ckmvishnui mean tagged06:39
*** jprovazn has joined #heat06:41
*** rakesh_hs has quit IRC06:43
*** tomek_adamczewsk has joined #heat06:45
*** rakesh_hs has joined #heat06:46
*** apporc has joined #heat06:51
*** achanda_ has quit IRC06:58
*** tomek_adamczewsk has quit IRC06:58
*** tomek_adamczewsk has joined #heat06:59
*** pasquier-s has joined #heat07:04
*** asalkeld has joined #heat07:05
*** tspatzier has joined #heat07:07
*** jyoti-ranjan has quit IRC07:08
*** tomek_adamczewsk has quit IRC07:08
*** tomek_adamczewsk has joined #heat07:08
*** jyoti-ranjan has joined #heat07:11
*** akuznetsov has quit IRC07:18
*** asalkeld has quit IRC07:19
*** tomek_adamczewsk has quit IRC07:19
*** akuznetsov has joined #heat07:20
*** asalkeld has joined #heat07:20
*** tomek_adamczewsk has joined #heat07:20
*** tomek_adamczews1 has joined #heat07:23
*** tomek_adamczewsk has quit IRC07:23
*** tomek_adamczewsk has joined #heat07:25
*** achanda has joined #heat07:27
*** jstrachan has joined #heat07:27
*** tomek_adamczews1 has quit IRC07:27
*** coolsvap has joined #heat07:36
*** coolsvap has quit IRC07:36
*** tomek_adamczewsk has quit IRC07:37
*** coolsvap has joined #heat07:37
*** tomek_adamczewsk has joined #heat07:40
*** coolsvap has quit IRC07:41
*** tspatzier has quit IRC07:41
*** achanda has quit IRC07:41
*** coolsvap has joined #heat07:41
*** tspatzier has joined #heat07:41
*** tspatzier has quit IRC07:43
*** coolsvap has quit IRC07:43
*** coolsvap has joined #heat07:45
*** Putns has joined #heat07:45
zhiweihi all, is there a function get_instances_from_stack?07:49
asalkeldhi zhiwei07:50
zhiweihi07:50
asalkeldtry: "heat resource-list <stack name>"07:50
zhiweionly can list the resources in stack.07:50
zhiweisuch as asg, or scalingpolicy07:50
zhiweino instances07:50
asalkeldok, so asg is a nested stack07:51
asalkeldyou need to drill down07:51
zhiweiok, thanks.07:51
asalkeldheat resource-show stack-name asg-name07:51
asalkeldget the physical resoruce name07:51
asalkeldand then heat resource-list <that >07:52
zhiweithere is one case, one template have two asg, one asg is created success, and the other created failed(with no VM)07:52
*** viktors|afk is now known as viktors07:52
zhiweiasalkeld: thanks.07:52
zhiweiI need to flag this case.07:52
asalkeldnp, brb - off to the kitchen07:52
*** jistr has joined #heat07:54
*** derekh has joined #heat07:57
*** akuznetsov has quit IRC08:01
*** akuznetsov has joined #heat08:01
*** jyoti-ranjan has quit IRC08:08
shardymorning all08:10
*** jistr has quit IRC08:14
asalkeldhi shardy08:17
shardyHey asalkeld, I see zaneb came up with a quicker fix for the LB update issue08:17
asalkeldyip08:17
asalkeldit was a good last minute fix08:17
*** jistr has joined #heat08:18
shardyI'll finish my patch anyway, then we can discuss if we want to do that for Kilo08:18
asalkeldyip08:18
shardyagree, looks like the safest quick-hack to get us out of trouble for Juno :)08:18
asalkeldi'll be back in a bit, having some dinner08:18
shardynp08:19
*** thegodfather is now known as fabbione08:19
*** tspatzier has joined #heat08:26
openstackgerritA change was merged to openstack/heat: Pass correct 'security_groups' value for port operations  https://review.openstack.org/12179408:26
zhiweiasalkeld: hi, are you still here?08:27
*** fayablazer has joined #heat08:27
*** jyoti-ranjan has joined #heat08:31
*** alexpilotti has joined #heat08:32
openstackgerritVisnusaran Murugan proposed a change to openstack/heat: sqlalchemy migration not to import model  https://review.openstack.org/12789708:33
openstackgerritVisnusaran Murugan proposed a change to openstack/heat: Validation to avoid duplicate stack names per tenant  https://review.openstack.org/12339708:35
*** tomek_adamczewsk has quit IRC08:37
*** coolsvap has quit IRC08:47
*** f13o has joined #heat08:50
*** k4n0 has quit IRC08:50
asalkeldhi zhiwei08:55
*** k4n0 has joined #heat08:55
*** inc0 has joined #heat08:56
inc0good morning08:57
*** andrearosa has quit IRC08:58
*** coolsvap has joined #heat09:01
zhiweiasalkeld: hi, I want to know if the os::nova::server resource has a running VM.09:03
zhiweinova list, no output, but heat resource-list os.nova.server.phy_id will list a VM.09:04
asalkeldzhiwei, this is with asg?09:05
zhiweino this is an os.nova.server09:05
asalkeldif the stack create worked it *should* exist09:05
zhiweiI just want to know the exact vms in one root stack.09:05
*** Yanyanhu has joined #heat09:05
asalkeldnova list should show you the server09:06
asalkeldif you are using the same user/tenant09:06
zhiweibut nova can't tell me which the server belongs to..09:06
zhiweiif this root stack has one asg with 2 VMs, and one os.nova.server. but in nova list output, there is only 2 VMs.09:07
asalkeldso do a "heat resource-list" and match the physical-id09:07
zhiweiin some cases.09:07
shardyzhiwei: If you're using recent (juno) heat you can pass --nested-depth to the resource-list so it recursively lists all resources including nested stacks09:07
asalkeldto the instance id09:07
zhiweiI encountered this case:  nova list shows none, but heat resource-list physical_id shows one.09:08
zhiweiso, I think this maybe can exist when using os.nova.server.09:08
asalkeldcan you post to paste.openstack.org the output of "nova list" and "heat resource-list <stack>"09:09
*** stannie has joined #heat09:12
*** tomek_adamczewsk has joined #heat09:14
*** julienve_ has joined #heat09:15
zhiweiasalkeld: ok, let me do this again.09:23
*** akuznetsov has quit IRC09:25
*** akuznetsov has joined #heat09:25
*** akuznetsov has quit IRC09:25
*** akuznetsov has joined #heat09:26
*** cdent has joined #heat09:26
*** akuznetsov has quit IRC09:26
*** akuznetsov has joined #heat09:26
zhiweiasalkeld: http://paste.openstack.org/show/120663/09:27
*** akuznetsov has quit IRC09:28
*** akuznetsov has joined #heat09:28
*** akuznetsov has quit IRC09:28
asalkeldzhiwei, that looks good09:29
*** akuznetsov has joined #heat09:29
asalkeldwhat is the question09:29
asalkeldit just looks like you have run out of space for the server09:29
*** akuznetsov has quit IRC09:29
asalkeldresource_status_reason | Error: Resource CREATE failed: Forbidden: Quota exceeded for instances:09:29
*** akuznetsov has joined #heat09:29
zhiweinova list shows none of your_asg, but heat resource-list shows one VM of your_asg.09:30
*** akuznetsov has quit IRC09:30
*** akuznetsov has joined #heat09:30
zhiweiasalkeld: Yes, I set the quota.09:30
*** akuznetsov has quit IRC09:31
zhiweiSo, how can I know the exact running VMs in your_asg?09:31
*** akuznetsov has joined #heat09:31
zhiweiI want to make nova list and heat resource-list of your_asg the same.09:31
*** akuznetsov has quit IRC09:32
*** akuznetsov has joined #heat09:32
asalkeldzhiwei, they are09:32
zhiweino09:32
*** akuznetsov has quit IRC09:32
zhiweithey are not.09:32
asalkeldheat resource-list 3b93bd6d-6739-4d94-96ca-c0191edc791509:32
asalkeld| i63as53tnctl  | OS::Nova::Server | CREATE_FAILED   | 2014-10-13T09:24:27Z |09:33
*** akuznetsov has joined #heat09:33
asalkeldthat one failed09:33
asalkeld(won't be in nova list)09:33
zhiweiyes, but this one is no in nova list.09:33
*** akuznetsov has quit IRC09:33
asalkeldobviously as it failed09:33
*** akuznetsov has joined #heat09:33
asalkeldCREATE_FAILED09:34
zhiweiwhat I want to know is heat resource-list has same behavior with nova list.09:34
*** akuznetsov has quit IRC09:34
*** akuznetsov has joined #heat09:34
*** fayablazer has quit IRC09:34
asalkeldyou need to look for X_COMPLETE09:34
zhiweiThere are two create_failed cases, one is no VMs, and they other is VMs in FAILED status.09:34
*** akuznetsov has quit IRC09:35
*** akuznetsov has joined #heat09:35
zhiweiI want to distinguish these two cases.09:35
*** k4n0 has quit IRC09:35
*** akuznetsov has quit IRC09:35
*** akuznetsov has joined #heat09:36
*** coolsvap has quit IRC09:36
*** akuznetsov has quit IRC09:36
*** akuznetsov has joined #heat09:36
asalkeldwhat if you do: heat resource-show 3b93bd6d-6739-4d94-96ca-c0191edc7915 i63as53tnctl09:36
asalkelddoes that have a physical res id09:37
asalkeldi am hoping not09:37
*** akuznetsov has quit IRC09:37
asalkeldas there is no nova instance09:37
*** akuznetsov has joined #heat09:38
asalkeldzhiwei, ^09:38
*** akuznetsov has quit IRC09:38
*** akuznetsov has joined #heat09:39
zhiweino physical_id09:39
asalkeldthat's good09:39
*** akuznetsov has quit IRC09:39
*** akuznetsov has joined #heat09:40
asalkeldso use that as a distinguishing factor09:40
zhiweithanks, I see.09:40
*** akuznetsov has quit IRC09:40
*** akuznetsov has joined #heat09:40
*** akuznetsov has quit IRC09:41
*** akuznetsov has joined #heat09:41
*** akuznetsov has quit IRC09:42
*** akuznetsov has joined #heat09:42
*** Yanyanhu has quit IRC09:42
*** akuznetsov has quit IRC09:42
*** akuznetsov has joined #heat09:42
*** akuznetsov has quit IRC09:43
*** akuznetsov has joined #heat09:43
*** akuznetsov has quit IRC09:44
*** akuznetsov has joined #heat09:44
*** akuznetsov has quit IRC09:45
*** akuznetsov has joined #heat09:45
*** akuznetsov has quit IRC09:45
*** akuznetsov has joined #heat09:46
*** akuznetsov has quit IRC09:46
*** akuznetsov has joined #heat09:46
*** akuznetsov has quit IRC09:47
*** akuznetsov has joined #heat09:47
*** akuznetsov has quit IRC09:48
*** coolsvap has joined #heat09:48
*** akuznetsov has joined #heat09:48
*** akuznetsov has quit IRC09:48
*** akuznetsov has joined #heat09:49
*** akuznetsov has quit IRC09:49
*** akuznetsov has joined #heat09:50
*** dims has joined #heat09:50
*** akuznetsov has quit IRC09:50
*** akuznetsov has joined #heat09:50
*** akuznetsov has quit IRC09:51
*** akuznetsov has joined #heat09:51
*** ishant has joined #heat09:51
*** akuznetsov has quit IRC09:52
*** akuznetsov has joined #heat09:52
*** akuznetsov has quit IRC09:52
*** pasquier-s_ has joined #heat09:53
*** akuznetsov has joined #heat09:53
*** akuznetsov has quit IRC09:53
*** akuznetsov has joined #heat09:53
*** k4n0 has joined #heat09:54
*** akuznetsov has quit IRC09:54
*** akuznetsov has joined #heat09:54
*** dims has quit IRC09:55
*** k4n0 has quit IRC09:55
*** akuznetsov has quit IRC09:55
*** k4n0 has joined #heat09:55
*** akuznetsov has joined #heat09:55
*** akuznetsov has quit IRC09:55
*** akuznetsov has joined #heat09:56
*** pasquier-s has quit IRC09:56
*** akuznetsov has quit IRC09:56
*** amakarov_away has quit IRC09:56
*** akuznetsov has joined #heat09:56
*** akuznetsov has quit IRC09:57
*** akuznetsov has joined #heat09:57
*** Qiming has quit IRC09:58
*** akuznetsov has quit IRC09:58
*** akuznetsov has joined #heat09:58
*** akuznetsov has quit IRC09:59
*** akuznetsov has joined #heat09:59
*** akuznetsov has quit IRC09:59
*** akuznetsov has joined #heat09:59
*** akuznetsov has quit IRC10:00
*** akuznetsov has joined #heat10:00
*** akuznetsov has quit IRC10:01
*** akuznetsov has joined #heat10:01
*** akuznetsov has quit IRC10:02
*** akuznetsov has joined #heat10:02
*** akuznetsov has quit IRC10:02
*** akuznetsov has joined #heat10:03
*** akuznetsov has quit IRC10:03
*** akuznetsov has joined #heat10:03
*** akuznetsov has quit IRC10:04
*** akuznetsov has joined #heat10:04
*** akuznetsov has quit IRC10:05
*** akuznetsov has joined #heat10:05
*** akuznetsov has quit IRC10:05
*** akuznetsov has joined #heat10:06
*** tspatzier has quit IRC10:06
*** julienve_ has quit IRC10:06
*** tspatzier has joined #heat10:06
*** akuznetsov has quit IRC10:06
*** akuznetsov has joined #heat10:07
*** akuznetsov has quit IRC10:07
*** akuznetsov has joined #heat10:07
*** tspatzier has quit IRC10:08
*** akuznetsov has quit IRC10:08
*** akuznetsov has joined #heat10:08
*** akuznetsov has quit IRC10:09
*** akuznetsov has joined #heat10:09
*** akuznetsov has quit IRC10:09
*** akuznetsov has joined #heat10:09
*** elynn has quit IRC10:10
openstackgerritJan Provaznik proposed a change to openstack/heat-templates: Update image building steps in software-config README  https://review.openstack.org/12792410:10
*** akuznetsov has quit IRC10:10
*** akuznetsov has joined #heat10:10
*** akuznetsov has quit IRC10:11
*** akuznetsov has joined #heat10:11
*** akuznetsov has quit IRC10:12
*** akuznetsov has joined #heat10:12
*** akuznetsov has quit IRC10:12
*** akuznetsov has joined #heat10:13
*** akuznetsov has quit IRC10:13
*** akuznetsov has joined #heat10:13
*** akuznetsov has quit IRC10:14
*** akuznetsov has joined #heat10:14
*** akuznetsov has quit IRC10:15
*** akuznetsov has joined #heat10:15
*** akuznetsov has quit IRC10:16
*** akuznetsov has joined #heat10:16
*** akuznetsov has quit IRC10:16
*** akuznetsov has joined #heat10:16
*** akuznetsov has quit IRC10:17
*** akuznetsov has joined #heat10:17
*** akuznetsov has quit IRC10:18
*** akuznetsov has joined #heat10:18
*** akuznetsov has quit IRC10:19
*** ishant has quit IRC10:19
*** akuznetsov has joined #heat10:19
*** akuznetsov has quit IRC10:19
*** akuznetsov has joined #heat10:20
*** akuznetsov has quit IRC10:20
*** akuznetsov has joined #heat10:20
*** akuznetsov has quit IRC10:21
*** pasquier-s__ has joined #heat10:21
*** akuznetsov has joined #heat10:21
*** akuznetsov has quit IRC10:22
*** akuznetsov has joined #heat10:22
*** akuznetsov has quit IRC10:22
*** akuznetsov has joined #heat10:23
*** akuznetsov has quit IRC10:23
*** akuznetsov has joined #heat10:23
*** akuznetsov has quit IRC10:24
*** pasquier-s_ has quit IRC10:24
*** akuznetsov has joined #heat10:24
*** akuznetsov has quit IRC10:25
*** akuznetsov has joined #heat10:25
*** akuznetsov has quit IRC10:25
*** apporc has quit IRC10:26
*** akuznetsov has joined #heat10:26
*** akuznetsov has quit IRC10:26
*** akuznetsov has joined #heat10:27
*** akuznetsov has quit IRC10:27
*** akuznetsov has joined #heat10:27
*** akuznetsov has quit IRC10:28
*** akuznetsov has joined #heat10:28
*** akuznetsov has quit IRC10:29
*** akuznetsov has joined #heat10:29
*** akuznetsov has quit IRC10:29
*** akuznetsov has joined #heat10:30
openstackgerritSergey Kraynev proposed a change to openstack/heat: Adding tests for sahara client exeptions  https://review.openstack.org/12792710:30
*** akuznetsov has quit IRC10:30
*** akuznetsov has joined #heat10:30
*** akuznetsov has quit IRC10:31
*** akuznetsov has joined #heat10:31
*** akuznetsov has quit IRC10:32
*** akuznetsov has joined #heat10:32
*** akuznetsov has quit IRC10:32
*** akuznetsov has joined #heat10:33
*** akuznetsov has quit IRC10:33
*** akuznetsov has joined #heat10:33
*** blinky_ghost has joined #heat10:34
*** akuznetsov has quit IRC10:34
*** akuznetsov has joined #heat10:34
*** akuznetsov has quit IRC10:35
blinky_ghosthi all, I'm trying to build a Centos7 image with software-config elements and I'm getting this error: "/usr/src/diskimage-builder/bin/../lib/common-functions: line 200: dib-run-parts: command not found". Any hint? thanks10:35
*** akuznetsov has joined #heat10:35
*** akuznetsov has quit IRC10:36
*** akuznetsov has joined #heat10:36
*** akuznetsov has quit IRC10:36
*** akuznetsov has joined #heat10:37
blinky_ghostnevermind, I've solved it10:37
*** akuznetsov has quit IRC10:37
*** akuznetsov has joined #heat10:37
*** akuznetsov has quit IRC10:38
*** akuznetsov has joined #heat10:38
*** akuznetsov has quit IRC10:39
*** akuznetsov has joined #heat10:39
*** akuznetsov has quit IRC10:39
*** akuznetsov has joined #heat10:40
*** akuznetsov has quit IRC10:40
*** akuznetsov has joined #heat10:40
*** akuznetsov has quit IRC10:41
*** akuznetsov has joined #heat10:41
*** ishant has joined #heat10:41
*** akuznetsov has quit IRC10:42
*** akuznetsov has joined #heat10:42
*** akuznetsov has quit IRC10:42
*** akuznetsov has joined #heat10:43
*** akuznetsov has quit IRC10:43
*** akuznetsov has joined #heat10:43
*** asalkeld has quit IRC10:44
*** akuznetsov has quit IRC10:44
*** akuznetsov has joined #heat10:44
*** akuznetsov has quit IRC10:45
*** akuznetsov has joined #heat10:45
*** akuznetsov has quit IRC10:46
*** akuznetsov has joined #heat10:46
*** akuznetsov has quit IRC10:46
*** akuznetsov has joined #heat10:47
*** ramishra has quit IRC10:47
*** akuznetsov has quit IRC10:47
*** akuznetsov has joined #heat10:47
*** akuznetsov has quit IRC10:48
*** akuznetsov has joined #heat10:48
*** akuznetsov has quit IRC10:49
*** akuznetsov has joined #heat10:49
*** akuznetsov has quit IRC10:49
*** jcoufal has quit IRC10:49
*** arif-ali has quit IRC10:49
*** akuznetsov has joined #heat10:50
*** jcoufal has joined #heat10:50
*** akuznetsov has quit IRC10:50
*** mkollaro has joined #heat10:50
*** akuznetsov has joined #heat10:50
*** julienve_ has joined #heat10:50
*** akuznetsov has quit IRC10:51
*** akuznetsov has joined #heat10:51
*** akuznetsov has quit IRC10:52
*** akuznetsov has joined #heat10:52
*** akuznetsov has quit IRC10:52
*** akuznetsov has joined #heat10:53
*** akuznetsov has quit IRC10:53
*** akuznetsov has joined #heat10:54
*** akuznetsov has quit IRC10:54
*** arif-ali has joined #heat10:54
*** akuznetsov has joined #heat10:54
*** akuznetsov has quit IRC10:55
*** akuznetsov has joined #heat10:55
*** akuznetsov has quit IRC10:56
*** akuznetsov has joined #heat10:56
*** akuznetsov has quit IRC10:56
*** akuznetsov has joined #heat10:57
*** akuznetsov has quit IRC10:57
*** akuznetsov has joined #heat10:57
*** akuznetsov has quit IRC10:58
*** akuznetsov has joined #heat10:58
*** jyoti-ranjan has quit IRC10:58
*** akuznetsov has quit IRC10:59
*** zhiwei has left #heat10:59
*** akuznetsov has joined #heat10:59
*** akuznetsov has quit IRC10:59
*** ramishra has joined #heat10:59
*** akuznetsov has joined #heat11:00
*** akuznetsov has quit IRC11:00
*** akuznetsov has joined #heat11:00
*** akuznetsov has quit IRC11:01
*** akuznetsov has joined #heat11:01
*** Qiming has joined #heat11:01
*** akuznetsov has quit IRC11:02
*** akuznetsov has joined #heat11:02
*** akuznetsov has quit IRC11:02
*** akuznetsov has joined #heat11:03
*** akuznetsov has quit IRC11:03
*** akuznetsov has joined #heat11:03
*** akuznetsov has quit IRC11:04
*** akuznetsov has joined #heat11:04
*** akuznetsov has quit IRC11:05
*** akuznetsov has joined #heat11:05
*** akuznetsov has quit IRC11:05
*** akuznetsov has joined #heat11:06
*** akuznetsov has quit IRC11:06
*** akuznetsov has joined #heat11:07
*** akuznetsov has quit IRC11:07
*** akuznetsov has joined #heat11:07
*** akuznetsov has quit IRC11:08
*** akuznetsov has joined #heat11:08
*** akuznetsov has quit IRC11:09
*** akuznetsov has joined #heat11:09
*** akuznetsov has quit IRC11:09
*** akuznetsov has joined #heat11:10
*** akuznetsov has quit IRC11:10
*** akuznetsov has joined #heat11:10
*** akuznetsov has quit IRC11:11
*** akuznetsov has joined #heat11:11
*** akuznetsov has quit IRC11:12
*** akuznetsov has joined #heat11:12
*** akuznetsov has quit IRC11:12
*** akuznetsov has joined #heat11:13
*** akuznetsov has quit IRC11:13
*** akuznetsov has joined #heat11:13
*** akuznetsov has quit IRC11:14
*** akuznetsov has joined #heat11:14
*** akuznetsov has quit IRC11:15
*** akuznetsov has joined #heat11:15
*** akuznetsov has quit IRC11:16
*** slagle has joined #heat11:16
*** akuznetsov has joined #heat11:16
*** akuznetsov has quit IRC11:16
*** akuznetsov has joined #heat11:17
*** tspatzier has joined #heat11:17
*** akuznetsov has quit IRC11:17
*** akuznetsov has joined #heat11:17
*** akuznetsov has quit IRC11:18
*** akuznetsov has joined #heat11:18
*** jyoti-ranjan has joined #heat11:18
*** akuznetsov has quit IRC11:19
*** akuznetsov has joined #heat11:19
*** akuznetsov has quit IRC11:19
*** akuznetsov has joined #heat11:20
*** akuznetsov has quit IRC11:20
*** akuznetsov has joined #heat11:20
*** akuznetsov has quit IRC11:21
*** akuznetsov has joined #heat11:21
*** akuznetsov has quit IRC11:22
*** akuznetsov has joined #heat11:22
*** akuznetsov has quit IRC11:22
*** akuznetsov has joined #heat11:23
*** akuznetsov has quit IRC11:23
*** akuznetsov has joined #heat11:24
*** akuznetsov has quit IRC11:24
*** akuznetsov has joined #heat11:24
*** akuznetsov has quit IRC11:25
*** akuznetsov has joined #heat11:25
*** akuznetsov has quit IRC11:26
*** akuznetsov has joined #heat11:26
*** akuznetsov has quit IRC11:26
*** akuznetsov has joined #heat11:26
*** akuznetsov has quit IRC11:27
*** akuznetsov has joined #heat11:27
*** akuznetsov has quit IRC11:28
*** akuznetsov has joined #heat11:28
*** akuznetsov has quit IRC11:29
*** akuznetsov has joined #heat11:29
*** akuznetsov has quit IRC11:29
*** akuznetsov has joined #heat11:30
*** akuznetsov has quit IRC11:30
*** akuznetsov has joined #heat11:30
*** akuznetsov has quit IRC11:31
*** akuznetsov has joined #heat11:31
*** akuznetsov has quit IRC11:32
*** akuznetsov has joined #heat11:32
*** akuznetsov has quit IRC11:32
*** akuznetsov has joined #heat11:33
*** akuznetsov has quit IRC11:33
*** akuznetsov has joined #heat11:34
*** akuznetsov has quit IRC11:34
*** akuznetsov has joined #heat11:34
*** akuznetsov has quit IRC11:35
*** ckmvishnu has quit IRC11:35
*** akuznetsov has joined #heat11:35
*** akuznetsov has quit IRC11:36
*** akuznetsov has joined #heat11:36
*** akuznetsov has quit IRC11:36
*** akuznetsov has joined #heat11:37
*** akuznetsov has quit IRC11:37
*** akuznetsov has joined #heat11:37
*** akuznetsov has quit IRC11:38
*** akuznetsov has joined #heat11:38
*** akuznetsov has quit IRC11:39
*** akuznetsov has joined #heat11:39
*** akuznetsov has quit IRC11:39
*** akuznetsov has joined #heat11:40
*** akuznetsov has quit IRC11:40
*** akuznetsov has joined #heat11:41
*** akuznetsov has quit IRC11:41
*** akuznetsov has joined #heat11:41
*** akuznetsov has quit IRC11:42
*** akuznetsov has joined #heat11:42
*** akuznetsov has quit IRC11:43
*** akuznetsov has joined #heat11:43
*** akuznetsov has quit IRC11:43
*** akuznetsov has joined #heat11:44
*** cdent has quit IRC11:44
*** akuznetsov has quit IRC11:44
*** akuznetsov has joined #heat11:44
*** akuznetsov has quit IRC11:45
*** akuznetsov has joined #heat11:45
*** akuznetsov has quit IRC11:46
*** jyoti-ranjan has quit IRC11:46
inc0wow thats flapping network...11:46
*** akuznetsov has joined #heat11:46
*** akuznetsov has quit IRC11:46
*** jyoti-ranjan has joined #heat11:47
*** akuznetsov has joined #heat11:47
*** akuznetsov has quit IRC11:47
*** akuznetsov has joined #heat11:47
*** akuznetsov has quit IRC11:48
*** akuznetsov has joined #heat11:48
*** akuznetsov has quit IRC11:49
*** jistr has quit IRC11:49
*** akuznetsov has joined #heat11:50
*** akuznetsov has quit IRC11:50
*** akuznetsov has joined #heat11:50
*** akuznetsov has quit IRC11:51
*** akuznetsov has joined #heat11:51
*** akuznetsov has quit IRC11:52
*** akuznetsov has joined #heat11:52
*** akuznetsov has quit IRC11:53
*** akuznetsov has joined #heat11:53
*** Elad123 has joined #heat11:53
Elad123hello all!11:53
*** akuznetsov has quit IRC11:53
*** akuznetsov has joined #heat11:54
*** akuznetsov has quit IRC11:54
*** akuznetsov has joined #heat11:54
Elad123I installed openstack on ubuntu server - heat seems to be working from CLI, but when I open the "Orchestration-->Stacks" from the web GUI (Horizon) I'm getting the following error:11:55
Elad123"Something went wrong!"11:55
*** akuznetsov has quit IRC11:55
Elad123any idea please?11:55
*** akuznetsov has joined #heat11:55
*** eoutin has joined #heat11:55
*** akuznetsov has quit IRC11:56
*** akuznetsov has joined #heat11:56
*** akuznetsov has quit IRC11:56
*** kbyrne has quit IRC11:57
*** akuznetsov has joined #heat11:57
*** akuznetsov has quit IRC11:57
*** akuznetsov has joined #heat11:57
*** akuznetsov has quit IRC11:58
*** akuznetsov has joined #heat11:58
*** jyoti-ranjan has quit IRC11:58
*** akuznetsov has quit IRC11:59
*** akuznetsov has joined #heat11:59
PutnsElad123: try looking under /var/log/httpd/11:59
openstackgerritA change was merged to openstack/heat-templates: Support files for unit test of software-config hooks  https://review.openstack.org/12708911:59
openstackgerritA change was merged to openstack/heat-templates: Unit test of 55-heat-config  https://review.openstack.org/12709011:59
openstackgerritA change was merged to openstack/heat-templates: flake8 fixes for software-config hooks  https://review.openstack.org/12709111:59
*** akuznetsov has quit IRC12:00
*** akuznetsov has joined #heat12:00
*** akuznetsov has quit IRC12:00
*** akuznetsov has joined #heat12:01
Elad123Internal Server Error: /horizon/project/stacks/12:01
*** dims has joined #heat12:01
Elad123ServiceCatalogException: Invalid service catalog service: orchestration12:01
inc0Elad123, devstack or something else?12:01
*** akuznetsov has quit IRC12:01
*** akuznetsov has joined #heat12:01
*** akuznetsov has quit IRC12:02
inc0Elad123, have you configured keystone service?12:02
*** akuznetsov has joined #heat12:02
inc0endpoints and so on?12:02
Elad123yes12:02
openstackgerritunmesh-gurjar proposed a change to openstack/heat: Refactor cinder volume v2 API changes  https://review.openstack.org/12794512:02
Elad123keystone service-list12:02
*** akuznetsov has quit IRC12:03
Elad123show me all the services including the "heat" and "heat-cfn"12:03
*** akuznetsov has joined #heat12:03
*** akuznetsov has quit IRC12:03
*** akuznetsov has joined #heat12:04
*** unmeshg has quit IRC12:04
*** akuznetsov has quit IRC12:04
inc0are you sure they those have type=orchiestration?12:04
*** akuznetsov has joined #heat12:04
*** pasquier-s_ has joined #heat12:05
*** akuznetsov has quit IRC12:05
inc0http://docs.openstack.org/havana/install-guide/install/yum/content/heat-install.html12:05
*** akuznetsov has joined #heat12:05
inc07th point12:05
*** akuznetsov has quit IRC12:06
*** akuznetsov has joined #heat12:06
*** akuznetsov has quit IRC12:06
*** akuznetsov has joined #heat12:07
inc0also, check if keystone raises anything more informative12:07
Elad123inc0: already did (using the same website just the ubuntu installation gide)12:07
Elad123keystone service-list12:07
Elad123 name   |      type      |         description12:07
Elad123 heat   | orchestration  |        Orchestration         |12:07
Elad123 heat-cfn | cloudformation | Orchestration CloudFormation |12:07
*** akuznetsov has quit IRC12:07
inc0Elad123, when you use horizon, check keystone logs12:07
inc0because it seems keystone throws error here12:07
*** akuznetsov has joined #heat12:08
Elad123inc0: ok, I'll enable keystone logs now and check it12:08
*** pasquier-s__ has quit IRC12:08
*** akuznetsov has quit IRC12:08
*** akuznetsov has joined #heat12:08
inc0also, you might want to check if your regions are configured properly12:08
Elad123inc0: what do you mean?12:09
*** akuznetsov has quit IRC12:09
inc0for example, if horizon uses different region than your CLI, you might see service by CLI and not in horizon12:09
*** akuznetsov has joined #heat12:09
inc0http://kimizhang.wordpress.com/2013/08/26/openstack-zoning-regionavailability-zonehost-aggregate/12:09
*** akuznetsov has quit IRC12:10
*** akuznetsov has joined #heat12:10
inc0basically region is set of endpoints12:10
inc0separate set12:10
inc0so for example you'd have different novas for DC1 and DC212:10
*** akuznetsov has quit IRC12:10
*** akuznetsov has joined #heat12:11
Elad123inc0: I build everything on one machine12:11
inc0you define your region for CLI by export OS_REGION_NAME12:11
*** akuznetsov has quit IRC12:11
inc0Elad123, still, mechanism is there and that might mess your deployment12:11
inc0but thats just a speculation12:11
*** akuznetsov has joined #heat12:11
*** kbyrne has joined #heat12:11
Elad123what should be the value of OS_REGION_NAME ?12:12
inc0check keystone logs first and horizon config12:12
*** akuznetsov has quit IRC12:12
*** akuznetsov has joined #heat12:12
*** jistr has joined #heat12:12
Elad123inc0: sorry, I just notised that I have the OS_REGION_NAM set12:13
*** akuznetsov has quit IRC12:13
Elad123ls12:13
*** akuznetsov has joined #heat12:13
*** akuznetsov has quit IRC12:13
*** akuznetsov has joined #heat12:14
Elad123inc0: no error on keystone-all.log when I open the orchestrator from the horizon12:14
*** akuznetsov has quit IRC12:14
*** packet has joined #heat12:14
*** akuznetsov has joined #heat12:14
*** akuznetsov has quit IRC12:15
*** akuznetsov has joined #heat12:15
*** akuznetsov has quit IRC12:16
inc0check horizon's config12:16
inc0AVAILABLE_REGIONS12:16
*** akuznetsov has joined #heat12:16
*** akuznetsov has quit IRC12:16
*** akuznetsov has joined #heat12:17
Elad123inc0: where is the horizon config file location?12:17
inc0it its set at all (I think it shouldn't)12:17
Elad123inc0: /etc/openstack-dashboard/local_settings.py  ?12:17
*** akuznetsov has quit IRC12:17
inc0yup12:17
*** akuznetsov has joined #heat12:18
*** EricGonczer_ has joined #heat12:18
*** akuznetsov has quit IRC12:18
*** akuznetsov has joined #heat12:18
inc0also check OPENSTACK_HOST12:18
*** akuznetsov has quit IRC12:19
*** akuznetsov has joined #heat12:19
*** sergmelikyan has quit IRC12:19
*** akuznetsov has quit IRC12:20
*** EricGonczer_ has quit IRC12:20
Elad123OPENSTACK_HOST = "127.0.0.1" OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"12:20
*** akuznetsov has joined #heat12:20
inc0and that corresponds to your ENV?12:20
*** akuznetsov has quit IRC12:20
openstackgerritA change was merged to openstack/heat: Remove deprecated function i18n.install('heat')  https://review.openstack.org/11019212:20
*** akuznetsov has joined #heat12:21
*** k4n0 has quit IRC12:21
*** akuznetsov has quit IRC12:21
*** akuznetsov has joined #heat12:21
*** akuznetsov has quit IRC12:22
*** akuznetsov has joined #heat12:22
*** IgorYozhikov has quit IRC12:22
*** akuznetsov has quit IRC12:23
Elad123I didn't have the OPENSTACK_HOST in my env12:23
*** akuznetsov has joined #heat12:23
Elad123I added it now12:23
inc0OS_AUTH_URL12:23
inc0in env12:23
Elad123OS_AUTH_URL="http://10.107.23.108:5000/v2.0/"12:23
*** akuznetsov has quit IRC12:23
*** akuznetsov has joined #heat12:24
inc0try to configure horizon with 10.107.23.108 (although I don't think thats that)12:24
Elad123(10.107.23.108 = IP of the machine)12:24
*** akuznetsov has quit IRC12:24
*** blomquisg has joined #heat12:24
Elad123I just did it12:24
*** akuznetsov has joined #heat12:24
inc0and add AVAILABLE_REGIONS http://docs.openstack.org/developer/horizon/topics/settings.html12:24
inc0like that12:24
inc0to correspond with your OS_REGION_NAME env12:25
*** akuznetsov has quit IRC12:25
Elad123on the appache error I see: ServiceCatalogException: Invalid service catalog service: orchestration12:25
*** akuznetsov has joined #heat12:25
Elad123and on keystone service-list12:25
Elad123  heat   | orchestration  |        Orchestration         |12:25
Elad123heat-cfn | cloudformation | Orchestration CloudFormation |12:25
*** akuznetsov has quit IRC12:26
Elad123should I change the name 'heat' to 'orchestration' ?12:26
*** akuznetsov has joined #heat12:26
*** Elad123 has left #heat12:26
inc0type is orchiestration12:26
inc0...12:26
*** Elad123 has joined #heat12:26
Elad123ops12:26
Elad123I'm back12:26
*** akuznetsov has quit IRC12:26
*** akuznetsov has joined #heat12:27
*** jyoti-ranjan has joined #heat12:27
*** akuznetsov has quit IRC12:27
*** radez_g0n3 is now known as radez12:27
*** akuznetsov has joined #heat12:27
Elad123inc0: ?12:28
inc0well, basically it seems horizon ask your keystone in some strange way it doesn't work. I can't really think of anything else12:28
*** akuznetsov has quit IRC12:28
inc0check in keystone logs queries horizon makes12:28
*** akuznetsov has joined #heat12:28
inc0and whats different with your CLI ones12:28
*** akuznetsov has quit IRC12:29
*** IgorYozhikov has joined #heat12:29
*** akuznetsov has joined #heat12:29
*** akuznetsov has quit IRC12:30
*** nkhare has quit IRC12:30
*** akuznetsov has joined #heat12:30
*** akuznetsov has quit IRC12:30
Elad123inc0: https://bugzilla.redhat.com/show_bug.cgi?id=106100512:30
uvirtbotElad123: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found12:30
*** jdob has joined #heat12:31
Elad123it seems my issue right?12:31
*** akuznetsov has joined #heat12:31
Elad123oot@OpenStack:/var/log/apache2# keystone service-get heat WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------+ |   Property  |              Value               | +-------------+----------------------------------+ | description |          Orchestration           | |   enabled   |               True               | |      id     | 06d12:32
*** akuznetsov has quit IRC12:32
Elad123....12:32
Elad123keystone service-get heat12:32
Elad123   Property  |              Value               |12:32
*** akuznetsov has joined #heat12:32
Elad123 description |          Orchestration           |12:32
Elad123|   enabled   |               True               |12:32
Elad123|      id     | 06d42b6314eb40e4aa4550e86be9b636 |12:32
Elad123|     name    |               heat               |12:32
Elad123|     type    |          orchestration           |12:32
*** akuznetsov has quit IRC12:33
*** akuznetsov has joined #heat12:33
*** akuznetsov has quit IRC12:33
*** EricGonczer_ has joined #heat12:33
*** akuznetsov has joined #heat12:34
*** simonc has joined #heat12:34
*** akuznetsov has quit IRC12:34
*** akuznetsov has joined #heat12:34
*** akuznetsov has quit IRC12:35
*** akuznetsov has joined #heat12:35
*** akuznetsov has quit IRC12:36
*** akuznetsov has joined #heat12:36
Elad123root@OpenStack:~/openstackgeek/icehouse# keystone catalog WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 'NoneType' object has no attribute 'has_service_catalog'12:36
*** aweiteka has joined #heat12:36
Elad123do you know why this command is not working?12:36
*** akuznetsov has quit IRC12:37
*** akuznetsov has joined #heat12:37
*** EricGonczer_ has quit IRC12:37
*** akuznetsov has quit IRC12:37
*** akuznetsov has joined #heat12:38
*** akuznetsov has quit IRC12:38
*** akuznetsov has joined #heat12:38
*** akuznetsov has quit IRC12:39
*** akuznetsov has joined #heat12:39
shardyElad123: you've put admin_token from keystone.conf in your OS_TOKEN, you should export a username/password instead12:39
shardyalso, please use paste.openstack.org in future :)12:40
*** akuznetsov has quit IRC12:40
*** akuznetsov has joined #heat12:40
*** akuznetsov has quit IRC12:40
*** akuznetsov has joined #heat12:41
Elad123shardy: I have SERVICE_TOKEN in my env12:41
*** akuznetsov has quit IRC12:41
shardyElad123: that is the reason for the warning12:41
*** akuznetsov has joined #heat12:41
*** akuznetsov has quit IRC12:42
Elad123shardy: so it is ok that I get the following:12:42
*** akuznetsov has joined #heat12:42
Elad123 keystone catalog WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 'NoneType' object has no attribute 'has_service_catalog'12:42
Elad123?12:42
*** akuznetsov has quit IRC12:43
*** akuznetsov has joined #heat12:43
shardyElad123: No, you should unset OS_TOKEN and export the admin username/password instead, like I just said12:43
shardys/OS_TOKEN/SERVICE_TOKEN12:43
*** akuznetsov has quit IRC12:44
*** akuznetsov has joined #heat12:44
*** slagle_ has joined #heat12:44
*** akuznetsov has quit IRC12:44
*** akuznetsov has joined #heat12:45
*** akuznetsov has quit IRC12:45
*** akuznetsov has joined #heat12:45
Elad123but now:12:46
Elad123root@OpenStack:~/openstackgeek/icehouse# keystone service-list Expecting a token provided via either --os-token or env[OS_SERVICE_TOKEN]12:46
*** akuznetsov has quit IRC12:46
*** akuznetsov has joined #heat12:46
shardyElad123: http://paste.fedoraproject.org/141423/1320425212:46
*** akuznetsov has quit IRC12:47
shardyprobably you have exported an endpoint instead of OS_AUTH_URL12:47
*** akuznetsov has joined #heat12:47
*** akuznetsov has quit IRC12:47
*** akuznetsov has joined #heat12:48
*** akuznetsov has quit IRC12:48
*** akuznetsov has joined #heat12:48
*** akuznetsov has quit IRC12:49
*** akuznetsov has joined #heat12:49
*** akuznetsov has quit IRC12:50
*** akuznetsov has joined #heat12:50
*** akuznetsov has quit IRC12:50
*** akuznetsov has joined #heat12:51
*** akuznetsov has quit IRC12:51
*** akuznetsov has joined #heat12:52
*** akuznetsov has quit IRC12:52
*** akuznetsov has joined #heat12:52
*** akuznetsov has quit IRC12:53
*** akuznetsov has joined #heat12:53
*** akuznetsov has quit IRC12:54
*** akuznetsov has joined #heat12:54
*** akuznetsov has quit IRC12:54
*** akuznetsov has joined #heat12:55
*** akuznetsov has quit IRC12:55
*** akuznetsov has joined #heat12:55
*** akuznetsov has quit IRC12:56
*** akuznetsov has joined #heat12:56
*** akuznetsov has quit IRC12:57
*** akuznetsov has joined #heat12:57
*** akuznetsov has quit IRC12:57
*** akuznetsov has joined #heat12:58
*** akuznetsov has quit IRC12:58
*** akuznetsov has joined #heat12:58
*** akuznetsov has quit IRC12:59
*** akuznetsov has joined #heat12:59
*** mcwoods has joined #heat12:59
*** akuznetsov has quit IRC13:00
mcwoodsjoin13:00
*** akuznetsov has joined #heat13:00
*** akuznetsov has quit IRC13:00
inc0shardy, quick question regarding convergence, where will logic for convergence healing be placed?13:01
*** akuznetsov has joined #heat13:01
*** mcwoods_ has joined #heat13:01
*** akuznetsov has quit IRC13:01
inc0does having handle_rebuild method in resource makes sense?13:01
*** akuznetsov has joined #heat13:02
inc0or even configurable handle_rebuild?:)13:02
*** akuznetsov has quit IRC13:02
*** akuznetsov has joined #heat13:02
*** akuznetsov has quit IRC13:03
*** akuznetsov has joined #heat13:03
*** akuznetsov has quit IRC13:04
*** akuznetsov has joined #heat13:04
*** akuznetsov has quit IRC13:04
shardyinc0: I think exactly where is TBC, but it's probably dependent on the convergence-engine spec:13:04
shardyhttps://review.openstack.org/#/c/96404/13:04
*** akuznetsov has joined #heat13:05
shardymy opinion is that we should just add logic to the existing heat-engine and run more of them13:05
*** akuznetsov has quit IRC13:05
shardyre handle_rebuild, I'm not sure really, the main thing you're likely to rebuild is a server, and that already has a rebuild interface via handle_update13:05
*** akuznetsov has joined #heat13:05
*** slagle has quit IRC13:05
*** akuznetsov has quit IRC13:06
shardyIMO handle_rebuild implies rebuild specific code for many resources, but other than nova servers, I can't think of any where it won't just mean replacement13:06
*** slagle_ is now known as slagle13:06
inc0shardy, there are few cases, I try to fit my "evacuate" case into this - simple "rebuild" will raretly work and I don't think its good way to actually increase vm SLA13:07
inc0we could make default method which would be destroy->create13:07
*** akuznetsov has joined #heat13:07
inc0and for selected resources apply custom logic13:07
shardyinc0: you mean evacuate a nova host before rebuild?13:07
inc0nova instance is one of few (if not only), but also its most critical13:07
*** akuznetsov has quit IRC13:07
*** ramishra has quit IRC13:08
inc0nova evacuate in fact is rebuilding13:08
*** akuznetsov has joined #heat13:08
inc0on different host13:08
inc0but there are few cases even with evacuate13:08
inc0for example evacuate defaults to --on-shared-storage flag13:08
*** akuznetsov has quit IRC13:08
inc0and thats not always a case13:08
*** akuznetsov has joined #heat13:08
inc0but I'd love to see that as an option, because its cool feature in regards of VM SLA13:09
*** akuznetsov has quit IRC13:09
*** akuznetsov has joined #heat13:09
inc0I'd love to see something more than lowest common denominator in case of convergence healing13:09
*** akuznetsov has quit IRC13:10
*** akuznetsov has joined #heat13:10
*** rpothier has joined #heat13:10
*** akuznetsov has quit IRC13:11
*** akuznetsov has joined #heat13:11
inc0on summit I'll have PoC of using automatic evacuate to make VMs SLA bigger than hosts SLA13:11
*** akuznetsov has quit IRC13:11
*** akuznetsov has joined #heat13:12
inc0mechanisms are already there, and I think convergence is place for it13:12
*** akuznetsov has quit IRC13:12
*** akuznetsov has joined #heat13:12
*** akuznetsov has quit IRC13:13
*** akuznetsov has joined #heat13:13
*** sgordon_ has joined #heat13:13
*** akuznetsov has quit IRC13:14
*** akuznetsov has joined #heat13:14
*** dims has quit IRC13:14
*** akuznetsov has quit IRC13:14
*** akuznetsov has joined #heat13:15
*** jcoufal has quit IRC13:15
*** dims has joined #heat13:15
*** akuznetsov has quit IRC13:15
*** jcoufal has joined #heat13:15
*** akuznetsov has joined #heat13:15
*** akuznetsov has quit IRC13:16
mcwoodsinc0 really? - I'd love to learn more, do you have anything I can take a look at now?13:16
*** akuznetsov has joined #heat13:16
*** akuznetsov has quit IRC13:17
*** akuznetsov has joined #heat13:17
inc0mcwoods, just really ugly PoC;) I'll demo it in Paris13:17
*** akuznetsov has quit IRC13:18
*** akuznetsov has joined #heat13:18
inc0but basic idea is to enable nova to monitor host health, when host goes down nova marks vms as Error (now it doesn't)13:18
inc0convergence sees that and perform nova evacuate --on-shared-storage13:18
*** akuznetsov has quit IRC13:18
*** akuznetsov has joined #heat13:19
inc0with current PoC quality and zookeeper service group api, time between compute node power off and instance rebuild is less than 10s13:19
*** akuznetsov has quit IRC13:19
*** akuznetsov has joined #heat13:19
inc0by instance rebuild I mean up to time I can log in to ssh, so with all the services started13:19
inc0(depends on app really, but still...)13:20
*** akuznetsov has quit IRC13:20
*** akuznetsov has joined #heat13:20
*** akuznetsov has quit IRC13:21
*** sgordon_ has quit IRC13:21
*** akuznetsov has joined #heat13:21
*** akuznetsov has quit IRC13:21
*** akuznetsov has joined #heat13:22
*** akuznetsov has quit IRC13:22
*** tonisbones has joined #heat13:22
*** akuznetsov has joined #heat13:22
*** ananta has quit IRC13:22
*** akuznetsov has quit IRC13:23
*** akuznetsov has joined #heat13:23
*** akuznetsov has quit IRC13:24
*** akuznetsov has joined #heat13:24
*** akuznetsov has quit IRC13:24
*** akuznetsov has joined #heat13:25
*** akuznetsov has quit IRC13:25
*** akuznetsov has joined #heat13:26
*** akuznetsov has quit IRC13:26
*** akuznetsov has joined #heat13:26
*** tonisbones has quit IRC13:27
*** akuznetsov has quit IRC13:27
*** akuznetsov has joined #heat13:27
*** eoutin has quit IRC13:27
*** akuznetsov has quit IRC13:28
*** akuznetsov has joined #heat13:28
shardyinc0: As discussed in your spec review, I think the thing to clarify is what features belong in Nova, and what would be a good fit for heat13:28
*** akuznetsov has quit IRC13:28
*** akuznetsov has joined #heat13:29
shardyGiven your example above, if nova monitors health, and marks the VM in error, and does the evacuate, I'm not sure what Heat really adds in that case13:29
*** akuznetsov has quit IRC13:29
*** akuznetsov has joined #heat13:29
*** akuznetsov has quit IRC13:30
*** akuznetsov has joined #heat13:30
*** tonisbones has joined #heat13:30
*** akuznetsov has quit IRC13:31
*** akuznetsov has joined #heat13:31
inc0shardy, what heat adds is actual monitoring. Nova doesn't connect instance to host really and shouldn't perform any action-reaction mechanisms13:31
*** akuznetsov has quit IRC13:31
*** akuznetsov has joined #heat13:32
inc0marking vm as error is update of their actual state, but I don't think nova should do anything else13:32
*** sdake has joined #heat13:32
*** sdake has quit IRC13:32
*** sdake has joined #heat13:32
inc0heat on the other hand is supposed to monitor vm health and perform autohealing13:32
*** akuznetsov has quit IRC13:32
*** akuznetsov has joined #heat13:32
inc0it won't rebuild instance on low level (thats nova job), but I think it should take care of stack integrity13:33
*** akuznetsov has quit IRC13:33
*** akuznetsov has joined #heat13:33
inc0what I really want from heat convergence is to make autohealing actions configurable in some way13:33
*** akuznetsov has quit IRC13:34
inc0so we can say this vm is ok to be destroyed and then recreated, but this one should be evacuated13:34
inc0now when I think of it, destroy->recreate is not always good idea13:34
inc0volumes for example...13:34
*** sdake has quit IRC13:34
*** akuznetsov has joined #heat13:35
*** sdake has joined #heat13:35
inc0so that should be configurable anyway13:35
shardyinc0: Heat won't do any monioring, we will react to alarms, e.g from ceilometer13:35
*** akuznetsov has quit IRC13:35
shardydeletion policy for volumes is already configurable, but I get your point13:35
*** akuznetsov has joined #heat13:35
inc0shardy, or check resource status (check stack)13:36
*** akuznetsov has quit IRC13:36
*** akuznetsov has joined #heat13:36
*** sanjayu has quit IRC13:36
inc0convergence-observer will periodically check status of covered resources right?13:37
*** akuznetsov has quit IRC13:37
*** akuznetsov has joined #heat13:37
*** jasond has joined #heat13:37
*** akuznetsov has quit IRC13:37
shardyinitially, no, eventually, maybe13:38
*** akuznetsov has joined #heat13:38
shardypolling state is a pretty unscalable solution, having nova notify on state change would be much better long term13:38
inc0but contionus observer will listen on notifications13:38
*** akuznetsov has quit IRC13:38
inc0shardy, agree, anyway, this way heat will know when instance goes error13:39
*** akuznetsov has joined #heat13:39
inc0thats "monitoring" I was referring to13:39
shardyMy point is, nova nottifies us e.g a host is offline and all VMs on it are in ERROR status13:39
shardywe then immediately tell nova to take some corrective action13:39
*** akuznetsov has quit IRC13:39
shardythat is not orchestration really, IMO13:39
*** akuznetsov has joined #heat13:39
shardyMaybe if it triggers replacement of a heirarchy of resources13:40
*** akuznetsov has quit IRC13:40
*** akuznetsov has joined #heat13:40
inc0shardy, replacement is not always good idea, thats all I'm saying. I think that should be handled differently for each case13:40
*** akuznetsov has quit IRC13:41
*** akuznetsov has joined #heat13:41
*** akuznetsov has quit IRC13:41
*** jmckind has joined #heat13:41
*** akuznetsov has joined #heat13:42
inc0and replacement will occur in same manner- immediately after notification13:42
*** akuznetsov has quit IRC13:42
inc0so instead of replacement we can perform autohealing (replacement is only one of types of that), and both cases are covered13:42
*** akuznetsov has joined #heat13:42
*** akuznetsov has quit IRC13:43
*** akuznetsov has joined #heat13:43
*** akuznetsov has quit IRC13:44
inc0and to be honest, after lots of talks to many different people (ops, real openstack users and so on), people really want that kind of feature13:44
*** lazy_prince is now known as killer_prince13:44
*** akuznetsov has joined #heat13:45
*** akuznetsov has quit IRC13:45
*** akuznetsov has joined #heat13:46
*** akuznetsov has quit IRC13:46
*** akuznetsov has joined #heat13:46
*** akuznetsov has quit IRC13:47
*** akuznetsov has joined #heat13:47
*** akuznetsov has quit IRC13:48
* Qiming don't think convergence is gonna be the solution for all problems13:48
*** akuznetsov has joined #heat13:48
inc0Qiming, this is very specific problem;)13:48
*** rushiagr is now known as rushiagr_away13:48
*** akuznetsov has quit IRC13:48
ryansbQiming: it's not intended to be, but it happens to do a great job against certain problem classes.13:48
*** akuznetsov has joined #heat13:49
Qimingryansb, agreed13:49
*** ramishra has joined #heat13:49
*** akuznetsov has quit IRC13:49
*** JayJ has joined #heat13:49
*** akuznetsov has joined #heat13:49
*** akuznetsov has quit IRC13:50
ryansbthough there are days when I feel like that guy from My Big Fat Greek Wedding (just put some Convergence on it!)13:50
*** akuznetsov has joined #heat13:50
*** akuznetsov has quit IRC13:51
*** akuznetsov has joined #heat13:51
*** JayJ has quit IRC13:51
*** akuznetsov has quit IRC13:51
*** akuznetsov has joined #heat13:52
*** akuznetsov has quit IRC13:52
*** vijendar has quit IRC13:52
*** jyoti-ranjan has quit IRC13:52
*** akuznetsov has joined #heat13:52
inc0I will show what I mean in Paris and hopefully then you'll agree with me;) eighter way, you wont get rid of me that easily13:53
inc0;)13:53
*** Drago has joined #heat13:53
*** akuznetsov has quit IRC13:53
Qiminglol13:53
*** akuznetsov has joined #heat13:53
*** coolsvap has quit IRC13:53
*** akuznetsov has quit IRC13:54
*** akuznetsov has joined #heat13:54
*** akuznetsov has quit IRC13:54
*** akuznetsov has joined #heat13:55
Qiminginc0, do you have a definite schedule for the show?13:55
*** akuznetsov has quit IRC13:55
inc0Qiming, no, demo I'm reffering to will be available all the time in intel booth13:55
*** akuznetsov has joined #heat13:55
inc0schedule is still pretty fluid afaik13:56
Qiminginc0, I hope I can find you there and exchange with you what I have been playing with13:56
*** akuznetsov has quit IRC13:56
arif-alihi chaps, A question on using the user_data property  in OS::Nova::Server, for some reason, I get "Property Error : Master Node: User Data Items To Join Must Be Strings"13:56
*** akuznetsov has joined #heat13:56
arif-alimy template for this is https://gitlab.arif-ali.co.uk/arif/openstack-lab/blob/master/heat_templates/icehouse/hpc.yaml13:56
inc0for sure, I intend to be present on heat events13:56
*** akuznetsov has quit IRC13:57
Qiminginc0, be sure to put a label 'inc0' on your forehead13:57
*** akuznetsov has joined #heat13:57
*** Drago has quit IRC13:57
arif-aliI have tried to to take out this resource out of the main template and do it that way, and it doesn't have any problems, any ideas would be great, btw this is Icehouse13:57
*** akuznetsov has quit IRC13:58
inc0by the way, we were working on zookeeper service group plugin, and that looks very nice in terms of latency, currently we are working on bp for nova to monitor host health using that13:58
ryansbQiming: really everyone should get a big name placard with their IRC nick, then their actual name in smaller print at the bottom.13:58
*** akuznetsov has joined #heat13:58
Qimingthat is a GOOD idea13:58
ryansbwould resolve a lot of "Oh wait, *you're* ____? Nice to see you"13:58
inc0if we get nameplates there, all I'll need is whiteboard marker13:59
inc0or permanent13:59
ryansbskip the name tag, just permanent marker + forehead.13:59
Qimingtatoo is it13:59
*** hdd has joined #heat13:59
shardyryansb: the name badges do have IRC nick on there, it's just quite small, so you spend all week squinting at them instead of making eye contact when meeting folks :)13:59
ryansbshardy: yeah, it should be swapped. Giant IRC nick, small name.14:00
inc0format of badges is managed by launchpad? if so I might have bp to post14:00
ryansb+1 to that14:01
*** blinky_ghost_ has joined #heat14:03
*** blinky_ghost has quit IRC14:03
inc0tatoo with freenode irc nick...you don't get more geeky than that14:05
ryansbinc0: gotta have it right next to your Tux tattoo.14:06
inc0ryansb, no...it was supposed to be visible on conference...14:07
ryansbhah14:07
openstackgerritSergey Kraynev proposed a change to openstack/heat: Clarify snapshot deletion methods  https://review.openstack.org/12796514:08
inc0arif-ali, this might be bug, have you tried json format?14:09
*** nkhare has joined #heat14:09
openstackgerritSergey Kraynev proposed a change to openstack/heat: Clarify snapshot deletion methods  https://review.openstack.org/11747314:12
*** rwsu has joined #heat14:22
*** jasond`` has joined #heat14:24
*** jasond has quit IRC14:25
*** beekneemech is now known as bnemec14:25
*** achampion has quit IRC14:28
*** spzala has joined #heat14:30
*** vijendar has joined #heat14:30
*** nkhare has quit IRC14:31
*** EricGonczer_ has joined #heat14:33
*** packet has quit IRC14:36
*** Elad123 has quit IRC14:37
*** sjmc7 has joined #heat14:38
*** EricGonczer_ has quit IRC14:42
*** EricGonczer_ has joined #heat14:43
arif-aliinc0, no I haven't, I will give that a try, I am presuming there's a tool that converts yaml to json, or do I need do it manually14:45
*** jprovazn has quit IRC14:45
inc0arif-ali, no idea, but there should be...14:47
*** rwsu has quit IRC14:47
*** yassine has joined #heat14:48
inc0anyway if that works as standalone template then I'd guess thats eighter problem with yaml parsing or bug in heat14:48
*** vijendar has quit IRC14:48
inc0anyway, got to go, cya tomorrow guys14:49
*** inc0 has quit IRC14:50
*** packet has joined #heat14:52
*** Isotopp has left #heat14:54
*** rushiagr_away is now known as rushiagr14:55
shardytherve: Hey, in the meeting last week we were looking for an oslo liason for Kilo and I volunteered14:55
shardyIs that cool with you, or are you keen to do it again?14:56
*** achanda has joined #heat14:56
ryansbarif-ali: you can do it pretty easily in a python shell14:56
ryansbjson.dumps(yaml.load(<YAML GOES HERE>))14:56
shardyI'm happy either way, but about to start on the obsolete-stuff removal, so wanted to ensure we're not duplicating effort :)14:56
*** pasquier-s__ has joined #heat14:57
shardy(ref bug #1380629)14:57
uvirtbotLaunchpad bug 1380629 in python-heatclient "Fix using obsolete oslo modules" [High,Triaged] https://launchpad.net/bugs/138062914:57
*** miarmak has joined #heat14:59
*** pasquier-s_ has quit IRC15:00
openstackgerritVijayaguru Guruchave proposed a change to openstack/python-heatclient: Pass auth_url if os_no_client_auth specified.  https://review.openstack.org/12798715:03
*** randallburt has joined #heat15:04
*** randallburt has joined #heat15:04
*** aweiteka has quit IRC15:05
*** achanda has quit IRC15:06
*** sorantis has joined #heat15:08
*** rakesh_hs has quit IRC15:13
*** ishant has quit IRC15:14
*** vijendar has joined #heat15:18
*** aweiteka has joined #heat15:20
*** sjmc7_ has joined #heat15:20
*** vijendar has quit IRC15:20
*** vijendar has joined #heat15:21
*** sjmc7 has quit IRC15:23
*** sjmc7_ is now known as sjmc715:24
*** Drago has joined #heat15:25
*** achampion has joined #heat15:30
*** EricGonczer_ has quit IRC15:32
*** Qiming has quit IRC15:33
*** pasquier-s_ has joined #heat15:33
*** pasquier-s__ has quit IRC15:36
*** amakarov has joined #heat15:38
*** tspatzier has quit IRC15:39
*** miarmak has quit IRC15:43
openstackgerritAdrien Vergé proposed a change to openstack/heat: Support Cinder scheduler hints  https://review.openstack.org/12629815:47
*** julienve_ has quit IRC15:47
*** tango has joined #heat15:49
*** sorantis has quit IRC15:50
*** Drago has quit IRC15:51
*** viktors is now known as viktors|afk15:52
*** mkollaro has quit IRC15:53
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add a handle_delete method to SwiftSignalHandle  https://review.openstack.org/12729515:57
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add is_conflict() to client plugins  https://review.openstack.org/12763515:57
*** kebray has joined #heat16:02
*** EricGonczer_ has joined #heat16:02
*** ramishra has quit IRC16:03
*** tomek_adamczewsk has quit IRC16:06
*** ramishra_ has joined #heat16:07
*** aweiteka has quit IRC16:12
mcwoodsAs there been anu update on the schedule for the Heat sessions in Paris?16:16
openstackgerritSergey Kraynev proposed a change to openstack/heat: Adding tests for sahara client exeptions  https://review.openstack.org/12792716:17
*** Drago has joined #heat16:18
*** Drago has quit IRC16:18
*** Drago has joined #heat16:18
*** pasquier-s_ has quit IRC16:22
*** jcoufal has quit IRC16:25
*** yassine has quit IRC16:26
*** swygue has joined #heat16:26
arif-aliHow would I go about converting "{get_attr: [master_node_eth0, fixed_ips, 0, ip_address]}" into json format, I have tried { "Fn:Select": [ "ip_address", "Fn::Select": [ "0", "Fn::GetAtt": [ "master_node_eth0", "fixed_ips" ]]]} doesn't work16:27
arif-aliany ideas?16:28
arif-aliI have googled around and tried to find examples, but most examples point to YAML format16:28
*** jistr has quit IRC16:29
arif-aliand trying to get it through JSON validator, It doesn't like the second colon after the second "Fn::Select"16:29
mcwoodsarif-ali - I've used http://yamltojson.com/ - found it pretty handy for that sort of stuff16:30
arif-aliThat's exactly what I tried using16:32
arif-alibut that won't convert the get_attr to the json syntax, as get_attr is HOT afaik16:33
randallburtarif-ali:  that line is already mostly in json format. I think you'll just need to put quotes around the strings.16:33
shardyarif-ali: can you paste the template you're having issues with into paste.openstack.org please?16:33
randallburt{"get_attr": ["master_node_eth0", "fixed_ips", 0, "ip_address"]}16:34
arif-alishardy, the template in https://gitlab.arif-ali.co.uk/arif/openstack-lab/blob/master/heat_templates/icehouse/hpc.yaml, doesn't work for some reason, it was suggested that there may be a bug, so trying to convert to JSON, and see if I can resolve the problem16:35
arif-aliso this is in icehouse16:35
arif-alialthough it worked in juno16:35
*** cody-somerville has joined #heat16:35
*** cody-somerville has quit IRC16:35
*** cody-somerville has joined #heat16:35
jdandreaWhere is the blueprint referenced by https://review.openstack.org/#/c/89363/ ? (not found)16:37
shardyarif-ali: But it works with https://review.openstack.org/#/c/121139 which is proposed for Icehouse ref the comment in the template?16:38
shardyOr is it master_node_ip you're passing to compute_nodes that you have issues with?16:40
arif-alishardy, in the original YAML template, I get the error "Property Error : Master Node: User Data Items To Join Must Be Strings", when the stack is building for the master_node resource16:41
arif-aliit for some reason doesn't like the user_data, but when I take out any dependancies, i.e. the Resourcegroups and waitcondition, the Instance actually builds, and I have no issues at all16:42
*** rwsu has joined #heat16:42
*** stannie has quit IRC16:44
*** funzo_ has joined #heat16:46
arif-alishardy: it's not a list_join issue, earlier today inc0 suggested that this may be a bug, so since then I have been trying to convert my template to JSON16:46
*** funzo has quit IRC16:47
arif-aliand the last hurdle is converting {get_attr: [master_node_eth0, fixed_ips, 0, ip_address]}16:47
shardyarif-ali: sure, I'm just seeing if we can identify what bug, given that it's evidently been fixed for Juno16:47
shardyThen we can potentially backport the fix :)16:48
*** eoutin has joined #heat16:49
*** mcwoods_ has quit IRC16:49
arif-alishardy, ok, no worries, The main thing that the stack fails after the waitcondition of  OS::Heat::ResourceGroup finishes16:50
arif-alieverything else in my YAML template seems to work16:50
*** blinky_ghost_ has quit IRC16:50
arif-alibbl, I will look at this more in ~2/3 hrs, I will need to look through some of the Heat Logs, and find out where it is failing16:52
arif-alithanks for your help16:52
*** funzo_ has quit IRC16:53
*** funzo_ has joined #heat16:54
*** cdent has joined #heat16:56
*** andersonvom has joined #heat16:56
*** sarob has joined #heat16:59
shardyjdandrea: https://blueprints.launchpad.net/heat/+spec/stack-lifecycle-plugpoint17:00
jdandreatx17:00
jdandreaI wonder why I can't find it via the link? https://blueprints.launchpad.net/openstack/?searchtext=stack-lifecycle-plugpoint17:00
*** derekh has quit IRC17:01
shardyThe search excludes closed/implemented BP's, unfortunately :(17:01
shardyI expect you can append some additional query string args to override that, but I normally just paste the name after +spec above17:02
*** kopparam has joined #heat17:02
*** harlowja_away is now known as harlowja17:03
*** aweiteka has joined #heat17:07
*** kopparam has quit IRC17:13
*** hdd has quit IRC17:13
*** kopparam has joined #heat17:16
*** tomek_adamczewsk has joined #heat17:16
*** EricGonczer_ has quit IRC17:23
*** rushiagr is now known as rushiagr_away17:24
*** Drago has quit IRC17:25
*** Drago has joined #heat17:25
*** tomek_adamczewsk has quit IRC17:25
*** EricGonczer_ has joined #heat17:25
*** tomek_adamczewsk has joined #heat17:26
*** kopparam has quit IRC17:27
*** kopparam has joined #heat17:28
*** tomek_adamczewsk has quit IRC17:28
*** tomek_adamczewsk has joined #heat17:28
*** kopparam has quit IRC17:33
arif-alishardy: the heat engine.log shows the following error when the issue happens http://paste.openstack.org/show/120762/17:33
*** mkollaro has joined #heat17:36
shardyarif-ali: is that with https://review.openstack.org/#/c/121139/ applied to your icehouse heat?17:36
*** tomek_adamczewsk has quit IRC17:37
andersonvomshardy: excluding those blueprints is very unfortunate indeed. especially when you're looking at an old patch and click the reference to look at the blueprint...17:38
* andersonvom sighs...17:38
*** ramishra_ has quit IRC17:38
*** tomek_adamczewsk has joined #heat17:38
*** tspatzier has joined #heat17:39
*** ramishra has joined #heat17:39
*** jstrachan has quit IRC17:39
arif-alichecking now17:39
*** tomek_adamczewsk has quit IRC17:41
*** tomek_adamczewsk has joined #heat17:41
*** vijendar has quit IRC17:43
*** vijendar has joined #heat17:47
arif-alishardy, I think I had tried that already, as I copied from another template, and it suggested that change, so no change17:49
*** julienve_ has joined #heat17:50
*** achanda has joined #heat17:50
*** hdd has joined #heat17:50
shardyarif-ali: Hmm, well FWIW the issue fixed by that patch is very similar to what you are seeing, because you're referencing a ResourceGroup in the user_data17:51
shardyIf it is the same problem, then there isn't a template-level workaround, because the attribute is not returning a list during validation17:51
shardySo I'd double check if you can ;)17:52
* shardy -> dinner17:52
arif-aliok, will keep investigating; I will re-provision my env to Juno to double/triple-check17:52
*** tomek_adamczewsk has quit IRC17:53
*** tomek_adamczewsk has joined #heat17:56
*** amakarov is now known as amakarov_away17:57
*** tomek_adamczewsk has quit IRC18:05
*** dsneddon_ has quit IRC18:06
Putnsarif-ali: there is a python library for that18:06
Putnsconverting from yaml to json18:06
Putnsand vice-versa18:06
*** dsneddon_ has joined #heat18:07
arif-aliPutns, I have tried converting, but that didn't go to plan; but I didn't try through python though, will that convert calls like get_attr to Ref?18:08
Putnsuhm, its only the syntax18:08
Putnsyaml <-> json18:08
arif-aliI converted most parts, but I couldn't convert {"get_attr": ["master_node_eth0", "fixed_ips", 0, "ip_address"]}18:09
Putnsunrelated to heat orchestration templates18:09
arif-alione of the examples I saw was { "Fn:Select": [ "ip_address", "Fn::Select": [ "0", "Fn::GetAtt": [ "master_node_eth0", "fixed_ips" ]]]18:10
arif-alibut putting that through json validator, it complained18:10
Putnsits lacking a closing }18:10
Putns:)18:10
arif-aliyeah, I know that one , I didn't paste that into this convo18:11
Putnsbut other than that i dunno. Why would you want to use the older JSON format?18:11
arif-alibecause the HOT template in IceHouse is not working18:12
Putnsthat seems unlikely18:12
arif-alibut similar syntax in Juno does18:12
Putnswhat doesnt work in it, exactly?18:12
arif-aliThe user_data in the OS::Nova::Server doesn't work, after the OS::Heat::ResourceGroup finishes18:13
arif-aliI get http://paste.openstack.org/show/120762/ in engine.log18:14
Putnsare you doing a list join there?18:15
*** tango|2 has joined #heat18:16
arif-aliI am using Fn::Join, within the params section18:17
Putnswhat are you trying to join?18:17
arif-alihttps://gitlab.arif-ali.co.uk/arif/openstack-lab/blob/master/heat_templates/icehouse/hpc.yaml#L21018:18
*** tango has quit IRC18:18
Putnsuhm18:19
Putnsdoes a resourcegroup output the outputs of its nested resources in a list?18:23
Putnsoh it does18:23
*** akuznetsov has quit IRC18:24
*** akuznetsov has joined #heat18:25
*** akuznetsov has quit IRC18:26
openstackgerritMiguel Grinberg proposed a change to openstack/heat: unconfigured clients look in the [clients] section for defaults  https://review.openstack.org/12769918:27
Putnsweird, seems okay, assuming the outputs from the nested stacks are indeed strings18:28
arif-aliPutns, thanks for looking, my Juno install is just about to finish, so going to try the same template there18:30
*** daneyon has quit IRC18:38
*** eoutin has quit IRC18:44
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12803818:45
*** cdent has quit IRC18:45
*** tomek_adamczewsk has joined #heat19:02
*** aweiteka has quit IRC19:09
*** shakamunyi has joined #heat19:13
*** achanda has quit IRC19:15
*** daneyon has joined #heat19:15
*** tspatzier has quit IRC19:17
*** shakayumi has joined #heat19:18
*** aweiteka has joined #heat19:20
*** shakamunyi has quit IRC19:21
larsksThe "json" parameter type -- should this accept lists?  It currently (icehouse) says, "ERROR: Property error: ... is not a map".19:21
larsksShould "json" just be renamed to "map"?19:21
larsks(when trying to pass a list of maps)19:23
openstackgerritJason Dunsmore proposed a change to openstack/heat: Make Rackspace Cloud DNS TTL constraints match API  https://review.openstack.org/12806119:23
*** sdake_ has joined #heat19:23
*** tomek_adamczewsk has quit IRC19:24
*** tomek_adamczewsk has joined #heat19:25
*** kfox1111 has joined #heat19:27
*** hdd has quit IRC19:27
kfox1111has anyone started work on a resource that would make a http request on deletion?19:27
*** EricGonc_ has joined #heat19:30
*** EricGonczer_ has quit IRC19:31
*** sdake_ has quit IRC19:38
jdandreaReality check Q: In the convergence model, does handle_signal() go away, move, change, etc.?19:39
*** daneyon_ has joined #heat19:43
*** achanda has joined #heat19:45
*** daneyon has quit IRC19:46
*** shakayumi has quit IRC19:48
*** tomek_adamczewsk has quit IRC19:52
*** cdent has joined #heat19:53
*** tomek_adamczewsk has joined #heat19:53
*** cdent has quit IRC19:53
shardykfox1111: there is https://blueprints.launchpad.net/heat/+spec/stack-lifecycle-plugpoint but that's not a user-visible hook20:00
shardyyou could also use a SoftwareDeployment to e.g run curl on delete in an instance20:01
shardyI'm not sure we really want heat-engine to hit lots of random user-provided URLs for security and performance reasons20:01
shardyjdandrea: we don't know yet, but the stated intention in the specs is not to break the plugin interface20:02
jdandreashardy: Thanks. I ask because I'm wondering what happens to task workflows that are "inside of Heat" today (AutoScaling?).20:03
shardylarsks: probably a bug as we only use maps, most lists are implemented via comma_delimited_list20:03
* jdandrea realizes that might be a loaded question at the moment. :)20:03
larsksshardy: asking because I was looking into https://ask.openstack.org/en/question/50986/what-is-the-proper-format-to-pass-allocation_pools-to-a-nested-stack/20:03
shardyjdandrea: those who attended the mid-cycle meetup where the convergence design was discussed may have more answers, but ultimately there's just not been enough progress during Juno to really answer that question with any accuracy20:04
shardyhopefully that will change soon :)20:05
* jdandrea nods20:05
*** hdd has joined #heat20:05
shardyjdandrea: FWIW I hope it's an incremental decoupling which allows much of what we already have working to remain in something like the same form20:05
jdandreashardy: That sounds like a healthy approach, agreed.20:06
*** shakamunyi has joined #heat20:08
shardylarsks: interesting - from a quick scan it seems like json is the appropriate type, but you've hit a bug as we only use json maps20:08
*** tomek_adamczewsk has quit IRC20:09
larsksshardy: interesting.  thanks. should I open a bug?20:10
*** kebray has quit IRC20:11
shardylarsks: yes, please do, it seems like something which should be investigated20:11
*** tomek_adamczewsk has joined #heat20:11
*** ramishra has quit IRC20:13
*** kebray has joined #heat20:13
*** ramishra has joined #heat20:19
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add query property to threshold alarms.  https://review.openstack.org/12782120:20
*** hdd has quit IRC20:23
*** tomek_adamczewsk has quit IRC20:24
kfox1111shardy: so would you do an update to the stack to add a software deployment to do the final action then? I haven't played with softwaredeployments yet.20:26
kfox1111I'm interested in how to do a hook when the stack is going away. So like with autoscaling, I can register a vm with chef, but on downscaling, I want it to delete itself from chef before the vm gets deleted. Or if its a mongodb, say, move all its data off before allowing the instance to go away.20:27
*** tonisbones has quit IRC20:28
shardykfox1111: AIUI those are the sorts of use-cases where SoftwareDeployment resources with actions set to DELETE would be helpful20:28
kfox1111ah. ok. I'll dig through the software config stuff more then. thanks.20:29
shardypossibly you could add them via update, but more likely it'd be part of the template design you define on create20:29
kfox1111is https://wiki.openstack.org/wiki/Heat/Blueprints/hot-software-config-spec still reasonably correct?20:29
shardyprobably not, I'd refer to the template guide:20:29
kfox1111yeah. I'd prefer them on create anyway.20:29
shardyhttp://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::SoftwareDeployment20:29
shardyand the examples in the heat-templates repo20:29
kfox1111ok. thanks. :)20:30
kfox1111do you need to load anything special into the client for this to work?20:31
shardykfox1111: you need images which have the hooks to run the software config tool you want, there are various examples in heat-templates20:32
shardyheat just provides the data to the instance, which then has a hook script which runs the script or invokes some other tool, e.g chef/puppet or whatever with the data20:33
kfox1111hmm.. k. I'll take a look.20:33
shardyhttps://github.com/openstack/heat-templates/tree/master/hot/software-config20:33
kfox1111ah. dib elements. ok.20:34
*** shardy is now known as shardy_z20:36
*** daneyon_ has left #heat20:38
kfox1111hmm... so you load one of the software config elements into the image, then all Heat::SoftwareConfig's go to it? Or can you specify which type to use in the config?20:38
*** sdake_ has joined #heat20:39
openstackgerritA change was merged to openstack/heat-templates: Update image building steps in software-config README  https://review.openstack.org/12792420:39
kfox1111ah. group: ansible. I see.20:42
*** aweiteka has quit IRC20:42
kfox1111so delete will get called when the stack gets deleted? Which element do you need in the image to ensure that action?20:44
kfox1111ah. looks like os-[collect|refresh|apply]-config is the middleware... ok.20:48
larsksshardy_z: when you're around: I think that the json-parameters-not-accepting-lists issue may already be logged: https://bugs.launchpad.net/heat/+bug/134248720:49
uvirtbotLaunchpad bug 1342487 in heat "json parameters require json strings rather than accepting arbitrary json structures" [High,Fix released]20:49
*** radez is now known as radez_g0n320:49
*** tomek_adamczewsk has joined #heat20:50
stevebakermorning20:53
kfox1111stevebaker: morning20:54
*** Drago has quit IRC20:54
stevebakershardy_z: VolumeBackupRestoreIntegrationTest fails quite a bit. We might need to skip it to make the functional job voting20:56
stevebakerhttp://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiU3RhY2tCdWlsZEVycm9yRXhjZXB0aW9uOiBTdGFjayBWb2x1bWVCYWNrdXBSZXN0b3JlSW50ZWdyYXRpb25UZXN0XCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6Ijg2NDAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQxMzIzMzcwNzA2OX0=20:56
*** tomek_adamczewsk has quit IRC20:59
*** tomek_adamczewsk has joined #heat21:01
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add query property to threshold alarms.  https://review.openstack.org/12782121:01
*** jdob has quit IRC21:02
*** mkollaro has quit IRC21:04
openstackgerritMiguel Grinberg proposed a change to openstack/heat: unconfigured clients look in the [clients] section for defaults  https://review.openstack.org/12769921:04
*** sdake_ has quit IRC21:05
*** mspreitz has joined #heat21:08
mspreitzHelp, I am having trouble rebasing a change that depends on another change21:12
mspreitzI tried it, but am stuck with git contradicting itself21:12
larsksmspreitz: I can probably help with that.  What are you looking at?21:14
*** tomek_adamczewsk has quit IRC21:18
mspreitzlarsks: thanks.  I have one change in a local branch I named add/query.  I have another change that I put in a local branch named "antemerge".  I recently updated the change in add/query.  I am trying to catch the antemerge change up to that.  See http://paste.openstack.org/show/120811/ for how I flailed to do that21:18
larsksmspreitz: looking...21:19
mspreitzYou will see a couple of emacs invocations, during which I merged the conflicts by hand.21:19
mspreitzThe antemerge change depends on the add/query change21:19
*** tomek_adamczewsk has joined #heat21:21
*** sdake_ has joined #heat21:21
larsksmspreitz: so, the error: "No changes - did you forget to use 'git add'?" means that after editing the conflicting files, they look identical to files already in the one of the branches.21:25
larsksSome details at this post: http://wholemeal.co.nz/blog/2010/06/11/no-changes-did-you-forget-to-use-git-add/21:25
larsksYou can safely run "git rebase --skip" at this point and the rebase will continue.21:25
mspreitzlarsks: thanks.  That did indeed shup git up.21:27
mspreitzI have to go now, I will try to make progress from the point, later on.21:27
*** tomek_adamczewsk has quit IRC21:27
*** andersonvom has quit IRC21:30
larsksGlad to help.21:31
*** rpothier has quit IRC21:31
*** mspreitz has quit IRC21:31
*** jasond`` has quit IRC21:36
*** sdake_ has quit IRC21:38
openstackgerritA change was merged to openstack/heat: Refactor cinder volume v2 API changes  https://review.openstack.org/12794521:41
openstackgerritA change was merged to openstack/heat: Add is_conflict() to client plugins  https://review.openstack.org/12763521:44
openstackgerritA change was merged to openstack/heat: Add a handle_delete method to SwiftSignalHandle  https://review.openstack.org/12729521:44
*** blomquisg has quit IRC21:45
*** julienve_ has quit IRC21:46
*** julienve_ has joined #heat21:47
*** dims has quit IRC21:50
*** julienve_ has quit IRC21:51
*** swygue has quit IRC21:52
*** shakamunyi has quit IRC21:53
*** gooblja has quit IRC21:56
*** gooblja has joined #heat21:58
*** sarob has quit IRC22:14
*** sarob has joined #heat22:18
*** asalkeld has joined #heat22:18
asalkeldmorning22:20
stevebakerhi22:22
kfox1111hmm... I see reference to a Heat::Chef in heat/tests/test_engine_service.py, but no other files. Is there an extra plugin somewhere?22:22
stevebakernope22:24
kfox1111It just works magically? :)22:24
stevebakerkfox1111: there is a chef software-config hook in the process of being written https://review.openstack.org/#/c/80229/22:25
kfox1111ah. ok. thanks. :)22:25
stevebakerkfox1111: also rackspace have their own chef-solo resource thing22:25
kfox1111ah. ok. I thought I saw something from rackspace a while ago. thanks.22:26
*** packet has quit IRC22:28
*** cody-somerville has quit IRC22:30
kfox1111so is all updates/deletions to a software deployment all still done via os-refresh-config polling by the vm?22:35
stevebakerkfox1111: yes. One day we'll have a message queue to pull from. Shorter term it will be possible to poll from swift rather than heat22:36
kfox1111so, if I want to use things with autoscaling, I should bump down the poll time to something small, so it notices things quickly.22:37
*** ari__ has joined #heat22:38
asalkeldbrb school run22:40
stevebakerkfox1111: yes, assuming the thing you're polling can take the load. Heat is better than it used to be but offloading to swift will make that a non-issue22:40
stevebakerkfox1111: btw, juno heat does support swift polling, but I haven't finished the patch to os-collect-config yet22:41
*** dims_ has joined #heat22:41
*** jmckind has quit IRC22:42
ari__I am trying to create an  AWS::EC2::Instance. I have specified the SubnetId property of the resource to an existing subnet from the neutron public net. But the public Ip output from the instance is not accessible through SSH. I am able to login to console and n the console log I can see 'http://169.254.169.254/2009-04-04/meta-data/instance-id failed22:44
ari__not not sure if this is the culprit22:44
kfox1111stevebaker: hmm. ok. thanks.22:44
ari__Couple of google searches led me to this post http://lists.openstack.org/pipermail/openstack/2013-October/002493.html22:44
kfox1111ari__: you probably need to attach a floating ip to it to be able to get to it from the outside.22:44
kfox1111wait... your trying to attach it directly to the public net? probably not what you want to do.22:45
ari__hmm ok any reason why?22:45
kfox1111usually you put it in a tenant network with a router on the public network, and then put a floating ip on the instance.22:46
ari__but this should have worked though...22:46
kfox1111It lets you move the floating ip from instance to instance easily.22:46
ari__I guess I would need a AWS::EC2::EPI22:46
kfox1111in theory it should work, but I don't think its something that happens very often in practice, so I'm not sure how well tested that is.22:47
kfox1111ari__: this might help: https://github.com/EMSL-MSC/heat-templates/blob/master/cfn/Trac/Trac.yaml22:48
ari__great looking at it22:49
ari__thanks kfox111122:49
kfox1111sure. :)22:49
*** openstackgerrit has quit IRC23:03
ari__I looked at the template (and other templates in this folder).greta resource :) should have come across before. But now I have two issues. 1st problem is my template needs to be completely compatible with CFN that is I can't have OS::Nova::Server.23:05
*** openstackgerrit has joined #heat23:05
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12803823:05
ari__I guess I can associate the NetworkInterface property of the AWS::EC2::Instance to the PrimaryNetowrk. But to associate a floating Ip I would need a AWS::EC2::EIPAssociation which requires a EIP property specified.23:05
ari__not sure how I can get it dynamically from the public subnet23:06
kfox1111you can use AWS::EC2::EIP to allocate/deallocate one.23:12
kfox1111if you want to register it with dns though, you probably want to do it manually though.23:12
kfox1111otherwise, someone else can grab the floating ip and use your dns entry.23:12
*** Qiming has joined #heat23:20
*** sarob has quit IRC23:21
*** julienve_ has joined #heat23:21
*** sarob has joined #heat23:22
*** Qiming has quit IRC23:23
*** EricGonc_ has quit IRC23:23
*** Qiming has joined #heat23:23
arif-aliThe spec for heat suggests that I can grab the name of the OS::Nova::Server, but I am unable to grab that from the template getting "user_data The Referenced Attribute (compute_node name) is incorrect."23:24
arif-aliis the name attribute a new one in Juno, or should it be available in icehouse?23:24
*** julienve_ has quit IRC23:25
kfox1111I'm running icehouse and there is a NAME property mentioned in the resource.23:26
kfox1111http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-attrs says there is a name attribute.23:28
*** tango has joined #heat23:28
*** Putns has quit IRC23:30
*** tango|2 has quit IRC23:31
*** openstackgerrit has quit IRC23:33
*** openstackgerrit has joined #heat23:35
arif-alikfox1111, are you able to pull that out in the outputs section?23:35
arif-alialthough the document mentions it, I was not able to request that, although I was able to grab the instance_name, but that was just filled with "None"23:37
stevebakerasalkeld: what is our review threshold for approving a spec? I never remember23:38
asalkeldi believe 3 +2's23:38
stevebakerok23:38
asalkeldbut maybe if it is simple 2 +223:38
asalkeldtho' if it's simple maybe it shouldn't be a spec23:38
kfox1111arif-ali: I would think so. though I haven't never tried it directly myself.23:39
stevebakersimple specs are a good way of communicating intent23:39
ari__I guess what is confusing me is for OS::Neutron::FloatingIP has a way to associate subnet through thr port_id property. EIP does not have so.23:39
* asalkeld don't like specs23:39
stevebakerasalkeld: you have to now you're PTL ;)23:40
kfox1111ari__: cause EC2 resources don't know about neutron, while neutron ones do.23:40
asalkeldshrug, we could ditch them23:40
asalkelddon't worry, I'll play along23:40
stevebakerheh23:40
asalkeldyet another red tape game to play23:41
ari__I agree so there is no straighforward way to allocate one from the available pool in the subnet I guess23:41
kfox1111ari__: I like the ec2 resource a little more due to being able to pass an ip address to it. asking my users to pass a neutron floatingip id is much harder.23:41
kfox1111hmm.... yeah.23:41
kfox1111I usually precreate my floating ip's so I can do dns stuff with them, and make sure if I want to relaunch a vm, I can just delete the stack and create it again using the same template.23:42
kfox1111that means preallocating the floating ip and passing the floating ip id, or ip address through the template params.23:43
kfox1111hmm.. I may have an example though of a totally dynamic one. I think I did something with condor that way... just a sec.23:43
kfox1111yeah.... this cloud has multiple public networks and the ip's dynamically allocated. just a sec...23:44
ari__that would be awesome :)23:44
*** kebray has quit IRC23:45
kfox1111ari__: http://pastebin.com/cuAnYYrK23:45
ari__I cant use any non CFN resource types so using OS::Neutron::FloatingIP is not an option for me sigh :(23:48
kfox1111it works just fine with CFN.23:48
kfox1111I've yet to port most of my templates to Hot. :/23:48
ari__The problem is right now the UI support we have only allows the legacy AWS stuff no HOT.I know I know...23:49
kfox1111I've been throwing most of my templates out at: https://github.com/EMSL-MSC/heat-templates/tree/master/cfn if you want to dig through them. lib/* are particularly useful.23:49
openstackgerritA change was merged to openstack/heat-templates: Trigger cfn-init via script rather than lib  https://review.openstack.org/11377023:49
openstackgerritA change was merged to openstack/heat-templates: Unit test of puppet hook  https://review.openstack.org/12785423:50
openstackgerritA change was merged to openstack/heat-templates: Unit test of script hook  https://review.openstack.org/12785523:50
kfox1111ari__: That, I cant help you with. :/23:50
kfox1111just double checking though, the OS::* resources are not Hot specific, they work in CFN. Or are you saying your UI won't accept any Resources that start with OS::?23:51
ari__Fair :: ya the UI only have AWS specific resources23:52
kfox1111ok.23:52
ari__we still got work to do in that :)23:52
kfox1111then your probably stuck preallocating the ip's and taking it in as a stack param.23:53
ari__yeah :(23:55
ari__I see the EIP param in the AWS::EC2::EIPAssociation is optional though23:55
kfox1111or tweaking the ui to support more goodness? :)23:55
ari__thats still a long way to go for us but it would be totally worth it23:56
ari__only if it was upto me23:57
ari__I wonder if I dont specify EIP in the EIPAssociation if it picks up the IP from the NetowrkInterfaceId property somehow23:58
kfox1111I'd think it should be mostly a simple sed across the code... ;)23:58

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