*** boris-42 has joined #openstack-sdks | 00:15 | |
*** chlong has quit IRC | 00:55 | |
*** chlong has joined #openstack-sdks | 00:55 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Avoid httpretty 0.8.8 because it is broken https://review.openstack.org/163664 | 01:06 |
---|---|---|
openstackgerrit | Merged stackforge/python-openstacksdk: Avoid httpretty 0.8.8 because it is broken https://review.openstack.org/163664 | 01:14 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Add a base class for compute-related metadata https://review.openstack.org/163639 | 01:17 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata https://review.openstack.org/163640 | 01:17 |
*** sigmavirus24 is now known as sigmavirus24_awa | 01:19 | |
*** macjack has joined #openstack-sdks | 01:37 | |
*** pm90_ has joined #openstack-sdks | 01:46 | |
*** pm90_ has quit IRC | 02:02 | |
*** macjack has quit IRC | 02:03 | |
*** pm90_ has joined #openstack-sdks | 02:16 | |
*** etoews_ has joined #openstack-sdks | 02:22 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Get the ID of a single resource https://review.openstack.org/163678 | 02:23 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Get the ID of a single sub-resource https://review.openstack.org/163678 | 02:28 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Add a base class for compute-related metadata https://review.openstack.org/163639 | 02:32 |
*** pm90_ has quit IRC | 02:33 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata https://review.openstack.org/163640 | 02:38 |
*** pm90_ has joined #openstack-sdks | 02:41 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata https://review.openstack.org/163640 | 02:51 |
*** pm90_ has quit IRC | 03:09 | |
openstackgerrit | Merged openstack/python-openstackclient: Look harder to find DevStack https://review.openstack.org/163580 | 03:10 |
*** pm90_ has joined #openstack-sdks | 03:11 | |
*** terrylhowe has quit IRC | 03:17 | |
*** pm90_ has quit IRC | 03:21 | |
*** terrylhowe has joined #openstack-sdks | 03:37 | |
*** etoews_ has quit IRC | 03:41 | |
*** etoews_ has joined #openstack-sdks | 03:42 | |
*** etoews_ has quit IRC | 03:46 | |
*** pm90_ has joined #openstack-sdks | 03:53 | |
*** pm90_ has quit IRC | 04:03 | |
*** pm90_ has joined #openstack-sdks | 04:10 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Image v2 Proxy should inhert from BaseProxy https://review.openstack.org/163691 | 04:15 |
*** pm90_ has quit IRC | 04:23 | |
*** macjack has joined #openstack-sdks | 04:37 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Make ServerMetadata inherit from BaseMetadata https://review.openstack.org/163640 | 04:49 |
*** pm90_ has joined #openstack-sdks | 05:01 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add a doc about authenticating against v3 https://review.openstack.org/163696 | 05:03 |
*** macjack1 has joined #openstack-sdks | 05:05 | |
*** macjack has quit IRC | 05:09 | |
*** pm90_ has quit IRC | 05:12 | |
*** britthouser has joined #openstack-sdks | 05:16 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Add CacheManager https://review.openstack.org/163699 | 05:18 |
*** britthouser has quit IRC | 05:19 | |
*** britthouser has joined #openstack-sdks | 05:24 | |
*** britthouser has quit IRC | 05:34 | |
*** britthouser has joined #openstack-sdks | 05:40 | |
*** britthouser has quit IRC | 05:46 | |
*** macjack1 has quit IRC | 05:46 | |
*** britthouser has joined #openstack-sdks | 05:50 | |
*** bknudson has quit IRC | 06:10 | |
*** macjack has joined #openstack-sdks | 06:26 | |
*** terrylhowe has quit IRC | 06:38 | |
*** pm90_ has joined #openstack-sdks | 06:46 | |
*** pm90_ has quit IRC | 06:47 | |
*** stevemar has quit IRC | 07:22 | |
*** etoews has quit IRC | 07:39 | |
*** macjack has quit IRC | 09:57 | |
*** terrylhowe has joined #openstack-sdks | 11:07 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Image v2 Proxy should inhert from BaseProxy https://review.openstack.org/163691 | 11:21 |
*** stevemar has joined #openstack-sdks | 13:18 | |
*** bknudson has joined #openstack-sdks | 13:26 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 13:51 | |
*** mattfarina has joined #openstack-sdks | 14:08 | |
*** etoews has joined #openstack-sdks | 14:22 | |
*** mattfarina has quit IRC | 14:31 | |
*** pm90_ has joined #openstack-sdks | 14:33 | |
*** pm90_ has quit IRC | 14:34 | |
*** pm90_ has joined #openstack-sdks | 14:35 | |
*** etoews_ has joined #openstack-sdks | 14:35 | |
*** etoews has quit IRC | 14:55 | |
*** etoews_ is now known as etoews | 14:55 | |
etoews | briancurtin: 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 |
etoews | 1 sec... | 15:00 |
*** mattfarina has joined #openstack-sdks | 15:00 | |
etoews | have a look at http://developer.openstack.org/api-ref-orchestration-v1.html#stacks | 15:05 |
etoews | when you POST /v1/{tenant_id}/stacks there is no top-level "stacks" attr in the request JSON but there is in the response JSON | 15:06 |
etoews | so if Stack.resource_key is set to "stack" it works for GET but not POST | 15:07 |
etoews | i tried to override resource_key for POST like so https://github.com/stackforge/python-openstacksdk/compare/master...everett-toews:create-stack | 15:07 |
etoews | but 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#L500 | 15:09 |
etoews | briancurtin: please advise | 15:10 |
briancurtin | etoews: what you have to do is override create_by_id entirely to be constructed without the resource_key | 15:12 |
etoews | :tired_face: | 15:13 |
briancurtin | etoews: 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 |
etoews | briancurtin: where would i override it? in the proxy? | 15:14 |
briancurtin | etoews: on the Stack resource class | 15:14 |
briancurtin | etoews: 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 rest | 15:24 |
etoews | briancurtin: 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 |
briancurtin | no. create/update/delete/head are instance methods | 15:28 |
*** pm90__ has joined #openstack-sdks | 16:10 | |
*** pm90_ has quit IRC | 16:10 | |
*** pm90__ has quit IRC | 16:17 | |
*** pm90_ has joined #openstack-sdks | 16:18 | |
*** Miouge has joined #openstack-sdks | 16:48 | |
*** tzero has joined #openstack-sdks | 16:49 | |
*** pm90_ has quit IRC | 16:52 | |
openstackgerrit | Marco Fargetta proposed openstack/python-openstackclient: Add support to remote_id https://review.openstack.org/161302 | 16:58 |
*** britthouser has quit IRC | 17:26 | |
*** britthouser has joined #openstack-sdks | 17:26 | |
*** pm90_ has joined #openstack-sdks | 17:36 | |
terrylhowe | etoews: I thought we had examples where we do not set resource_key and thing work | 17:45 |
terrylhowe | yeh etoews telemetry alarms for example | 17:47 |
etoews | terrylhowe: as in telemetry.v2.alarm.Alarm? | 17:49 |
etoews | but in the alarm api http://specs.openstack.org/openstack/nova-specs/specs/kilo/approved/api-microversions.html | 17:50 |
etoews | oops http://developer.openstack.org/api-ref-telemetry-v2.html#alarms | 17:51 |
etoews | the GET and POST json bodies are pretty much the same | 17:51 |
etoews | not so with orchestration stacks | 17:51 |
etoews | GET has a top-level "stack" attr but POST doesn't | 17:52 |
etoews | terrylhowe: let me know if i'm missing something | 17:52 |
etoews | it would be nice to not have to override create_by_id | 17:53 |
terrylhowe | okay, I get it now etoews that is messed up | 17:56 |
*** pm90_ has quit IRC | 18:06 | |
*** pm90_ has joined #openstack-sdks | 18:07 | |
*** Saba has joined #openstack-sdks | 18:37 | |
*** Saba is now known as Guest97930 | 18:38 | |
Guest97930 | Hi, how to submit review for Openstack Java SDK for Cinder (woorea) | 18:38 |
Guest97930 | ? | 18:38 |
terrylhowe | Guest97930: jclouds? | 18:38 |
Guest97930 | woorea/openstack-java-sdk | 18:39 |
terrylhowe | https://github.com/jclouds/jclouds is the sdk I’ve used | 18:39 |
terrylhowe | I assume the sdk you are using is on github, that isn’t a OpenStack project | 18:40 |
briancurtin | Guest97930: 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 here | 18:40 |
Guest97930 | Where do you submit review ? | 18:40 |
Guest97930 | is it through gerrit ? | 18:40 |
briancurtin | it is not | 18:40 |
Guest97930 | How can I find the person ? | 18:41 |
briancurtin | it's not a part of openstack or stackforge | 18:41 |
Guest97930 | oh, ok. | 18:41 |
briancurtin | Guest97930: https://github.com/woorea/openstack-java-sdk/pulls | 18:41 |
terrylhowe | fork the repo and do a pull request | 18:41 |
terrylhowe | and/or submit an issue | 18:41 |
Guest97930 | I posted there as a issue. Thanks | 18:45 |
*** sigmavirus24 is now known as sigmavirus24_awa | 19:27 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 19:28 | |
*** openstackgerrit has quit IRC | 19:40 | |
*** openstackgerrit has joined #openstack-sdks | 19:40 | |
*** mattfarina has quit IRC | 21:19 | |
*** bknudson has quit IRC | 21:55 | |
*** Guest97930 has quit IRC | 21:59 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 22:02 | |
stevemar | dtroyer, when you get a minute -> https://review.openstack.org/#/c/163696/ i've had this in my workspace for a while now | 23:09 |
stevemar | finally got a few minutes to push it up | 23:09 |
*** pm90_ has quit IRC | 23:19 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!