Earlier  
Posted Nick Remark
#openstack-sdks - 2017-08-26
05:34:40 Rocky Right now , I am stuck in LB automation using fog-openstack.
05:35:04 Rocky if anyone has done it, would you please share me the sample code?
11:33:46 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/494820
13:38:58 seanhandley If anyone sees Rocky, I have a working lb example in Fog here: https://gist.github.com/seanhandley/6df74162e13b588856e831b27f4e9257
21:39:29 openstackgerrit Merged openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/494820
#openstack-sdks - 2017-08-27
22:53:08 openstackgerrit dangogh proposed openstack/cliff master: add actual column names to error msg Closes-Bug: 1712876 https://review.openstack.org/498277
22:53:09 openstack bug 1712876 in openstack-user-stories "openstack cli - show available columns" [Undecided,New] https://launchpad.net/bugs/1712876
#openstack-sdks - 2017-08-28
01:02:34 openstackgerrit Jamie Lennox proposed openstack/keystoneauth master: Add loading mock fixtures https://review.openstack.org/436012
02:13:44 openstackgerrit lihaijing proposed openstack/python-openstackclient master: Add "volume backup export/import" commands https://review.openstack.org/497167
03:53:47 openstackgerrit Jamie Lennox proposed openstack/keystoneauth master: Add loading mock fixtures https://review.openstack.org/436012
14:33:53 openstackgerrit Gage Hugo proposed openstack/python-openstackclient master: Add project tags functionality https://review.openstack.org/481284
14:35:22 openstackgerrit Gage Hugo proposed openstack/python-openstackclient master: Add project tags functionality https://review.openstack.org/481284
15:28:54 frickler briancurtin: when can we get a new sdk release to fix the port list filtering? do we need to wait for Pike being released first?
15:45:03 openstackgerrit Gage Hugo proposed openstack/python-openstackclient master: Add project tags functionality https://review.openstack.org/481284
15:58:38 cdent sdague: welcome back, if you haven’t seen it already, when you get a chance, would appreciate your thoughts on: http://lists.openstack.org/pipermail/openstack-dev/2017-August/121384.html
16:02:29 sdague cdent: ok, I will take a look
16:02:46 cdent thanks
16:13:52 openstackgerrit Merged openstack/python-openstacksdk master: Add parameter_groups and conditions params for StackTemplate https://review.openstack.org/497736
17:34:51 briancurtin frickler: didn’t see that message but i happened to do a release anyway. https://pypi.python.org/pypi/openstacksdk/0.9.18
19:16:44 openstackgerrit Gage Hugo proposed openstack/python-openstackclient master: Add project tags functionality https://review.openstack.org/481284
20:03:26 openstackgerrit Gage Hugo proposed openstack/python-openstackclient master: Add project tags functionality https://review.openstack.org/481284
#openstack-sdks - 2017-08-29
03:38:27 openstackgerrit dangogh proposed openstack/cliff master: should be fixed now.. thanks https://review.openstack.org/498668
03:46:54 openstackgerrit dangogh proposed openstack/cliff master: add actual column names to error msg Closes-Bug: 1712876 https://review.openstack.org/498277
03:46:55 openstack bug 1712876 in openstack-user-stories "openstack cli - show available columns" [Undecided,New] https://launchpad.net/bugs/1712876
03:48:37 openstackgerrit dangogh proposed openstack/cliff master: should be fixed now.. thanks https://review.openstack.org/498668
07:02:10 openstackgerrit sudhir agarwal proposed openstack/python-openstackclient master: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/498700
07:40:34 openstackgerrit Chiawei Xie proposed openstack/python-openstacksdk master: Connection doc add arguments https://review.openstack.org/498705
08:13:37 openstackgerrit Chiawei Xie proposed openstack/python-openstacksdk master: Connection doc add arguments https://review.openstack.org/498707
08:43:11 frickler briancurtin: cool, thx
14:21:26 openstackgerrit Stephen Finucane proposed openstack/os-api-ref master: doc: Remove deprecated call to sphinx.util.compat https://review.openstack.org/498825
22:23:31 openstackgerrit dangogh proposed openstack/cliff master: add actual column names to error msg Closes-Bug: 1712876 https://review.openstack.org/498277
22:23:32 openstack bug 1712876 in cliff "openstack cli - show available columns" [Undecided,New] https://launchpad.net/bugs/1712876
23:13:19 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: DNM: Check failure rate of network qos func test https://review.openstack.org/498984
#openstack-sdks - 2017-08-30
03:29:40 openstackgerrit dangogh proposed openstack/cliff master: add actual column names to error msg Closes-Bug: 1712876 https://review.openstack.org/498277
03:29:41 openstack bug 1712876 in cliff "openstack cli - show available columns" [Undecided,In progress] https://launchpad.net/bugs/1712876 - Assigned to Dan Kirkwood (dangogh)
#openstack-sdks - 2017-08-31
01:50:43 openstackgerrit TingtingYu proposed openstack/python-openstacksdk master: Update mailmap for TingtingYu. https://review.openstack.org/497122
12:02:26 ldl__ hi
12:02:31 ldl__ how are you
12:15:41 ldl__ I can not install the openstacksdk in my mac:
12:15:42 ldl__ https://ask.openstack.org/en/question/110000/error-no-available-formula-with-the-name-openstacksdk/
12:15:48 ldl__ Who can help me with this?
13:06:31 edleafe elmiko: I won't be around for today's API-SIG meeting. And cdent is in the air for much of today, so I don't know if he'll make it either.
13:30:47 elmiko edleafe: ack, i'll show up and see if we get any takers
15:48:11 iwonka hi guys, i'm an outreachy intern in sahara and as a part of my internship i've added new commands to openstack cli. the commands export some stuff to json, and there are doubts among sahara people whether the command that does it should print to stdout or take an argument with a name to write. thus question to you: what is the better option to do it?
16:06:45 jeremyfreudberg to build on what iwonka said, we have some API in sahara which returns some json, and that json doesn't just represent the result, the json **is** the result that the user wants to keep. therefore when creating an OSC command to use this API we don't use any standard osc formatter to represent the output. so we are wondering if there are any best practices regarding write to stdout, write to file, etc, in OSC
16:18:11 elmiko good question, maybe dtroyer has a quick answer ^^
16:18:35 elmiko i mean, you can always redirect stdout =)
16:18:55 elmiko but having a --out option or something is nice also
16:19:20 jeremyfreudberg elmiko, sounds a lot like what we had been going back and forth about in the sahara channel
16:19:58 jeremyfreudberg if dtroyer could weigh in that would be nice, we know it's gonna break osc traditions no matter what we pick, so we just wanna make sure we do it right
16:20:45 elmiko +1
16:20:48 dtroyer osc does have a -f json output format so we already have that, written to stdout.
16:21:02 dtroyer In this case, though, it doesn't sound like any other output formats make sense
16:21:39 dtroyer if the user is expecting JSON always, jsut write it to stdout. We do have a couple of comamnds that write output to files, like downloading objects or images
16:22:19 dtroyer image save —file <filename>
16:22:36 dtroyer (oops, there's an image nmae/id on there too)
16:23:15 dtroyer object save [—file <filename>] <object-name-or-id>
16:24:17 jeremyfreudberg ah, dtroyer, very good examples
16:24:17 dtroyer if you really want to have an option to specify a filename, I'd do it that way. OSC users will be used to redirecting stdout for a lot of things though, including those save sommands if that's where they want the images to go
16:24:54 dtroyer so to me, the inconsistency is in always outputting JSON, which isn't an issue if that is really the only thing the user wants to get out
16:25:45 dtroyer make sure including '-f json' is handled without error though
16:26:44 jeremyfreudberg dtroyer, if take_action returns None, that's ok right?
16:27:35 dtroyer yes, although it may depend on what kind of command class you inherit from to begin with
16:28:14 jeremyfreudberg osc_lib.command.command.Command
16:29:43 dtroyer there no return is expcted
16:30:03 jeremyfreudberg cool
16:30:39 jeremyfreudberg thanks for your help, i'll play around with it some... i'm leaning towards doing it like `openstack image save` with optional file that defaults to stdout
16:31:29 dtroyer what is the command verb?
16:32:04 jeremyfreudberg export
16:33:18 dtroyer ok, I think that makes sense. I wanted to make sure these semantics were not going to be surprising to users
16:34:14 jeremyfreudberg cool cool
16:34:31 jeremyfreudberg need to go afk now, if you have any sudden change of heart feel free to jump on the sahara channel later
16:34:34 jeremyfreudberg thanks a ton
#openstack-sdks - 2017-09-01
03:16:47 ldl___ I can not install the openstacksdk in my Mac: https://stackoverflow.com/questions/45981213/error-no-available-formula-with-the-name-openstacksdk
03:17:09 ldl___ As you can?
12:44:44 openstackgerrit OpenStack Proposal Bot proposed openstack/os-client-config master: Updated from global requirements https://review.openstack.org/500013
12:44:50 openstackgerrit OpenStack Proposal Bot proposed openstack/os-service-types master: Updated from global requirements https://review.openstack.org/500014
12:45:02 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/500015
12:47:13 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/500030
12:47:17 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstacksdk master: Updated from global requirements https://review.openstack.org/500031
16:24:17 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Make discover._version_between more lenient https://review.openstack.org/485827
16:32:01 openstackgerrit Merged openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/500030
16:40:57 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Make discover._version_between more consistent https://review.openstack.org/485827
18:01:16 cdent elmiko, figleaf: did you guys skip the api-wg^sig meeting yesterday?
20:19:26 openstackgerrit Merged openstack/os-service-types master: Updated from global requirements https://review.openstack.org/500014
20:38:24 figleaf cdent: we had a quick meeting. I made it back just in time
20:38:58 cdent figleaf: but not enough to warrant a newsletter, I guess?
20:39:52 figleaf cdent: you know you could read for yourself :) http://eavesdrop.openstack.org/meetings/api_sig/2017/api_sig.2017-08-31-16.03.log.html
20:40:14 cdent but then what would I talk to you about?
20:40:44 cdent figleaf: how’s the weather? wife? kids?
20:41:58 figleaf Why would you want to talk to me in the first place??
20:42:17 cdent I hear you have the inside scoop on augmentation
20:43:51 figleaf heh - just got my bionic ears
20:44:00 figleaf everything is very LOUD
20:44:27 cdent do you have an app on your phone to control them? seems like that’s how it should be in these modern times
20:44:36 cdent IOT bionic ears
21:33:33 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Add tests for mutually exclusive [min|max]version https://review.openstack.org/500198
21:55:24 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Sanely order assertion args in test_discovery https://review.openstack.org/500204
22:01:04 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Extract iterables for test_keystone_version_data https://review.openstack.org/500206
22:14:39 openstackgerrit Eric Fried proposed openstack/keystoneauth master: Nits in using-sessions.rst https://review.openstack.org/500211

Earlier   Later