*** TravT has joined #openstack-sdks | 00:18 | |
TravT | hello, we're creating a python-searchlightclient plugin for the openstack client and having some difficulty getting the openstack client to recognize it on devstack | 00:24 |
---|---|---|
lhcheng | TravT: o/ | 00:25 |
TravT | basically git clone and then python setup.py develop | 00:25 |
TravT | hey lhcheng | 00:25 |
lhcheng | TravT: what error are you seeing? | 00:25 |
TravT | but the client isn't recognized | 00:25 |
TravT | lhcheng: see my last comment on this patch | 00:25 |
TravT | https://review.openstack.org/#/c/268358/ | 00:25 |
TravT | hmm... wait a minute... might have a chicken or the egg thing going on | 00:26 |
TravT | lhcheng: yep, i forgot that after running that patch (installs it) that I need to git review the first patch adding the search command | 00:28 |
TravT | d'o | 00:28 |
TravT | h | 00:28 |
*** dims has quit IRC | 00:29 | |
lhcheng | TravT: searchlight client seems missing the entrypoint so that openstack-client can discover it | 00:30 |
lhcheng | TravT: you can check the pattern used here: https://review.openstack.org/#/c/171672/26/setup.cfg | 00:31 |
TravT | hey lhcheng: yeah, that's coming in a series of patches about to land | 00:31 |
TravT | https://review.openstack.org/#/c/249076/ | 00:31 |
TravT | i just added a note to that affect on the original patch i mentioned. | 00:34 |
lhcheng | TravT: don't you need to land that first before "openstack search" works? | 00:34 |
lhcheng | okay same conclusion | 00:34 |
TravT | yep, <facepalm> | 00:34 |
lhcheng | :D | 00:34 |
TravT | that is the chicken or egg comment i mentioned above... | 00:34 |
lhcheng | awesome, glad you figure it out | 00:34 |
TravT | when re-stacking forgot that i had blown away the patch | 00:35 |
TravT | :D | 00:35 |
TravT | thanks for looking at this though! | 00:35 |
TravT | definitely appreciate it | 00:35 |
lhcheng | #userError | 00:35 |
lhcheng | :P | 00:35 |
lhcheng | np | 00:35 |
TravT | lol | 00:35 |
*** markvoelker_ has quit IRC | 00:41 | |
*** hitalia has quit IRC | 00:43 | |
*** lhcheng has quit IRC | 00:58 | |
*** gildub has joined #openstack-sdks | 00:59 | |
*** hitalia has joined #openstack-sdks | 01:01 | |
*** Qiming has joined #openstack-sdks | 01:08 | |
*** salv-orlando has quit IRC | 01:09 | |
*** hitalia has quit IRC | 01:11 | |
*** TravT has quit IRC | 01:51 | |
*** dims has joined #openstack-sdks | 01:54 | |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk: Add ISO8601 formatter as a type for properties https://review.openstack.org/270573 | 02:06 |
*** Yanyanhu has joined #openstack-sdks | 02:07 | |
openstackgerrit | Merged openstack/python-openstacksdk: Raise NotFound exception when get a deleted stack https://review.openstack.org/270094 | 02:13 |
*** fzdarsky has quit IRC | 02:19 | |
*** Qiming has quit IRC | 02:22 | |
*** Qiming has joined #openstack-sdks | 02:22 | |
*** fzdarsky has joined #openstack-sdks | 02:25 | |
*** woodster_ has quit IRC | 02:26 | |
openstackgerrit | Merged openstack/python-openstackclient: Set up logger of each command by metaclass https://review.openstack.org/265504 | 02:44 |
*** devth has joined #openstack-sdks | 02:44 | |
*** devth_ has quit IRC | 02:47 | |
*** Qiming has quit IRC | 03:15 | |
*** oomichi is now known as oomichi_away | 03:23 | |
*** dims has quit IRC | 03:42 | |
*** lhcheng has joined #openstack-sdks | 04:25 | |
*** devth_ has joined #openstack-sdks | 04:34 | |
*** devth has quit IRC | 04:37 | |
*** devth_ has quit IRC | 04:43 | |
*** devth has joined #openstack-sdks | 04:44 | |
*** devth_ has joined #openstack-sdks | 04:48 | |
openstackgerrit | Sai Kiran proposed openstack/python-openstackclient: Refactor abstract columns and datalist out in compute test cases https://review.openstack.org/264731 | 04:50 |
*** devth has quit IRC | 04:51 | |
*** david-lyle has quit IRC | 05:02 | |
*** david-lyle has joined #openstack-sdks | 05:03 | |
*** markvoelker has joined #openstack-sdks | 05:07 | |
*** markvoelker has quit IRC | 05:12 | |
*** markvoelker has joined #openstack-sdks | 05:12 | |
*** markvoelker_ has joined #openstack-sdks | 06:01 | |
*** markvoelker has quit IRC | 06:05 | |
*** markvoelker has joined #openstack-sdks | 06:05 | |
*** markvoelker_ has quit IRC | 06:06 | |
*** oomichi_away is now known as oomichi | 06:11 | |
*** lhcheng has quit IRC | 06:44 | |
*** lhcheng has joined #openstack-sdks | 06:46 | |
*** lhcheng has quit IRC | 06:54 | |
*** gildub has quit IRC | 07:09 | |
*** bunting has quit IRC | 07:22 | |
*** fzdarsky has quit IRC | 07:27 | |
*** fzdarsky has joined #openstack-sdks | 07:27 | |
openstackgerrit | Merged openstack/python-openstackclient: Refactor abstract columns and datalist out in compute test cases https://review.openstack.org/264731 | 08:14 |
*** markvoelker has quit IRC | 09:12 | |
openstackgerrit | Sai Kiran proposed openstack/python-openstackclient: Adding the support of volume encryption type create https://review.openstack.org/263254 | 09:26 |
openstackgerrit | Merged openstack/python-openstackclient: log_method: get logger from decorated method if unspecified https://review.openstack.org/265520 | 09:26 |
*** Yanyanhu has quit IRC | 09:30 | |
*** markvoelker has joined #openstack-sdks | 09:42 | |
*** markvoelker has quit IRC | 09:48 | |
*** openstackgerrit has quit IRC | 10:02 | |
*** openstackgerrit has joined #openstack-sdks | 10:03 | |
*** gildub has joined #openstack-sdks | 10:19 | |
openstackgerrit | Jas Singh proposed openstack/python-openstackclient: Add availability zone support for router commands https://review.openstack.org/270721 | 10:29 |
*** rm_work has quit IRC | 10:29 | |
*** rm_work has joined #openstack-sdks | 10:32 | |
*** markvoelker has joined #openstack-sdks | 10:39 | |
*** amotoki has quit IRC | 10:40 | |
*** markvoelker has quit IRC | 10:44 | |
*** lhcheng has joined #openstack-sdks | 10:51 | |
*** cdent has joined #openstack-sdks | 10:51 | |
*** lhcheng has quit IRC | 10:56 | |
*** Qiming has joined #openstack-sdks | 10:58 | |
*** e0ne has joined #openstack-sdks | 10:58 | |
*** dims has joined #openstack-sdks | 11:04 | |
*** Qiming has quit IRC | 11:06 | |
*** markvoelker has joined #openstack-sdks | 11:34 | |
*** bunting has joined #openstack-sdks | 11:36 | |
*** markvoelker has quit IRC | 11:39 | |
*** boris-42 has quit IRC | 12:03 | |
*** cdent has quit IRC | 12:05 | |
*** cdent has joined #openstack-sdks | 12:06 | |
*** gildub has quit IRC | 12:12 | |
*** thrash|g0ne is now known as thrash | 12:24 | |
*** oomichi is now known as oomichi_away | 12:26 | |
*** markvoelker has joined #openstack-sdks | 12:29 | |
*** oomichi_away has quit IRC | 12:31 | |
openstackgerrit | Akihiro Motoki proposed openstack/python-openstackclient: log take_action parameters in a single place https://review.openstack.org/269612 | 12:31 |
openstackgerrit | Akihiro Motoki proposed openstack/python-openstackclient: log take_action parameters in a single place https://review.openstack.org/269613 | 12:34 |
*** markvoelker has quit IRC | 12:35 | |
*** jamielennox is now known as jamielennox|away | 13:07 | |
*** amotoki has joined #openstack-sdks | 13:12 | |
openstackgerrit | Monty Taylor proposed openstack/os-client-config: Don't set project_domain if not project scoped https://review.openstack.org/269704 | 13:12 |
mordred | Shrews, stevemar: ^^ I've added tests, could I get y'all to check that out? it'll make gyee happy if we can get a release cut | 13:13 |
*** markvoelker has joined #openstack-sdks | 13:24 | |
*** markvoelker has quit IRC | 13:29 | |
*** rtheis has joined #openstack-sdks | 13:33 | |
Shrews | mordred: will look in a bit | 13:35 |
mordred | thanks | 13:37 |
*** markvoelker has joined #openstack-sdks | 13:50 | |
*** markvoelker has quit IRC | 13:53 | |
*** markvoelker has joined #openstack-sdks | 13:53 | |
*** markvoelker has quit IRC | 13:57 | |
*** markvoelker has joined #openstack-sdks | 13:59 | |
*** annegentle has joined #openstack-sdks | 14:04 | |
openstackgerrit | Merged openstack/fairy-slipper: More updates for generating valid swagger https://review.openstack.org/266527 | 14:05 |
openstackgerrit | Merged openstack/fairy-slipper: Updates README file now that tool is in OpenStack org https://review.openstack.org/269304 | 14:27 |
openstackgerrit | Merged openstack/fairy-slipper: Adds releasenotes using the reno tool https://review.openstack.org/269729 | 14:27 |
GreenBlood | Hey, in python, if I want to use the API to create a volume, an instance and attach them, (which need cinderclient and novaclient then), is it possible to keep the credentials between the two "client" ? like, novaclient.client.Client(bla bla bla) and the same goes for cinder. Is it possible to "share" the creds between the two ? | 14:28 |
GreenBlood | (Noob in python btw) | 14:28 |
elmiko | GreenBlood: do you mean use the same credentials to authorize both services? | 14:47 |
GreenBlood | yep | 14:47 |
GreenBlood | Or do I have to create the client.Client(...) thingy for each service I use ? | 14:47 |
elmiko | well, if you are using the novaclient and the cinderclient, and want to access them separately, then yes you will need to create 2 clients | 14:48 |
elmiko | but | 14:48 |
*** devth has joined #openstack-sdks | 14:48 | |
elmiko | there are several techniques for using the same credentials between the 2 clients | 14:49 |
elmiko | it really depends on how you are doing the auth. | 14:49 |
elmiko | like, you could use the actual username/pass, or a token, or a session object and an auth object.... | 14:49 |
*** devth_ has quit IRC | 14:50 | |
GreenBlood | I haven't found any good python API documentation, with the classes and procedure list and stuff so I'm kind of walking in the dark here | 14:50 |
GreenBlood | Like the auth possible parameters, for example | 14:51 |
elmiko | ok, let me dig up a few links for you | 14:51 |
GreenBlood | Thanks very much | 14:52 |
GreenBlood | I have the github repo for cinder but looking through the source code does not really help | 14:52 |
elmiko | so, here is a quick example from the novaclient repo | 14:52 |
elmiko | https://github.com/openstack/python-novaclient#python-api | 14:52 |
GreenBlood | (cinder python api*) | 14:52 |
elmiko | yea, you want the repos for python-cinderclient and python-novaclient | 14:53 |
GreenBlood | mainly yup | 14:53 |
elmiko | here's a blog post i wrote awhile ago that shows several examples | 14:53 |
elmiko | https://elmiko.github.io/2014/08/05/swift-access-keystone-trust.html | 14:53 |
GreenBlood | neat | 14:53 |
elmiko | you may also find this interesting as it addresses keystone sessions and auth objects | 14:53 |
elmiko | http://www.jamielennox.net/blog/2014/09/15/how-to-use-keystoneclient-sessions/ | 14:53 |
elmiko | and here is the cinderclient example from their repo | 14:54 |
elmiko | https://github.com/openstack/python-cinderclient#python-api | 14:54 |
GreenBlood | The examples are pretty succinct | 14:55 |
GreenBlood | Anyway thank you for the links | 14:56 |
elmiko | yea, and most of the clients work in similar manners | 14:56 |
elmiko | np, hope it helps =) | 14:56 |
*** gouthamr has joined #openstack-sdks | 14:56 | |
GreenBlood | Yeah, and its plain english so, well, at least we got that :D | 14:57 |
GreenBlood | So far it helps :) | 14:57 |
elmiko | hehe, cool. i can dig up a few more code examples if you are looking for more | 14:57 |
GreenBlood | I'll read your blog and the other blog you gave me first | 15:01 |
GreenBlood | Nice to know this chan's not only idlers | 15:01 |
elmiko | we try ;) | 15:02 |
*** sigmavirus24_awa is now known as sigmavirus24 | 15:03 | |
*** boris-42 has joined #openstack-sdks | 15:07 | |
*** jaypipes has joined #openstack-sdks | 15:21 | |
gouthamr | annegentle: ping | 15:24 |
annegentle | gouthamr: hi | 15:25 |
gouthamr | hi annegentle | 15:25 |
annegentle | how's it going? | 15:26 |
gouthamr | annegentle: I was looking at the wadl2swagger tool.. was wondering if the converted swagger files are up for review | 15:26 |
gouthamr | annegentle: those that you linked us to here: http://rackerlabs.github.io/wadl2swagger/openstack.html | 15:26 |
annegentle | gouthamr: no, that was to point out a half-done example :) | 15:27 |
annegentle | gouthamr: sorry for any confusion | 15:27 |
annegentle | gouthamr: I have to request a release of fairy-slipper which is our conversion tool | 15:27 |
annegentle | gouthamr: then enable build jobs for it in api-site | 15:27 |
gouthamr | annegentle: nah.. I was looking to work on the existing WADL files for manila.. so was wondering if there's a repo to create them under.. | 15:28 |
annegentle | gouthamr: you want openstack/api-site | 15:29 |
gouthamr | annegentle: thanks! responding to your email :) | 15:29 |
annegentle | gouthamr: likely in a directory named converted_files_valid | 15:29 |
annegentle | gouthamr: thanks! | 15:29 |
gouthamr | annegentle: sure.. yw.. | 15:30 |
*** markvoelker has quit IRC | 15:38 | |
*** fzdarsky has quit IRC | 15:39 | |
*** fzdarsky has joined #openstack-sdks | 15:39 | |
*** annegent_ has joined #openstack-sdks | 15:39 | |
*** annegentle has quit IRC | 15:42 | |
*** amotoki has quit IRC | 15:44 | |
*** fzdarsky has quit IRC | 15:45 | |
*** jose4183 has joined #openstack-sdks | 15:50 | |
*** fzdarsky has joined #openstack-sdks | 15:52 | |
*** markvoelker has joined #openstack-sdks | 16:01 | |
*** amotoki has joined #openstack-sdks | 16:13 | |
*** pratikmallya has joined #openstack-sdks | 16:17 | |
*** bnemec has quit IRC | 16:18 | |
*** bnemec has joined #openstack-sdks | 16:20 | |
*** pratikma_ has joined #openstack-sdks | 16:22 | |
*** pratikmallya has quit IRC | 16:25 | |
openstackgerrit | Richard Theis proposed openstack/python-openstacksdk: Basic resource.prop for ID attributes (network) https://review.openstack.org/270900 | 16:27 |
*** jvrbanac_ has joined #openstack-sdks | 16:29 | |
*** jvrbanac_ has quit IRC | 16:30 | |
*** jvrbanac has joined #openstack-sdks | 16:32 | |
openstackgerrit | Richard Theis proposed openstack/python-openstacksdk: Basic resource.prop for ID attributes (network) https://review.openstack.org/270900 | 16:33 |
cdent | elmiko: did I miss a api-wg meeting, or are we on the midnight schedule this week (my calendar is confused) | 16:52 |
*** bnemec has quit IRC | 16:52 | |
elmiko | cdent: no, you didn't miss it. it was last night and no-one showed | 16:52 |
* cdent fixes his calendar | 16:53 | |
elmiko | also, i removed the +2 from the pagination review and added a comment | 16:53 |
cdent | Yeah, saw that, thanks | 16:53 |
elmiko | cool | 16:54 |
cdent | I reckon the "think of the UI developer" aspect of things is something we'll need to do better at giving attention | 16:54 |
elmiko | agreed | 16:54 |
*** devth_ has joined #openstack-sdks | 16:57 | |
cdent | elmiko: looks like the info on http://eavesdrop.openstack.org/#API_Working_Group is backwards or we are | 17:00 |
*** devth has quit IRC | 17:01 | |
cdent | (the ICS file I mean) | 17:01 |
elmiko | hmm, ok. we need to fix that then | 17:01 |
elmiko | or, adjust our meetings | 17:01 |
*** bnemec has joined #openstack-sdks | 17:02 | |
cdent | yeah, either would be fine | 17:02 |
*** hitalia has joined #openstack-sdks | 17:08 | |
*** salv-orlando has joined #openstack-sdks | 17:10 | |
*** hitalia has quit IRC | 17:13 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 17:27 | |
*** rtheis has quit IRC | 17:28 | |
*** rtheis has joined #openstack-sdks | 17:29 | |
*** rtheis has quit IRC | 17:33 | |
*** e0ne has quit IRC | 17:37 | |
openstackgerrit | Jas Singh proposed openstack/python-openstackclient: Add availability zone support for router commands https://review.openstack.org/270721 | 17:39 |
*** rtheis has joined #openstack-sdks | 17:43 | |
openstackgerrit | Anne Gentle proposed openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 17:53 |
*** lhcheng has joined #openstack-sdks | 17:58 | |
openstackgerrit | Anne Gentle proposed openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 18:08 |
openstackgerrit | Andreas Jaeger proposed openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 18:11 |
openstackgerrit | Andreas Jaeger proposed openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 18:12 |
openstackgerrit | Andreas Jaeger proposed openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 18:18 |
openstackgerrit | Merged openstack/os-client-config: Don't set project_domain if not project scoped https://review.openstack.org/269704 | 18:30 |
*** woodster_ has joined #openstack-sdks | 18:32 | |
*** jaosorior_ has joined #openstack-sdks | 18:36 | |
openstackgerrit | Merged openstack/fairy-slipper: Adds initial release notes entry to release 0.1.0 https://review.openstack.org/270956 | 18:38 |
*** dtroyer has quit IRC | 18:38 | |
*** dtroyer has joined #openstack-sdks | 18:41 | |
*** lhcheng has quit IRC | 18:44 | |
*** lhcheng has joined #openstack-sdks | 18:46 | |
*** lhcheng_ has joined #openstack-sdks | 18:47 | |
*** lhcheng has quit IRC | 18:47 | |
*** lhcheng_ has quit IRC | 18:48 | |
*** lhcheng has joined #openstack-sdks | 18:48 | |
*** rtheis has quit IRC | 18:49 | |
*** rtheis has joined #openstack-sdks | 18:50 | |
*** lhcheng_ has joined #openstack-sdks | 18:50 | |
*** lhcheng has quit IRC | 18:53 | |
*** rtheis has quit IRC | 18:54 | |
*** e0ne has joined #openstack-sdks | 18:57 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 19:02 | |
openstackgerrit | Travis Tripp proposed openstack/python-openstackclient: Add python-searchlightclient to list of adopters. https://review.openstack.org/270984 | 19:06 |
*** rtheis has joined #openstack-sdks | 19:09 | |
*** terrylhowe has joined #openstack-sdks | 19:11 | |
*** terrylhowe has quit IRC | 19:11 | |
*** terrylhowe has joined #openstack-sdks | 19:11 | |
*** terrylhowe has joined #openstack-sdks | 19:12 | |
*** hitalia has joined #openstack-sdks | 19:17 | |
*** terrylhowe_ has joined #openstack-sdks | 19:19 | |
*** terrylhowe has quit IRC | 19:21 | |
*** terrylhowe_ is now known as terrylhowe | 19:21 | |
*** cdent has quit IRC | 19:22 | |
openstackgerrit | Jas Singh proposed openstack/python-openstackclient: Add availability zone support for router commands https://review.openstack.org/270721 | 19:37 |
*** salv-orlando has quit IRC | 19:42 | |
*** Eva-i has quit IRC | 19:46 | |
*** terrylhowe has quit IRC | 19:46 | |
*** e0ne has quit IRC | 19:49 | |
*** amotoki has quit IRC | 19:58 | |
*** amotoki has joined #openstack-sdks | 19:58 | |
*** gouthamr has quit IRC | 20:05 | |
*** gildub has joined #openstack-sdks | 20:11 | |
*** markvoelker has quit IRC | 20:11 | |
*** rtheis has quit IRC | 20:13 | |
openstackgerrit | Jas Singh proposed openstack/python-openstackclient: Add availability zone support for router commands https://review.openstack.org/270721 | 20:13 |
*** rtheis_ has joined #openstack-sdks | 20:17 | |
openstackgerrit | Jas Singh proposed openstack/python-openstackclient: Add availability zone support for router commands https://review.openstack.org/270721 | 20:17 |
*** rtheis__ has joined #openstack-sdks | 20:18 | |
*** gouthamr has joined #openstack-sdks | 20:19 | |
*** rtheis has joined #openstack-sdks | 20:20 | |
*** rtheis has quit IRC | 20:20 | |
*** rtheis has joined #openstack-sdks | 20:20 | |
*** amotoki has quit IRC | 20:21 | |
*** rtheis_ has quit IRC | 20:21 | |
*** rtheis__ has quit IRC | 20:22 | |
*** markvoelker has joined #openstack-sdks | 20:31 | |
*** ryansb has quit IRC | 20:40 | |
*** ryansb has joined #openstack-sdks | 20:44 | |
*** ryansb has quit IRC | 20:44 | |
*** ryansb has joined #openstack-sdks | 20:44 | |
*** cdent has joined #openstack-sdks | 20:47 | |
*** jamielennox|away is now known as jamielennox | 20:47 | |
openstackgerrit | Merged openstack/python-openstackclient: Change --owner to --project in image commands https://review.openstack.org/259595 | 21:04 |
*** salv-orlando has joined #openstack-sdks | 21:11 | |
*** markvoelker has quit IRC | 21:39 | |
*** markvoelker has joined #openstack-sdks | 21:41 | |
*** cdent has quit IRC | 21:42 | |
*** dims_ has joined #openstack-sdks | 21:56 | |
*** dims has quit IRC | 21:57 | |
*** markvoelker has quit IRC | 22:04 | |
*** jaosorior_ has quit IRC | 22:09 | |
*** pratikma_ has quit IRC | 22:11 | |
openstackgerrit | Tom Cocozzello proposed openstack/python-openstackclient: WIP Include name in list assignment https://review.openstack.org/255363 | 22:11 |
*** jose4183 has quit IRC | 22:16 | |
*** markvoelker has joined #openstack-sdks | 22:24 | |
openstackgerrit | Tom Cocozzello proposed openstack/python-openstackclient: WIP Return names in list role assignments https://review.openstack.org/255363 | 22:27 |
openstackgerrit | Merged openstack/python-openstackclient: Initialize activation status https://review.openstack.org/269916 | 22:36 |
*** annegent_ has quit IRC | 23:00 | |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk: Add UNIXEpoch formatter as a type for properties https://review.openstack.org/271077 | 23:03 |
*** sigmavirus24 is now known as sigmavirus24_awa | 23:34 | |
*** gildub has quit IRC | 23:39 | |
*** gouthamr has quit IRC | 23:53 | |
*** rtheis has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!