*** EricGonczer_ has joined #heat | 00:05 | |
*** cwolferh has quit IRC | 00:14 | |
*** dyasny has joined #heat | 00:18 | |
*** EricGonczer_ has quit IRC | 00:21 | |
*** cwolferh has joined #heat | 00:31 | |
*** ricolin has joined #heat | 00:37 | |
*** jasond has joined #heat | 01:07 | |
openstackgerrit | huangtianhua proposed openstack/heat: Make sure glance image create success with tags https://review.openstack.org/326310 | 01:10 |
---|---|---|
openstackgerrit | huangtianhua proposed openstack/heat: Ignore notfound error when delete image tags https://review.openstack.org/326350 | 01:11 |
*** bana_k has quit IRC | 01:14 | |
*** zz_dimtruck is now known as dimtruck | 01:16 | |
*** marcin1234 has quit IRC | 01:19 | |
*** ramishra has joined #heat | 01:26 | |
*** p01nt3r75 has quit IRC | 01:31 | |
*** morion has joined #heat | 01:34 | |
*** yanyanhu has joined #heat | 01:44 | |
*** jasond has quit IRC | 01:45 | |
*** elynn has joined #heat | 01:55 | |
*** elynn_ has joined #heat | 01:59 | |
*** elynn has quit IRC | 02:00 | |
*** akshai has quit IRC | 02:01 | |
*** morion has quit IRC | 02:05 | |
*** akshai has joined #heat | 02:12 | |
*** morion has joined #heat | 02:14 | |
openstackgerrit | huangtianhua proposed openstack/heat: Support resource/output condition https://review.openstack.org/283366 | 02:19 |
cwolferh | anybody have any clues as to how to get heat.db.sqlalchemy.api LOG messages to show up (anywhere) in a devstack env? kind of perplexed why they are not showing up, at least in the functional test_purge case | 02:30 |
*** sdake has joined #heat | 02:32 | |
*** ramishra_ has joined #heat | 02:33 | |
*** sdake has quit IRC | 02:34 | |
openstackgerrit | Rabi Mishra proposed openstack/python-heatclient: Serialize files when using SessionClient https://review.openstack.org/325984 | 02:36 |
*** ramishra has quit IRC | 02:36 | |
cwolferh | neverming, it just looks like heat-manage LOG messages get sent to stdout or stderr, and those are just not stashed away anywhere in the functional test | 02:41 |
*** openstackgerrit has quit IRC | 02:47 | |
*** openstackgerrit has joined #heat | 02:48 | |
*** rpothier has joined #heat | 02:57 | |
*** rpothier has quit IRC | 03:06 | |
*** KanagarajM has joined #heat | 03:06 | |
*** morion has quit IRC | 03:06 | |
*** rpothier has joined #heat | 03:07 | |
*** om has joined #heat | 03:13 | |
*** om2 has joined #heat | 03:13 | |
*** om is now known as Guest73087 | 03:13 | |
*** fragatina has quit IRC | 03:19 | |
*** sdake has joined #heat | 03:28 | |
*** dimtruck is now known as zz_dimtruck | 03:28 | |
*** links has joined #heat | 03:35 | |
*** randallburt1 has quit IRC | 03:43 | |
*** tochi has quit IRC | 03:46 | |
*** tochi has joined #heat | 03:50 | |
*** sdake has quit IRC | 03:53 | |
*** cwolferh has quit IRC | 04:14 | |
*** fragatina has joined #heat | 04:17 | |
*** fragatina has quit IRC | 04:22 | |
*** tochi has quit IRC | 04:24 | |
*** elynn_ has quit IRC | 04:28 | |
*** bana_k has joined #heat | 04:33 | |
*** fragatina has joined #heat | 04:38 | |
*** fragatina has quit IRC | 04:40 | |
*** fragatina has joined #heat | 04:40 | |
*** fragatin_ has joined #heat | 04:41 | |
*** om2 has quit IRC | 04:42 | |
*** Guest73087 has quit IRC | 04:42 | |
*** fragatina has quit IRC | 04:44 | |
*** jaosorior has joined #heat | 04:50 | |
*** vishwanathj has joined #heat | 04:51 | |
*** sshnaidm|afk has quit IRC | 04:51 | |
*** elynn_ has joined #heat | 04:54 | |
*** tochi has joined #heat | 04:54 | |
openstackgerrit | Anant Patil proposed openstack/heat: Enable convergence by default https://review.openstack.org/325798 | 04:57 |
*** elynn_ has quit IRC | 04:58 | |
*** elynn_ has joined #heat | 04:59 | |
*** sdake has joined #heat | 05:01 | |
*** mrpointy has quit IRC | 05:08 | |
*** mrpointy has joined #heat | 05:08 | |
*** sdake has quit IRC | 05:32 | |
*** fragatin_ has quit IRC | 05:36 | |
skraynev | therve: hi. sure, I will take a look. | 05:36 |
skraynev | currently it is similar on some issue from infra side, but I need to ask guys from rally before | 05:37 |
skraynev | thank you for the pointing on it | 05:37 |
*** jtomasek has quit IRC | 06:01 | |
*** KanagarajM has quit IRC | 06:02 | |
*** rcernin has joined #heat | 06:12 | |
*** lifeless has quit IRC | 06:13 | |
therve | skraynev, Thanks! | 06:20 |
*** om has joined #heat | 06:21 | |
*** om2 has joined #heat | 06:21 | |
*** om is now known as Guest48210 | 06:21 | |
*** vishwanathj has quit IRC | 06:36 | |
*** vishwanathj has joined #heat | 06:36 | |
*** cwolferh has joined #heat | 06:39 | |
*** Guest48210 has quit IRC | 06:44 | |
*** om2 has quit IRC | 06:44 | |
*** om2 has joined #heat | 06:44 | |
*** om3 has joined #heat | 06:45 | |
*** om3 has quit IRC | 06:46 | |
*** wangbo has quit IRC | 06:46 | |
*** jpeeler has quit IRC | 06:47 | |
*** openstackgerrit has quit IRC | 06:48 | |
*** openstackgerrit has joined #heat | 06:49 | |
*** wangbo has joined #heat | 06:50 | |
AJaeger | there's a project-config change for heat, I'd like some heat cores or the PTL (hi therve ) to +1 this before we merge it: https://review.openstack.org/317817 | 06:50 |
*** bana_k has quit IRC | 06:51 | |
therve | AJaeger, Fuzzy on the details, but shouldn't https://review.openstack.org/#/c/317599/ land first? | 06:51 |
AJaeger | therve: I wasn't aware of that change ;( | 06:53 |
AJaeger | therve: good that I asked here ;) | 06:53 |
AJaeger | therve: I suggest you -1 and ask for a depends-on so that we merge in the proper order | 06:53 |
therve | AJaeger, Thanks, sound like a good idea | 06:53 |
*** sdake has joined #heat | 06:54 | |
*** jpeeler has joined #heat | 06:55 | |
*** jpeeler has quit IRC | 06:55 | |
*** jpeeler has joined #heat | 06:55 | |
* AJaeger changed his +2 to a -1 now as well... | 06:55 | |
*** sorantis has joined #heat | 06:56 | |
*** priteau has joined #heat | 06:59 | |
*** sdake has quit IRC | 07:10 | |
skraynev | therve , AJaeger: heh. I wanted to suggest the same about Depends-On. It will be the best confirmation of correct work | 07:13 |
skraynev | for devstack plugin in Heat tree | 07:13 |
therve | skraynev, unfortunately that won't really test that it works | 07:14 |
therve | But yeah :) | 07:14 |
AJaeger | It will not test that it works. I overlooked one change, proper order is: | 07:14 |
AJaeger | Land 317599, land https://review.openstack.org/#/c/317811, and then 317817 - with some time between 811 and 817. | 07:15 |
openstackgerrit | Anant Patil proposed openstack/heat: Don't hard code subnet https://review.openstack.org/326341 | 07:15 |
*** zeih has joined #heat | 07:15 | |
AJaeger | So, I suggest to WIP 817 for now until 811 proves to be stable | 07:15 |
AJaeger | But first 317599 needs to merge and 811 (and that one should have the depends-on) | 07:15 |
AJaeger | Is Di XiaoLi around? | 07:16 |
*** vincentll has joined #heat | 07:16 | |
*** dixiaoli has joined #heat | 07:17 | |
dixiaoli | hi AJaeger | 07:18 |
AJaeger | dixiaoli: can you read scrollback on eavesdrop for the last 20 mins? | 07:18 |
dixiaoli | AJaeger, OK | 07:19 |
AJaeger | This is regarding your devstack heat changes - I've advised the way forward... | 07:19 |
* AJaeger just commented in reviews as well | 07:19 | |
AJaeger | dixiaoli: If you have questions on my suggestion, please ask. It'S crucial to have the dpeends in so that changes merge in the right order, otherwise you break all of heat testing ;( | 07:20 |
*** ricolin has quit IRC | 07:21 | |
dixiaoli | AJaeger, Thanks, I will update my patch soon and add the Depends-On | 07:21 |
*** ananta has joined #heat | 07:26 | |
*** elynn_ has quit IRC | 07:26 | |
*** elynn_ has joined #heat | 07:28 | |
*** KanagarajM has joined #heat | 07:29 | |
*** ccamacho has joined #heat | 07:32 | |
*** ricolin has joined #heat | 07:34 | |
*** shardy has joined #heat | 07:39 | |
*** evilt0ne has quit IRC | 07:43 | |
*** evilt0ne has joined #heat | 07:45 | |
*** evilt0ne has joined #heat | 07:45 | |
*** mrpointy has quit IRC | 07:45 | |
*** openstackgerrit has quit IRC | 07:48 | |
*** openstackgerrit has joined #heat | 07:49 | |
*** evilt0ne has quit IRC | 07:50 | |
*** evilt0ne has joined #heat | 07:51 | |
*** evilt0ne has joined #heat | 07:51 | |
openstackgerrit | Rico Lin proposed openstack/heat: DNM Test patch https://review.openstack.org/326889 | 07:52 |
*** sorantis has quit IRC | 07:57 | |
*** sorantis has joined #heat | 08:01 | |
openstackgerrit | huangtianhua proposed openstack/heat: Add aodh client plugin https://review.openstack.org/325044 | 08:03 |
openstackgerrit | huangtianhua proposed openstack/heat: Migrate to aodh for OS::Ceilometer::Alarm https://review.openstack.org/326896 | 08:03 |
*** jtomasek has joined #heat | 08:05 | |
*** om2 has quit IRC | 08:07 | |
*** om has joined #heat | 08:07 | |
*** om is now known as Guest35690 | 08:07 | |
*** Guest35690 has quit IRC | 08:08 | |
*** om2 has joined #heat | 08:08 | |
*** om3 has joined #heat | 08:08 | |
*** om3 has quit IRC | 08:11 | |
*** vishwanathj has quit IRC | 08:14 | |
*** jaosorior has quit IRC | 08:25 | |
*** jaosorior has joined #heat | 08:25 | |
openstackgerrit | huangtianhua proposed openstack/heat: Use to_dict() instead for cinder resources https://review.openstack.org/326915 | 08:31 |
*** om2 has quit IRC | 08:32 | |
openstackgerrit | Rico Lin proposed openstack/heat: DNM Test patch https://review.openstack.org/326889 | 08:32 |
*** tlashchova has joined #heat | 08:35 | |
*** dmk0202 has joined #heat | 08:37 | |
*** derekh has joined #heat | 08:42 | |
*** yanyanhu has quit IRC | 08:43 | |
*** yassine has joined #heat | 08:44 | |
ananta | Hi folks! Should I be creating issue for something like https://review.openstack.org/#/c/326341 ? | 08:45 |
*** openstackgerrit has quit IRC | 08:48 | |
therve | ananta, Nope | 08:48 |
*** openstackgerrit has joined #heat | 08:49 | |
ananta | therve: ok, thanks! | 08:49 |
*** vishwanathj has joined #heat | 08:55 | |
*** AJaeger has left #heat | 08:59 | |
*** sorantis has quit IRC | 09:02 | |
*** jtomasek has quit IRC | 09:04 | |
*** om2 has joined #heat | 09:10 | |
*** om3 has joined #heat | 09:14 | |
*** om2 has quit IRC | 09:15 | |
openstackgerrit | huangtianhua proposed openstack/heat: Add a Macro class to heat.engine.function https://review.openstack.org/322248 | 09:15 |
*** sdake has joined #heat | 09:16 | |
*** jtomasek has joined #heat | 09:18 | |
*** wangbo has quit IRC | 09:22 | |
openstackgerrit | huangtianhua proposed openstack/heat: Provides 'if' intrinsic function https://review.openstack.org/283479 | 09:28 |
*** wangbo has joined #heat | 09:34 | |
openstackgerrit | huangtianhua proposed openstack/heat: Provides 'if' intrinsic function https://review.openstack.org/283479 | 09:34 |
*** sorantis has joined #heat | 09:44 | |
openstackgerrit | Merged openstack/heat: Don't hard code subnet https://review.openstack.org/326341 | 09:45 |
skraynev | therve: so guys from infra team guide me what need to do, I hope to upload patch on review today or tomorrow. When it be ready I will ping you. | 09:45 |
skraynev | about rally periodic job | 09:46 |
*** sdake has quit IRC | 09:49 | |
therve | skraynev, OK awesome | 09:49 |
*** tlashchova has quit IRC | 09:49 | |
openstackgerrit | huangtianhua proposed openstack/heat: Support resource/output condition https://review.openstack.org/283366 | 10:02 |
*** vishwanathj has quit IRC | 10:08 | |
*** jamie_h has joined #heat | 10:12 | |
*** sorantis has quit IRC | 10:15 | |
*** tlashchova has joined #heat | 10:22 | |
openstackgerrit | Rico Lin proposed openstack/heat: DNM Test patch https://review.openstack.org/326889 | 10:23 |
*** om3 has quit IRC | 10:25 | |
*** prazumovsky has joined #heat | 10:27 | |
shardy | therve: Hey, would be interested in your feedback re the ML thread I started re environments when you get a moment | 10:28 |
shardy | basically I'm thinking of adding several things to the environment, and wondering about backwards compatibility | 10:28 |
*** elynn_ has quit IRC | 10:29 | |
shardy | I guess we actually have added a bunch of stuff (hooks, event sinks etc) fairly recently, so I'm inclined to just hack on the patches and add the stuff | 10:30 |
*** ricolin has quit IRC | 10:30 | |
prazumovsky | therve, hi! As I remember, you're debugged improve translations (https://review.openstack.org/#/c/286098/), is there any progress? Sorry for bothering. | 10:34 |
*** dixiaoli has quit IRC | 10:34 | |
*** lifeless has joined #heat | 10:35 | |
*** vincentll has quit IRC | 10:38 | |
*** lifeless has quit IRC | 10:47 | |
*** lifeless_ has joined #heat | 10:47 | |
*** d0ugal has quit IRC | 10:59 | |
*** d0ugal has joined #heat | 11:00 | |
*** afazekas is now known as __afazekas | 11:05 | |
*** d0ugal has quit IRC | 11:09 | |
*** KanagarajM has quit IRC | 11:09 | |
*** KanagarajM_ has joined #heat | 11:09 | |
therve | prazumovsky, Rabi already mentioned that the issue was unrelated | 11:10 |
openstackgerrit | Steven Hardy proposed openstack/heat-templates: Add resource_group index lookup example https://review.openstack.org/301623 | 11:12 |
prazumovsky | I know:) In previous time I asked you after learning Rabi's comment | 11:13 |
Ablu | what is the default way to develop a standalone heat resource plugin? I mean how do I get code completion for the heat modules? It works within the heat repository of course, but outside of it I find no installable heat version... | 11:14 |
*** KanagarajM_ has quit IRC | 11:14 | |
*** KanagarajM__ has joined #heat | 11:14 | |
Ablu | or do i need to install heat on my development machine too? | 11:14 |
therve | prazumovsky, Well if you know why do you ask? :) | 11:14 |
shardy | Ablu: https://github.com/openstack/heat/blob/master/heat/common/config.py#L92 | 11:15 |
prazumovsky | I thought, that you have deeper investigation of this patch:) | 11:15 |
therve | Ablu, I don't know what you use for code completion, but I can't see how it would complete without heat installed | 11:16 |
shardy | you need to install the plugin somewhere heat looks for it, or modify plugin_dirs in heat.conf so it searches wherever you've installed it | 11:16 |
*** KanagarajM__ has quit IRC | 11:16 | |
*** KanagarajM_ has joined #heat | 11:16 | |
shardy | Ablu: you need access to wherever the heat service is running | 11:16 |
prazumovsky | therve, shardy, ananta, stevebaker, KanagarajM_ and others: Honestly, I just want some review from community, so could you take a look https://review.openstack.org/#/c/286098/ | 11:17 |
Ablu | therve: i use pycharm. | 11:17 |
* shardy possibly misinterpreted Ablu's question | 11:17 | |
Ablu | i know how to run the plugin. I only ask about a development setup | 11:18 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Fix creating SDGroup with no properties https://review.openstack.org/327006 | 11:18 |
Ablu | i have a working test environment, but that is on a server, not on my dev machine | 11:18 |
therve | shardy, I've seen your mail yeah. I think adding sections is okay. Not sure what we could do better anyway | 11:18 |
shardy | Ablu: ah, sorry, I can't help, I use vim ;) | 11:18 |
therve | LOL | 11:18 |
Ablu | heh :P | 11:18 |
Ablu | well i could live without code completion / code checking... just asking | 11:18 |
shardy | therve: cool, thanks - I kinda wonder if we might want to introduce versioning at some point | 11:19 |
shardy | e.g like (or exactly the same as) the hot version | 11:19 |
therve | Yeah | 11:19 |
therve | Well versioning matters when you have different behavior of the same functions | 11:19 |
therve | For new stuff it's not that useful | 11:19 |
shardy | Yeah, I guess in this case it should fail in a fairly obvious way, but rejecting the new interfaces on old heat's | 11:20 |
shardy | s/but/by | 11:20 |
therve | Tying the env version to the template version would make some sense | 11:20 |
therve | Not sure we'd want to specify it again | 11:21 |
shardy | therve: Yeah, but then what happens when parent/nested stacks specify different versions | 11:21 |
shardy | I suppose we could pick the newest | 11:21 |
therve | Env is tied to the top level stack, no? | 11:22 |
*** ananta has quit IRC | 11:23 | |
shardy | therve: well it's passed to all the stacks, and the top-level stack might not have the current/latest hot version specified | 11:23 |
shardy | you only really need to bump the version in templates where e.g you want to use some new function | 11:23 |
therve | prazumovsky, Could skraynev or ochuprykov have a look? | 11:24 |
shardy | I guess for now documenting the versions clearly in the environment docs, and ensuring sane failure messages on old versions should be OK | 11:24 |
therve | Don't want to push the potato around, but that patch is really super tricky | 11:24 |
*** sorantis has joined #heat | 11:24 | |
therve | shardy, Yeah we're pretty strict on section available, so I think it should be okay | 11:24 |
shardy | therve: ack, thanks for the feedback, I'll hack on some patches and see what folks say | 11:25 |
*** tochi has quit IRC | 11:26 | |
prazumovsky | I understand, I ping them, but I pinged them for several months with no response:) | 11:27 |
*** vincentll has joined #heat | 11:29 | |
*** d0ugal has joined #heat | 11:32 | |
*** om has joined #heat | 11:32 | |
*** om is now known as Guest96239 | 11:32 | |
*** ccamacho is now known as ccamacho|lunch | 11:34 | |
therve | huangtianhua, Another thing about that condition patch. I think we tried to be a bit more strict to make sure it only exists on the latest template version | 11:37 |
therve | Right now I believe your patch makes it available everywhere | 11:37 |
therve | huangtianhua, See https://review.openstack.org/#/c/135492/ for example | 11:39 |
*** sdake has joined #heat | 11:44 | |
*** __afazekas is now known as afazekas | 11:49 | |
openstackgerrit | Steven Hardy proposed openstack/heat: Add stack files retrieval API https://review.openstack.org/327044 | 11:57 |
shardy | jdob: ^^ FYI | 11:58 |
*** zeih has quit IRC | 11:59 | |
*** akuznetsov has joined #heat | 12:00 | |
*** mrpointy has joined #heat | 12:01 | |
*** vincentll has quit IRC | 12:05 | |
*** rpothier has quit IRC | 12:06 | |
*** ccamacho|lunch is now known as ccamacho | 12:06 | |
*** vincentll has joined #heat | 12:10 | |
shardy | Anyone know how to get python-heatclient install from source to register new osc plugins? | 12:11 |
therve | shardy, pip install -e . | 12:11 |
shardy | I've added it to setup.cfg, run python setup.py install, but it's not seen by openstackclient (or any of the new plugins added in master) | 12:11 |
shardy | therve: aha, thanks | 12:12 |
*** akuznetsov has quit IRC | 12:12 | |
*** sdake has quit IRC | 12:13 | |
openstackgerrit | Merged openstack/heat-templates: Add resource_group index lookup example https://review.openstack.org/301623 | 12:15 |
*** dprince has joined #heat | 12:15 | |
*** sshnaidm|afk has joined #heat | 12:21 | |
*** jcoufal has joined #heat | 12:23 | |
skraynev | therve: yes ;) I can do it ;) | 12:23 |
therve | yay | 12:24 |
openstackgerrit | Merged openstack/heat: Make sure glance image create success with tags https://review.openstack.org/326310 | 12:26 |
*** zeih has joined #heat | 12:27 | |
*** pradk has quit IRC | 12:30 | |
*** jdob has quit IRC | 12:32 | |
*** zeih has quit IRC | 12:32 | |
*** jdob has joined #heat | 12:33 | |
*** fultonj has quit IRC | 12:36 | |
*** fultonj has joined #heat | 12:37 | |
*** dyasny has quit IRC | 12:40 | |
*** vishwanathj has joined #heat | 12:41 | |
openstackgerrit | Merged openstack/heat: Ignore notfound error when delete image tags https://review.openstack.org/326350 | 12:46 |
Ablu | I now got this hot file: http://sprunge.us/MWUK and this resource plugin: http://sprunge.us/JAFe. However if I now try to create a stack with that I get: "ERROR: Neither image nor bootable volume is specified for instance my_instance" | 12:49 |
Ablu | If I however use the line I commented in the hot file it works | 12:50 |
Ablu | the string is the same, so what is the difference? | 12:50 |
*** jdob has quit IRC | 12:50 | |
shardy | Ablu: I'd add an output to prove the get_att actually works and isn't returning None | 12:50 |
Ablu | shardy: can i simply print? | 12:51 |
*** jdob has joined #heat | 12:51 | |
*** rpothier has joined #heat | 12:51 | |
shardy | http://paste.openstack.org/show/508919/ | 12:52 |
shardy | Ablu: No, something like that | 12:52 |
shardy | then use heat stack-show to look at the "image" output | 12:52 |
Ablu | ah | 12:52 |
Ablu | one sec... | 12:52 |
Ablu | "output_value": null, | 12:54 |
Ablu | shardy: hm ok. | 12:54 |
Ablu | it does not seem to be set. But thanks for the output trick. Did not know that. Really useful | 12:54 |
shardy | Ablu: I think you need to implement the _resolve_attribute function in your plugin | 12:56 |
shardy | just setting the data isn't enough for it to resolve | 12:56 |
Ablu | hm i tried to copy that one from the random_string resource before... | 12:56 |
Ablu | let me try again | 12:56 |
Ablu | shardy: ah. that worked. Thanks | 12:57 |
Ablu | I guess I somehow did not restart or tried too many things at once before... | 12:58 |
shardy | Does anyone happen to know how to drive the cliff yaml formatter so it doesn't corrupt the output with Field: Value: stuff? | 13:02 |
Ablu | shardy: hm. When I left out the Nova::Server part it worked, but if I add that again I run into "ERROR: Neither image nor bootable volume is specified for instance my_instance" again. If i comment out the Server again I still get the right result: http://sprunge.us/JSQY | 13:02 |
*** zeih has joined #heat | 13:03 | |
*** links has quit IRC | 13:03 | |
*** priteau has quit IRC | 13:14 | |
*** priteau has joined #heat | 13:15 | |
*** Guest96239 has quit IRC | 13:16 | |
*** links has joined #heat | 13:19 | |
*** Guest96239 has joined #heat | 13:19 | |
*** zz_dimtruck is now known as dimtruck | 13:22 | |
Ablu | i tried to add some logging to a file... it does not look like the plugin is called at all... | 13:22 |
*** Drago has joined #heat | 13:22 | |
*** Drago has quit IRC | 13:22 | |
*** Drago has joined #heat | 13:23 | |
*** vincentll has quit IRC | 13:23 | |
*** vincentll has joined #heat | 13:23 | |
Ablu | only the mapping function is being called | 13:23 |
*** dimtruck is now known as zz_dimtruck | 13:34 | |
*** blues-man has joined #heat | 13:36 | |
*** zz_dimtruck is now known as dimtruck | 13:36 | |
*** pradk has joined #heat | 13:41 | |
*** mrpointy has quit IRC | 13:48 | |
*** jdob has quit IRC | 13:49 | |
*** jdob has joined #heat | 13:49 | |
*** jdob has quit IRC | 13:59 | |
*** jdob has joined #heat | 13:59 | |
*** dimtruck is now known as zz_dimtruck | 14:03 | |
*** prazumovsky has quit IRC | 14:03 | |
*** jasond has joined #heat | 14:04 | |
*** ricolin has joined #heat | 14:05 | |
*** zz_dimtruck is now known as dimtruck | 14:05 | |
*** p01nt3r75 has joined #heat | 14:05 | |
*** spotz_zzz is now known as spotz | 14:12 | |
*** zeih has quit IRC | 14:13 | |
*** dimtruck is now known as zz_dimtruck | 14:16 | |
jdandrea | Reality check: With an AutoScalingGroup of VMs, each of them reporting stats to Ceilometer, a CPU utilization alarm is triggered if the avg measurement of ALL VMs hits a threshold, not if any one group member hits it. (Thinking yes?) | 14:18 |
*** EricGonczer_ has joined #heat | 14:19 | |
jdandrea | Actually, with Gnocchi and aggregation_method we could look at the last CPU, so ... :) | 14:19 |
*** ramishra_ has quit IRC | 14:19 | |
*** ramishra has joined #heat | 14:20 | |
*** jcoufal has quit IRC | 14:25 | |
*** jaosorior has quit IRC | 14:26 | |
*** ananta has joined #heat | 14:26 | |
*** pt_15 has joined #heat | 14:28 | |
*** spzala has joined #heat | 14:28 | |
*** jasond has quit IRC | 14:29 | |
*** links has quit IRC | 14:29 | |
*** jasond has joined #heat | 14:30 | |
*** rajpatel has joined #heat | 14:30 | |
*** p01nt3r75 has quit IRC | 14:32 | |
*** zeih has joined #heat | 14:37 | |
therve | Meeting in 20 in #openstack-meeting-4 | 14:40 |
therve | Agenda at https://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282016-06-08_1500_UTC.29 if you want to add stuff | 14:40 |
shardy | jdob: Hey I just posted https://review.openstack.org/327149 which changes the output format for stack environment show | 14:43 |
Ablu | ok. I tried to make my heat-engine remote debuggable with pycharm... It kind of works. But somehow break points in the resource plugins do not fire... Is there any guide available about how to debug heat? | 14:43 |
shardy | would be interested in your feedback - IMO it makes it much more usable | 14:43 |
jdob | cool, will look in a bit | 14:46 |
jasond | Ablu: try adding "num_engine_workers = 1" in the DEFAULT section of /etc/heat/heat.conf | 14:49 |
*** zeih has quit IRC | 14:49 | |
*** KanagarajM_ has quit IRC | 14:49 | |
Ablu | jasond: hm... it still does not break | 14:51 |
Ablu | i guess i will try to break higher and try to step into | 14:51 |
jasond | Ablu: does it work locally? | 14:51 |
Ablu | might take a while since i have zero clue about the code | 14:51 |
Ablu | jasond: i do not have heat installed locally | 14:51 |
jasond | Ablu: i'd start by installing heat via devstack, getting the breakpoints to work locally, *then* testing remotely | 14:52 |
ananta | Ablu: Not sure if you know this or even if it will work for you; but have you tried setting gevent compatible debugging in pycharm? | 14:54 |
*** thumpba has joined #heat | 14:54 | |
Ablu | jasond: hm... | 14:54 |
Ablu | ananta: not sure what gevent is...? | 14:54 |
ananta | Ablu: I used to use pycharm 2 years back and I vaguely remember doing something around that and it worked | 14:54 |
jasond | Ablu: (locally, as in a box you can log into where heat is running) | 14:54 |
ananta | there should be an option in python debugger settings in pycharm | 14:55 |
*** randallburt has joined #heat | 14:55 | |
*** zhurong has joined #heat | 14:55 | |
*** jcoufal has joined #heat | 14:55 | |
jasond | ananta: hi, would you mind taking a look at https://review.openstack.org/#/c/324898/ ? | 14:56 |
Ablu | ok I will first try to find that setting | 14:56 |
ananta | jasond: sure | 14:56 |
*** ochuprykov has joined #heat | 14:56 | |
jasond | ananta: thanks | 14:57 |
Ablu | otherwise I will debug on a higher level first and try to figure out why the lower breakpoints do not work. Otherwise I will try devstack on the same machine... | 14:57 |
ananta | Ablu: life would be easier if you just use pdb with vim ;) | 14:57 |
*** links has joined #heat | 14:57 | |
jasond | ananta: long story short, this template results in a stack that cannot be updated http://paste.openstack.org/show/507328/ the convergence fix was pretty involved (for the non-convergence fix, see patchset 1) | 14:58 |
Ablu | i tried to use pdb. but i have no idea how to set breakpoints there... | 14:58 |
Ablu | I only know gdb :/ | 14:58 |
Ablu | well i know how to set break points, but it keeps telling me the files do not exist :P | 14:58 |
ananta | jasond: ok, I will review it | 14:58 |
*** ochuprykov has quit IRC | 15:00 | |
Ablu | if anyone by the way finds the reason why the plugin is not working I mentioned earlier today... Please let me know :P Then I do not need to do this debugging :P | 15:01 |
*** Wenzhi has quit IRC | 15:01 | |
therve | shardy, skraynev, meeting? | 15:01 |
*** Wenzhi has joined #heat | 15:02 | |
shardy | therve: joining, thanks | 15:02 |
*** zhurong has quit IRC | 15:02 | |
*** zz_dimtruck is now known as dimtruck | 15:03 | |
jdandrea | Not seeing anyone in #openstack-meeting-4 ... hmm. | 15:05 |
jdandrea | nm, Textual is being silly. | 15:05 |
*** blues-man has quit IRC | 15:05 | |
Ablu | ananta: well pdb with vim does not break either :P | 15:06 |
Ablu | argh... I am stupid. My devstack of course is not equal to the local git code :( | 15:09 |
*** Guest96239 has quit IRC | 15:12 | |
*** dprince has quit IRC | 15:13 | |
*** dyasny has joined #heat | 15:14 | |
*** sorantis has quit IRC | 15:18 | |
*** vijendar has joined #heat | 15:18 | |
*** blues-man has joined #heat | 15:21 | |
*** akshai has quit IRC | 15:21 | |
*** akshai has joined #heat | 15:22 | |
*** Guest96239 has joined #heat | 15:23 | |
*** randallburt has quit IRC | 15:27 | |
*** dmk0202 has quit IRC | 15:29 | |
*** rajpatel1 has joined #heat | 15:31 | |
*** rajpatel has quit IRC | 15:33 | |
*** mohankumar_ has joined #heat | 15:33 | |
*** randallburt has joined #heat | 15:38 | |
*** randallburt1 has joined #heat | 15:40 | |
*** randallburt has quit IRC | 15:42 | |
*** zeih has joined #heat | 15:43 | |
*** vincentll has quit IRC | 15:43 | |
*** zeih has quit IRC | 15:43 | |
*** zeih has joined #heat | 15:44 | |
*** blues-man has quit IRC | 15:45 | |
*** jasond has quit IRC | 15:48 | |
*** zeih has quit IRC | 15:48 | |
therve | cwolferh, I'll have a look. But this test *is* extremely useful, as we broke purge time and time again in the past and functional tests are the only way to actually verify that it works okay | 15:56 |
zaneb | cwolferh: do you have a theory of how an event referencing the props data is being added while we are in the process of purging a stack> | 15:56 |
zaneb | ? | 15:56 |
*** sabeen has joined #heat | 15:57 | |
cwolferh | no, that is the theory, i'm not sure how the extra event is added | 15:58 |
*** chlong has quit IRC | 15:58 | |
cwolferh | (by some external test doing its own deletion) | 15:58 |
zaneb | cwolferh: IIUC the event has to be associated with a resource (in order to be using this table). I'm struggling to think of a way that could get added after the stack is already marked DELETE_COMPLETE | 15:59 |
cwolferh | actually... | 16:00 |
cwolferh | eh, nevermind :-) | 16:01 |
cwolferh | if DELETE_COMPLETE is a kind of flag i can go off of, maybe i should make sure all resources and events have that? | 16:02 |
cwolferh | otherwise, don't touch the stack yet? | 16:02 |
*** Guest96239 has quit IRC | 16:05 | |
*** jasond has joined #heat | 16:06 | |
zaneb | cwolferh: I guess, but we should be checking the stack is DELETE_COMPLETE before purging it anyway, right? | 16:09 |
openstackgerrit | Steven Hardy proposed openstack/python-heatclient: Add support for stack files show https://review.openstack.org/327205 | 16:11 |
*** ananta has quit IRC | 16:12 | |
cwolferh | zaneb, hmm, maybe we should be, but we are just checking stack.c.deleted_at < time_line | 16:12 |
zaneb | ah, ok. should amount to the same thing though | 16:12 |
zaneb | presumably we don't set deleted_at at least until we mark it DELETE_COMPLETE | 16:13 |
Ablu | Ok. Got lost during debugging the GetAddr... something goes weird there... will continue at home... | 16:14 |
*** links has quit IRC | 16:15 | |
zaneb | hmm, interestingly only stack is soft-deleted. resources are hard-deleted immediately | 16:17 |
* cwolferh nods | 16:19 | |
*** jtomasek has quit IRC | 16:20 | |
cwolferh | i'm thinking it may be as easy as check as for DELETE_COMPLETE in the stack | 16:21 |
shardy | jasond: Hey, can you help me with some details re encrypted_param_names? | 16:24 |
shardy | I see it's stored in the environment, and it's returned via the environment show API call, but the client doesn't allow passing that section | 16:24 |
shardy | where do we set that data? | 16:24 |
jasond | shardy: sure, let me check | 16:24 |
cwolferh | since this line would set the stack's deleted_at https://review.openstack.org/gitweb?p=openstack/heat.git;a=blob;f=heat/engine/stack.py;h=28f146e46e4d9a95437d75df98564cbe35eb72fa;hb=HEAD#l1711 for a non-FAILED status (but possibly non-COMPLETE as well) | 16:25 |
shardy | it looks like it's created internally derived from the hidden flag on a parameter, but I can't see where | 16:25 |
zaneb | cwolferh: I doubt it's that easy. http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/stack.py#n1702 <- DELETE_COMPLETE happens before stack_object.Stack.delete() | 16:25 |
shardy | and if that's the case, I'm not quite clear why it's stored with the environment | 16:25 |
jasond | shardy: https://github.com/openstack/heat/blob/master/heat/objects/raw_template.py#L99 | 16:25 |
shardy | jasond: aha, thanks, missed that | 16:26 |
jasond | shardy: np | 16:26 |
shardy | so, really it's an internal thing, and we shouldn't be exposing that to the user? | 16:26 |
shardy | jasond: I'm thinking at least we should pop it from the environment returned via environment show, as it can never be passed back in via the API (or, actually, can it?) | 16:27 |
shardy | heatclient definitely prevents it in environment_format, but it may actually be possible to pass it in via not-heatclient | 16:27 |
shardy | I imagine that might yield unpredictable results ;) | 16:27 |
*** sabeen has quit IRC | 16:28 | |
jasond | shardy: it can't be passed. i would leave it out of environment show | 16:28 |
*** Guest96239 has joined #heat | 16:28 | |
jasond | shardy: at least i don't think it can | 16:28 |
*** sabeen has joined #heat | 16:28 | |
shardy | environment_format.py inside heat allows it, I think it might be allowed | 16:28 |
* shardy tries | 16:29 | |
cwolferh | zaneb, ah, right | 16:29 |
* cwolferh now casts a suspicious eye on the ROLLBACK_COMPLETE case | 16:29 | |
jasond | shardy: there's no reason it has to be stored there | 16:30 |
shardy | jasond: yeah I was thinking the same | 16:30 |
shardy | I'll pop it from the API response for now, then we can consider if we should migrate it elsewhere | 16:30 |
shardy | jasond: thanks for the info :) | 16:31 |
jasond | shardy: sounds good. anytime | 16:31 |
*** bana_k has joined #heat | 16:31 | |
*** dyasny has quit IRC | 16:32 | |
*** d0ugal has quit IRC | 16:33 | |
*** sabeen has quit IRC | 16:36 | |
*** ricolin has quit IRC | 16:36 | |
openstackgerrit | Steven Hardy proposed openstack/heat: Add stack files retrieval API https://review.openstack.org/327044 | 16:37 |
*** sorantis has joined #heat | 16:38 | |
*** dprince has joined #heat | 16:41 | |
*** rcernin has quit IRC | 16:42 | |
*** mohankumar_ has quit IRC | 16:42 | |
*** d0ugal has joined #heat | 16:49 | |
*** evilt0ne has quit IRC | 16:51 | |
openstackgerrit | Merged openstack/heat: Enable convergence by default https://review.openstack.org/325798 | 16:57 |
Drago | HUZZAH | 16:58 |
*** sorantis has quit IRC | 16:59 | |
*** sabeen has joined #heat | 17:00 | |
openstackgerrit | Steven Hardy proposed openstack/heat: Add stack files retrieval API https://review.openstack.org/327044 | 17:00 |
*** fragatina has joined #heat | 17:03 | |
*** fragatin_ has joined #heat | 17:04 | |
*** thumpba has quit IRC | 17:04 | |
*** thumpba has joined #heat | 17:05 | |
*** fragatina has quit IRC | 17:08 | |
*** derekh has quit IRC | 17:08 | |
*** racedo has joined #heat | 17:10 | |
*** sdake has joined #heat | 17:10 | |
*** vishwanathj has quit IRC | 17:11 | |
*** vijendar has quit IRC | 17:15 | |
*** Guest96239 has quit IRC | 17:16 | |
*** thumpba has quit IRC | 17:20 | |
*** vijendar has joined #heat | 17:20 | |
*** thumpba has joined #heat | 17:21 | |
*** dprince has quit IRC | 17:22 | |
*** sorantis has joined #heat | 17:22 | |
*** dprince has joined #heat | 17:23 | |
*** thumpba has quit IRC | 17:23 | |
*** thumpba has joined #heat | 17:25 | |
*** dimtruck is now known as zz_dimtruck | 17:30 | |
*** zz_dimtruck is now known as dimtruck | 17:33 | |
*** racedo has quit IRC | 17:37 | |
*** sabeen has quit IRC | 17:41 | |
*** bana_k has quit IRC | 17:43 | |
*** yassine has quit IRC | 17:45 | |
*** sorantis has quit IRC | 17:46 | |
openstackgerrit | Rico Lin proposed openstack/heat: DNM Test patch https://review.openstack.org/326889 | 17:51 |
*** sdake has quit IRC | 17:51 | |
*** DevBox has joined #heat | 17:52 | |
*** bana_k has joined #heat | 17:54 | |
*** sabeen has joined #heat | 17:54 | |
*** sabeen has quit IRC | 18:01 | |
*** sabeen has joined #heat | 18:01 | |
*** priteau has quit IRC | 18:05 | |
*** priteau has joined #heat | 18:05 | |
openstackgerrit | Rabi Mishra proposed openstack/heat: Remove multiple use of CooldownMixin https://review.openstack.org/294023 | 18:06 |
*** jamie_h has quit IRC | 18:07 | |
-openstackstatus- NOTICE: Zuul has been restarted to correct an error condition. Events since 17:30 may have been missed; please 'recheck' your changes if they were uploaded since then, or have "NOT_REGISTERED" errors. | 18:09 | |
*** fragatin_ has quit IRC | 18:14 | |
*** dyasny has joined #heat | 18:16 | |
*** fragatina has joined #heat | 18:19 | |
openstackgerrit | Steven Hardy proposed openstack/heat: Keep encrypted_param_names environment internal to heat https://review.openstack.org/327275 | 18:20 |
shardy | jasond: ^^ FYI | 18:20 |
jasond | shardy: i'll review it. thanks | 18:21 |
openstackgerrit | Jason Dunsmore proposed openstack/heat: Add default release names for template versions https://review.openstack.org/314741 | 18:22 |
jasond | dang you gerrit. my session expired and i lost my update | 18:28 |
*** links has joined #heat | 18:33 | |
*** zeih has joined #heat | 18:35 | |
*** sdake has joined #heat | 18:37 | |
*** racedo has joined #heat | 18:39 | |
Drago | jasond: It'd be nice if the session would last longer than 2 hours | 18:43 |
jasond | Drago: +1 | 18:44 |
*** fragatina has quit IRC | 18:48 | |
*** Kennan has quit IRC | 18:52 | |
*** Kennan has joined #heat | 18:52 | |
*** priteau has quit IRC | 18:57 | |
Ablu | so. http://sprunge.us/XBZK. This seems to be why it keeps returning None while evaluating the attribute | 18:57 |
Ablu | r is a dangerous name btw :P I accidently jumped to the return twice before getting there while trying to evaluate variables :P | 18:58 |
Ablu | but... why is r.action INIT? | 18:58 |
Ablu | this code is called during validation of the OS::Nova::Server resource | 18:59 |
Ablu | my own plugin should already be evaluated at that point, right? Otherwise it could not verify the name i am returning from that one, right? | 19:00 |
*** jtomasek has joined #heat | 19:01 | |
Ablu | hm though: (Pdb) print r.FnGetAtt(attribute, *path_components) | 19:01 |
Ablu | None | 19:01 |
Ablu | so apparently both if branches would return None... | 19:01 |
*** alex_xu has quit IRC | 19:02 | |
*** alex_xu has joined #heat | 19:06 | |
*** harlowja has quit IRC | 19:12 | |
*** harlowja has joined #heat | 19:15 | |
*** rcernin has joined #heat | 19:25 | |
*** rajpatel1 has quit IRC | 19:25 | |
*** links has quit IRC | 19:31 | |
*** mrpointy has joined #heat | 19:34 | |
*** rajpatel has joined #heat | 19:46 | |
*** spzala has quit IRC | 19:46 | |
*** sdake_ has joined #heat | 19:47 | |
*** sdake has quit IRC | 19:48 | |
*** dimtruck is now known as zz_dimtruck | 19:54 | |
*** vijendar has quit IRC | 19:56 | |
*** zz_dimtruck is now known as dimtruck | 19:57 | |
*** cllewellyn_ has joined #heat | 20:00 | |
*** vijendar has joined #heat | 20:01 | |
*** EricGonczer_ has quit IRC | 20:06 | |
*** cllewellyn_ has quit IRC | 20:12 | |
*** EricGonczer_ has joined #heat | 20:14 | |
zaneb | Ablu: during validation no resources have been created yet, so get_attr always returns None | 20:16 |
zaneb | Ablu: we talked at summit about making it return some kind of placeholder instead, which will be much better. I think folks are working on that | 20:17 |
Ablu | zaneb: how can I pass in an image name over the attribute of a different resource then? | 20:17 |
Ablu | Validation would always fail for that, or am I missing something? | 20:18 |
zaneb | no, I suspect you're right, it's always going to fail validation | 20:20 |
Ablu | Hm ok. Well at least we got that sorted out :p | 20:20 |
Ablu | Is there any alternative? | 20:21 |
zaneb | when we have the placeholder thing, we'll return a placeholder object that can report its type as "glance.image", and that will make the validation very happy indeed | 20:21 |
Ablu | Or should I file a bug? (If there isn't one already) | 20:21 |
zaneb | Ablu: I think you should file a bug. It may be hard to fix, but it definitely seems wrong | 20:21 |
Ablu | Ok. I will do it on the following days. I am in bed already | 20:22 |
Ablu | Thanks a lot and good night! | 20:22 |
zaneb | Ablu: the problem is that you need either an image or a bootable volume | 20:23 |
zaneb | and it's looking at the resolved value to see which one you specified | 20:23 |
zaneb | if both come out as none, it looks like neither | 20:23 |
zaneb | but it should look at the initial data and see that there is property there, even if it resolves to None during validation | 20:24 |
Ablu | Yeah, I debugged so far. But the resolve code was a bit hard to understand to me | 20:24 |
Ablu | Well not the code but the logic | 20:24 |
*** spzala has joined #heat | 20:25 | |
*** racedo has quit IRC | 20:25 | |
*** spzala has quit IRC | 20:26 | |
*** spzala has joined #heat | 20:26 | |
*** thumpba has quit IRC | 20:27 | |
*** thumpba has joined #heat | 20:29 | |
*** thumpba has quit IRC | 20:33 | |
*** thumpba has joined #heat | 20:43 | |
*** spzala has quit IRC | 20:45 | |
*** Drago has quit IRC | 20:45 | |
*** cllewellyn_ has joined #heat | 20:45 | |
*** dimtruck is now known as zz_dimtruck | 20:46 | |
*** zeih has quit IRC | 20:47 | |
*** openstackgerrit has quit IRC | 20:48 | |
*** openstackgerrit has joined #heat | 20:49 | |
*** thumpba has quit IRC | 20:56 | |
*** fragatina has joined #heat | 21:01 | |
*** sdake_ has quit IRC | 21:01 | |
*** cwolferh has quit IRC | 21:02 | |
*** rpothier has quit IRC | 21:05 | |
*** vijendar has quit IRC | 21:06 | |
*** chlong has joined #heat | 21:06 | |
*** cwolferh has joined #heat | 21:09 | |
*** EricGonczer_ has quit IRC | 21:18 | |
*** Drago has joined #heat | 21:19 | |
*** lifeless_ is now known as lifeless | 21:30 | |
*** DevBox has quit IRC | 21:40 | |
*** sdake has joined #heat | 21:49 | |
*** jcoufal has quit IRC | 21:51 | |
*** rcernin is now known as rcernin|off | 21:54 | |
*** sdake has quit IRC | 21:54 | |
*** sdake has joined #heat | 21:55 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat: Updated from global requirements https://review.openstack.org/327365 | 21:57 |
*** jasond has quit IRC | 21:58 | |
*** dprince has quit IRC | 22:01 | |
*** Drago has quit IRC | 22:03 | |
*** cwolferh has quit IRC | 22:03 | |
*** Drago has joined #heat | 22:03 | |
*** Drago has quit IRC | 22:04 | |
*** Drago has joined #heat | 22:04 | |
*** cwolferh has joined #heat | 22:10 | |
*** Drago has quit IRC | 22:10 | |
*** spotz is now known as spotz_zzz | 22:13 | |
*** Drago has joined #heat | 22:17 | |
*** rcernin|off has quit IRC | 22:21 | |
*** cllewellyn_ has quit IRC | 22:24 | |
*** zz_dimtruck is now known as dimtruck | 22:35 | |
*** rajpatel has quit IRC | 22:46 | |
*** randallburt1 has quit IRC | 22:54 | |
*** pradk has quit IRC | 22:54 | |
*** kmARC has joined #heat | 23:07 | |
*** sabeen has quit IRC | 23:07 | |
*** kmARC has quit IRC | 23:08 | |
*** kmARC has joined #heat | 23:09 | |
*** kmARC has left #heat | 23:09 | |
*** steveg_afk has quit IRC | 23:11 | |
*** bnemec has quit IRC | 23:11 | |
*** bnemec has joined #heat | 23:19 | |
*** Drago has quit IRC | 23:21 | |
*** kmARC has joined #heat | 23:23 | |
*** kmARC has left #heat | 23:23 | |
*** Drago has joined #heat | 23:36 | |
*** Drago has quit IRC | 23:36 | |
*** Drago has joined #heat | 23:36 | |
*** tochi has joined #heat | 23:42 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!