Monday, 2017-06-12

*** dimtruck is now known as zz_dimtruck00:04
*** zz_dimtruck is now known as dimtruck00:06
*** mdnadeem has joined #heat00:23
*** chlong has quit IRC01:04
*** chlong has joined #heat01:20
*** zhurong has joined #heat01:56
*** Shunli has joined #heat02:01
*** kiennt26_ has quit IRC02:26
openstackgerrithuangtianhua proposed openstack/heat master: Make properties updatable for IKE policy of VPNaaS  https://review.openstack.org/44470302:49
*** ricolin has joined #heat03:02
openstackgerritMerged openstack/heat master: Updated from global requirements  https://review.openstack.org/47231503:20
openstackgerrithuangtianhua proposed openstack/heat master: Reorder the update task for nova server resource  https://review.openstack.org/46616303:28
openstackgerrithuangtianhua proposed openstack/heat master: Reorder the update task for nova server resource  https://review.openstack.org/46616303:28
*** EricGonczer_ has quit IRC03:35
*** kiennt26 has joined #heat03:43
*** kiennt26 has quit IRC03:46
*** cmyster has quit IRC03:50
*** gkadam has joined #heat04:00
*** gkadam has quit IRC04:01
*** gkadam has joined #heat04:03
*** rwsu has joined #heat04:06
*** cmyster has joined #heat04:13
*** namnh has joined #heat04:13
*** gomarivera_ has joined #heat04:20
*** gomarivera has quit IRC04:23
*** gomarivera_ has quit IRC04:25
*** gomarivera has joined #heat04:26
*** zhurong has quit IRC04:26
*** ramishra has joined #heat04:27
*** zhurong has joined #heat04:35
*** catintheroof has joined #heat04:36
*** skramaja has joined #heat04:38
*** catintheroof has quit IRC04:42
*** gomarivera has quit IRC04:48
*** gomarivera has joined #heat04:48
*** gomarivera has quit IRC04:53
*** gomarivera has joined #heat05:03
*** ramishra has quit IRC05:03
*** zhurong has quit IRC05:06
*** zhurong has joined #heat05:07
*** gomarivera has quit IRC05:21
*** armaan has joined #heat05:34
*** zsli_ has joined #heat05:49
*** Shunli has quit IRC05:51
*** zyun has joined #heat05:53
zyunHI All, may I ask one question?  The auto-scaling can work on the ICM vcenter hypervisor ?05:54
openstackgerritMerged openstack/heat master: Always return live resource attributes in list_stack_resources  https://review.openstack.org/47250106:06
*** rcernin has joined #heat06:19
*** jprovazn has joined #heat06:23
*** LanceHaig has joined #heat06:24
openstackgerrithuangtianhua proposed openstack/heat master: Reorder the update task for nova server resource  https://review.openstack.org/46616306:36
*** rcernin has quit IRC06:36
*** rcernin has joined #heat06:40
*** skramaja is now known as skramaja_afk07:02
*** shardy has joined #heat07:03
*** ccamacho has joined #heat07:32
openstackgerritMerged openstack/heat-templates master: autoscaling: don't query an no more existing API  https://review.openstack.org/47125107:40
openstackgerritRico Lin proposed openstack/heat master: Add `is_placeholder` resource data for placeholder resource  https://review.openstack.org/45722907:41
openstackgerritRico Lin proposed openstack/heat master: Mark combination alarm as None resource  https://review.openstack.org/43943307:41
*** fragatina has joined #heat07:47
*** zzzeek has quit IRC08:00
*** zzzeek has joined #heat08:00
*** hjensas has joined #heat08:02
*** ioggstream has joined #heat08:02
*** jaosorior has joined #heat08:16
openstackgerritRico Lin proposed openstack/heat master: Add `is_placeholder` resource data for placeholder resource  https://review.openstack.org/45722908:23
openstackgerritRico Lin proposed openstack/heat master: Mark combination alarm as None resource  https://review.openstack.org/43943308:23
openstackgerritRico Lin proposed openstack/heat master: Mark combination alarm as None resource  https://review.openstack.org/43943308:26
*** ltomasbo|away is now known as ltomasbo08:26
*** dbecker has joined #heat08:28
*** ramishra has joined #heat08:35
*** derekh has joined #heat08:39
ioggstreamhi@all, is there a tool to generate an heat template directory from  "stack file list"?08:48
*** kiennt26 has joined #heat08:49
*** ramishra has quit IRC08:51
*** ltomasbo is now known as ltomasbo|away09:04
openstackgerritMerged openstack/python-heatclient master: Updated from global requirements  https://review.openstack.org/47291209:06
openstackgerritMerged openstack/python-heatclient master: Replace six.iteritems() with .items()  https://review.openstack.org/45211809:06
*** nicolasbock has joined #heat09:24
*** nicolasbock has quit IRC09:28
*** kiennt26_ has joined #heat09:29
*** kiennt26 has quit IRC09:31
*** ltomasbo|away is now known as ltomasbo09:32
*** zsli_ has quit IRC09:36
*** mdnadeem has quit IRC09:36
*** Kanagaraj has joined #heat09:36
*** skramaja_afk is now known as skramaja09:37
*** ltomasbo is now known as ltomasbo|away09:54
*** nicolasbock has joined #heat09:54
*** Kanagaraj has quit IRC09:56
*** gomarivera has joined #heat10:01
*** zhurong has quit IRC10:12
*** zyun has quit IRC10:13
*** kiennt26_ has quit IRC10:14
ioggstreamis stack-snapshot production ready?10:30
*** root2 has quit IRC10:31
*** root2 has joined #heat10:31
*** zhurong has joined #heat10:38
*** Shunli has joined #heat10:43
therveioggstream, No10:44
*** Shunli has quit IRC10:44
*** gomarivera has quit IRC10:45
*** gomarivera has joined #heat10:45
*** gomarivera has quit IRC10:49
*** jprovazn has quit IRC10:51
openstackgerrithuangtianhua proposed openstack/heat master: Support 'nested_loop' for 'repeat' function  https://review.openstack.org/47336010:52
*** jprovazn has joined #heat10:52
*** armaan has quit IRC10:59
*** armaan has joined #heat11:00
*** nicolasbock_ has joined #heat11:06
*** nicolasbock_ has quit IRC11:06
*** armaan has quit IRC11:11
*** armaan has joined #heat11:11
*** namnh has quit IRC11:19
*** gomarivera has joined #heat11:20
*** ltomasbo|away is now known as ltomasbo11:33
*** nicolasbock has quit IRC11:35
*** nicolasbock has joined #heat11:36
*** dprince has joined #heat11:43
openstackgerritliuxiaoyang proposed openstack/python-heatclient master: Replace http with https in openstack.org.  https://review.openstack.org/47338411:52
*** gomarivera has quit IRC11:53
*** gmoro has joined #heat12:01
*** gomarivera has joined #heat12:05
*** askb has quit IRC12:09
*** gomarivera has quit IRC12:09
*** amrith has joined #heat12:10
*** ccamacho has quit IRC12:14
*** zhurong has quit IRC12:16
*** armaan has quit IRC12:18
*** armaan has joined #heat12:19
*** armaan has quit IRC12:23
*** catintheroof has joined #heat12:27
*** catintheroof has quit IRC12:28
*** jcoufal has joined #heat12:34
*** armaan has joined #heat12:39
*** dimtruck is now known as zz_dimtruck12:39
*** Yangyapeng has quit IRC12:46
*** EricGonczer_ has joined #heat12:46
*** zz_dimtruck is now known as dimtruck12:49
*** ltomasbo is now known as ltomasbo|away12:51
*** gomarivera has joined #heat12:59
*** dimtruck is now known as zz_dimtruck12:59
ioggstreamtherve: just made a script for dumping a heat template to a directory. Create files & co13:04
ioggstreamhttps://gist.github.com/ioggstream/d1a1e96cb3b5834e993c02c18ab7ffd213:04
ioggstreamdidn't find anything ready and it was faster do write it than to search13:05
*** root2 has quit IRC13:05
*** root2 has joined #heat13:05
therveThat's cool13:05
therveHave you tried using the library code? Was it too painful?13:06
ioggstreamtherve: I usually work with shade but I haven't it13:06
therveYeah shade doesn't have those API calls implemented13:07
ioggstreamtherve: when updating the stack with the downloaded files I got this     resources.openshift_nodes: Could not fetch remote template "file:///home/stack/shift/openshift-on-openstack/node.yaml": Invalid URL scheme file13:08
ioggstreamtherve: (I'll implement the functions in shade then, I already did it for some cinder|neutron stuff)13:09
ioggstreamtherve: that's a bug in the client right?13:09
therveioggstream, What is a bug?13:09
*** jprovazn has quit IRC13:09
ioggstreamfile:/// invalid URL scheme file13:09
ioggstreamI saw this https://ask.openstack.org/en/question/69107/invalid-url-scheme-file/13:10
ioggstreamand I found curious that heat "remembers" the abspath of the yaml file13:10
therveOK let's step back13:12
therveioggstream, Why do you want to pass the files again?13:12
ioggstreamtherve: I have a stack but not its generating templates13:12
ioggstreamtherve: I wrote the script to get the files13:12
ioggstreamtherve: then I just #stack-update -t downloaded_template.yaml ...13:13
ioggstreamto check that the downloaded files were correct13:13
therveSo, that won't work because your template is not the same as the one you had initially13:14
therveThe get_files calls get replaced by the client to have absolute paths13:14
therveThat's why it can't find it again13:14
therveBut if you use update -x, you don't need those files13:15
ioggstreamtherve: I need to change the templates and stack-update13:15
ioggstreameg. changing a security group13:15
ioggstreamtherve: so if I want to update a stack I need to do it from the same abspath where I created it?13:16
therveNo13:16
therveYou want to use update -x13:16
therveOr rewrite the path that are inside it13:16
ioggstreambut with update -x can't I only update environment?13:17
ioggstreamok, that's in the environ ;)13:19
ioggstreamsorry13:19
*** skramaja has quit IRC13:21
therveNo you can update the template with -x13:21
ioggstreamtherve: ok, so can't use -x for now13:21
therveioggstream, Why?13:22
ioggstreamtherve: because I need to modify the template13:22
therveioggstream, You can with -x13:23
ioggstreamI have to add rules to a secgroup13:23
ioggstreamtherve: pls let me check the docs then13:23
therveSure13:23
therveDon't take my word for it, but I'm pretty confident :)13:24
ioggstreamtherve: so let me restate. I have  stack.yaml and have to modify a security group.13:25
ioggstreamtherve: I don't have all the stack files.13:25
ioggstreamtherve: I openstack stack template show > stack.yaml  # that's the only file I got13:26
ioggstreamtherve: I edit the security group13:26
ioggstreamthen heat stack-update -x -f stack.yaml  #and this works ?13:26
ioggstreamtrying13:27
therveYeah it should13:27
ioggstreamtherve: same error13:28
ioggstreamtherve UPDATE_FAILED  Resource UPDATE failed: resources.openshift_nodes: Could not fetch remote template "file:///home/stack/shift/openshift-on-openstack/node.yaml": Invalid URL scheme file13:28
ioggstreamhttps://ask.openstack.org/en/question/8578/how-to-modify-a-heat-template-to-update-a-stack/13:28
ioggstreamtherve: they say this error is connected to a bug13:28
ioggstreamin heat13:29
therveioggstream, OK I guess the issue is that it's not idempotent13:30
therveBecause the files get a different path13:30
therveYou probably need the original template for it to work13:30
therveLet me try13:30
ioggstreamtherve: ok. that's something. Shoud I put the files in the same hierarchy?13:31
therveioggstream, No you need to edit the template13:31
ioggstreamlike this?   "file:///home/stack/shift/openshift-on-openstack/node.yaml": node.yaml13:33
*** Yangyapeng has joined #heat13:33
ioggstreamthe same13:34
ioggstreamI'll check if the node.yaml is somewhat broken13:35
*** jprovazn has joined #heat13:39
therveioggstream, What do you have in the resulting template files?13:40
ioggstreamtherve: I'm rechecking and linting the templates. As soon as I isolate the issue I'll let you know. For now thx++ for your time!13:41
therveNo problem13:42
ioggstreamtherve: my goal is, if there's something to get backported to newton, file a ticket and enforce support13:42
ioggstreamsome fix13:42
therveYeah we don't have any idea what's going on yet :)13:42
ioggstreamyep13:43
*** fragatina has quit IRC13:47
*** fragatina has joined #heat13:47
therveioggstream, It's weird because it fails locally for me if I don't have the files13:49
therveIt doesn't reach the server13:49
therveWhich probably means that it could work if you use the lib/REST API13:51
*** catintheroof has joined #heat13:52
*** jmlowe has quit IRC13:52
*** felipemonteiro has joined #heat13:53
ioggstreamtherve: the strange is: some resources have been remapped https://pastebin.com/raw/HMPK6QLr13:54
ioggstreamto the new directory13:54
ioggstreamother none13:54
*** felipemonteiro_ has joined #heat13:54
*** beekneemech is now known as bnemec13:54
ioggstreameg. the downloaded templates works with everything but the nodes. So I'll investigate the node template13:55
therveioggstream, Is node.yaml downloaded?13:55
ioggstreamyes13:56
*** armaan has quit IRC13:56
ioggstreamI'm linting it now13:56
ioggstream(heat dumps it in a "compressed" format) tr -d \n ;)13:56
*** felipemonteiro has quit IRC13:58
*** spzala has joined #heat13:59
therveioggstream, OK, so I managed to make it work with -x, with a client fix14:10
ioggstreamtherve: woOW14:10
ioggstreamtherve: you rock14:10
ioggstreamtherve: which were the issue?14:10
therveI didn't get your issue exactly though14:10
therveWell we need to ignore non-present file when -x is passed, we don't currently14:10
ioggstreamme neither ;) the strange fact is that it's only the node.yaml to not work14:11
ioggstreamand that file is not very different14:11
ioggstreamtherve: do you think that new behavior is the correct one?14:11
therveYeah sure14:12
therveBut what you're trying should work, too14:12
ioggstreamtherve: I'm on newton14:12
ioggstreamthat's actually the production bleeding edge :D14:12
therveioggstream, Could you paste the output of the client call with --debug set?14:13
ioggstreamtherve: that's huge and I have to ensure not passing secrets14:14
ioggstreamtherve: give me some time14:14
therveAh yeah sure14:14
therveYou can paste on back channels otherwise :)14:14
*** crose has joined #heat14:15
ioggstreamI could send via my rh account maybe14:15
ioggstreamthat's secure14:15
ioggstreamor via a feature request case14:16
*** root2 has quit IRC14:18
ioggstreamI have some strange luck to fall in this kind of corner cases ;)14:18
*** root2 has joined #heat14:18
*** jmlowe has joined #heat14:19
*** crose has quit IRC14:26
ioggstreamtherve:  fyi the exception is raised here https://pastebin.com/raw/HMPK6QLr14:26
*** hjensas has quit IRC14:29
therveRight, because it doesn't find the file in the stack files14:29
therveIt should get there basically14:30
*** ioggstream is now known as ioggstrea14:31
*** ioggstrea is now known as _iogg14:31
*** _iogg is now known as ioggstrea14:31
*** ioggstrea is now known as ioggstream14:31
ioggstreamthat's a fallback for get (... , supported_schema=('file')) ?14:31
*** crose has joined #heat14:32
therveioggstream, We never support file as a schema14:32
therveThat'd be a giant security breach14:32
therveBut it gets there because it doesn't get passed a file with that name in stack update14:33
therveWhich is why I'd like to see your debug output14:33
therveSo that I'd know what it passes14:33
*** gkadam has quit IRC14:35
*** ltomasbo|away is now known as ltomasbo14:35
ioggstreamtherve: ok, thats clear now14:39
*** zz_dimtruck is now known as dimtruck14:40
ioggstreamtherve: I was able now to make him change the node.yaml14:41
therveDo you know what you changed?14:42
ioggstreamI redownloaded the whole stack14:43
ioggstreamremoved all file:/// reference in the templates14:43
ioggstreamretained all file:/// reference in env_ without changing anything14:44
ioggstreamthe strange thing is that https://pastebin.com/raw/HMPK6QLr14:45
ioggstreamlook at the env_stack.yaml14:45
ioggstreamthat's weird14:46
therveDon't know what I'm supposed to see14:47
ioggstreamthe working env says: file:///home/stack/shift...node.yaml.14:48
ioggstreamtherve: while o stack resource list says file:///tmp/foo-5/node.yaml14:48
therveYeah I don't know14:49
ioggstreamnow I try to reproduce and send you a dump14:50
*** dprince has quit IRC15:00
*** ltomasbo is now known as ltomasbo|away15:01
*** EricGonc_ has joined #heat15:05
*** EricGonczer_ has quit IRC15:06
*** aselius has joined #heat15:11
*** armaan has joined #heat15:27
*** gmoro_ has joined #heat15:38
*** gmoro has quit IRC15:39
*** rcernin has quit IRC15:45
*** gomarivera has quit IRC15:46
*** gomarivera_ has joined #heat15:46
*** Yangyapeng has quit IRC15:51
ioggstreamtherve: I moved again to another directory removing all file:/// from the registry and now worked15:57
therveioggstream, Ah cool15:57
ioggstreamtherve: probably the stack had some issues somewhere around node.yaml15:57
ioggstreamtherve: the file was unchanged15:58
ioggstreamthe only thing I did was grep -v 'file:///' env_stack.yaml15:58
slagletherve: hi, could you have another look at https://review.openstack.org/#/c/458975/ when you can?15:59
therveSure15:59
*** gomarivera_ has quit IRC16:01
slaglethanks :)16:04
*** root4 has joined #heat16:10
*** LanceHaig has quit IRC16:11
*** root2 has quit IRC16:14
*** spzala has quit IRC16:16
*** dprince has joined #heat16:25
*** annegentle has joined #heat16:28
*** hjensas has joined #heat16:40
*** hjensas has quit IRC16:41
*** hjensas has joined #heat16:41
ioggstreamtherve: I thougt, probably when I mixed -x and template.yaml something could have went wrong in the stack16:50
ioggstreamas soon as I've time to reproduce the issue I'll do it16:51
*** ccamacho has joined #heat16:51
*** derekh has quit IRC16:59
*** armaan has quit IRC17:03
*** dprince has quit IRC17:06
*** jose-phillips has quit IRC17:12
*** jose-phillips has joined #heat17:17
openstackgerritMerged openstack/heat master: deployment_swift_data property for server resources  https://review.openstack.org/45897517:19
*** ioggstream has quit IRC17:24
*** gomarivera has joined #heat17:26
*** dprince has joined #heat17:30
*** jaosorior is now known as jaosorior_away17:41
openstackgerritHarald JensÃ¥s proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196917:48
*** fragatina has quit IRC17:54
*** spzala has joined #heat17:55
*** dprince has quit IRC18:08
*** spzala has quit IRC18:18
*** dprince has joined #heat18:24
*** catinthe_ has joined #heat18:31
*** EricGonczer_ has joined #heat18:32
*** EricGonc_ has quit IRC18:32
*** catintheroof has quit IRC18:33
*** amrith has left #heat18:39
*** dyasny_ has joined #heat18:44
*** jose-phillips has quit IRC18:46
*** spzala has joined #heat18:47
*** jose-phillips has joined #heat18:47
*** spzala has quit IRC18:47
*** spzala has joined #heat18:47
*** dyasny has quit IRC18:47
*** EricGonczer_ has quit IRC18:53
*** dyasny_ has quit IRC18:55
*** jmlowe has quit IRC18:56
*** jmlowe has joined #heat19:08
*** dyasny has joined #heat19:20
*** annegentle has quit IRC19:37
*** catintheroof has joined #heat19:39
*** annegentle has joined #heat19:41
*** catinthe_ has quit IRC19:42
*** dyasny has quit IRC19:45
*** jose-phillips has quit IRC19:51
*** jose-phillips has joined #heat19:54
*** jose-phillips has quit IRC19:57
*** cmyster has quit IRC20:04
*** dprince has quit IRC20:05
*** shardy has quit IRC20:07
*** jose-phillips has joined #heat20:09
*** nicolasbock has quit IRC20:14
*** Guest77651 has quit IRC20:19
*** Guest77651 has joined #heat20:20
*** amoralej is now known as amoralej|off20:26
*** jprovazn has quit IRC20:28
*** fragatina has joined #heat20:32
*** EricGonczer_ has joined #heat20:32
*** crose has quit IRC20:36
*** dimtruck is now known as zz_dimtruck20:41
*** jcoufal has quit IRC20:43
*** jmlowe has quit IRC20:52
*** spzala has quit IRC20:57
*** EricGonc_ has joined #heat20:58
*** EricGonczer_ has quit IRC21:00
*** dyasny has joined #heat21:01
*** harlowja has quit IRC21:02
*** rwsu has quit IRC21:03
*** dprince has joined #heat21:05
*** zz_dimtruck is now known as dimtruck21:08
*** annegentle has quit IRC21:20
*** annegentle has joined #heat21:22
*** gomarivera has quit IRC21:29
*** gomarivera has joined #heat21:31
*** dprince has quit IRC21:33
*** annegentle has quit IRC21:35
*** gomarivera has quit IRC21:35
*** askb has joined #heat21:42
*** annegentle has joined #heat22:04
*** harlowja has joined #heat22:06
*** rwsu has joined #heat22:13
*** spzala has joined #heat22:15
*** fragatina has quit IRC22:17
*** boris-42_ has joined #heat22:20
*** annegentle has quit IRC22:28
*** spzala has quit IRC22:40
*** felipemonteiro_ has quit IRC22:46
*** catintheroof has quit IRC22:47
*** gmoro_ has quit IRC22:59
*** jmlowe has joined #heat23:03
*** gomarivera has joined #heat23:28
*** gmoro has joined #heat23:30
*** gomarivera has quit IRC23:37
*** Guest77651 has quit IRC23:45
*** catintheroof has joined #heat23:45
*** Guest77651 has joined #heat23:46

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