Friday, 2015-04-03

*** bknudson has joined #openstack-sdks00:43
*** redrobot has quit IRC00:59
*** mordred has quit IRC01:01
*** tellesnobrega has quit IRC01:01
*** redrobot has joined #openstack-sdks01:06
*** mordred has joined #openstack-sdks01:06
*** redrobot is now known as Guest4807401:06
*** stevemar has quit IRC01:07
*** tellesnobrega has joined #openstack-sdks01:15
*** etoews has joined #openstack-sdks01:46
*** elarson has quit IRC02:00
etoewslet me know what you think https://bugs.launchpad.net/os-client-config/+bug/143992702:32
openstackLaunchpad bug 1439927 in os-client-config "Mixed cloud configs" [Undecided,New]02:32
*** stevemar has joined #openstack-sdks03:46
*** chlong has joined #openstack-sdks03:48
openstackgerritEverett Toews proposed stackforge/python-openstacksdk: The first functional test  https://review.openstack.org/17034303:49
*** chlong has quit IRC03:49
*** terrylhowe has quit IRC04:40
*** briancurtin has quit IRC04:46
*** etoews has quit IRC04:46
*** jdaggett has quit IRC04:47
*** etoews has joined #openstack-sdks04:47
*** briancurtin has joined #openstack-sdks04:48
*** jdaggett has joined #openstack-sdks04:51
*** maufart has joined #openstack-sdks05:43
*** pm90_ has joined #openstack-sdks06:21
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add support for showing limits of a specific project  https://review.openstack.org/17036006:27
*** pm90_ has quit IRC07:02
*** pm90_ has joined #openstack-sdks07:06
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add support to specify volume quotas per volume type  https://review.openstack.org/17036607:13
*** stevemar has quit IRC07:18
*** pm90_ has quit IRC07:29
*** bnemec has quit IRC09:33
*** maufart has quit IRC10:07
*** bnemec has joined #openstack-sdks10:19
*** maufart has joined #openstack-sdks10:37
*** bknudson has quit IRC13:00
*** terrylhowe has joined #openstack-sdks13:07
*** elarson has joined #openstack-sdks13:18
*** bknudson has joined #openstack-sdks13:30
*** openstackgerrit has quit IRC13:36
*** openstackgerrit has joined #openstack-sdks13:36
*** edleafe is now known as figleaf13:39
*** sigmavirus24_awa is now known as sigmavirus2413:43
*** maufart has quit IRC14:27
*** openstackgerrit has quit IRC14:39
*** openstackgerrit has joined #openstack-sdks14:39
*** pm90_ has joined #openstack-sdks16:11
etoewsdtroyer: mordred: i'm a bit surprised os-client-config isn't already a part of openstack/requirements http://logs.openstack.org/43/170343/1/check/gate-python-openstacksdk-requirements/7390cb7/console.html16:25
etoewsshould i add it in there or am i missing something?16:25
mordredetoews: I though it was16:25
mordredbecause we added it for openstackclient a while back16:25
etoewsindeed it is16:26
etoewshttps://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt#n7716:26
mordredah - it's because you're pinning to a version16:26
mordredand global requirements does not pin16:26
etoewsah. i see that now.16:26
etoewsi fix.16:26
etoewsthx16:26
mordredetoews, dtroyer: I agree with etoews' bug - I've been bitten by the mix of env vars and clouds.yaml values before16:27
dtroyerfwiw, I've been typing a reply to that bug for the last hour or so (I swear, the phone is still off!).  tl;dr is env var precedence is hard.16:27
mordredyah - because if we just do the suggestion - things get weird in the case where you're not using a clouds.yaml at all and are using it for command line and env var processing16:28
terrylhoweI’ve had the same confusion16:28
mordredso - I think the bug is totally valid, but we may need to poke at the solution a bit16:28
etoewsexactly. so let's not do precedence and make it entirely separate. ;)16:28
dtroyerI'd like to collect expectations on this topic, I think in a room of 4 people we'll get 6 opinions.16:28
mordredyah16:28
etoewsnaturally16:28
dtroyeretoews: for occ I think that's the right choice, but I'd like to still have a common way to handle this, OSC needs it and others will too16:29
etoewsbetter to make it clear now before use of occ spreads too far16:30
*** stevemar has joined #openstack-sdks16:34
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Rework update_attrs so dirty list always updated  https://review.openstack.org/16945116:37
*** stevemar has quit IRC16:38
*** pm90_ has quit IRC16:38
*** pm90_ has joined #openstack-sdks16:39
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Add _check_resource to BaseProxy  https://review.openstack.org/16727316:39
mordreddtroyer: what if we only do env var injection if you have not requested a named cloud from occ?16:39
mordreddtroyer: like, if get_one_cloud(cloud=None) ... then we process env vars16:40
mordredbut if get_one_cloud(cloud='monty') we assume that monty is a named config that is complete and will not overwrite parts of it with env vars16:40
mordred(this may be the same thing etoews was saying, honestly)16:40
mordredI'm just thinking out loud16:40
etoewsthat's similar to my suggestion. except that, if present, the env vars always constitute their own cloud config. it would be a named config with a default name (e.g. 'env_var_config') or a name you explicitly set with another env var (e.g. export OS_CLIENT_CONFIG_NAME=my_cloud_config_defined_by_env_vars)16:44
etoewseither way i'm happy as long as env vars and config from clouds.yaml don't get mixed.16:45
terrylhoweit’ll be a lot tougher for osc to determine if a command line option was specified or it picked a default from the env16:46
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Add _check_resource to BaseProxy  https://review.openstack.org/16727316:50
etoewsterrylhowe: thoughts on the approach for functional tests? https://review.openstack.org/#/c/170343/16:50
terrylhowelooks great etoews but I want to give it a test spin16:51
etoewssgtm16:51
terrylhoweI’m hoping it isn’t a wip for long16:51
etoewsi'm not intending it to be. i'm just looking for feedback on the approach.16:52
etoewsi just didn't want it to get merged without doc16:52
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Proxy delete method  https://review.openstack.org/16431016:57
openstackgerritMerged stackforge/python-openstacksdk: Add _check_resource to BaseProxy  https://review.openstack.org/16727317:02
*** sigmavirus24 is now known as sigmavirus24_awa17:07
openstackgerritMerged stackforge/python-openstacksdk: Proxy delete method  https://review.openstack.org/16431017:14
*** pm90_ has quit IRC17:16
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Proxy get method  https://review.openstack.org/16435117:37
*** bknudson has quit IRC17:48
*** rmcall has joined #openstack-sdks18:08
*** rmcall has quit IRC18:25
*** pm90_ has joined #openstack-sdks18:49
*** pm90__ has joined #openstack-sdks19:03
*** pm90_ has quit IRC19:04
*** mattfarina has quit IRC20:02
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Proxy create method  https://review.openstack.org/16844820:10
*** pm90__ has quit IRC20:21
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Improve image.v2.tag  https://review.openstack.org/16405520:24
etoewsbriancurtin:20:25
*** pm90_ has joined #openstack-sdks20:26
etoewsdang20:28
etoewsbriancurtin: in your suggestion for https://review.openstack.org/#/c/170343/1/openstack/tests/functional/compute/v2/test_server.py,unified20:29
etoewsyou have self.assertIsInstance(flavor.id, str)20:29
etoewsbut the actual type is unicode so what would be more correct20:29
etoewsself.assertIsInstance(flavor.id, unicode)20:30
etoewsor20:30
etoewsself.assertIsInstance(flavor.id, basestring)20:30
briancurtinit's like six.text_type i think, let me check20:30
briancurtinetoews: six.string_types20:33
briancurtin(that's basestring on 2 and str on 3)20:33
etoewsi knew there were python 2/3 implications but i wouldn't have found six.string_types for a long time. thx.20:36
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Improve image.v2.tag  https://review.openstack.org/16405521:22
*** pm90_ has quit IRC21:35
*** pm90_ has joined #openstack-sdks21:39
*** figleaf is now known as edleafe21:52
*** pm90_ has quit IRC22:14
*** pm90_ has joined #openstack-sdks22:21
*** pm90_ has quit IRC22:24
*** pm90_ has joined #openstack-sdks22:25
*** pm90_ has quit IRC23:24
*** Viswanath has joined #openstack-sdks23:31
*** Viswanath has quit IRC23:40

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