Tuesday, 2017-07-18

*** rwsu has quit IRC00:07
*** boris-42__ has quit IRC00:27
*** om2_ has joined #heat00:31
*** om2 has quit IRC00:34
*** mdnadeem has joined #heat00:42
*** vishwanathj has joined #heat00:43
*** ricolin has joined #heat00:54
*** EricGonczer_ has quit IRC00:56
*** EricGonczer_ has joined #heat00:58
*** EricGonc_ has joined #heat01:00
*** EricGonczer_ has quit IRC01:03
*** kiennt has quit IRC01:05
*** ricolin_ has joined #heat01:07
*** ricolin has quit IRC01:10
*** kiennt_ has joined #heat01:19
*** kiennt has joined #heat01:19
*** elynn has joined #heat01:25
*** mdnadeem has quit IRC01:28
*** elynn has quit IRC01:30
*** harlowja has quit IRC01:34
*** namnh has joined #heat01:34
*** EricGonc_ has quit IRC01:43
*** mdnadeem has joined #heat01:43
openstackgerritOpenStack Proposal Bot proposed openstack/heat master: Updated from global requirements  https://review.openstack.org/48421701:46
*** ricolin_ has quit IRC01:48
openstackgerritOpenStack Proposal Bot proposed openstack/python-heatclient master: Updated from global requirements  https://review.openstack.org/48457501:55
*** ramishra has joined #heat01:57
*** ameade_ has joined #heat02:06
*** hogepodge_ has joined #heat02:07
*** kiennt_ has quit IRC02:10
*** kiennt_ has joined #heat02:10
*** sai_ has joined #heat02:13
*** sai has quit IRC02:13
*** ameade has quit IRC02:13
*** hogepodge has quit IRC02:13
*** ameade_ is now known as ameade02:14
*** hogepodge_ is now known as hogepodge02:14
*** ricolin has joined #heat02:35
*** ricolin has quit IRC02:36
*** ricolin has joined #heat02:37
*** ricolin has quit IRC02:53
*** ricolin has joined #heat02:53
*** hongbin has joined #heat02:59
*** chlong has quit IRC03:11
*** ricolin has quit IRC03:17
*** ricolin has joined #heat03:17
openstackgerritRico Lin proposed openstack/heat master: Skip scenario tests to avoid fedora image usage  https://review.openstack.org/48461103:18
openstackgerritHangdong Zhang proposed openstack/python-heatclient master: Update and optimize some links in docs  https://review.openstack.org/48461203:21
*** ricolin has quit IRC03:22
*** om2_ has quit IRC03:38
*** om2_ has joined #heat03:38
*** harlowja has joined #heat03:40
openstackgerritRabi Mishra proposed openstack/heat master: Upload image using devstack function  https://review.openstack.org/48461403:40
*** dbecker has quit IRC03:55
*** ricolin has joined #heat03:55
*** links has joined #heat03:55
*** kiennt has quit IRC04:00
*** ricolin has quit IRC04:04
*** ricolin has joined #heat04:04
*** dbecker has joined #heat04:08
*** hongbin has quit IRC04:11
*** serlex has joined #heat04:12
*** ricolin has quit IRC04:13
*** gkadam has joined #heat04:18
*** fragatin_ has joined #heat04:19
*** fragatin_ has quit IRC04:21
*** fragatin_ has joined #heat04:21
*** fragatina has quit IRC04:23
*** fragatin_ has quit IRC04:24
*** ricolin has joined #heat04:26
*** kiennt_ is now known as kiennt04:38
*** nicolasbock has joined #heat04:44
openstackgerritRabi Mishra proposed openstack/heat master: Fix barbicanclient and glance upload issue  https://review.openstack.org/48426104:51
*** harlowja has quit IRC04:54
*** zzzeek has quit IRC04:55
*** yuanying has quit IRC04:58
*** prateek has joined #heat05:07
*** ricolin has quit IRC05:11
*** ricolin_ has joined #heat05:11
*** bnemec has quit IRC05:13
*** fragatina has joined #heat05:15
*** fragatina has quit IRC05:19
*** nicolasbock has quit IRC05:19
*** nicolasbock has joined #heat05:21
*** jprovazn has joined #heat05:27
*** rcernin has joined #heat05:29
*** zzzeek has joined #heat05:36
*** fragatina has joined #heat05:37
*** zzzeek has quit IRC05:37
*** zzzeek has joined #heat05:38
*** skramaja has joined #heat05:41
*** kiennt has quit IRC05:43
*** ccamacho|lunch has quit IRC05:59
*** kiennt has joined #heat06:00
openstackgerritRabi Mishra proposed openstack/heat master: Fix barbicanclient and glance upload issue  https://review.openstack.org/48426106:01
*** om2_ has quit IRC06:10
*** ricolin_ has quit IRC06:12
*** gfidente has joined #heat06:14
*** gfidente has joined #heat06:14
*** serlex has quit IRC06:17
*** serlex has joined #heat06:18
*** fragatina has quit IRC06:26
*** fragatina has joined #heat06:27
*** ccamacho has joined #heat06:45
*** liusheng has quit IRC06:59
*** liusheng has joined #heat06:59
*** _heena_py_ has joined #heat07:07
_heena_py_hey all07:07
_heena_py_Is there any way to update stack in such a way that stack can take the already existent parameters and the updated ones?07:08
_heena_py_Is there something that will use parameters already defined in first resource/stack creation?07:08
therveramishra, OK, I see now the glance issue. I thought it was a mirror issue previously...07:09
therve_heena_py_, Yes, pass --existing07:10
_heena_py_ok any idea to do that in python?07:11
ramishratherve: OK, I've changed the earlier barbican client patch to include the workaround07:11
_heena_py_I have got something like this hc.stacks.update(stack_id=stack_id, template=itemplate, files=ifiles,parameters=pr.updatedParams())07:12
therve_heena_py_, existing=True or something07:12
_heena_py_ok let me try that07:12
therveramishra, OK great, approving07:12
_heena_py_that didnt work. The error I am getting is  ERROR: The Parameter (key_name) was not defined in template.07:17
_heena_py_What I am doing is -> I am taking the already existing parameters and update parameters. In this case vol size and finally getting params as07:18
_heena_py_Updates params: {'volume_size': 30, 'private_net_id': 'x', 'key_name': 'my_key', 'server_flavor': 'IaaS-pilot.ram_6', 'floating_ip': 'x', 'volume_type': 'xx', 'image_name': 'RHEL-7.2'}07:18
_heena_py_and then hc.stacks.update(stack_id=stack_id, template=itemplate, files=ifiles,parameters=pr.updatedParams(), existing=True)07:18
*** shardy has joined #heat07:19
*** shardy has quit IRC07:21
*** tovin07_ has joined #heat07:26
ramishra_heena_py_: Is the 'key_name' parameter defined in the template 'itemplate' you're passing to stack_update?07:27
_heena_py_actually, in parameters it is defined as key and in resources key is not used anywhere07:29
_heena_py_the thing is all the templates are designed this way07:30
_heena_py_In other templates, in parameters it goes as key and in resources it is taken as key_name07:30
_heena_py_so I dont think I can change the template07:31
ramishrathat's ok, if it's defined ad 'key' in the parameter section of the template, then pass it as 'key': 'my_key' in updated params07:32
_heena_py_Agreed but I cannot do that either, you see I create stack with key_name and then update stack as well using key_name07:34
_heena_py_this key_name is picked up from some other file07:34
_heena_py_so --existing should have taken care of that without me worrying about the key_name07:36
_heena_py_but the error is same07:36
_heena_py_catch 2207:39
therveThat doesn't make any sense :)07:44
*** prateek has quit IRC07:51
*** zaneb has quit IRC08:00
openstackgerritHangdong Zhang proposed openstack/python-heatclient master: Update and optimize documentation links  https://review.openstack.org/48461208:07
_heena_py_@therve yeah08:09
_heena_py_:(08:09
*** zaneb has joined #heat08:09
*** serlex has left #heat08:10
openstackgerritMerged openstack/heat master: Fix barbicanclient and glance upload issue  https://review.openstack.org/48426108:20
therve_heena_py_, I don't understand how key_name can be defined in stack create, and not in update08:22
therve_heena_py_, Do you rename the parameters in the new template?08:22
_heena_py_no we dont...actually while we update, volume detachment happens in some cases08:23
_heena_py_that volume first gets updated and then detached08:23
_heena_py_in such scenario, key_name is not used08:24
_heena_py_or rather I can fall back to command line like below08:26
_heena_py_output = check_output(["openstack", "stack", "update", "--template", itemplate, "files", ifiles, "--existing", "--parameter", pr.getUpdateParams(newStackEnv), stack_id])08:26
_heena_py_what you think? Is that correct?08:26
therveSorry I don't understand what you're doing08:27
therveIt seems you think we can read mind, but we can't :)08:27
*** rwsu has joined #heat08:29
_heena_py_I know I know08:32
_heena_py_:)08:32
therveexisting is meant to reuse parameter values, not ignore parameter names08:40
therveOne possible workaround would be to use parameter_defaults, which ignore unused names08:41
openstackgerritRico Lin proposed openstack/heat master: Fix no message attribute in exception  https://review.openstack.org/48426708:44
openstackgerritRico Lin proposed openstack/heat master: Updated from global requirements  https://review.openstack.org/48421708:53
*** derekh has joined #heat08:58
*** amoralej has joined #heat09:12
amoralejzaneb, would it be possible to do a new release of heatclient in newton to include https://review.openstack.org/#/c/483965/?09:14
therveamoralej, You need it for CI?09:17
amoralejyeah09:17
amoraleji need to get a new release included in u-c to get it in RDO09:17
therveShould be possible09:18
therveamoralej, Added you to the release patch09:20
amoralejtherve, thanks!09:20
openstackgerrithuangtianhua proposed openstack/heat master: Support 'permutations' for 'repeat' function  https://review.openstack.org/47336009:32
openstackgerrithuangtianhua proposed openstack/heat master: Update security groups for server interfaces  https://review.openstack.org/48205609:35
*** shardy has joined #heat09:39
*** mdnadeem has quit IRC09:54
*** tovin07_ has quit IRC09:57
openstackgerritMerged openstack/heat master: Cinder volume attachment attributes should not be cached  https://review.openstack.org/48266310:55
openstackgerritRabi Mishra proposed openstack/heat master: Fix handle_create of ResourceGroup  https://review.openstack.org/48471911:00
openstackgerritMerged openstack/heat master: Add tag for server nic  https://review.openstack.org/47374411:00
*** jistr is now known as jistr|tpb11:05
*** amoralej is now known as amoralej|lunch11:05
*** namnh has quit IRC11:05
openstackgerritMerged openstack/heat master: Don't load new copies of current resources  https://review.openstack.org/48351211:14
openstackgerritMerged openstack/heat master: Updated from global requirements  https://review.openstack.org/48421711:15
*** EricGonczer_ has joined #heat11:18
*** jistr|tpb is now known as jistr11:28
*** EricGonczer_ has quit IRC11:34
*** fragatina has quit IRC11:42
*** EricGonczer_ has joined #heat11:50
*** chlong has joined #heat12:00
*** jmlowe_ has quit IRC12:04
*** clayton has quit IRC12:08
*** zeih has joined #heat12:09
*** clayton has joined #heat12:09
*** tiantian has quit IRC12:10
*** tiantian has joined #heat12:11
*** hjensas has quit IRC12:12
*** kiennt has quit IRC12:14
*** amoralej|lunch is now known as amoralej12:24
*** MVenesio has joined #heat12:29
openstackgerritRabi Mishra proposed openstack/heat master: Add failure handler for actions  https://review.openstack.org/48474112:34
*** dprince has joined #heat12:34
*** jmlowe has joined #heat12:38
*** gkadam has quit IRC12:47
*** catintheroof has joined #heat12:51
*** pbourke has quit IRC12:55
*** pbourke has joined #heat12:57
*** felipemonteiro_ has joined #heat12:57
*** catintheroof has quit IRC12:58
*** felipemonteiro__ has joined #heat12:58
*** ayoung has joined #heat13:02
*** felipemonteiro_ has quit IRC13:02
*** catintheroof has joined #heat13:06
*** catintheroof has quit IRC13:11
*** elynn has joined #heat13:14
*** jcoufal has joined #heat13:17
strigazitherve Hi13:19
thervestrigazi, Hi13:20
strigaziI have some os-collect-config and os-refresh-config question, who sould I ask?13:20
therveJust ask them there and we'll see who can answer :)13:20
strigazihere?13:21
therveYeah13:21
strigaziso, I build a container to run the heat-container-agent but it's not a docker container. In the environment it will run, /etc is not writable13:22
strigazios-collect-config call os-refresh-config which tries to:13:23
strigazito create a tmp file in /etc13:24
strigaziI want os-collect-config or os-refesh-config or anyone else to not write to /etc13:24
strigaziWhat's it, how can I configure them to use another dir13:25
thervetmp file in etc? That sounds weird13:26
*** nicolasbock has quit IRC13:27
strigaziwell it is weird and not very nice13:27
*** zeih has quit IRC13:27
*** zeih has joined #heat13:28
strigazitherve http://paste.openstack.org/raw/615719/13:28
*** zeih has quit IRC13:28
*** nicolasbock has joined #heat13:28
*** zeih has joined #heat13:28
*** zeih has quit IRC13:29
thervestrigazi, Oh, but it writes the os collect config configuration13:29
strigazitherve this is better http://paste.openstack.org/raw/615720/13:29
*** zeih has joined #heat13:29
thervestrigazi, "writing /etc/os-collect-config.conf"13:29
therveIt uses a temp file to be atomic13:29
*** zeih has quit IRC13:30
*** zeih has joined #heat13:30
*** zeih has quit IRC13:30
strigaziCan we use another directory?13:31
strigaziif it was /etc/heat-agent it would be better13:31
strigazibut it writes is /etc/13:31
*** nicolasbock has quit IRC13:32
*** _heena_py_ has quit IRC13:33
*** nicolasbock has joined #heat13:35
therveThere must be a way, but I don't know where that is13:36
*** skramaja has quit IRC13:37
*** links has quit IRC13:38
*** vishwanathj has quit IRC13:38
strigaziI don't any option in 20-os-apply-config13:39
strigaziI don't any option in os-apply-config13:39
*** vishwanathj has joined #heat13:39
thervestrigazi, os-apply-config has an output option13:39
therveMaybe that is enough for your purpose13:40
strigazihere where it happens https://github.com/openstack/os-apply-config/blob/master/os_apply_config/apply_config.py#L15013:40
strigazilet's see13:41
therveIt sounds like it may affect /var stuff too though13:42
strigaziit run without errors now but it does nothing13:44
*** annegentle has joined #heat13:50
*** akuznetsov has joined #heat13:51
*** catintheroof has joined #heat13:51
*** pradk has joined #heat13:55
*** ebarrera has joined #heat13:57
ebarreraping heat, what other ways exist to mark a heat resource as unhealthy thant heat  resource-mark-unhealthy ? Can we do it from ceilometer or other telemewtry services ?13:57
*** gmoro_ has joined #heat14:10
*** ngerasim has joined #heat14:10
*** gmoro_ has quit IRC14:10
*** gmoro_ has joined #heat14:11
*** gmoro has quit IRC14:12
*** fragatina has joined #heat14:14
*** fragatina has quit IRC14:15
*** fragatina has joined #heat14:16
*** annegentle has quit IRC14:16
*** gmoro_ has quit IRC14:18
*** gmoro_ has joined #heat14:18
therveebarrera, You can have mistral call the API14:21
therveebarrera, See https://github.com/openstack/heat-templates/blob/master/hot/autohealing/autohealing_server.yaml14:21
ebarreratherve, let me check :)14:22
ebarreratherve,  using an Aodh alarm delivered to a Zaqar queue that triggers a Mistral workflow :D14:25
*** bnemec has joined #heat14:25
*** EricGonc_ has joined #heat14:25
ebarreratherve, I thought it would be easier14:26
*** EricGonczer_ has quit IRC14:28
*** hongbin has joined #heat14:31
therveebarrera, Yeah, well... Sorry?14:32
*** elynn has quit IRC14:32
ebarreratherve, ohh no... it fine therve, I just was curious about it, one day one of your customer for sure will ask it14:33
therveI hope so!14:34
strigazitherve IMHO os-*-config is really bad software14:34
thervestrigazi, Okay14:35
strigaziI may managed to use anotehr directory but as I can see now it tried to remove /var/run/os-collect-config comletely when recceives new configuration14:36
therveBecause it wasn't made for your own use case doesn't mean it's bad software14:37
strigaziI apologise for my comment before, i'm very frustrated, i'm really sorry14:38
openstackgerritRabi Mishra proposed openstack/heat master: Add failure handler for actions  https://review.openstack.org/48474114:38
ngerasimHi all14:43
ngerasimI'm trying to start the following template http://paste.openstack.org/show/615731/ but get the error "ERROR: At least one of the following properties must be specified: subnetpool, cidr."14:44
ngerasimIs it a bug or feature and is there a way to do it properly? Did not found such examples in net.14:44
ngerasimheat version - 8.0.114:44
thervengerasim, Sounds like it may be a bug14:47
*** annegentle has joined #heat14:51
*** gkadam has joined #heat15:03
*** akuznetsov has quit IRC15:22
*** dyasny has quit IRC15:30
*** dyasny has joined #heat15:31
*** rcernin has quit IRC15:32
*** vishwana_ has joined #heat15:33
*** dyasny has quit IRC15:37
*** rwsu has quit IRC15:37
*** dyasny has joined #heat15:37
*** vishwanathj has quit IRC15:37
*** annegentle has quit IRC15:39
*** rwsu has joined #heat15:43
*** dyasny has quit IRC15:43
*** dyasny_ has joined #heat15:43
*** dyasny__ has joined #heat15:45
*** dyasny_ has quit IRC15:47
*** dyasny__ has quit IRC15:50
*** annegentle has joined #heat15:53
zanebngerasim: it's a bug introduced by https://review.openstack.org/#/c/278997/15:59
zanebplease raise a bug in launchpad16:00
*** vishwana_ has quit IRC16:01
*** vishwanathj has joined #heat16:02
*** rcernin has joined #heat16:02
*** jcoufal has quit IRC16:13
*** ccamacho has quit IRC16:15
*** dyasny__ has joined #heat16:20
*** vishwanathj has quit IRC16:22
*** annegentle has quit IRC16:22
*** ramishra has quit IRC16:29
*** ebarrera has quit IRC16:37
*** derekh has quit IRC16:37
*** ngerasim has quit IRC16:59
*** hjensas has joined #heat17:05
*** hjensas has quit IRC17:05
*** hjensas has joined #heat17:05
*** jistr is now known as jistr|off17:06
*** harlowja has joined #heat17:24
*** nicolasbock has quit IRC17:35
*** nicolasbock has joined #heat17:36
*** pradk has quit IRC17:41
*** gkadam has quit IRC17:42
*** jprovazn has quit IRC17:59
*** EricGonc_ has quit IRC18:05
*** zaneb has quit IRC18:08
*** amoralej is now known as amoralej|off18:11
*** annegentle has joined #heat18:13
*** deep-book-gk_ has joined #heat18:15
*** deep-book-gk_ has left #heat18:18
*** EricGonczer_ has joined #heat18:22
*** EricGonczer_ has quit IRC18:41
*** EricGonczer_ has joined #heat18:42
*** hjensas has quit IRC18:42
*** EricGonc_ has joined #heat18:48
*** gfidente is now known as gfidente|afk18:51
*** EricGonczer_ has quit IRC18:52
*** EricGonc_ has quit IRC18:59
*** EricGonczer_ has joined #heat19:01
*** chlong_ has joined #heat19:03
*** chlong has quit IRC19:05
*** EricGonc_ has joined #heat19:17
*** EricGonczer_ has quit IRC19:18
*** vishwanathj has joined #heat19:26
*** zzzeek has quit IRC19:29
*** zzzeek has joined #heat19:30
*** vishwanathj has quit IRC19:34
*** vishwanathj has joined #heat19:35
*** vishwanathj has quit IRC19:48
*** vishwanathj has joined #heat19:49
*** vishwanathj has quit IRC19:50
*** vishwanathj has joined #heat19:51
*** dprince has quit IRC19:51
*** nicolasbock has quit IRC19:53
*** EricGonczer_ has joined #heat19:53
*** EricGonc_ has quit IRC19:54
*** EricGonc_ has joined #heat20:00
*** EricGonczer_ has quit IRC20:00
*** EricGonc_ has quit IRC20:02
*** zaneb has joined #heat20:06
*** EricGonczer_ has joined #heat20:07
*** vishwanathj has quit IRC20:32
*** vishwanathj has joined #heat20:33
*** shardy has quit IRC20:34
*** vishwanathj has quit IRC20:39
*** vishwanathj has joined #heat20:40
*** vishwanathj has quit IRC20:40
*** vishwanathj has joined #heat20:41
*** vishwanathj has quit IRC20:45
*** vishwanathj has joined #heat20:46
*** gmoro_ has quit IRC20:46
*** vishwanathj has quit IRC20:47
*** vishwanathj has joined #heat20:47
*** EricGonczer_ has quit IRC20:47
*** EricGonczer_ has joined #heat20:48
*** gmoro has joined #heat20:54
*** rcernin has quit IRC20:57
*** MVenesio has quit IRC21:09
*** rwsu has quit IRC21:09
*** rwsu has joined #heat21:12
*** EricGonczer_ has quit IRC21:20
*** annegentle has quit IRC21:22
*** EricGonczer_ has joined #heat21:23
*** rwsu has quit IRC21:24
*** annegentle has joined #heat21:39
*** rwsu has joined #heat21:44
*** jmlowe has quit IRC21:46
*** EricGonczer_ has quit IRC21:48
*** EricGonczer_ has joined #heat21:49
*** MVenesio has joined #heat21:50
*** MVenesio has quit IRC21:50
*** dbecker has quit IRC22:18
*** gfidente|afk is now known as gfidente22:29
*** felipemonteiro__ has quit IRC22:31
*** felipemonteiro__ has joined #heat22:33
*** hjensas has joined #heat22:34
*** hjensas has quit IRC22:34
*** hjensas has joined #heat22:34
*** felipemonteiro__ has quit IRC22:38
*** om2 has joined #heat22:47
*** flwang has joined #heat23:06
*** om2 has quit IRC23:07
*** annegentle has quit IRC23:10
*** catintheroof has quit IRC23:25
*** annegentle has joined #heat23:29
*** annegentle has quit IRC23:34
*** hjensas has quit IRC23:38
*** hongbin has quit IRC23:39
*** annegentle has joined #heat23:46

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