Wednesday, 2017-08-02

*** dyasny has quit IRC00:02
*** dyasny has joined #heat00:02
*** catintheroof has joined #heat00:03
*** jmlowe has quit IRC00:13
*** jmlowe has joined #heat00:23
*** mdnadeem has joined #heat00:36
*** kiennt has joined #heat00:37
*** catintheroof has quit IRC00:44
*** ramishra has joined #heat00:51
*** zeih has joined #heat00:57
kienntricolin: Could you have a review at: https://review.openstack.org/#/c/407989/ ? Gate patch set: https://review.openstack.org/#/c/482048/00:58
*** zeih has quit IRC01:02
*** EricGonczer_ has joined #heat01:04
*** EricGonczer_ has quit IRC01:14
*** armaan has joined #heat01:20
*** jmlowe has quit IRC01:21
*** annegentle has joined #heat01:22
*** fvollero has quit IRC01:22
*** Shunli has joined #heat01:24
*** EricGonczer_ has joined #heat01:24
*** jmlowe has joined #heat01:24
*** armaan has quit IRC01:26
openstackgerritRabi Mishra proposed openstack/heat master: Implement handle_<action>_cancel for SoftwareDeployment  https://review.openstack.org/48474101:27
*** EricGonczer_ has quit IRC01:28
ramishraheat-templates gate seems broken for more than a week:/01:30
ramishraricolin: https://review.openstack.org/#/c/489554/ would fix ^^^01:30
*** https_GK1wmSU has joined #heat01:35
*** https_GK1wmSU has left #heat01:37
ricolinramishra, thx. huangtianhua ^^^01:40
*** GonZo2000 has quit IRC01:42
huangtianhuadone01:43
ricolinhuangtianhua, thx01:43
huangtianhuanp :)01:43
*** GonZo2000 has joined #heat01:47
*** GonZo2000 has quit IRC01:47
*** GonZo2000 has joined #heat01:47
openstackgerrithuangtianhua proposed openstack/heat master: Refactor network calculation  https://review.openstack.org/48681901:52
*** slagle has quit IRC01:59
*** dixiaoli has joined #heat02:05
*** GonZo2000 has quit IRC02:05
*** GonZo2000 has joined #heat02:05
*** GonZo2000 has quit IRC02:05
*** GonZo2000 has joined #heat02:05
*** GonZo2000 has quit IRC02:06
*** GonZo2000 has joined #heat02:06
*** GonZo2000 has quit IRC02:06
*** GonZo2000 has joined #heat02:06
*** GonZo2000 has quit IRC02:07
*** GonZo2000 has joined #heat02:07
*** GonZo2000 has joined #heat02:07
*** GonZo2000 has quit IRC02:07
*** GonZo2000 has joined #heat02:08
*** GonZo2000 has quit IRC02:08
*** GonZo2000 has joined #heat02:09
*** GonZo2000 has quit IRC02:09
*** GonZo2000 has joined #heat02:09
*** GonZo2000 has quit IRC02:10
*** GonZo2000 has joined #heat02:10
*** GonZo2000 has quit IRC02:11
*** GonZo2000 has joined #heat02:11
*** GonZo2000 has quit IRC02:11
*** GonZo2000 has joined #heat02:12
*** GonZo2000 has quit IRC02:12
*** slagle has joined #heat02:12
*** GonZo2000 has joined #heat02:13
*** GonZo2000 has quit IRC02:13
*** elynn_ has joined #heat02:13
*** GonZo2000 has joined #heat02:13
*** GonZo2000 has quit IRC02:14
*** GonZo2000 has joined #heat02:14
*** GonZo2000 has quit IRC02:15
*** GonZo2000 has joined #heat02:15
*** GonZo2000 has quit IRC02:15
*** GonZo2000 has joined #heat02:16
*** GonZo2000 has quit IRC02:16
*** GonZo2000 has joined #heat02:17
*** GonZo2000 has quit IRC02:17
*** GonZo2000 has joined #heat02:17
*** GonZo2000 has quit IRC02:18
*** GonZo2000 has joined #heat02:18
*** GonZo2000 has quit IRC02:19
*** GonZo2000 has joined #heat02:19
*** GonZo2000 has quit IRC02:19
*** GonZo2000 has joined #heat02:19
*** GonZo2000 has quit IRC02:19
*** GonZo2000 has joined #heat02:20
openstackgerritMerged openstack/heat-templates master: Use correct policy references in autoscaling.yaml  https://review.openstack.org/48955402:20
*** GonZo2000 has quit IRC02:20
*** GonZo2000 has joined #heat02:21
*** GonZo2000 has joined #heat02:21
*** GonZo2000 has quit IRC02:21
*** om2 has quit IRC02:26
*** om2 has joined #heat02:27
*** om2 has quit IRC02:31
*** dixiaoli has quit IRC02:47
*** dixiaoli has joined #heat02:51
*** ramishra has quit IRC02:53
*** nicolasbock has joined #heat02:57
*** zeih has joined #heat02:58
*** zeih has quit IRC03:02
*** yangyapeng has joined #heat03:36
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774003:39
*** gkadam has joined #heat03:41
*** links has joined #heat03:48
*** dbecker has quit IRC03:54
*** dbecker has joined #heat04:09
*** kbaegis has joined #heat04:36
*** dixiaoli has quit IRC04:40
*** zeih has joined #heat04:59
*** zeih has quit IRC05:03
*** ramishra has joined #heat05:12
*** skramaja has joined #heat05:13
*** jtomasek has joined #heat05:16
*** ssmith has joined #heat05:16
*** yangyapeng has quit IRC05:17
*** yangyapeng has joined #heat05:19
*** ramishra has quit IRC05:26
*** dixiaoli has joined #heat05:28
*** ramishra has joined #heat05:28
*** dixiaoli has quit IRC05:28
*** dixiaoli has joined #heat05:29
*** kiennt has quit IRC05:36
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774005:43
*** kbaegis has quit IRC05:46
*** mdnadeem has quit IRC05:47
*** mdnadeem has joined #heat05:48
*** mdnadeem has quit IRC05:49
*** mdnadeem has joined #heat05:49
*** mdnadeem_ has joined #heat05:50
*** mdnadeem has quit IRC05:51
*** mdnadeem has joined #heat05:51
*** mdnadeem_ has quit IRC05:55
*** kiennt has joined #heat05:56
*** hoonetorg has quit IRC06:02
*** kiennt has quit IRC06:10
*** kiennt has joined #heat06:12
*** hoonetorg has joined #heat06:15
*** mdnadeem has quit IRC06:18
*** jaosorior has quit IRC06:25
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774006:29
openstackgerritMerged openstack/heat master: Remove install-guide env which is no longer effective  https://review.openstack.org/48914106:29
*** rwsu has quit IRC06:30
*** jaosorior has joined #heat06:34
*** ccamacho has quit IRC06:38
*** yangyape_ has joined #heat06:43
*** yangyape_ has quit IRC06:46
*** yangyape_ has joined #heat06:46
*** yangyapeng has quit IRC06:46
*** rcernin has joined #heat06:46
*** mdnadeem has joined #heat06:48
*** yangyapeng has joined #heat06:50
*** yangyape_ has quit IRC06:50
*** yangyapeng has quit IRC06:54
*** namnh has joined #heat06:58
*** prateek has joined #heat06:59
*** zeih has joined #heat07:00
*** mkrai_ has joined #heat07:01
mkrai_Hi Heat team.07:01
mkrai_I am facing issue installing devstack07:01
mkrai_apache2: Syntax error on line 220 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/heat-api-cloudwatch.conf: No such file or directory07:01
mkrai_Can anyone help?07:02
*** zeih has quit IRC07:05
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774007:09
*** zeih has joined #heat07:12
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774007:14
*** zeih has quit IRC07:16
openstackgerritRico Lin proposed openstack/heat-templates master: Add python35 support  https://review.openstack.org/48989307:22
*** ioggstream has joined #heat07:29
*** annegentle has quit IRC07:34
*** armaan has joined #heat07:34
thervemkrai_, You probably shouldn't use cloudwatch, just remove that site definition07:41
mkrai_therve: Yeah did that and it worked07:42
mkrai_Thanks07:42
*** amoralej|off is now known as amoralej07:44
*** yangyapeng has joined #heat07:50
*** ccamacho has joined #heat07:52
*** gkadam is now known as gkadam-afk07:54
openstackgerritRico Lin proposed openstack/heat-templates master: Deprecate hooks in heat-templates  https://review.openstack.org/48991307:57
*** ssmith has quit IRC08:00
*** yangyapeng has quit IRC08:05
*** serlex has joined #heat08:05
*** yangyapeng has joined #heat08:06
openstackgerritLingyong Xu proposed openstack/python-heatclient master: Update the documentation link for doc migration  https://review.openstack.org/48991408:07
*** ccard has joined #heat08:12
ccardHow does heat decide whether it needs to rebuild an instance (i.e. an OS::Nova::Server resource) on heat stack-update ?08:13
therveccard, If the things that change can't be done in place08:14
therveAlso depend on the update policies08:14
*** derekh has joined #heat08:15
ccardtherve: I find that if I use OS::Heat::WaitCondition and OS::Heat::UpdateWaitConditionHandle to synchronise building instances, the instances *always* get rebuilt on heat stack-update, even if no stack parameters have changed08:22
therveccard, Do yo08:22
therveccard, Do you pass the handle in userdata ?08:23
ccardThe handle is just declared in the template08:23
therveccard, Can you show the template?08:24
ccardtherve: I can show the relevant bits08:25
openstackgerritShangXiao proposed openstack/heat-templates master: New template: Example for Nova Instance  https://review.openstack.org/48774008:25
therveccard, https://bugs.launchpad.net/heat/+bug/1695541 sounds like a known issue08:26
openstackLaunchpad bug 1695541 in heat "Make WaitCondition work with server replacement" [Wishlist,New]08:26
*** https_GK1wmSU has joined #heat08:27
*** https_GK1wmSU has left #heat08:28
ccardtherve: https://pastebin.com/v4wBr59z08:30
ccardtherve: This is actually used as a nested template, but I don't see why that should make any difference08:31
ccardtherve: that bug does sound like a good fit for what I'm seeing. Can you expand on the comment in the bug that "The true solution to this problem is to user Heat SoftwareDeployments instead."08:33
*** openstackgerrit has quit IRC08:33
*** armaan has quit IRC08:40
*** armaan has joined #heat08:41
*** yangyapeng has quit IRC08:43
*** yangyapeng has joined #heat08:43
therveccard, Well that's a work around that we have. If you use software deployments, you don't need wait conditions08:44
ioggstreamhi@all08:50
ioggstreamccard: if you don't want user_data to trigger server replacement you can set user_data_update_policy: IGNORE08:53
ioggstreamccard: in that case your template may not work though as you're running it at cloud-init stage08:54
*** armaan has quit IRC08:54
*** armaan has joined #heat08:55
ioggstreamccard: maybe you could find a way to trigger the wait handle at a SoftwareDeployment stage (that is after the server is booted)08:56
ccardioggstream: an example would be nice :)08:57
ioggstreamhttps://github.com/ioggstream/openshift-on-openstack/blob/master/bastion.yaml ccard :)08:57
ioggstreamccard: let me try to simplify08:58
ioggstreamccard: when your host is done you trigger a SD08:59
*** openstackgerrit has joined #heat08:59
openstackgerritShangXiao proposed openstack/heat-templates master: Update and replace http with https for doc links in heat-templates  https://review.openstack.org/48733708:59
ioggstreamccard: http://hardysteven.blogspot.it/2015/05/heat-softwareconfig-resources.html08:59
ioggstreamccard this article explains SD concept (and something more)09:00
ccardioggstream: thanks, I'll take a look09:01
ioggstreamccard: so if the priority is not to replace the server by a change in user_data , set user_data_update_policy09:02
ccardioggstream: thanks09:03
ioggstreamccard: my2ยข. From your template, as you're using update_wait_condition_handle, the user_data will always change09:07
ioggstreamand the server always replaced, right?09:07
ioggstreaminstead if you used a simple wait_condition, the  server wouldn't be replaced09:08
*** yangyapeng has quit IRC09:08
ccardioggstream: you mean use AWS::CloudFormation::WaitConditionHandle instead of OS::Heat::UpdateWaitConditionHandle?09:10
*** yangyapeng has joined #heat09:14
*** yangyapeng has quit IRC09:16
*** yangyapeng has joined #heat09:17
*** GonZo2000 has joined #heat09:17
*** GonZo2000 has quit IRC09:17
*** GonZo2000 has joined #heat09:17
ioggstreamccard:     type: OS::Heat::WaitCondition09:18
ccardioggstream: that is what I am using09:19
ioggstreamccard: https://pastebin.com/v4wBr59z # get_resource : {wait_condirion_handle } --> UpdateWaitConditionHandle09:19
ccardioggstream: Yes, I'm using OS::Heat::WaitCondition and OS::Heat::UpdateWaitConditionHandle09:22
ccarddid you mean use OS::Heat::WaitConditionHandle instead of OS::Heat::UpdateWaitConditionHandle ?09:22
openstackgerritRico Lin proposed openstack/heat-agents master: Use six StringIO  https://review.openstack.org/48994309:23
ioggstreamccard OS::Heat::WaitCondition09:24
ccardioggstream: doesn't WaitCondition need a handle specified?09:25
ioggstreamccard yes, WCH09:26
ccardI used UpdateWaitConditionHandle instead of WaitConditionHandle because get_resource then returns the URL to use for the signal. WaitConditionHandle doesn't behave like that09:27
ioggstreamccard: see https://github.com/ioggstream/openshift-on-openstack/blob/master/bastion.yaml#L29109:29
ioggstreamccard: and here's how to call it https://github.com/ioggstream/openshift-on-openstack/blob/master/fragments/common_functions.sh#L209:29
ioggstreamthis is invoked once at server boot09:30
ioggstreamccard: if you don't need the update stuff, can you check if using OS::Heat:WCH is enough for you?09:31
ccardioggstream: thanks, that looks like what I need. Linking to examples like that from the Heat docs would be very useful :)09:32
ioggstreamccard: those samples are not very useful for a novice09:33
ioggstreamccard: once you're in it they are quite a good reference09:33
*** Shunli has quit IRC09:35
ccardioggstream: or a how-to on using wait conditions - it's not obvious from the Heat docs09:36
ioggstreamhttps://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::WaitConditionHandle-attr-curl_cli ccard09:38
ioggstreamnot very explicit ;)09:38
ioggstreamccard: pls let me know09:39
ioggstreamhow it goes09:39
ccardioggstream: thanks, I will09:39
*** yassine has quit IRC09:59
*** kiennt has quit IRC10:01
*** dixiaoli has quit IRC10:04
*** armaan has quit IRC10:04
*** namnh has quit IRC10:06
*** jaosorior has quit IRC10:10
*** ramishra has quit IRC10:19
*** ramishra has joined #heat10:21
*** elynn_ has quit IRC10:42
ioggstreamjust found that, if you add trusted CAs, those are ignored if you  "pip install certifi" would break os-collect-config and all requests dependencies10:55
*** Shunli has joined #heat11:00
*** jaosorior has joined #heat11:02
ccardioggstream: I changed my template to use WaitConditionHandle. Creating the stack worked fine, but when I tried doing a stack update, changing the image used for the instances, the instances rebuilt as expected, but there was no synchronization. Presumably this was because the WaitCondition already thought it was satisfied by the stack create.11:05
ccardMaybe I should look at software deployment instead.11:05
*** Shunli has quit IRC11:22
ricolinhuangtianhua, zaneb could you help review https://review.openstack.org/#/c/489840 if you got some time, it fix the broken ocata gate for heat-agents11:28
*** ioggstream has quit IRC11:33
*** jcoufal has joined #heat11:34
*** nicolasbock_ has joined #heat11:41
*** ramishra has quit IRC11:41
*** nicolasbock__ has joined #heat11:42
*** nicolasbock has quit IRC11:44
*** nicolasbock has joined #heat11:45
*** nicolasbock_ has quit IRC11:46
*** nicolasbock__ has quit IRC11:47
*** elynn_ has joined #heat11:48
*** dprince has joined #heat11:54
therveccard, Yeah that's the implication indeed11:56
therveccard, The alternative is to add a new handle (manually) everytime you do an update11:57
*** armaan has joined #heat11:58
therveThat's what AWS tells you at least11:58
therveBut it's not really clear what's the use of UpdateWaitConditionHandle11:58
*** yassine has joined #heat12:01
*** mdnadeem has quit IRC12:03
*** jcoufal has quit IRC12:11
*** ioggstream has joined #heat12:13
ccardtherve: At the moment I'm using the wait condition so that I can signal when the cloud-init processing has finished, in particular that "puppet agent --test" has run successfully. Is there a way to do that with a SoftwareDeployment?12:16
therveccard, Yeah that's basically what it's made for.12:17
therveThe annoying part is that you need custom images12:17
ccardtherve: in this case, the stack builds a pair of haproxy load balancers, and on update I want at most one of them to be down at once, in order to maintain service.12:17
therveAnd it's.. . a bit complex12:17
ccardUsing UpdateWaitConditionHandle works, in that the instance updates are serialised, but it has the annoying side-effect that the instances are always rebuilt on update.12:18
*** amoralej is now known as amoralej|lunch12:18
*** kbaegis has joined #heat12:23
ccardtherve: so to use a SoftwareDeployment resource to do "puppet agent" I would have to create a heat-config-puppetapply hook myself?12:23
ccardI mean heat-config-puppetagent12:23
therveccard, Possibly. Maybe simply use the script agents?12:24
therveAFAIK puppet agent runs in the background, so not sure how you would catch the result12:25
*** ramishra has joined #heat12:26
ccardtherve: script agents?12:27
therveccard, heat-config-script12:28
ccardtherve: ah, right, so a SoftwareConfig with group: script12:28
ccardtherve: is there a document which lists all the available hooks?12:28
therveHum I don't remember what the group is for12:29
therveBut no I don't think I meant that12:29
*** amoralej|lunch is now known as amoralej12:29
*** coreyob has quit IRC12:31
ccardtherve: from http://hardysteven.blogspot.co.uk/2015/05/heat-softwareconfig-resources.html : "The "group" is specified as "puppet", which will enable heat-config to correctly apply the manifest using the heat-config-puppet hook."12:31
ioggstreamccard: did you try to create a softwaredeployment ?12:34
ioggstreamccard: at first just try to put  a bare "date >> /etc/softwaredeployment.tmp"12:36
therveccard, You're right, script is what makes the link12:37
therveccard, https://github.com/openstack/heat-agents contains all the available agents12:37
ioggstreamtherve: hi o/12:41
therveHello12:41
*** amoralej is now known as amoralej|lunch12:47
*** gkadam-afk has quit IRC12:48
ioggstreamJust stumbled upon this https://bugs.launchpad.net/python-openstackclient/+bug/1634861 while updating openstackclient...12:58
openstackLaunchpad bug 1634861 in python-openstackclient "openstack client ignores system-wide trusted CA certificates" [Undecided,Invalid]12:58
therveioggstream, Ah yeah that's a known python requests problem13:00
ioggstreamtherve: opened an issue on openshift-on-openstack, so we get ready for next releases13:01
*** LanceHaig has joined #heat13:02
*** LanceHaig has quit IRC13:02
*** LanceHaig has joined #heat13:02
ioggstreamtherve: instead afayk should I open a case on openstackclient for not being able to stack update  -n ?13:02
therveioggstream, heatclient13:02
openstackgerritTomasz Trฤ™bski proposed openstack/heat master: Change exception class from monascaclient  https://review.openstack.org/49001613:03
*** jcoufal has joined #heat13:07
openstackgerritTomasz Trฤ™bski proposed openstack/heat master: Pass existing session to monascaclient  https://review.openstack.org/49001713:08
*** pradk has quit IRC13:13
LanceHaigricolin, I have a question about the tutorial I am trying to add to the heat repo13:21
ricolinLanceHaig, yes13:21
LanceHaigthey are made up of many example YAMl files13:22
LanceHaigand these need to be referenced13:22
LanceHaighow do you want it referenced?13:22
LanceHaigdo I add them to another repo and then just reference the URL13:22
LanceHaigor do I commit them to the documentation section13:23
ricolinYaml file like heat template?13:23
LanceHaigYes13:26
LanceHaigex1.1.yaml is just 22 lines of yaml13:26
LanceHaigbut it is part of the course13:26
ricolinIMO, we should add it to heat-templates, but if it's really really small yaml, I think we can use code block in document13:27
ricolinbut heat-template sounds better to me:)13:28
*** prateek has quit IRC13:28
LanceHaigok happy to move it there13:29
LanceHaigwhere should I add them in general?13:29
LanceHaigUnder hot or under its own root directory?13:31
ricolinmaybe heat-templates/hot/xxx-tutorial?:)13:31
*** felipemonteiro has joined #heat13:31
LanceHaigok good13:32
LanceHaigdone13:32
ricolinfast!13:32
*** kbaegis has quit IRC13:32
*** jistr is now known as jistr|mtg13:32
LanceHaigI will move them there and reference them13:32
ricolinSo cool:)13:32
LanceHaigit will take a short while but I wanted to know what would be best13:32
LanceHaigIs it better to abandon the current review I have in het as there will be quite a few changes in the patch I will make or do I just make a new patchiest?13:34
ricolinNP, we can keep tuning to find the best way13:34
*** kbaegis has joined #heat13:34
*** kbaegis has quit IRC13:34
*** kbaegis has joined #heat13:34
*** kiennt has joined #heat13:35
*** felipemonteiro has quit IRC13:37
*** amoralej|lunch is now known as amoralej13:37
*** yangyapeng has quit IRC13:38
*** rwsu has joined #heat13:41
zanebricolin: why are we backporting py35 support?13:41
ricolinzaneb, because we enable py35 check for heat-agents in ocata13:43
ricolinwhich broke13:44
ricolinzaneb, also the doc broken the same time13:44
*** jistr|mtg is now known as jistr13:52
zanebricolin: if it wasn't enabled when we were developing ocata, it shouldn't be enabled on stable/ocata now13:54
therve+113:55
-openstackstatus- NOTICE: We have disable infracloud-vanilla due to the compute host running mirror.regionone.infracloud-vanilla.o.o being offline. Please recheck your failed jobs to schedule them to another cloud.13:55
therveThat would apply too to doc build when we don't have docs13:56
thervezaneb, Saw your comment on https://bugs.launchpad.net/heat/+bug/167243213:57
openstackLaunchpad bug 1672432 in OpenStack Heat "Swift client is not thread safe" [Medium,Triaged] - Assigned to Thomas Herve (therve)13:57
zanebtherve: wdyt?13:57
thervezaneb, Don't we have concurrent resource creation?13:57
therveI thought that was what the scheduler was doing13:57
ricolinzaneb, therve Okay I will throw those two from ocata gate13:57
*** zhurong has joined #heat13:57
zanebtherve: the scheduler operates all in a single thread13:57
zanebthat's the magic of the scheduler :)13:58
thervezaneb, You mean OS thread? It uses green threads13:58
zanebit does not use green threads13:58
zanebI promise ;)13:58
therveWell I mean it doesn't explicitely13:59
zanebwe run the whole stack operation (create/update/&c.) in a greenthread, but only one greenthread per stack operation14:00
therveBut you yield control, so things can happen in parallel behind it?14:00
zanebit does yield control, but only where there is an explicit 'yield'. so it cannot yield e.g. in the middle of a swift client operation14:01
*** nicolasbock_ has joined #heat14:04
*** nicolasbock__ has joined #heat14:07
*** nicolasbock has quit IRC14:07
*** skramaja has quit IRC14:08
*** armaan_ has joined #heat14:08
*** nicolasbock_ has quit IRC14:10
*** hongbin has joined #heat14:10
*** armaan has quit IRC14:11
*** armaan has joined #heat14:11
ioggstreamccard: did it work?14:12
*** armaan_ has quit IRC14:14
*** LanceHaig has quit IRC14:18
*** jcoufal has quit IRC14:18
*** prateek has joined #heat14:20
*** mdnadeem has joined #heat14:20
*** blomquisg_gone is now known as blomquisg14:21
*** nicolasbock_ has joined #heat14:21
*** annegentle has joined #heat14:23
thervezaneb, And in convergence, we can have several stack operations in parallel14:24
thervezaneb, But they happen in different stack objects?14:24
zanebyes14:24
therveOK that makes sense14:24
*** nicolasbock__ has quit IRC14:25
*** rwsu has quit IRC14:29
*** jcoufal has joined #heat14:30
*** armaan_ has joined #heat14:31
*** armaan has quit IRC14:34
*** zhurong has quit IRC14:38
*** rwsu has joined #heat14:39
*** LanceHaig has joined #heat14:42
ccardioggstream: just trying a SoftwareDeployment solution now14:43
ioggstreamccard: ok, good luck!14:43
*** yangyapeng has joined #heat14:45
*** prateek has quit IRC14:45
ricolinHi guys meeting in 15mins14:47
ricolinfeel free to add agenda14:47
ricolinhttps://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282017-08-02_1500_UTC.2914:47
*** yangyapeng has quit IRC14:49
*** yangyapeng has joined #heat14:53
*** kbaegis1 has joined #heat14:59
*** kbaegis has quit IRC14:59
*** felipemonteiro has joined #heat15:00
*** kbaegis1 has quit IRC15:00
ricolinkiennt, LanceHaig, kazsh, gaborm, mrwolf, zaneb,  ramishra, therve, shardy, skraynev, prazumovsky, elynn, spzala, tiantian Meeting time! at openstack-meeting-515:00
*** links has quit IRC15:01
ccardioggstream: creating the stack appears to be working, then I'll try an update15:03
*** felipemonteiro_ has joined #heat15:04
*** felipemonteiro has quit IRC15:04
*** felipemonteiro__ has joined #heat15:04
*** jistr is now known as jistr|mtg15:06
*** felipemonteiro__ has quit IRC15:06
*** felipemonteiro__ has joined #heat15:07
*** mdnadeem has quit IRC15:08
*** felipemonteiro_ has quit IRC15:08
*** dprince has quit IRC15:14
*** armaan has joined #heat15:18
*** nicolasbock__ has joined #heat15:21
*** armaan_ has quit IRC15:21
*** nicolasbock_ has quit IRC15:24
*** annegentle has quit IRC15:28
*** annegentle has joined #heat15:37
*** elynn_ has quit IRC15:37
kazshricolin: I added my agenda in Cross-Project topics:, but if you think that is not correct place, I will move it to the suitable place.  https://etherpad.openstack.org/p/heat-queens-ptg15:46
kazshAlso not pretty sure 'Drivers' , should I add someone's name as the driver ?15:49
ricolinkazsh, you can put anyone who will help on host that session:)15:51
kazshricolin: thank you, ok I will add my name for now :)15:52
ricolinkazsh, thx!15:54
thervezaneb, Hey15:54
zanebo/15:54
thervezaneb, Looks like https://review.openstack.org/#/c/477046/ broke tripleo15:55
zanebdoh! how?15:55
thervezaneb, From the look of it, attributes are cached during the stack validation?15:55
*** dyasny_ has joined #heat15:55
zanebI checked it against the experimental tripleo job and it passed15:55
therveIE before we returned the http query?15:56
therveAnyway the stack create call takes 8 minutes instead of 115:56
zaneburg15:56
kazshLanceHaig: I added a etherpad page for the horizon plugin, you can jump to that page from the ptg page & please put you suggestion at there.15:57
LanceHaigok15:57
*** dyasny has quit IRC15:58
*** kiennt has quit IRC15:58
thervezaneb, That's a quick look but it worked with 8c7b66a and not 4a4a17215:58
zanebtherve: I wonder if https://review.openstack.org/#/c/477047/ will improve it15:59
*** catintheroof has joined #heat15:59
*** links has joined #heat15:59
therveThe experimental job was from 3 weeks ago too16:00
therveMaybe something changed since then16:00
*** catintheroof has quit IRC16:00
*** catintheroof has joined #heat16:00
thervezaneb, http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp_1ceph-featureset024/e7e67f0/logs/undercloud/var/log/heat/heat-engine.log.txt.gz FTR16:01
LanceHaigkazsh, I have added some notes to the etherpad16:01
therveThere is a giant 7 minutes pause in there?16:02
zaneb"Lost connection to MySQL server during query" <- could that be the cause?16:02
therveNo that's later16:02
thervezaneb, http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp_1ceph-featureset024/e7e67f0/logs/undercloud/var/log/heat/heat-engine.log.txt.gz#_2017-08-02_08_01_36_32916:02
kazshLanceHaig: thx :) I will check it, let's keep discussing16:04
zanebtherve: that is a really long pause :(16:05
therveYeah that's pretty weird16:05
LanceHaigWhat would be the best way to test documentation additions to the heat repository?16:06
LanceHaigI have added the tutorial documents but I need to test that it passes16:06
LanceHaigthere is a makefile in the directory to I just run that ?16:07
LanceHaigI mean make :-)16:07
*** rcernin has quit IRC16:08
ccardioggstream: how can I control the order that SoftwareDeployments are done? I tried adding a depends_on and that just caused the stack create to hang :(16:11
thervezaneb, Maybe heat is banging its head on something weird in validation16:11
therveLike a particularly bad yaql call16:11
ioggstreamccard: I usally run only one SD per server16:12
ioggstreamccard: maybe you could cascade SD using handlers16:13
ioggstreamccard: being SD dependent on handlers and not user_data, this won't destroy your servers16:13
zanebtherve: it's somewhere in https://github.com/openstack/heat/blob/master/heat/engine/stack.py#L833-L87116:14
ioggstreamccard: in my templates, most of the actions are delegated to a management node16:14
zanebtherve: so you'd have to suspect it really is https://github.com/openstack/heat/blob/master/heat/engine/stack.py#L863 like in the original bug16:14
ioggstreamccard https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-deploy-sequence.yaml16:16
ioggstreamccard these are interdependet SD16:16
thervezaneb, That's affected by your patch?16:16
zanebtherve: yes, because it calls dep_attr to figure out which attributes are referenced16:17
ioggstreamccard you should ensure not ending in locks16:17
ioggstreamccard: openstack stack resources show STACK -n20 | grep -v COMPLETE  # should tell who's running16:18
*** fvollero has joined #heat16:18
ioggstreams,show,list16:18
zanebtherve: the log from the experimental job is full of stuff like "Validating TemplateResource "ControllerServiceChain": EntityNotFound: The Resource Type (OS::TripleO::Services) could not be found."16:18
*** kbaegis has joined #heat16:19
thervezaneb, Maybe it's not testing anything useful :/16:19
zanebtherve: presumably not caused by the patch, since we're not seeing it in the periodic job. Maybe TripleO was just borked at the time that was run?16:19
therveMaybe that16:19
zanebso it may not have been actually validating anything when we tested it16:20
ioggstreamccard: use this snippet to see https://gist.github.com/ioggstream/19507b46badc8abd640f98d4e425de7516:20
*** yassine has quit IRC16:20
ccardioggstream: I had SDs A and B and A had depends_on: B. I could see that B was COMPLETE and A was IN_PROGRESS, but A wasn't doing anything as far as I could see16:21
therveGod our merge rate is horrible too16:21
zanebyes, it's bad16:22
*** serlex has quit IRC16:22
zanebmostly timeouts before our stuff even gets to run16:22
*** jistr|mtg is now known as jistr16:22
ccardioggstream: I was poking in the heat db rather than using the heat cli, but I imagine that would have given the same result16:22
ioggstreamccard: I don't do db.16:23
ioggstreamccard: when a SD completes it signals16:23
ioggstreamccard: you could o stack resource signal to tell heat that something is done16:24
thervezaneb, So I got to go, I'll be back a bit later. If you get check with the tripleo guys16:25
thervehttps://bugs.launchpad.net/tripleo/+bug/170814616:26
openstackLaunchpad bug 1708146 in tripleo "OVB periodic jobs fail in overcloud deploy task with timeout waiting for messages" [Critical,Triaged]16:26
ccardioggstream: heat knew that SD B was COMPLETE, so what would be blocking SD A from doing anything. When I remove the depends_on, all the SDs COMPLETE, but I have no control over the order they run16:26
ioggstreamccard heat version?16:26
ioggstreamopenstack version?16:26
ccardmitaka16:26
openstackgerritDougal Matthews proposed openstack/heat master: Revert "Cache dep_attrs for all resources in definitions"  https://review.openstack.org/49007516:28
ioggstreamccard: I'm on newton16:28
ioggstreamccard: canyou pls try the small sample I linked?16:29
ccardioggstream: the shell script sample?16:29
ioggstreamccard: and/or check if your vms have softwaredeployments errors16:29
ioggstreamccard: no, the yaml16:29
ccardwhere would I see SD errors?16:29
ioggstreamthe shell just tells where 's stuck16:29
ioggstreamhttps://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-deploy-sequence.yaml16:30
ccardok16:30
*** hoonetorg has quit IRC16:30
openstackgerritDougal Matthews proposed openstack/heat master: Revert "Cache dep_attrs for all resources in definitions"  https://review.openstack.org/49007516:31
*** EricGonczer_ has joined #heat16:34
*** dprince has joined #heat16:42
*** ccamacho has quit IRC16:42
*** hoonetorg has joined #heat16:43
ccardioggstream: deployment_a seems to be stuck IN_PROGRESS16:46
ioggstreamccard: check if he's able to signal heat that its' done16:47
ioggstreamccard check if it's actually done16:47
ioggstreammaybe he didn't notify to heat16:47
ioggstreamcheck /var/log/messages16:47
ccardioggstream: https://pastebin.com/TN865t3F16:52
ccardioggstream: what am I looking for in /var/log/messages?16:55
*** yangyapeng has quit IRC16:56
*** yangyapeng has joined #heat16:56
*** derekh has quit IRC16:59
*** yangyapeng has quit IRC17:00
*** ramishra has quit IRC17:00
ccardioggstream: got to go17:04
*** harlowja has joined #heat17:13
*** fishbone_ has joined #heat17:13
*** EricGonczer_ has quit IRC17:13
fishbone_hello, would anyone know why I might be getting ERROR: Property error: : resources.server1.properties.image: : 404 Not Found when launching a test stack17:14
fishbone_I am able to utilize the image in reference of the stack17:14
*** ricolin has quit IRC17:17
*** prateek has joined #heat17:22
*** prateek has quit IRC17:28
*** fvollero has quit IRC17:32
*** armaan has quit IRC17:32
*** GonZo2000 has quit IRC17:50
*** GonZo2000 has joined #heat17:50
*** GonZo2000 has joined #heat17:50
*** yangyapeng has joined #heat17:56
*** dyasny_ has quit IRC17:58
*** yangyapeng has quit IRC18:01
*** amoralej is now known as amoralej|off18:08
*** kfox1111_ is now known as kfox111118:19
*** fvollero has joined #heat18:29
*** links has quit IRC18:31
*** ioggstream has quit IRC18:37
*** fvollero has quit IRC18:43
*** annegentle has quit IRC18:56
openstackgerritZane Bitter proposed openstack/heat master: Ignore property errors in implicit dependencies  https://review.openstack.org/49014918:57
openstackgerritZane Bitter proposed openstack/heat master: Add catch-all for property errors in implicit dependencies  https://review.openstack.org/49015018:57
*** annegentle has joined #heat18:58
*** jcoufal has quit IRC19:00
*** nicolasbock__ has quit IRC19:10
*** EricGonczer_ has joined #heat19:13
*** jtomasek has quit IRC19:19
fishbone_Hello, does anyone know what causes this error? ERROR: Property error: : resources.server1.properties.image: : 40419:21
*** EricGonczer_ has quit IRC19:39
*** EricGonczer_ has joined #heat19:40
*** EricGonczer_ has quit IRC19:42
*** EricGonczer_ has joined #heat19:42
*** annegentle has quit IRC19:55
*** annegentle has joined #heat19:56
*** yangyapeng has joined #heat19:57
*** yangyapeng has quit IRC20:02
*** hoonetorg has quit IRC20:03
*** hoonetorg has joined #heat20:21
openstackgerritThomas Herve proposed openstack/heat master: Test  https://review.openstack.org/49019420:21
thervefishbone_, Does it happen for all images?20:22
*** vishwana_ has joined #heat20:23
*** LanceHaig has quit IRC20:25
fishbone_therve: yes for all images20:25
thervefishbone_, That probably means an issue in your service catalog20:25
therveCheck heat logs for the URL which 40420:26
therveAnd your endpoint list20:26
*** vishwanathj has quit IRC20:26
fishbone_therve: it seems to fail at controller:8004/(tenant_id)/stacks20:30
fishbone_my tenant id matches appropriately and the endpoint for 8004 is open in the catalog20:30
thervefishbone_, That's the URL for heat though20:31
therveSo it's probably not where it fails20:31
*** ioggstream has joined #heat20:32
fishbone_therve: in the debug log after POST call to orchestration for http://kaiser:8004/v1/75e4b7c8c5b8484daf7da7b249dc53aa/stacks used request id req-03bcfc66-357d-4d9c-9f3c-b07987c7d98f I get the error20:33
fishbone_therve: ERROR: Property error: : resources.server1.properties.image: : 404 Not Found20:33
fishbone_kaiser is the hostname of the controller20:33
therveRight but that's not the URL that 40420:33
fishbone_therve: ah20:33
therveDo you have a traceback?20:34
fishbone_therve: here http://paste.openstack.org/show/617320/ thanks20:36
thervefishbone_, I meant a server side one20:36
fishbone_therve: I get no errors in the logs for the heat or glance services when running the command. Only in the horizon logs, or running --debug in the cli20:38
*** https_GK1wmSU has joined #heat20:38
thervefishbone_, OK i don't know then20:39
fishbone_therve: hmm, do you think there may be another service I need to check for?20:39
thervefishbone_, Something returns that 404? Checks which one20:40
fishbone_I did just get this in heat-engine, therve, (HTTP 404) validate /usr/lib/python2.7/dist-packages/heat/engine/stack.py:85120:40
*** https_GK1wmSU has left #heat20:40
fishbone_that wasn't showing earlier though, perhaps becuase debug was off earlier20:41
thervefishbone_, That's the client, not the server20:41
fishbone_therve: ah20:41
fishbone_therve: when inspecting the logs on glance i notice: new path /v2/v2/images process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:71, would that have anything to do with it? can heat use v2 for glance?20:46
*** fvollero has joined #heat20:47
fvollerohowdy :)20:53
*** jrist has quit IRC20:54
*** annegentle has quit IRC21:13
*** annegentle has joined #heat21:14
*** dprince has quit IRC21:23
*** jrist has joined #heat21:27
*** vishwana_ has quit IRC21:45
*** vishwanathj has joined #heat21:45
*** GonZo2000 has quit IRC21:57
*** yangyapeng has joined #heat21:58
*** annegentle has quit IRC22:00
*** yangyapeng has quit IRC22:03
*** felipemonteiro__ has quit IRC22:10
*** vishwanathj has quit IRC22:16
*** vishwanathj has joined #heat22:16
*** https_GK1wmSU has joined #heat22:22
*** https_GK1wmSU has left #heat22:24
*** blomquisg is now known as blomquisg_gone22:27
*** EricGonczer_ has quit IRC22:29
*** catintheroof has quit IRC22:44
*** GonZo2000 has joined #heat22:48
*** GonZo2000 has quit IRC22:48
*** GonZo2000 has joined #heat22:48
*** pbourke has quit IRC22:55
*** jrist has quit IRC22:55
*** pbourke has joined #heat22:57
*** GonZo2000 has quit IRC22:58
*** yassine has joined #heat23:02
*** yangyapeng has joined #heat23:02
*** yangyapeng has quit IRC23:07
*** GonZo2000 has joined #heat23:15
*** GonZo2000 has quit IRC23:15
*** GonZo2000 has joined #heat23:15
*** hongbin has quit IRC23:21
*** _mmethot_ has joined #heat23:24
*** mmethot_ has quit IRC23:26
*** ioggstream has quit IRC23:43

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