*** kgoedecke has joined #openstack-sdks | 00:17 | |
*** kgoedecke has left #openstack-sdks | 00:17 | |
*** boris-42 has quit IRC | 01:10 | |
*** boris-42 has joined #openstack-sdks | 01:38 | |
*** Yanyanhu has joined #openstack-sdks | 01:47 | |
*** gildub has joined #openstack-sdks | 02:58 | |
openstackgerrit | Steve Baker proposed openstack/cliff: Implement a yaml formatter in cliff https://review.openstack.org/209334 | 03:19 |
---|---|---|
*** britthouser has joined #openstack-sdks | 04:11 | |
*** britthou_ has joined #openstack-sdks | 04:12 | |
*** britthouser has quit IRC | 04:15 | |
*** openstack has joined #openstack-sdks | 04:20 | |
*** yonglihe has joined #openstack-sdks | 06:01 | |
*** john_dev has quit IRC | 06:03 | |
*** john_dev has joined #openstack-sdks | 06:03 | |
*** john_dev is now known as john-dev | 06:04 | |
-openstackstatus- NOTICE: Gerrit is currently under very high load and may be unresponsive. infra are looking into the issue. | 07:07 | |
*** markus_z has joined #openstack-sdks | 07:14 | |
*** aufi has joined #openstack-sdks | 07:35 | |
*** gildub has quit IRC | 07:55 | |
*** Guest47951 is now known as d0ugal | 09:49 | |
*** d0ugal has quit IRC | 09:49 | |
*** d0ugal has joined #openstack-sdks | 09:49 | |
-openstackstatus- NOTICE: review.openstack.org (aka gerrit) is going down for an emergency restart | 10:22 | |
*** ChanServ changes topic to "review.openstack.org (aka gerrit) is going down for an emergency restart" | 10:22 | |
*** Yanyanhu has quit IRC | 10:34 | |
*** terrylhowe has joined #openstack-sdks | 10:34 | |
*** Qiming has joined #openstack-sdks | 10:46 | |
*** ChanServ changes topic to "#openstack-sdks" | 10:49 | |
-openstackstatus- NOTICE: Gerrit restart has resolved the issue and systems are back up and functioning | 10:49 | |
*** Qiming has quit IRC | 10:59 | |
*** boris-42 has quit IRC | 11:10 | |
*** woodster_ has joined #openstack-sdks | 11:46 | |
*** jose4183 has joined #openstack-sdks | 11:55 | |
*** chlong has quit IRC | 11:59 | |
*** Qiming has joined #openstack-sdks | 12:50 | |
*** Qiming has quit IRC | 12:51 | |
*** pm90_ has joined #openstack-sdks | 12:54 | |
*** pm90__ has joined #openstack-sdks | 12:57 | |
*** pm90_ has quit IRC | 12:59 | |
*** britthouser has joined #openstack-sdks | 13:05 | |
*** beagles has quit IRC | 13:26 | |
*** keekz has quit IRC | 13:28 | |
*** keekz has joined #openstack-sdks | 13:29 | |
*** Zucan has quit IRC | 13:36 | |
*** britthou_ has joined #openstack-sdks | 13:36 | |
*** britthouser has quit IRC | 13:39 | |
*** keekz has quit IRC | 13:41 | |
*** keekz has joined #openstack-sdks | 13:55 | |
*** petertr7_away is now known as petertr7 | 13:56 | |
*** keekz has quit IRC | 13:56 | |
*** Zucan has joined #openstack-sdks | 13:58 | |
*** boris-42 has joined #openstack-sdks | 14:00 | |
*** chlong has joined #openstack-sdks | 14:03 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:15 | |
*** keekz has joined #openstack-sdks | 14:31 | |
*** britthou_ has quit IRC | 14:39 | |
*** britthouser has joined #openstack-sdks | 14:39 | |
*** morgan_503 is now known as morgan_2549 | 15:06 | |
mordred | Shrews: if you get a sec, https://review.openstack.org/#/c/212428/2 ... keystone is on board with it | 15:17 |
*** chlong has quit IRC | 15:18 | |
Shrews | mordred: will look | 15:19 |
*** liangbo has joined #openstack-sdks | 15:27 | |
*** e0ne has joined #openstack-sdks | 15:27 | |
Shrews | mordred: keystone is onboard, but what about osc? | 15:27 |
Shrews | mordred: i sort of feel dtroyer should weigh in first | 15:28 |
mordred | Shrews: osc shouldn't care - they have a different thing named token_endpoint which would remain token_endpoint | 15:28 |
mordred | Shrews: the issue is that ksc never published a plugin called token_endpoint, but osc did | 15:29 |
Shrews | mordred: so what's preventing this from breaking the world again? | 15:29 |
mordred | Shrews: the fact that the two different plugins will now have two different names | 15:30 |
Shrews | mordred: and that had been released? | 15:30 |
Shrews | s/had/has/ | 15:30 |
Shrews | in ksc | 15:30 |
mordred | no - actually, once it's released in ksc we don't need this patch | 15:30 |
Shrews | or maybe i'm confusing myself | 15:30 |
mordred | this is just a patch to let people using occ access the ksc auth plugin using the name it will be published under before ksc releases with that patch applied | 15:31 |
mordred | it should additionally not step on the osc plugin that does a similar thing | 15:31 |
*** chlong has joined #openstack-sdks | 15:31 | |
*** etoews has joined #openstack-sdks | 15:32 | |
Shrews | mordred: ok. let me try this question: before the first revert, we broke osc. is something in place (a requirements version change maybe?) that keeps us from breaking osc again? | 15:32 |
mordred | Shrews: gotcha - so the difference is that the patch is different | 15:33 |
Shrews | oh? | 15:33 |
mordred | Shrews: we broke osc before because we looked for the name 'token_endpoint' and loaded the ksc class directly if it was there | 15:34 |
mordred | Shrews: except that osc had a different thing called token_endpoint which takes a differently named parameter (url vs. endpoint) | 15:34 |
mordred | Shrews: in this patch, we look for a plugin name 'admin_token' | 15:34 |
Shrews | ah ha! eureka... and what not | 15:34 |
Shrews | i see now | 15:34 |
mordred | yay! | 15:34 |
* Shrews just doing his due diligence. thx | 15:35 | |
openstackgerrit | Merged openstack/os-client-config: Revert "Revert "Use the correct auth_plugin for token authentication"" https://review.openstack.org/212428 | 15:37 |
*** chlong has quit IRC | 15:38 | |
*** trown is now known as trown|lunch | 15:40 | |
*** chlong has joined #openstack-sdks | 15:40 | |
*** liangbo has quit IRC | 15:41 | |
mordred | yay! | 15:42 |
*** aufi has quit IRC | 15:42 | |
*** dguerri` is now known as dguerri | 15:46 | |
*** e0ne has quit IRC | 16:09 | |
briancurtin | terrylhowe, etoews: terry - while writing up this blog post, i realized we now have both plugins and extensions inside the SDK, and they're both loaded up and worked with in teh same way. i think we should pick one name for these things, and i'm siding with plugin - thoughts? | 16:10 |
etoews | extensions is a dirty word in openstack-land. you'll immediately get people railing against extensions without even looking at what they are in the sdk. plugin++ | 16:13 |
*** david-ly_ is now known as david-lyle | 16:15 | |
*** stevemar has joined #openstack-sdks | 16:24 | |
*** pm90__ has quit IRC | 16:28 | |
*** trown|lunch is now known as trown | 16:44 | |
*** dguerri is now known as dguerri` | 17:09 | |
*** markus_z has quit IRC | 17:38 | |
*** pm90_ has joined #openstack-sdks | 17:58 | |
*** pm90__ has joined #openstack-sdks | 18:00 | |
*** pm90_ has quit IRC | 18:03 | |
*** stevemar has quit IRC | 18:08 | |
*** stevemar has joined #openstack-sdks | 18:10 | |
openstackgerrit | Merged openstack/cliff: Updated from global requirements https://review.openstack.org/210884 | 18:13 |
*** jose4183 has quit IRC | 18:14 | |
*** jose4183 has joined #openstack-sdks | 18:14 | |
*** jose4183 has quit IRC | 18:19 | |
*** jose4183 has joined #openstack-sdks | 18:19 | |
*** jose4183 has quit IRC | 18:23 | |
*** jose4183 has joined #openstack-sdks | 18:23 | |
openstackgerrit | Merged openstack/cliff: Improve help messages https://review.openstack.org/210470 | 18:30 |
*** e0ne has joined #openstack-sdks | 18:40 | |
*** britthou_ has joined #openstack-sdks | 18:43 | |
*** britthouser has quit IRC | 18:45 | |
*** e0ne has quit IRC | 19:03 | |
*** e0ne has joined #openstack-sdks | 19:09 | |
*** petertr7 is now known as petertr7_away | 19:24 | |
*** petertr7_away is now known as petertr7 | 19:29 | |
*** e0ne has quit IRC | 19:45 | |
*** e0ne has joined #openstack-sdks | 19:48 | |
terrylhowe | briancurtin: plugin is fine with me. Since ksc/ksa are going to just calling their plugins ‘auth_type’ I don’t think there will be much confusion. | 19:54 |
terrylhowe | https://bugs.launchpad.net/python-openstacksdk/+bug/1474982 | 19:57 |
openstack | Launchpad bug 1474982 in openstack-ansible "auth_plugin to auth_type" [Medium,Confirmed] | 19:57 |
terrylhowe | I’ve been kind of sitting on that one since the move to ksa will cover a lot of that | 19:58 |
*** Shrews has quit IRC | 20:47 | |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Remove connection CRUD methods https://review.openstack.org/213858 | 20:53 |
*** Shrews has joined #openstack-sdks | 20:53 | |
*** trown is now known as trown|outttypeww | 20:53 | |
*** Shrews has quit IRC | 20:53 | |
etoews | briancurtin: terrylhowe: where does module level function docs go? | 20:59 |
*** Shrews has joined #openstack-sdks | 20:59 | |
etoews | i'm looking at http://python-openstacksdk.readthedocs.org/en/latest/users/connection.html?highlight=connection#module-openstack.connection | 20:59 |
etoews | but don't see any docs for from_config (which will be a pretty important function) | 21:00 |
terrylhowe | Hmm, etoews from_config is probably missing the right doc strings | 21:01 |
etoews | i was actually updating its docstring which is how i discovered this | 21:01 |
terrylhowe | looks like automodule is set for the first section on that page | 21:02 |
etoews | i tried :members: underneath automodule:: but that didn't seem to work | 21:06 |
etoews | wait... | 21:08 |
terrylhowe | stuff like this shows up: https://github.com/stackforge/python-openstacksdk/blob/master/openstack/resource.py#L14 | 21:09 |
terrylhowe | http://python-openstacksdk.readthedocs.org/en/latest/users/resource.html#module-openstack.resource | 21:09 |
etoews | okay. it actually did work. | 21:10 |
etoews | but it comes right after the "Find or create" section and, without a section heading of its own, it's really difficult to pick out. | 21:10 |
terrylhowe | Maybe you could ======= it | 21:13 |
*** britthou_ has quit IRC | 21:14 | |
*** ameybhide has joined #openstack-sdks | 21:18 | |
etoews | alright. i found something that looks decent. | 21:21 |
openstackgerrit | Everett Toews proposed stackforge/python-openstacksdk: Improve the from_config doc https://review.openstack.org/213865 | 21:29 |
openstackgerrit | Steve Baker proposed openstack/cliff: Implement a yaml formatter in cliff https://review.openstack.org/209334 | 21:42 |
openstackgerrit | Steve Baker proposed openstack/cliff: Implement a json formatter in cliff https://review.openstack.org/213869 | 21:42 |
*** pm90__ has quit IRC | 21:42 | |
*** stevebaker has joined #openstack-sdks | 21:47 | |
stevebaker | dhellmann: are you about for a cliff question | 22:00 |
*** petertr7 is now known as petertr7_away | 22:01 | |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Move service filter out of auth https://review.openstack.org/213888 | 22:11 |
*** pm90_ has joined #openstack-sdks | 22:16 | |
*** pm90__ has joined #openstack-sdks | 22:18 | |
*** pm90_ has quit IRC | 22:21 | |
*** jose4183 has quit IRC | 22:25 | |
*** ameybhide has quit IRC | 22:28 | |
dhellmann | stevebaker: what's up? | 22:32 |
*** chlong has quit IRC | 22:34 | |
* dhellmann goes in search of food | 22:34 | |
stevebaker | dhellmann: the output of many commands exceed the width of the console, making prettytable output very unpretty. I'm wondering if console width detection could be added to cliff, and the table formatter can be given rules on how and what to truncate to fit in the console | 22:36 |
*** ameybhide has joined #openstack-sdks | 22:40 | |
*** ameybhide has quit IRC | 22:41 | |
*** e0ne has quit IRC | 22:41 | |
*** ameybhide has joined #openstack-sdks | 22:41 | |
dhellmann | stevebaker: maybe? are you offering? :-) | 23:05 |
stevebaker | dhellmann: I am :) | 23:05 |
stevebaker | since most heat output has data which exceeds screen width | 23:06 |
dhellmann | do you think it should be the default behavior, or an option? on narrow consoles I could see it making some of the output even worse | 23:06 |
dhellmann | or at least not better, I guess | 23:07 |
stevebaker | dhellmann: I'm thinking opt-in per command, so no truncation is done unless a developer specifies truncation rules. And those rules would be tailored to make output better not worse | 23:08 |
dhellmann | ah, I see | 23:08 |
stevebaker | so take something like this http://paste.openstack.org/show/419669/ | 23:09 |
dhellmann | so as a developer, how would that work? would I suggest leaving certain columns out of the output entirely? or reformat the data I'm giving in a column based on width? | 23:09 |
dhellmann | or both? | 23:10 |
stevebaker | Rules could be the Value column gets truncated when short on space, and the links row has a truncation formatter which wraps using / as a delimiter | 23:10 |
*** gildub has joined #openstack-sdks | 23:11 | |
dhellmann | we could do that already, but it would be interesting to see what a general API looks like | 23:11 |
stevebaker | other truncation formatters could cut of the end (or the start) to fit available space | 23:11 |
dhellmann | where would you tie in the rules? I guess just inside the table formatter? | 23:12 |
stevebaker | and truncation would never be attempted if there is no interactive console, or if they specify the table formatter arg --dontdothatplease | 23:13 |
stevebaker | dhellmann: haven't got that far yet :) first challange is how to add console width detection | 23:13 |
stevebaker | width detection is different on py27/py3/linux/windows, so it might be better to add blessings as a dependency https://pypi.python.org/pypi/blessings/1.6 | 23:14 |
dhellmann | stevebaker: https://pypi.python.org/pypi/terminaltables/1.0.2 | 23:16 |
dhellmann | or blessings | 23:17 |
stevebaker | a better PrettyTable, even better | 23:18 |
stevebaker | dhellmann: its not obvious whether terminaltables does width detection. I'll have a play | 23:21 |
dhellmann | stevebaker: ++ | 23:24 |
openstackgerrit | Merged stackforge/python-openstacksdk: Improve the from_config doc https://review.openstack.org/213865 | 23:29 |
*** britthouser has joined #openstack-sdks | 23:57 | |
*** britthou_ has joined #openstack-sdks | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!