Thursday, 2015-03-12

*** boris-42 has joined #openstack-sdks00:15
*** chlong has quit IRC00:55
*** chlong has joined #openstack-sdks00:55
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Avoid httpretty 0.8.8 because it is broken  https://review.openstack.org/16366401:06
openstackgerritMerged stackforge/python-openstacksdk: Avoid httpretty 0.8.8 because it is broken  https://review.openstack.org/16366401:14
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Add a base class for compute-related metadata  https://review.openstack.org/16363901:17
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata  https://review.openstack.org/16364001:17
*** sigmavirus24 is now known as sigmavirus24_awa01:19
*** macjack has joined #openstack-sdks01:37
*** pm90_ has joined #openstack-sdks01:46
*** pm90_ has quit IRC02:02
*** macjack has quit IRC02:03
*** pm90_ has joined #openstack-sdks02:16
*** etoews_ has joined #openstack-sdks02:22
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Get the ID of a single resource  https://review.openstack.org/16367802:23
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Get the ID of a single sub-resource  https://review.openstack.org/16367802:28
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Add a base class for compute-related metadata  https://review.openstack.org/16363902:32
*** pm90_ has quit IRC02:33
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata  https://review.openstack.org/16364002:38
*** pm90_ has joined #openstack-sdks02:41
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata  https://review.openstack.org/16364002:51
*** pm90_ has quit IRC03:09
openstackgerritMerged openstack/python-openstackclient: Look harder to find DevStack  https://review.openstack.org/16358003:10
*** pm90_ has joined #openstack-sdks03:11
*** terrylhowe has quit IRC03:17
*** pm90_ has quit IRC03:21
*** terrylhowe has joined #openstack-sdks03:37
*** etoews_ has quit IRC03:41
*** etoews_ has joined #openstack-sdks03:42
*** etoews_ has quit IRC03:46
*** pm90_ has joined #openstack-sdks03:53
*** pm90_ has quit IRC04:03
*** pm90_ has joined #openstack-sdks04:10
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Image v2 Proxy should inhert from BaseProxy  https://review.openstack.org/16369104:15
*** pm90_ has quit IRC04:23
*** macjack has joined #openstack-sdks04:37
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata  https://review.openstack.org/16364004:49
*** pm90_ has joined #openstack-sdks05:01
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add a doc about authenticating against v3  https://review.openstack.org/16369605:03
*** macjack1 has joined #openstack-sdks05:05
*** macjack has quit IRC05:09
*** pm90_ has quit IRC05:12
*** britthouser has joined #openstack-sdks05:16
openstackgerritDean Troyer proposed openstack/python-openstackclient: Add CacheManager  https://review.openstack.org/16369905:18
*** britthouser has quit IRC05:19
*** britthouser has joined #openstack-sdks05:24
*** britthouser has quit IRC05:34
*** britthouser has joined #openstack-sdks05:40
*** britthouser has quit IRC05:46
*** macjack1 has quit IRC05:46
*** britthouser has joined #openstack-sdks05:50
*** bknudson has quit IRC06:10
*** macjack has joined #openstack-sdks06:26
*** terrylhowe has quit IRC06:38
*** pm90_ has joined #openstack-sdks06:46
*** pm90_ has quit IRC06:47
*** stevemar has quit IRC07:22
*** etoews has quit IRC07:39
*** macjack has quit IRC09:57
*** terrylhowe has joined #openstack-sdks11:07
openstackgerritMerged stackforge/python-openstacksdk: Image v2 Proxy should inhert from BaseProxy  https://review.openstack.org/16369111:21
*** stevemar has joined #openstack-sdks13:18
*** bknudson has joined #openstack-sdks13:26
*** sigmavirus24_awa is now known as sigmavirus2413:51
*** mattfarina has joined #openstack-sdks14:08
*** etoews has joined #openstack-sdks14:22
*** mattfarina has quit IRC14:31
*** pm90_ has joined #openstack-sdks14:33
*** pm90_ has quit IRC14:34
*** pm90_ has joined #openstack-sdks14:35
*** etoews_ has joined #openstack-sdks14:35
*** etoews has quit IRC14:55
*** etoews_ is now known as etoews14:55
etoewsbriancurtin: there's some weirdness with creating a heat stack in the api and i'm not sure the best way to solve it with the sdk.14:59
etoews1 sec...15:00
*** mattfarina has joined #openstack-sdks15:00
etoewshave a look at http://developer.openstack.org/api-ref-orchestration-v1.html#stacks15:05
etoewswhen you POST /v1/​{tenant_id}​/stacks there is no top-level "stacks" attr in the request JSON but there is in the response JSON15:06
etoewsso if Stack.resource_key is set to "stack" it works for GET but not POST15:07
etoewsi tried to override resource_key for POST like so https://github.com/stackforge/python-openstacksdk/compare/master...everett-toews:create-stack15:07
etoewsbut because Resource.create_by_id is a classmethod it doesn't look at the instance version of resource_key https://github.com/stackforge/python-openstacksdk/blob/master/openstack/resource.py#L50015:09
etoewsbriancurtin: please advise15:10
briancurtinetoews: what you have to do is override create_by_id entirely to be constructed without the resource_key15:12
etoews:tired_face:15:13
briancurtinetoews: let me find an example, we've done it a bunch of times and i actually did it three times last night (in the course of removing create_by_id that were passing IDs, and then other yak shaving)15:14
etoewsbriancurtin: where would i override it? in the proxy?15:14
briancurtinetoews: on the Stack resource class15:14
briancurtinetoews: you would do something like this http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/compute/v2/server_metadata.py -- override create_by_id and see what resource.Resource.create_by_id does, but you probably just want to rip out the cls.resource_key block and keep most of the rest15:24
etoewsbriancurtin: i know create_by_id is a factory method and so it's a classmethod but did you consider making it an instance method?15:27
briancurtinno. create/update/delete/head are instance methods15:28
*** pm90__ has joined #openstack-sdks16:10
*** pm90_ has quit IRC16:10
*** pm90__ has quit IRC16:17
*** pm90_ has joined #openstack-sdks16:18
*** Miouge has joined #openstack-sdks16:48
*** tzero has joined #openstack-sdks16:49
*** pm90_ has quit IRC16:52
openstackgerritMarco Fargetta proposed openstack/python-openstackclient: Add support to remote_id  https://review.openstack.org/16130216:58
*** britthouser has quit IRC17:26
*** britthouser has joined #openstack-sdks17:26
*** pm90_ has joined #openstack-sdks17:36
terrylhoweetoews:  I thought we had examples where we do not set resource_key and thing work17:45
terrylhoweyeh etoews telemetry alarms for example17:47
etoewsterrylhowe: as in telemetry.v2.alarm.Alarm?17:49
etoewsbut in the alarm api http://specs.openstack.org/openstack/nova-specs/specs/kilo/approved/api-microversions.html17:50
etoewsoops http://developer.openstack.org/api-ref-telemetry-v2.html#alarms17:51
etoewsthe GET and POST json bodies are pretty much the same17:51
etoewsnot so with orchestration stacks17:51
etoewsGET has a top-level "stack" attr but POST doesn't17:52
etoewsterrylhowe:  let me know if i'm missing something17:52
etoewsit would be nice to not have to override create_by_id17:53
terrylhoweokay, I get it now etoews that is messed up17:56
*** pm90_ has quit IRC18:06
*** pm90_ has joined #openstack-sdks18:07
*** Saba has joined #openstack-sdks18:37
*** Saba is now known as Guest9793018:38
Guest97930Hi, how to submit review for Openstack Java SDK for Cinder (woorea)18:38
Guest97930?18:38
terrylhoweGuest97930: jclouds?18:38
Guest97930woorea/openstack-java-sdk18:39
terrylhowehttps://github.com/jclouds/jclouds is the sdk I’ve used18:39
terrylhoweI assume the sdk you are using is on github, that isn’t a OpenStack project18:40
briancurtinGuest97930: you should probably ask the person who runs that project. i've never seen it and the person doesn't seem to be involved around here18:40
Guest97930Where do you submit review ?18:40
Guest97930is it through gerrit ?18:40
briancurtinit is not18:40
Guest97930How can I find the person ?18:41
briancurtinit's not a part of openstack or stackforge18:41
Guest97930oh, ok.18:41
briancurtinGuest97930: https://github.com/woorea/openstack-java-sdk/pulls18:41
terrylhowefork the repo and do a pull request18:41
terrylhoweand/or submit an issue18:41
Guest97930I posted there as a issue. Thanks18:45
*** sigmavirus24 is now known as sigmavirus24_awa19:27
*** sigmavirus24_awa is now known as sigmavirus2419:28
*** openstackgerrit has quit IRC19:40
*** openstackgerrit has joined #openstack-sdks19:40
*** mattfarina has quit IRC21:19
*** bknudson has quit IRC21:55
*** Guest97930 has quit IRC21:59
*** sigmavirus24 is now known as sigmavirus24_awa22:02
stevemardtroyer, when you get a minute -> https://review.openstack.org/#/c/163696/ i've had this in my workspace for a while now23:09
stevemarfinally got a few minutes to push it up23:09
*** pm90_ has quit IRC23:19

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