*** bobh_ has joined #openstack-heat-translator | 00:19 | |
*** sridhar_ram1 has quit IRC | 01:18 | |
*** bobh_ has quit IRC | 02:54 | |
*** openstackstatus has quit IRC | 03:01 | |
*** openstackstatus has joined #openstack-heat-translator | 08:28 | |
*** ChanServ sets mode: +v openstackstatus | 08:28 | |
-openstackstatus- NOTICE: jobs depending on npm are now working again | 08:32 | |
openstackgerrit | Santhosh64 proposed openstack/heat-translator: Implemented Scaling policies in heat translator https://review.openstack.org/302636 | 09:56 |
---|---|---|
*** bobh_ has joined #openstack-heat-translator | 11:31 | |
*** jhesketh has joined #openstack-heat-translator | 11:40 | |
*** ChanServ changes topic to "#openstack-heat-translator" | 11:41 | |
*** jhesketh has quit IRC | 12:07 | |
*** jhesketh has joined #openstack-heat-translator | 12:07 | |
*** bobh_ has quit IRC | 12:28 | |
*** bobh_ has joined #openstack-heat-translator | 13:23 | |
*** ChrisBenson has joined #openstack-heat-translator | 14:17 | |
*** spzala has joined #openstack-heat-translator | 15:43 | |
*** sridhar_ram has joined #openstack-heat-translator | 15:58 | |
*** tbh has joined #openstack-heat-translator | 15:59 | |
spzala | Hi all | 16:00 |
tbh | spzala, Hi | 16:00 |
spzala | tbh: bobh_: topol: | 16:00 |
topol | o/ | 16:00 |
bobh_ | spzala: I need to leave in a few minutes for an appt | 16:00 |
spzala | bobh_: OK, sure | 16:01 |
spzala | bobh_: is anything from you that needs discussion? we can cover it first. | 16:01 |
bobh_ | spzala: I don't think so | 16:01 |
spzala | bobh_: OK, cool | 16:01 |
spzala | mainly I wanted to discuss https://blueprints.launchpad.net/heat-translator/+spec/abstract-image-flavor-query | 16:02 |
spzala | with tbh: | 16:02 |
spzala | :-) | 16:02 |
tbh | spzala, yup | 16:02 |
spzala | cool | 16:02 |
spzala | so http://docs.openstack.org/developer/glance/common-image-properties.html | 16:02 |
spzala | and http://docs.openstack.org/cli-reference/glance.html (image-create section) | 16:03 |
*** shangxdy has joined #openstack-heat-translator | 16:03 | |
spzala | you might have looked at them already? but if not | 16:04 |
spzala | shangxdy: o/ | 16:04 |
shangxdy | HI,spzala | 16:04 |
shangxdy | HI,erveryone:) | 16:04 |
spzala | :) | 16:04 |
spzala | tbh: ^^ | 16:05 |
shangxdy | what's the main topic today? | 16:05 |
spzala | those are the metadata properties that Glance support when create image | 16:05 |
tbh | spzala, yes, I will take a look at these properties, and see how this fits | 16:05 |
spzala | shangxdy: it's this blueprint, https://blueprints.launchpad.net/heat-translator/+spec/abstract-image-flavor-query | 16:05 |
tbh | spzala, what kind of metadata can we expect from template | 16:06 |
tbh | spzala, these ones https://github.com/openstack/heat-translator/blob/master/translator/hot/tosca/tosca_compute.py#L43-L46 | 16:06 |
shangxdy | ok,i am learning about it first. | 16:07 |
spzala | tbh: yup | 16:07 |
spzala | ones listed for the image | 16:07 |
spzala | when query Glance, the image may or may not have not have all of the tosca template image metadata | 16:07 |
spzala | but we will look for best match as we do | 16:07 |
spzala | and find the closest one | 16:07 |
tbh | spzala, got it | 16:08 |
spzala | does that make sense? one thing I see, is 'type' property | 16:08 |
spzala | seems like that's the only one there is no good mapping with Glance common metadata | 16:08 |
spzala | but if it's TOSCA user created image, it might have 'type' as Glance seems let specify user what they want | 16:09 |
spzala | so we can search for type but if it's not there, may be using 'distro' we can find out type at high level | 16:09 |
spzala | and we will leave our built-in images names as is (similar to how we did it in Nova flavor case), if can't find anything in Glance then we use one from what we have | 16:10 |
tbh | spzala, but we need to search with those metadata instead | 16:11 |
*** bobh_ has quit IRC | 16:11 | |
spzala | tbh: sorry, didn't get it :( | 16:11 |
spzala | tbh: yes, we will search Glance with the Glance keyword that maps to TOSCA image properties name | 16:11 |
spzala | but if we don't find anything then we use something from what we have | 16:12 |
shangxdy | I also have the same confusion about current implementation, i think the flavor should be select by orchestrator, not hard-coded in heat-tranlaotr. | 16:12 |
spzala | shangxdy: the orchestrator, in our case Heat, requires Flavor to be provided | 16:12 |
tbh | spzala, yes, I am looking at searching for the images using those metadata | 16:12 |
spzala | shagnxdy: if eventually they can support constraint based selection of flavor, we don't need to do it in heat-translator | 16:13 |
spzala | for now, we have to | 16:13 |
spzala | tbh: perfect | 16:13 |
shangxdy | is search Glance also out of the scope of heat-translator? | 16:13 |
spzala | shangxdy: yes, as of today | 16:13 |
spzala | Heat requires to provide image | 16:13 |
spzala | so heat-translator need to set one to produce a valid hot template | 16:14 |
spzala | tbh: also, using REST calls as we are doing with other projects sounds good choice | 16:15 |
tbh | spzala, but I believe, we don't have glance api to search for images using metadata, but not sure | 16:15 |
spzala | tbh: hmmm it should, Glance let you set meta data when create image so that image can be searched using them | 16:17 |
spzala | tbh: but if using Glance client is our only choice, we have to go with client then | 16:17 |
spzala | tbh: if you can't find any doc, please let me know I will talk to Glance team and try to find out | 16:18 |
tbh | spzala, sure, thanks! | 16:18 |
spzala | tbh: no problem | 16:18 |
shangxdy | During producing a complete HOT,heat may help to select the flavor according to the result created by heat-translator. | 16:19 |
spzala | shangxdy: sorry didn't get it? | 16:19 |
spzala | Heat does NOT support such a feature | 16:19 |
shangxdy | Yes, heat not support curently, but i think this is heat's responsibility. | 16:20 |
spzala | shangxdy: ideally it's good, but it's not per their design | 16:21 |
spzala | shangxdy: if they support such a feature, we will be happy to remove our code to search flavor and image right away :-) | 16:21 |
shangxdy | Heat-translator use client to do so is not goog, i think | 16:21 |
spzala | no other choice as of today :( | 16:22 |
shangxdy | As a input parameter,give this to the user to choose currently? | 16:24 |
spzala | choose what? | 16:24 |
spzala | sorry didn't get it | 16:25 |
shangxdy | Hard-coded is not appropriate too. | 16:25 |
spzala | shangxdy: sorry I don't understand, can you please elaborate? | 16:25 |
spzala | shangxdy: ^^ :-) | 16:28 |
shangxdy | According to the wishes of the user, directly transferred to the hot | 16:28 |
shangxdy | before call openstack restful api, use must bu create the flavor correctly | 16:29 |
spzala | we have documented that fact that user need to make sure flavor and image of their choice is in the env | 16:29 |
shangxdy | This only a choose to user, but is inconvenient. | 16:30 |
spzala | what? | 16:30 |
spzala | A TOSCA user with criteria of image and flavor, | 16:31 |
shangxdy | It's inconvenient | 16:31 |
spzala | what's incovenient and what's the solution? | 16:31 |
*** sridhar_ram has quit IRC | 16:32 | |
shangxdy | The solution what i said is inconvenient, but it's a choice to user:) | 16:32 |
spzala | :) OK so I guess you are fine with what we today but you are saying that it's a choice to user | 16:33 |
spzala | tbh: anything else from you? | 16:34 |
tbh | spzala, that's all from my side, I will ping, if I got any queries | 16:34 |
spzala | tbh: cool, thanks!! | 16:35 |
spzala | shangxdy: any other topic for discussion from you? | 16:35 |
shangxdy | That's all. | 16:36 |
spzala | shangxdy: thanks!! | 16:36 |
spzala | Well, we can have it a meeting today then | 16:37 |
spzala | Thanks much everyone for joining! and talk to you again soon. P | 16:37 |
spzala | lease email or ping if need any discussion | 16:37 |
spzala | good night tbh: and shangxdy: | 16:37 |
tbh | spzala, have a great day, bye! | 16:38 |
shangxdy | thanks,bye:) | 16:38 |
spzala | thanks both, tbh: shanxdy: | 16:38 |
spzala | :) bye! | 16:38 |
shangxdy | bye everyone:) | 16:38 |
*** spzala has quit IRC | 16:38 | |
*** tbh has quit IRC | 16:38 | |
*** spzala has joined #openstack-heat-translator | 16:39 | |
*** shangxdy has quit IRC | 16:39 | |
topol | bye | 16:40 |
*** spzala has quit IRC | 16:43 | |
*** spzala has joined #openstack-heat-translator | 16:45 | |
*** spzala has quit IRC | 16:47 | |
*** spzala has joined #openstack-heat-translator | 16:48 | |
*** spzala has quit IRC | 16:53 | |
*** spzala has joined #openstack-heat-translator | 17:17 | |
*** spzala has quit IRC | 17:22 | |
*** tbh has joined #openstack-heat-translator | 17:32 | |
*** spzala has joined #openstack-heat-translator | 17:35 | |
*** spzala has quit IRC | 17:39 | |
*** spzala has joined #openstack-heat-translator | 17:50 | |
*** zaneb has quit IRC | 18:08 | |
*** sridhar_ram has joined #openstack-heat-translator | 18:14 | |
*** spzala has quit IRC | 18:42 | |
*** spzala has joined #openstack-heat-translator | 18:44 | |
*** bobh_ has joined #openstack-heat-translator | 18:46 | |
*** bobh_ has quit IRC | 18:50 | |
*** bobh_ has joined #openstack-heat-translator | 18:50 | |
*** spzala_ has joined #openstack-heat-translator | 18:50 | |
*** bobh_ has quit IRC | 18:52 | |
*** spzala has quit IRC | 18:53 | |
*** spzala has joined #openstack-heat-translator | 18:53 | |
*** bobh_ has joined #openstack-heat-translator | 18:54 | |
*** spzala_ has quit IRC | 18:55 | |
*** spzala has quit IRC | 18:57 | |
*** bobh_ has quit IRC | 19:00 | |
*** zaneb has joined #openstack-heat-translator | 19:03 | |
*** tbh has quit IRC | 19:14 | |
*** spzala has joined #openstack-heat-translator | 19:15 | |
*** bobh_ has joined #openstack-heat-translator | 19:16 | |
*** bobh_ has quit IRC | 19:17 | |
*** vishwanathj has quit IRC | 20:14 | |
*** spzala has quit IRC | 20:40 | |
*** vishwana_ has joined #openstack-heat-translator | 20:47 | |
*** sridhar_ram has quit IRC | 21:37 | |
*** sridhar_ram has joined #openstack-heat-translator | 23:31 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!