Monday, 2015-04-20

*** etoews has quit IRC01:49
*** britthou_ has quit IRC02:13
*** britthouser has joined #openstack-sdks02:13
*** stevemar has joined #openstack-sdks02:14
*** jamielennox is now known as jamielennox|away02:58
*** jamielennox|away is now known as jamielennox03:03
*** subscope has joined #openstack-sdks04:25
*** subscope has quit IRC04:47
*** boris-42 has quit IRC04:58
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Imported Translations from Transifex  https://review.openstack.org/17526806:04
*** stevemar has quit IRC06:40
*** aufi has joined #openstack-sdks06:46
*** jamielennox is now known as jamielennox|away06:52
*** stevemar has joined #openstack-sdks06:54
*** chlong has quit IRC07:29
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Refactor utility to find identity resources  https://review.openstack.org/17518407:51
*** stevemar has quit IRC08:06
*** f13o has joined #openstack-sdks08:47
*** chlong has joined #openstack-sdks08:50
*** chlong has quit IRC09:20
*** chlong has joined #openstack-sdks09:32
*** boris-42 has joined #openstack-sdks09:51
*** chlong has quit IRC11:58
*** trown|outttypeww is now known as trown12:13
*** bknudson has quit IRC12:26
*** jamielennox|away is now known as jamielennox12:31
*** jamielennox is now known as jamielennox|away12:32
*** bknudson has joined #openstack-sdks12:55
*** pm90_ has joined #openstack-sdks13:06
*** f13o has quit IRC13:07
*** f13o has joined #openstack-sdks13:12
*** pm90_ has quit IRC13:22
*** pm90_ has joined #openstack-sdks13:23
*** sigmavirus24_awa is now known as sigmavirus2413:42
*** mattfarina has joined #openstack-sdks13:45
*** terrylhowe has joined #openstack-sdks13:45
*** stevemar has joined #openstack-sdks14:39
*** f13o has quit IRC14:40
*** f13o has joined #openstack-sdks14:40
*** pm90_ has quit IRC14:56
*** beekneemech is now known as bnemec15:10
stevemardtroyer, if you have a minute, can you look at: https://review.openstack.org/#/c/175184/15:33
stevemarit's failing tests, but because the fake object's __module__ defaults to 'mock' instead of another value15:34
stevemaractually, i'll clean it up differently15:37
dtroyersee, if I wait long enough things resolve themselves… ;)15:37
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Refactor utility to find identity resources  https://review.openstack.org/17518415:44
openstackgerritTerry Howe proposed openstack/python-openstackclient: Handle the pagination for image list  https://review.openstack.org/17342015:49
*** pm90_ has joined #openstack-sdks16:08
dtroyerstevemar: so, I'll make one attempt at philosophical purity then move on… in _find_identity_resource() could you pass in the actual resource type and have a single object creation at the end?  and only branch if we have a type later on that doesn't fit the id/name pattern?16:20
stevemardtroyer, passin users.User as resource_type, and call return resource_type(None, {...}) ?16:22
dtroyerright16:23
dtroyerit gets rid of the type-specific branching in a common method16:23
dtroyeror jsut return name_or_id and do that in the calling method16:24
stevemarthats cool with me, i was thinking of something like that, but didn't kow if it would work16:25
stevemarbut, it does!16:25
dtroyerdynamic typing FTW!16:26
dtroyerI will admit after a weekend of Go that's nice to not think so hard about16:26
*** aufi has quit IRC16:31
*** trown is now known as trown|lunch16:39
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Refactor utility to find identity resources  https://review.openstack.org/17518416:40
stevemardtroyer, added helpful docstrings too!16:40
dtroyernice16:44
sdaguehey, so I have a UX gripe about the fact that -h and help are different16:45
sdagueI keep end up typing the wrong one in the wrong context, it would be really nice if they were unified16:46
dtroyerthey are implemented totally differently internally…it could be done, it just isn't a shake-the-box thing to fix16:47
dtroyerso would you have the presence/absens of something that looked command-like be ther trigger to decide between command help and global help?16:47
sdagueyeh16:50
sdaguehonestly, the fact that "openstack" with no options takes me to a shell, it's entirely helpful16:50
sdagueespecially when you compare that to 'nova' with no args16:51
stevemarsdague, bknudson had the same issue with no args16:52
bknudsonstevemar: how did you know?16:52
stevemarbknudson, you mentioned it way back when16:52
bknudsonah... I thought I had kept it to myself.16:52
stevemaror i can read minds16:53
bknudsonI have a lot of pent up rage.16:53
stevemartaking notes from mriedeman again16:53
bknudsonhe's my idol.16:53
stevemardtroyer, maybe it's time to re-evaluate our help UX16:54
bknudsonthe openstack command prompt and help issues don't bother me that much.16:55
bknudson"openstack help" says that -h "shows this help message", but -h actually shows useful help text.16:56
*** f13o has quit IRC16:57
bknudsonand help from the command prompt is totally different.16:58
dtroyerstevemar: I'm sure we can improve things but we're getting really close to purely preference issues16:58
bknudsonI didn't know there was a "hi" command.16:58
dtroyerwhether we change anything or not we need to write down the rationale so we don't have this conversation next year16:58
dtroyerbknudson: that's a cmd2 built-in16:59
dtroyerI've always also wanted to do Cisco IOS-style shortcuts16:59
dtroyerbut that's even more runtime startup stuff that we don't need16:59
dtroyeranyway, I see a summit conversation coming17:00
sdaguealso "openstack help" doesn't work without auth17:00
stevemardtroyer, add it to the etherpad17:00
stevemarsdague, it should now with the latest release17:00
sdaguewhich seems wierd17:00
stevemaror will, when we release it17:00
stevemarsdague, that was actually a regression17:01
sdagueoh, this is 1.0.217:01
bknudsonI've got 1.0.3 and openstack help works for me.17:01
dtroyerdid that come with —so-cloud?17:01
stevemarsdague, try 1.0.317:01
stevemari don't remember where the fix for that fell, but it's either there or master17:01
stevemarsteppin out for a bit17:02
dtroyeralso, help is dependent on API versions selected, which it totally non-intuitive17:02
sdagueyeh, let me rebuild this box17:02
dtroyerhelp is hard17:02
dtroyerbut not too hard17:02
sdagueoh, right, and the whole fact that you don't get volumes commands if you source openrc17:02
dtroyerthat's the version thing17:03
bknudsonI ran into an issue where I had to set the cinder_api_version or something for boot... it was 2 and openstack cli complained it needed to be 2.17:04
bknudsonunfortunately I didn't write it down.17:04
dtroyerit probably needed to be OS_VOLUME_API_VERSION=1, osc doesn't do volume v2 yet17:05
sdaguedtroyer: so, we should probably delete that bit from devstack17:09
sdagueit goes back to 201317:10
sdaguebut seems weird to set there17:10
*** pm90_ has quit IRC17:14
*** pm90_ has joined #openstack-sdks17:19
openstackgerritTerry Howe proposed openstack/python-openstackclient: Handle the pagination for image list  https://review.openstack.org/17342017:23
openstackgerritMerged stackforge/python-openstacksdk: Apply delete API changes  https://review.openstack.org/17490417:30
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Dynamically load services  https://review.openstack.org/15536217:33
openstackgerritMerged stackforge/python-openstacksdk: Apply object_store delete changes  https://review.openstack.org/17501717:49
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Apply delete changes to identity proxies  https://review.openstack.org/17492217:51
*** mattfarina has quit IRC18:04
*** trown|lunch is now known as trown18:08
*** mattfarina has joined #openstack-sdks18:16
openstackgerritMerged stackforge/python-openstacksdk: Apply delete changes to identity proxies  https://review.openstack.org/17492218:30
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Apply delete changes to keystore proxy  https://review.openstack.org/17494718:37
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Apply delete changes to image proxies  https://review.openstack.org/17494418:38
openstackgerritMerged stackforge/python-openstacksdk: Apply orchestration delete change  https://review.openstack.org/17502019:29
openstackgerritMerged stackforge/python-openstacksdk: Apply telemetry delete change  https://review.openstack.org/17502119:33
*** chellygel has left #openstack-sdks19:33
openstackgerritMerged stackforge/python-openstacksdk: Apply network delete changes  https://review.openstack.org/17501119:34
openstackgerritMerged stackforge/python-openstacksdk: Apply delete changes to keystore proxy  https://review.openstack.org/17494719:45
openstackgerritMerged stackforge/python-openstacksdk: Apply delete changes to image proxies  https://review.openstack.org/17494419:46
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Proxy get method  https://review.openstack.org/16435119:52
*** pm90_ has quit IRC20:09
openstackgerritMerged openstack/python-openstackclient: Imported Translations from Transifex  https://review.openstack.org/17526820:27
openstackgerritMerged openstack/python-openstackclient: Handle the pagination for image list  https://review.openstack.org/17342020:35
*** etoews has joined #openstack-sdks20:44
*** pm90_ has joined #openstack-sdks20:45
*** pm90_ has quit IRC20:45
*** pm90_ has joined #openstack-sdks20:46
etoewsterrylhowe: do you have a minute to chat about https://review.openstack.org/#/c/174980/4 ?20:48
*** stevemar has quit IRC20:58
*** trown is now known as trown|outttypeww21:04
*** mattfarina has quit IRC21:37
*** pm90_ has quit IRC22:21
etoewsterrylhowe: i commented in the review. we can also discuss at the meeting tomorrow if we don't get to it before then.22:26
*** bknudson has quit IRC22:26
*** chlong has joined #openstack-sdks23:34
*** jamielennox|away is now known as jamielennox23:45
*** sigmavirus24 is now known as sigmavirus24_awa23:46
*** openstackgerrit has quit IRC23:58
*** openstackgerrit has joined #openstack-sdks23:58

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