Friday, 2015-07-17

*** openstack has joined #openstack-sdks00:05
*** boris-42 has quit IRC00:12
*** stevemar has joined #openstack-sdks00:23
*** Qiming has joined #openstack-sdks00:27
*** stevemar has quit IRC00:32
*** shaleh has quit IRC00:36
*** sigmavirus24 is now known as sigmavirus24_awa00:37
openstackgerritMerged openstack/python-openstackclient: Fix the way we call find_resource when only using ID  https://review.openstack.org/20239500:38
openstackgerritMerged openstack/python-openstackclient: add --project-domain option for user v3  https://review.openstack.org/20264500:38
*** barra204 has quit IRC00:39
*** pm90_ has quit IRC01:17
*** pm90_ has joined #openstack-sdks01:36
*** Yanyanhu has joined #openstack-sdks01:37
openstackgerritQiming Teng proposed stackforge/python-openstacksdk: Add missing docstrings  https://review.openstack.org/20284101:46
*** tobe_ has joined #openstack-sdks01:49
*** hitalia has quit IRC02:08
*** chlong-afk has quit IRC02:37
*** chlong has joined #openstack-sdks02:42
*** stevemar has joined #openstack-sdks02:44
*** stevemar has quit IRC02:49
*** pm90_ has quit IRC02:54
*** Qiming has quit IRC03:02
*** boris-42 has joined #openstack-sdks03:14
*** Qiming has joined #openstack-sdks03:28
*** pm90_ has joined #openstack-sdks03:28
*** stevemar has joined #openstack-sdks03:46
openstackgerritMerged openstack/python-openstackclient: only return endpoints that have url  https://review.openstack.org/20191103:57
*** hitalia has joined #openstack-sdks04:09
*** pm90_ has quit IRC04:12
openstackgerritheha proposed openstack/python-openstackclient: Add "project create --or-show" into the Doc In the Doc,there's not information of the "project create --or-show".Add it into the Doc.  https://review.openstack.org/20287504:37
*** pm90_ has joined #openstack-sdks04:38
*** britthou_ has joined #openstack-sdks04:38
*** britthouser has quit IRC04:40
*** tobe_ has quit IRC04:53
openstackgerritheha proposed openstack/python-openstackclient: Add "project create --or-show" into the Doc In the Doc,there's not information of the "project create --or-show".Add it into the Doc.  https://review.openstack.org/20287504:58
*** stevemar_ has joined #openstack-sdks05:04
*** stevemar has quit IRC05:07
*** dguerri` is now known as dguerri05:19
*** boris-42_ has joined #openstack-sdks05:20
*** boris-42 has quit IRC05:23
*** zz_steveortiz has quit IRC05:23
*** zz_steveortiz has joined #openstack-sdks05:24
*** boris-42_ is now known as boris-4205:24
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add functional tests for volume qos  https://review.openstack.org/19882305:32
*** pm90__ has joined #openstack-sdks05:40
openstackgerritheha proposed openstack/python-openstackclient: Add "--os-show" to "project create" and "role create" In the Doc,there's not information of the "project create --or-show" and "role create --or-show".Add it into the Doc. Fixes Bug1475485  https://review.openstack.org/20288605:43
*** pm90_ has quit IRC05:43
openstackgerritGuojian Shao proposed openstack/python-openstackclient: enhance tests for user v3  https://review.openstack.org/20268705:45
*** tobe_ has joined #openstack-sdks05:46
openstackgerritGuojian Shao proposed openstack/python-openstackclient: enhance tests for user v3  https://review.openstack.org/20268705:47
openstackgerritheha proposed openstack/python-openstackclient: Add "--os-show" to "project create" and "role create" In the Doc,there's not information of the "project create --or-show" and "role create --or-show".Add it into the Doc. Fixes Bug1475485  https://review.openstack.org/20288705:51
*** pm90_ has joined #openstack-sdks05:55
*** pm90__ has quit IRC05:59
*** guojian has joined #openstack-sdks06:00
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Support multiple volume qos delete  https://review.openstack.org/19882206:02
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: add functional tests for identity v2  https://review.openstack.org/20190606:03
*** stevemar_ has quit IRC06:03
*** stevemar has joined #openstack-sdks06:04
*** stevemar_ has joined #openstack-sdks06:06
*** ParsectiX has joined #openstack-sdks06:07
*** ig0r_ has joined #openstack-sdks06:08
*** stevemar has quit IRC06:09
ParsectiXGood Morning :)06:09
*** stevemar_ has quit IRC06:10
*** terrylhowe has quit IRC06:16
*** tobe_ has quit IRC06:16
openstackgerritMerged openstack/python-openstackclient: Drop py33 support for Liberty  https://review.openstack.org/20133106:26
*** tobe_ has joined #openstack-sdks06:31
*** karimb has joined #openstack-sdks06:32
*** aufi has joined #openstack-sdks06:38
*** dguerri is now known as dguerri`06:40
*** jaosorior has joined #openstack-sdks06:43
*** ig0r_ has quit IRC06:45
*** ig0r_ has joined #openstack-sdks06:49
*** pm90_ has quit IRC06:49
*** boris-42 has quit IRC07:12
*** hitalia has quit IRC07:31
openstackgerritGuojian Shao proposed openstack/python-openstackclient: add functional tests for identity v3  https://review.openstack.org/20157408:09
*** zacksh has quit IRC08:10
*** zacksh has joined #openstack-sdks08:13
openstackgerritheha proposed openstack/python-openstackclient: Add "--os-show" to "project create" and "role create" In the Doc,there's not information of the "project create --or-show" and "role create --or-show".Add it into the Doc. Fixes Bug1475485  https://review.openstack.org/20292108:30
openstackgerritGuojian Shao proposed openstack/python-openstackclient: enhance tests for user v3  https://review.openstack.org/20268708:46
openstackgerritheha proposed openstack/python-openstackclient: Add "--os-show" to "project create". In the Doc,there's not information of the "project create --or-show".Add it into the Doc. Fixes Bug1475485  https://review.openstack.org/20293108:59
openstackgerritGuojian Shao proposed openstack/python-openstackclient: add functional tests for identity v2  https://review.openstack.org/20190609:00
*** ParsectiX has quit IRC09:00
*** ParsectiX has joined #openstack-sdks09:05
openstackgerritchengkunye proposed openstack/python-openstackclient: add volume type commands in v2 "volume type create and volume type list"  https://review.openstack.org/20293409:09
*** Yanyanhu has quit IRC09:17
*** VeggieMeat has quit IRC09:18
*** VeggieMeat has joined #openstack-sdks09:18
*** tobe_ has quit IRC09:25
*** zacksh has quit IRC09:25
*** zacksh has joined #openstack-sdks09:26
*** VeggieMeat has quit IRC09:34
*** VeggieMeat has joined #openstack-sdks09:35
*** Qiming has quit IRC10:01
*** ParsectiX has quit IRC10:05
*** ParsectiX has joined #openstack-sdks10:06
*** ParsectiX has quit IRC10:15
*** openstackgerrit has quit IRC10:31
*** openstackgerrit has joined #openstack-sdks10:32
*** ParsectiX has joined #openstack-sdks10:35
*** jaosorior has quit IRC10:36
*** Qiming has joined #openstack-sdks10:53
*** VeggieMeat has quit IRC11:28
*** VeggieMeat has joined #openstack-sdks11:28
*** terrylhowe has joined #openstack-sdks11:30
*** VeggieMeat has quit IRC11:32
*** VeggieMeat has joined #openstack-sdks11:32
*** VeggieMeat has quit IRC11:40
*** VeggieMeat has joined #openstack-sdks11:40
*** thrash has quit IRC12:03
*** VeggieMeat has quit IRC12:08
*** VeggieMeat has joined #openstack-sdks12:08
*** trown|outttypeww is now known as trown12:14
*** stevemar has joined #openstack-sdks12:25
*** VeggieMeat has quit IRC12:26
*** VeggieMeat has joined #openstack-sdks12:26
*** stevemar has quit IRC12:29
*** guojian has quit IRC12:38
*** guojian has joined #openstack-sdks12:39
*** VeggieMeat has quit IRC12:44
*** VeggieMeat has joined #openstack-sdks12:44
*** thrash has joined #openstack-sdks12:47
*** pm90_ has joined #openstack-sdks12:50
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add wait for delete method  https://review.openstack.org/19379312:55
*** social has quit IRC12:57
*** edleafe is now known as figleaf13:03
openstackgerritMerged openstack/os-client-config: Remove py26 and py33 from tox.ini  https://review.openstack.org/20278413:09
*** bnemec has joined #openstack-sdks13:11
openstackgerritLin Hua Cheng proposed openstack/python-openstackclient: Support multiple volume qos delete  https://review.openstack.org/19882213:15
*** stevemar has joined #openstack-sdks13:20
openstackgerritTerry Howe proposed openstack/python-openstackclient: Add functional tests for volume qos  https://review.openstack.org/19882313:21
*** stevemar has quit IRC13:25
openstackgerritBrant Knudson proposed openstack/python-openstackclient: Query args for get-only  https://review.openstack.org/20274813:25
openstackgerritBrant Knudson proposed openstack/python-openstackclient: Revert "Fix the way we call find_resource when only using ID"  https://review.openstack.org/20302513:25
*** zz_steveortiz is now known as steveortiz13:25
*** VeggieMeat has quit IRC13:26
openstackgerritBrant Knudson proposed openstack/python-openstackclient: Same exception handling for gets() in find_resource  https://review.openstack.org/20276013:26
*** VeggieMeat has joined #openstack-sdks13:26
openstackgerritMerged openstack/os-client-config: Have service name default to None  https://review.openstack.org/20131113:27
openstackgerritMerged openstack/os-client-config: Rename 'endpoint_type' to 'interface'  https://review.openstack.org/20170413:28
*** dguerri` has quit IRC13:37
*** pm90_ has quit IRC13:38
*** dguerri` has joined #openstack-sdks13:40
*** dguerri` is now known as dguerri13:41
*** dguerri has joined #openstack-sdks13:41
*** Shrews has quit IRC13:41
*** Shrews has joined #openstack-sdks13:43
*** stevemar has joined #openstack-sdks13:44
*** stevemar has quit IRC13:48
*** jaosorior has joined #openstack-sdks13:49
*** stevemar has joined #openstack-sdks13:51
*** stevemar_ has joined #openstack-sdks13:52
*** stevemar has quit IRC13:55
openstackgerritMerged openstack/python-openstackclient: Rename endpoint type to interface  https://review.openstack.org/19850613:55
*** notmars has joined #openstack-sdks13:57
*** stevemar_ has quit IRC13:57
*** stevemar has joined #openstack-sdks13:58
*** sigmavirus24_awa is now known as sigmavirus2414:06
*** ParsectiX has quit IRC14:12
openstackgerritTerry Howe proposed openstack/python-openstackclient: Support multiple volume qos delete  https://review.openstack.org/19882214:14
openstackgerritTerry Howe proposed openstack/python-openstackclient: Add functional tests for volume qos  https://review.openstack.org/19882314:15
*** guojian has quit IRC14:21
*** aufi has quit IRC14:26
openstackgerritchengkunye proposed openstack/python-openstackclient: add volume type commands in v2 "volume type create and volume type list"  https://review.openstack.org/20293414:52
openstackgerritBrant Knudson proposed openstack/python-openstackclient: Same exception handling for gets() in find_resource  https://review.openstack.org/20276014:54
openstackgerritTerry Howe proposed openstack/python-openstackclient: Remove unnecessary test extension mock  https://review.openstack.org/19962814:54
stevemarterrylhowe: do you have any idea whats going on with the patche?14:54
stevemars14:54
stevemari keep getting merge conflicts in gerrit14:54
terrylhoweYeh, I’ve downloaded it twice and it is fine14:55
terrylhoweI’m just going to let it sit a little while and see if those responses are from earlier patches or something14:55
openstackgerritTerry Howe proposed openstack/python-openstackclient: add functional tests for identity v3  https://review.openstack.org/20157415:00
*** bknudson has joined #openstack-sdks15:03
*** pm90_ has joined #openstack-sdks15:11
*** pm90__ has joined #openstack-sdks15:13
*** pm90_ has quit IRC15:15
*** shaleh has joined #openstack-sdks15:19
*** notmars has quit IRC15:21
*** notmars has joined #openstack-sdks15:23
shalehanother newbie question15:32
briancurtinterrylhowe: i'm not sure i understand this linger_for_delete method. it makes me think we're solving the problem in a way that might be better off done by splitting the tests up differently. when i was thinking of the object_store functional tests, there are going to be a lot of classes since there are pre and post conditions that are very different between15:32
briancurtinaccount, container, and object15:32
shalehwhy does OSC not just take a --config argument instead of using environment variables?15:33
terrylhoweshaleh: —os-cloud15:33
briancurtinterrylhowe: and i think trying to stuff things together in one class, this linger_for_delete makes sense, but if we did the wait_for_delete related test in its own class, it wouldnt need to linger and not affect other tests15:33
shalehterrylhowe: I can set all of my OS_* options in an ini style file and give it to --os-cloud and OSC will just work?15:34
briancurtinterrylhowe: i'm not super opposed to that method right now, but i think we're going to find that functional tests get easier if they're organized perhaps around class-per-proxy-method instead of class-per-service15:34
terrylhoweIMO the server shouldn’t mark the object deleted until all this children are gone briancurtin15:34
terrylhowebut that is not the case15:34
briancurtini dont know what that means (the children part of it)15:34
terrylhoweshaleh: —os-cloud uses a yaml file15:35
terrylhowebriancurtin: that linger is just for clean up of things we were using networks, etc15:36
terrylhoweyou can’t delete the network until the ports are deleted.  The server goes away and the ports are deleted yet, so you can’t delete the network15:37
shalehterrylhowe: nifty. Why do so many wiki docs focus on the env then. A config file is sooo much more convenient.15:37
terrylhoweshaleh: the config file has only been around a couple months15:38
shalehterrylhowe: I do not see a way to say "read this yaml"15:38
terrylhowelike os config show?15:38
shalehterrylhowe: no, like "my config lives in proj/this_cloud/clouds.yaml"15:39
briancurtinterrylhowe: fyi im working on that "create doesn't update all attrs" thing, changing it around to use the nicely named "update_attrs", however, that's breaking some of the tests...but in a way that im trying to figure out is even worth keeping around15:39
terrylhowethere are ways to change the path, but on Linux ~/.config/openstack/clouds.yaml15:39
terrylhowebriancurtin: the object store save got broken in some mock upgrade BTW15:40
terrylhoweI’m trying to fix that15:40
terrylhoweshaleh: looks like mac uses the same path15:41
terrylhoweshaleh: I assume you are looking at http://docs.openstack.org/developer/python-openstackclient/configuration.html15:41
shalehterrylhowe: yes15:42
shalehlooking at os-client-config the list of file names is hard coded15:42
shalehterrylhowe: it would be easy enough for OpenStackConfig() to take another parameter like "preferred_configs" which it looks for first then it tries "config_files"15:46
shalehterrylhowe: this way OSC could send it a user specified clouds(-public) yaml15:47
terrylhowedoesn’t it do /etc, ~/.config/openstack, and then current dir? shaleh  ?15:48
shalehterrylhowe: yes, only those three. Not "my team stores it in git and checks it out in /opt/our_config"15:48
terrylhoweI don’t have a need for anything else.  It also seemed like you could change the name of the file with OS_CLOUD_NAME or something15:48
*** chlong has quit IRC15:49
shalehterrylhowe: or I manage a bunch of clouds so I would like to be sure to use THIS config right now15:50
terrylhowenevermind that one15:50
terrylhoweOS_CLOUD_NAME is for something else15:50
shalehterrylhowe: for now I can propose an OSC patch which adds a --cloud-config <path> and a --cloud-public-config <path> and uses those to set the OpenStackConfig object.15:53
shalehterrylhowe: unless you can suggest a better name for the arguments?15:53
terrylhoweshaleh: seems like the arguments should at least be prefixed with —os- like all the other options of those sort.  It would be nicer if you could figure out how to work with occ without getting osc involved15:56
shalehterrylhowe: I left out the OS because this is specific to the CLI. All of the other OS options specific actual cloud bits.15:56
terrylhowelast thing osc needs is more arguments15:56
shalehterrylhowe: occ already supports this with no change. You just pass OpenStackConfig(config_files=[/path/to/my/yaml], vendor_files=[/path/to/my/public-yaml])15:57
shalehterrylhowe: using the yaml means way less options on the command line :-)15:57
shalehit also means a shell oriented test rig can load the right yaml for a group of tests15:58
terrylhoweusing the configuration file is the only way15:58
*** notmars has quit IRC16:11
openstackgerritOpenStack Proposal Bot proposed openstack/cliff: Updated from global requirements  https://review.openstack.org/20311216:11
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Update mock requirements  https://review.openstack.org/20311816:15
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/20314316:18
openstackgerritOpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/20315416:20
*** jaosorior has quit IRC16:26
*** Qiming has quit IRC16:40
*** stevemar has quit IRC16:42
*** stevemar has joined #openstack-sdks16:43
*** hitalia has joined #openstack-sdks16:46
*** stevemar has quit IRC16:48
*** sigmavirus24 has quit IRC16:52
*** sigmavirus24 has joined #openstack-sdks16:53
*** stevemar has joined #openstack-sdks16:55
dtroyer_zzs0lman1116:56
*** stevemar_ has joined #openstack-sdks16:56
*** sigmavirus24 has quit IRC16:57
*** stevema__ has joined #openstack-sdks16:58
terrylhoweI should just call it a weekend and come back when everone is done breaking mock16:59
*** stevemar has quit IRC17:00
*** sigmavirus24 has joined #openstack-sdks17:01
*** stevemar_ has quit IRC17:01
shalehterrylhowe: :-)17:01
*** stevema__ has quit IRC17:02
dtroyer_zzso, uh, yeah… WTF is goin on in Gerrit?17:10
*** trown is now known as trown|lunch17:12
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Remove requirements.txt from tox.ini  https://review.openstack.org/20316817:17
dtroyer_zzFTR, -infra scrollback is helpful…17:18
openstackgerritTerry Howe proposed openstack/python-openstackclient: Remove requirements.txt from tox.ini  https://review.openstack.org/20317017:21
openstackgerritTerry Howe proposed openstack/cliff: Remove requirements.txt from tox.ini  https://review.openstack.org/20317517:25
openstackgerritTerry Howe proposed openstack/os-client-config: Remove requirements.txt from tox.ini  https://review.openstack.org/20317817:26
openstackgerritTerry Howe proposed openstack/cliff: Drop py26 support for Liberty  https://review.openstack.org/20318217:38
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Drop py33 support  https://review.openstack.org/20318317:39
openstackgerritTerry Howe proposed openstack/python-openstackclient: Drop py26 for Liberty  https://review.openstack.org/20318517:41
*** notmars has joined #openstack-sdks17:42
briancurtinterrylhowe: what's the reason behind dropping 3.3? i'm 100% for us having dropped 3.2 back when we did since 3.3+ made dual-version codebases a little better (i think this was way early on), but I don't know what dropping 3.3 means here17:43
terrylhowehmm, there was some discussion about this a while back briancurtin let me see if I can find it17:43
*** boris-42 has joined #openstack-sdks17:44
*** karimb has quit IRC17:44
terrylhowebriancurtin: https://wiki.openstack.org/wiki/Python317:45
openstackgerritMerged openstack/python-openstackclient: add functional tests for identity v3  https://review.openstack.org/20157418:24
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Fix spelling in proxy  https://review.openstack.org/20320418:37
openstackgerritSean Perry proposed openstack/python-openstackclient: Allow user to specify their own clouds.yaml or clouds-public.yaml file  https://review.openstack.org/20321118:54
*** bknudson has quit IRC19:00
*** stevemar has joined #openstack-sdks19:03
*** stevemar has quit IRC19:12
*** stevemar has joined #openstack-sdks19:13
*** stevemar_ has joined #openstack-sdks19:15
*** stevemar has quit IRC19:17
*** stevemar_ has quit IRC19:20
*** trown|lunch is now known as trown19:20
*** stevemar has joined #openstack-sdks19:24
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add configuration function using os-client-config  https://review.openstack.org/19153519:26
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Remove unnecessary test extension mock  https://review.openstack.org/19962819:30
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: enhance tests for user v3  https://review.openstack.org/20268719:34
*** ig0r_ has quit IRC19:47
shalehterrylhowe: you here?19:59
*** pm90__ has quit IRC20:06
*** figleaf is now known as edleafe20:09
*** stevemar has quit IRC20:16
*** stevemar has joined #openstack-sdks20:29
*** stevemar has quit IRC20:34
*** pm90_ has joined #openstack-sdks20:39
shalehdtroyer_zz: you around?20:40
*** pm90__ has joined #openstack-sdks20:40
dtroyer_zzshaleh: for a little while yet20:41
*** stevemar has joined #openstack-sdks20:42
*** pm90_ has quit IRC20:43
*** stevemar has quit IRC20:46
openstackgerritMerged stackforge/python-openstacksdk: Update mock requirements  https://review.openstack.org/20311820:47
*** stevemar has joined #openstack-sdks20:53
shalehdtroyer_zz: I responded to your comments on my review. I was looking to hash some of it out. You mention documenting design of the config. Where should we do that?20:54
*** bnemec has quit IRC20:54
shalehdtroyer_zz: while I like gerrit I find it is missing any form of useful way to express "yes I have thought of this". Writing up lots of design docs for what should be simple stuff is also a little frustrating.20:55
openstackgerritDean Troyer proposed openstack/python-openstackclient: Set up every time record log in file  https://review.openstack.org/18672020:56
*** stevemar has quit IRC20:57
dtroyer_zzshaleh: agreed on doing design in Gerrit.  But the results should be in the OSC docs.  It looks like you made some minor adds to that, it could be expanded a bit.  And it feels like somewhere we need to write out use cases describing in words how to accomplish some of these things (don't hold up this review for that though)20:59
*** stevemar has joined #openstack-sdks20:59
dtroyer_zzso to your point about multiple clouds… this is exactly the situation I had at Nebula, multiple coulds all defined in clouds-public.yaml that we could share20:59
dtroyer_zzmy personal creds went into clouds.yaml.21:00
shalehdtroyer_zz: if configuration.rst is sufficient I can add more there.21:00
dtroyer_zzand sometimes I still needed to override that for project name or something if I needed to be different for a particular task, then —os-project-name21:00
shalehdtroyer_zz: I find ~/.foo files extremely annoying. I end up using lots of machines and VMs. Needing to ensure I have the right file in the right place annoys me when i can just say --config=/path/foo21:01
dtroyer_zzdo yo do that for .vimrc and .gitconfig etc?21:01
dtroyer_zzthat's why I have a dotfiles git repo… ;)21:01
shalehgit when needed, but i often check in from one main machine21:02
shalehI use emacs and I can function just fine on the vanilla config21:02
shalehwhen I live for a long time on a machine I bring my nest over21:02
dtroyer_zzso not everybody is like me, sure, but I want to be REALLY certain we only add useful things , so I'm pushing back a bit21:02
dtroyer_zzemacs, of course  ;)21:02
shalehdtroyer_zz: :-)21:03
shalehI appreciate the push back. It is always good to question why when adding or removing.21:03
dtroyer_zzIm my Sa days I had a script to copy over the bare minimum stuff…21:03
shalehAs a newbie, I am impressed with the level of discipline and review here21:03
dtroyer_zzanyway, I know there are many ways of handling this, I just want to find the right subset21:03
*** trown is now known as trown|outttypeww21:03
*** stevemar has quit IRC21:04
shalehdtroyer_zz: I am open to designs that give more flexibility than the hard coded list we have today21:04
shalehmy solution may not be the best21:04
shalehit was easy to make and show the value21:04
dtroyer_zzso don't take it personally that I'm needing convincing on this.  I don't recall if you were in the room in YVR Friday when we talked about config files vs env vars vs cli args.  we beat that to death...21:04
shalehI wasn't21:05
dtroyer_zzcool21:05
shalehengineers need to bash on stuff. Arguments about what and why are fine by me.21:05
shalehunless it becomes personal I do not take it personal21:05
dtroyer_zzbut we came out with I think agreement.  so the idea of being able to override the filenames is a good one, I'm not certain of how I want it to work.  at this point its things like the rules for selection (you have doc'ed that bit) and if any 'merging' happens (currently no) etc.21:06
shalehright21:06
shalehThe current OpenStackConfig class does not make adding to the search path easy21:07
shalehbut it makes sense if the user said "no this one" we do not need the search list.21:07
dtroyer_zzI'm OK with no env var forr this (even thoughj OS_CLOUD is a thing)21:07
shalehPlus, they may think "clouds.yaml" is a dumb name :-)21:07
shalehmy-really-cool-name-with-git-id-efawf-asdfaw-adfa-adsfa-.yaml all the way, ya know?21:08
dtroyer_zzI didn't pick that name ;)  but the idea is that this is a common paradigm for multiple tools and I don't want to diverge too much21:08
dtroyer_zzso if we can keep things easily adoptable by other tools (I only know of shade using o-c-c but I think there are others) that would be good21:09
shalehfair enough. I figured by allowing short circuit but leaving existing behavior I kept with that21:09
dtroyer_zzThis is a good first cut.  Makes me thing about the right questions… hopefully we find all of the relevant questions here21:09
shalehOCC supports what I did, no changes needed. I just passed in my own config_files=[] and vendor_files=[]21:10
shalehso re: consistency I do not think it breaks it21:10
dtroyer_zzsure, but if there is login other tools might want it would be good to make it common, if it doesn't break the separation of duties21:10
shalehprovided other OpenStack clients also allow the overriding21:10
dtroyer_zztoo often we over-normalize things, but we need to be sure not doing so is the right decision21:11
dtroyer_zzanyway, it must be Friday because I'm jabbering on here...21:11
shalehI brought this up on Terry's review for the SDK earlier. By hiding the OpenStackConfig object I could not do the same thing as a user of the SDK21:11
shalehMy plan was to bring this up with the docs team once my patch was accepted21:12
shalehthings like the install guide need to mention clouds.yaml instead of the ENV vars21:12
*** dguerri is now known as dguerri`21:12
shalehI was about to investigate making a patch when I found out it already existed21:13
shalehdtroyer_zz: how does one go about bringing things up to a wider audience? The mailing lists are noisy as hell21:15
dtroyer_zzit depends on the audience… they are noisy, but lots of us use filtering so the things we want to see can be found.21:15
dtroyer_zzthe docs team just needs some direct input on their guides about things like OSC.  we'll have to write it ourselves to get it complete21:16
shalehclearly there is some consensus missing on this. Gerrit may not be the best place to find it.21:16
dtroyer_zzremember, env vars and cli args were allw e had until april or so21:16
shalehdtroyer_zz: right.21:16
dtroyer_zzso most folk are used to managing multiple .openrc-like files21:16
dtroyer_zzand there's your multiple config file handling ;)21:17
shalehdtroyer_zz: :-) yeah, logging in and out to switch configs is frustrating as hell21:17
dtroyer_zzno need for that, I had a couple of scripts to do it all21:17
dtroyer_zzthey even sourced the password from other private files.  that's one thing we lose here21:18
shalehwe the -public versus just clouds.yaml provides it fairly well21:19
shalehunrelated. Does anyone know why self.assertRaises is acting like the 2.6 version when I run a 2.7 test? "with self.assertRaises(Exception): blah" should work21:20
briancurtinwhose assertRaises are you calling? unittest, unittest2, testtools?21:21
briancurtintesting in openstack is a real joy21:21
shalehbriancurtin: yeah, I am discovering there are choices. I was not expecting that21:21
shalehTestCase.assertRaises from Python's unittest module works just fine.21:22
shalehMust be something busted in the open stack test libs.21:22
briancurtin100% chance of that21:22
shalehbriancurtin: yup, testtools uses the older format. Python 2.7 and newer allow it to be a ContextManager. Looks like testtools doesn't21:25
shalehwhy are we using testtools? Another piece of legacy?21:26
*** notmars has quit IRC21:27
briancurtinshaleh: i've come across a couple of times where it was useful within SDK, but could have solved the problems otherwise without it if i had to. i don't remember how/why we picked that one up21:35
shalehbriancurtin: it looks like a 2.6 and earlier kind of thing.21:35
shalehIt has mocking/monkey patching built in etc. which was new back when21:36
shalehtesttool's concept of "Matcher"s is also useful21:36
shalehmy frustration is it looked like Unittest so I did not expect the difference21:36
shalehI had to dig through the inheritance tree to find out it was external21:37
shalehI am tempted to port the Context Manager to it21:38
*** sorantis has joined #openstack-sdks21:47
openstackgerritMerged stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/20315421:50
*** stevemar has joined #openstack-sdks22:04
stevemarterrylhowe: ping22:06
*** stevemar has quit IRC22:13
*** pm90_ has joined #openstack-sdks22:15
*** pm90_ has quit IRC22:15
*** stevemar has joined #openstack-sdks22:15
*** sorantis has quit IRC22:15
*** pm90__ has quit IRC22:17
*** stevemar_ has joined #openstack-sdks22:22
*** stevemar_ has quit IRC22:22
*** stevemar_ has joined #openstack-sdks22:23
*** stevemar has quit IRC22:24
*** stevemar_ has quit IRC22:56
*** steveortiz is now known as zz_steveortiz23:04
openstackgerritMerged openstack/python-openstackclient: Support multiple volume qos delete  https://review.openstack.org/19882223:10
*** stevemar has joined #openstack-sdks23:12
openstackgerritMerged stackforge/python-openstacksdk: Generallize example so it can be modified easily  https://review.openstack.org/20167223:18
openstackgerritMerged stackforge/python-openstacksdk: Fix spelling in proxy  https://review.openstack.org/20320423:18
openstackgerritSean Perry proposed openstack/python-openstackclient: Add 'image create' to openstack  https://review.openstack.org/20328023:23
openstackgerritMerged openstack/python-openstackclient: add functional tests for identity v2  https://review.openstack.org/20190623:30
openstackgerritSean Perry proposed openstack/python-openstackclient: Add 'image create' to openstack  https://review.openstack.org/20328023:32
stevemarshaleh: thanks :)23:32
shalehstevemar: note this is just image create. I need to work on membership BP still23:32
shalehthe Image API v2 still needs a fair amount of supporting23:33
shalehbut I about have the lay of it now so adding new bits should not be too hard23:34
shalehstevemar: we decided here to do 'create, attempt upload -- delete on failure'23:35
stevemarshaleh: is that what the glance cli does?23:36
* stevemar really wishes he had time to write code23:36
shalehstevemar: no, glance cli leaves a dangling Image. You need to do glance image-list to find it and either use the id in the next run of create or delete it by id and try create again23:37
shalehcleaning up felt like that right thing to do23:37
shalehif I am wrong then it is just a couple of lines to yank23:38
shalehno big deal23:38
stevemarshaleh: ++ for better UX23:42
shalehbother, I always get unittest(expect, actual) backwares23:44
*** trown|outttypeww is now known as trown23:46
openstackgerritSean Perry proposed openstack/python-openstackclient: Allow user to specify their own clouds.yaml or clouds-public.yaml file  https://review.openstack.org/20321123:53
shalehstevemar: a voice to add direction to this ^^ review would be welcomed as well23:56
shalehdtroyer and I spoke some earlier about it23:56
shalehit might need to bubble up to a small group conversation23:57
stevemarshaleh: will do23:57
stevemarshaleh: i plan on going over all OSC open reviews (well the important ones anyway)23:57
shalehthanks. I am open to reworking things when appropriate.23:58
*** stevemar_ has joined #openstack-sdks23:58
stevemar_shaleh: sorry, @ logan airport in BOS23:58
shalehno worries23:58
stevemar_shaleh: my free wifi ran out! had to re-login!23:58
shalehbah23:58
stevemar_shaleh: you should fix their UX :P23:59
shalehheh23:59
shalehsome problems are bigger than one person23:59
stevemar_by that i mean just get rid of boigo entirely23:59
shalehplus, I will be working on keystone/mercador here soon23:59
shalehI have been taking the chance to fix UX and learn at the same time23:59
stevemar_shaleh: ohhhh fancy23:59

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