Wednesday, 2015-06-24

openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/19489000:21
openstackgerritOpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/19489100:23
*** hitalia_ has quit IRC01:27
*** stevemar has joined #openstack-sdks01:57
*** tobe has joined #openstack-sdks02:06
*** bknudson has quit IRC02:06
*** fifieldt_ has quit IRC02:23
*** hitalia has joined #openstack-sdks02:47
openstackgerritMerged stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/19489103:04
*** Qiming has joined #openstack-sdks03:16
openstackgerritDavid Moreau Simard proposed openstack/python-openstackclient: Add support for volume API v1 QoS commands  https://review.openstack.org/19492203:21
*** boris-42 has joined #openstack-sdks03:23
*** Yanyanhu has joined #openstack-sdks03:23
*** hitalia has quit IRC04:11
*** hitalia has joined #openstack-sdks04:41
*** pm90_ has joined #openstack-sdks05:13
*** pm90_ has quit IRC05:17
*** pm90_ has joined #openstack-sdks05:25
*** tobe has quit IRC05:29
*** tobe has joined #openstack-sdks05:29
*** Yanyan has joined #openstack-sdks05:47
*** Yanyanhu has quit IRC05:48
*** pm90_ has quit IRC06:34
*** stevemar has quit IRC06:38
*** aufi has joined #openstack-sdks06:46
*** hitalia has quit IRC07:05
*** dguerri` is now known as dguerri07:12
*** dguerri is now known as dguerri`07:27
*** MaxV has joined #openstack-sdks07:30
openstackgerritYanyan Hu proposed stackforge/python-openstacksdk: Add pool_id param for pool_member related proxy methods  https://review.openstack.org/19098407:40
*** dguerri` is now known as dguerri07:42
*** yonglihe has quit IRC07:43
*** dguerri is now known as dguerri`07:44
*** Yanyanhu has joined #openstack-sdks08:25
*** Yanyan has quit IRC08:25
*** openstack has quit IRC08:25
*** openstack has joined #openstack-sdks08:27
*** dguerri` is now known as dguerri09:13
*** boris-42 has quit IRC09:22
*** Yanyanhu has quit IRC10:17
*** Qiming has quit IRC10:17
openstackgerritGuojian Shao proposed openstack/python-openstackclient: fix typo in network.rst  https://review.openstack.org/19502510:18
*** tobe has quit IRC10:45
*** jaosorior has joined #openstack-sdks11:15
*** trown|outttypeww is now known as trown11:39
*** Qiming has joined #openstack-sdks11:43
*** bknudson has joined #openstack-sdks12:26
*** MaxV has quit IRC12:27
openstackgerritMerged openstack/python-openstackclient: fix typo in network.rst  https://review.openstack.org/19502512:32
*** MaxV has joined #openstack-sdks12:45
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/19489013:02
*** petertr7_away is now known as petertr713:06
*** pm90_ has joined #openstack-sdks13:11
*** pm90_ has quit IRC13:16
*** pm90_ has joined #openstack-sdks13:17
*** MaxV has quit IRC13:30
*** pm90_ has quit IRC13:41
*** pm90_ has joined #openstack-sdks13:43
*** MaxV has joined #openstack-sdks13:45
openstackgerritMerged stackforge/python-openstacksdk: Add pool_id param for pool_member related proxy methods  https://review.openstack.org/19098413:47
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Refactor verify_get tests  https://review.openstack.org/19033713:58
openstackgerritMerged stackforge/python-openstacksdk: Fix missing doc on identity v2  https://review.openstack.org/19459014:02
*** bknudson has quit IRC14:02
*** Qiming has quit IRC14:12
*** sigmavirus24_awa is now known as sigmavirus2414:14
*** pm90_ has quit IRC14:17
terrylhowebriancurtin: etoews I was thinking these query params and field filters, it might be nice to have a class for that stuff.  We could also make a class especially for pagination derived off the same class.  It would be easier to test and cut down on our params to list.14:28
briancurtinterrylhowe: i previously looked into setting some kind of flag on props to specify whether it could be used as a query param, or something attached directly to the resource14:29
briancurtinsince i'm going to twist that find change around to be integrated into list instead, i might toy with how to make some of that easier as well14:29
terrylhoweI was thinking something real simple where you construct it SearchQueryParam(‘f1’, ‘f2’, ‘f3’) that creates the search sring14:30
terrylhowebut maye with some extra smarts to add f_ things like taht14:31
*** stevemar has joined #openstack-sdks14:34
*** Qiming has joined #openstack-sdks14:40
*** stevemar has quit IRC14:59
*** pm90_ has joined #openstack-sdks15:05
*** pm90__ has joined #openstack-sdks15:18
*** pm90__ has quit IRC15:20
*** pm90__ has joined #openstack-sdks15:21
*** pm90_ has quit IRC15:22
openstackgerritMerged openstack/python-openstackclient: Add support to inherited project role grant calls  https://review.openstack.org/12277515:26
openstackgerritMerged stackforge/python-openstacksdk: Add Heat resource support  https://review.openstack.org/18106315:29
*** bknudson has joined #openstack-sdks15:34
briancurtinterrylhowe: i'm starting to think the whole client-side/server-side querying stuff is just trying to do too much, at least for right now. i might shelve some of this stuff and just work on having good support for the query params that are available. putting some example of how to client-side filter into a user guide probably isn't a bad idea15:38
briancurtinmy thought yesterday about inserting some of that in the middle actually complicates a lot of it since client-side filtering by regex is more powerful than some of the exact-match-only query params  you can get, and utilizing both at the same time is going to be tough, as is explaining that sometimes you can only do exact match and sometimes you can do regex15:41
terrylhoweMy thought about the class thing is totally 1/4 baked, but I did like the idea of getting limit/marker/paginate out of there.15:42
terrylhowepagination is basically a special query param15:43
*** petertr7 is now known as petertr7_away15:47
*** MaxV has quit IRC16:06
*** Qiming has quit IRC16:16
*** villager has joined #openstack-sdks16:22
villagerHi everyone. I would like to customize the OpenStackClient. My question is if I can work on this by installing the development environment of OpenStack (DevStack). Where does the code of OSC reside in devStack?16:27
terrylhowevillager: maybe instead of customizing it you could develop a plugin16:31
terrylhoweif you are just trying to add functionality16:32
*** petertr7_away is now known as petertr716:39
*** trown is now known as trown|lunch16:40
*** Shrews has quit IRC16:42
*** Shrews has joined #openstack-sdks16:44
villagerterrylhowe: actually I am working on a project whose goal is  to develop a new scheduler which would be able to separate adversary tenants that use the same cloud infrastructure by running their VMs on different physical machines. The plan is to use OpenStackClient in order to let the tenants specify other tenants by their IDs that they consider to be adversaries(competitors). Do you think that  is it possible to do something lik16:45
villagere this by developing a plugin for OpenStackClient? Could you please suggest any documentation that I could use as a starting point for developing a plugin?16:45
*** petertr7 is now known as petertr7_away16:49
*** stevemar has joined #openstack-sdks16:51
*** petertr7_away is now known as petertr716:52
*** dontalton has joined #openstack-sdks16:52
terrylhoweSounds like a plugin may work villager . https://github.com/openstack/python-openstackclient/blob/master/doc/source/plugins.rst16:56
villagerThanks a lot terrylhowe16:59
*** hitalia has joined #openstack-sdks17:05
*** stevemar has quit IRC17:06
*** wznoinsk has joined #openstack-sdks17:06
wznoinskhi all17:06
*** stevemar has joined #openstack-sdks17:07
terrylhoweheya17:07
stevemartest message: look at bug 140556217:07
openstackbug 1405562 in python-openstackclient "add support for v2 image create/update commands" [High,In progress] https://launchpad.net/bugs/1405562 - Assigned to Amey Bhide (abhide)17:07
wznoinskI think python-openstackclient on pypi needs to be repackaged with a versino from github... having said that... I need to double check something before I follow on this17:08
wznoinskit's to do with oslo.utils it requires (it's >=1.4.0 on pypi but >=1.6.0 on github)...17:08
openstackgerritVictor Morales proposed openstack/python-openstackclient: Add shell --profile option to trigger osprofiler  https://review.openstack.org/19519817:10
terrylhowewznoinsk: github master is head, that is for the next release.  you’d have to look at the label.  (unless I’m missing what you are saying)17:11
*** stevemar has quit IRC17:14
wznoinskI think you got that terrylhowe, I think the global-req...txt needs to use newer openstackclient ... anyways, false alarm for you, thanks17:14
openstackgerritHardik Italia proposed stackforge/python-openstacksdk: Add functional tests for floating IP.  https://review.openstack.org/19520917:20
*** sigmavirus24 is now known as sigmavirus24_awa17:21
briancurtinterrylhowe: looking at this v3 vs v2/v2.0 mismatch in auth and identity, i think it comes down to ServiceFilter.get_version_path being wrong. http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/tests/unit/auth/test_service_filter.py#n146 -- i think get_version_path should always return a match for what you're trying to get, regardless17:27
briancurtinof the version specified in the constructor, otherwise we'll never be able to cross versions (i think)17:27
briancurtin(a secondary issue is that it returns the module name, not the path, but that's smaller)17:27
briancurtin*module version17:28
terrylhowewhat is up with that test17:28
*** MaxV has joined #openstack-sdks17:28
briancurtinterrylhowe: im not really sure. im thinking about just wiping it out and starting over...wasn't sure if that stuck out to you as something we did for a particular reason that needed to stick17:29
terrylhowethere must be a reason17:29
terrylhoweI assume it is trying to show that if the user specifies a preference, they get it17:30
briancurtinthe implementation of get_service_path doesn't really match what it's used for, so i think things must have changed since whatever it was doing made sense17:31
*** aufi has quit IRC17:31
briancurtinit's called from within ServiceCatalog to fill in the URL version, but it's not giving the URL version but the module one. i'll dig in further and do more functional testing. i think i have it isolated enough and working against a real cloud that it might be ok to refactor a bunch17:32
briancurtinwith my local changes i can finally talk to a v2 identity17:33
terrylhoweThe auth code shouldn’t use that, it should just use the plugin17:34
terrylhowethat get_version_path is supposed to allow some user to specify an arbitrary version path like /v2.1 if they are trying to access some path we don’t support by default17:34
terrylhowesomehowe we need to let the user access /v2.1 or whatever if that is what is in their profile for identity version17:35
briancurtini dont think auth is using it, but identity. i had to set service_filter.ValidVersion('v2', path='v2.0') but to get the path thing to be recognized anywhere, i had to hack up that get_version_path17:36
briancurtinthat ValidVersion hack plus prof.set_version(service="identity", version="v2") got me working17:36
*** dguerri is now known as dguerri`17:37
*** openstackgerrit has quit IRC17:38
briancurtinso i'm auth'ing to a v2 endpoint, need the profile to work with a v2 identity service, and had to have the service know that the v2 module needs a v2.0 in the URL17:38
*** openstackgerrit has joined #openstack-sdks17:38
terrylhoweit is supposed to work where prof.set_version(service="identity", version="v2.0“ should give you the /v2.0 endpoint17:41
briancurtinthat doesn't work either, that gives me a v3 proxy class17:47
briancurtinsetting v2 does currently give a v2 proxy, just the wrong version in the endpoint17:47
*** stevemar has joined #openstack-sdks17:48
briancurtini would expect setting the version to be the version of the API, as in the module version, not the endpoint version17:49
terrylhowemaybe profile needs a new set_version_path or something briancurtin17:51
terrylhoweI don’t completely understand what is wrong.  I know at one point I was able to access /v2 and /v3 identity17:52
terrylhowehaving a functional test for that would be nice17:52
briancurtin(tried sending this and it seemed to fail and i lost the msg) i might start with functional tests and work backwards from there. it wasnt until 30 minutes ago that i was able to talk to a v2 identity due to this v2/v2.0 mismatch in the URL. it was 404ing once i actually got the right proxy to load17:57
*** etoews has quit IRC18:03
*** jaosorior has quit IRC18:05
*** trown|lunch is now known as trown18:07
terrylhowemy /v2 identity path was /v2, so I wasn’t dealing with the path situation18:07
briancurtinah. i was just doing this pointed at both devstack and one setup by the new openstack-ansible-deploy scripts, both having v2.018:08
*** stevemar has quit IRC18:08
*** stevemar has joined #openstack-sdks18:09
dtroyerwznoinsk: I saw something the other day indicating that Pypi may have an outdated cached OSC package somewhere (a wheel perhaps?)  I thought that was being fixed, will go try it again from here18:10
*** stevemar has quit IRC18:10
*** MaxV has quit IRC18:11
*** stevemar has joined #openstack-sdks18:11
*** jaosorior has joined #openstack-sdks18:16
openstackgerritMerged stackforge/python-openstacksdk: Add functional tests for floating IP.  https://review.openstack.org/19520918:16
*** boris-42 has joined #openstack-sdks18:18
wznoinskdtroyer: I think it may be purely requirements problem in /opt/stack/requirements... nova/neutron etc install the very new oslo.utils but after all that is installed python-openstackclient is being installed and it's requirements is >=1.0.3 which in my case is 1.0.4 is installed and it has oslo.utils>=1.4.0,<1.5.0 in requirements.txt18:18
dtroyerwznoinsk: ok, good.  my quick check looks like pypi is ok so whatever I saw Monday appears to be fixed18:19
*** stevemar has quit IRC18:20
*** stevemar has joined #openstack-sdks18:25
*** dguerri` is now known as dguerri18:30
*** dguerri is now known as dguerri`18:32
wznoinskdtroyer: in case you're interested https://bugs.launchpad.net/devstack/+bug/146846518:36
openstackLaunchpad bug 1468465 in devstack "nova-manage db sync fails with cannot import name versionutils" [Undecided,In progress] - Assigned to Waldemar Znoinski (wznoinsk)18:36
wznoinskah there you go18:37
*** sigmavirus24_awa is now known as sigmavirus2418:39
openstackgerritRoxana Gherle proposed openstack/python-openstackclient: Add --os-endpoint-type cli optional argument  https://review.openstack.org/18519318:47
*** stevemar has quit IRC18:54
*** stevemar has joined #openstack-sdks18:55
*** stevemar has quit IRC18:56
*** stevemar has joined #openstack-sdks18:57
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Remove namespace from network ext test  https://review.openstack.org/19526819:00
*** stevemar has quit IRC19:09
*** stevemar has joined #openstack-sdks19:10
*** stevemar has quit IRC19:22
*** petertr7 is now known as petertr7_away19:22
*** stevemar has joined #openstack-sdks19:22
*** petertr7_away is now known as petertr719:28
*** hitalia has quit IRC19:31
*** stevemar has quit IRC19:32
*** stevemar has joined #openstack-sdks19:33
*** dguerri` is now known as dguerri19:41
*** stevemar has quit IRC19:42
*** stevemar has joined #openstack-sdks19:43
*** dguerri is now known as dguerri`19:44
openstackgerritMerged stackforge/python-openstacksdk: Remove namespace from network ext test  https://review.openstack.org/19526819:45
*** dguerri` is now known as dguerri19:52
*** dguerri is now known as dguerri`19:59
*** stevemar has quit IRC19:59
*** stevemar has joined #openstack-sdks20:01
*** hitalia has joined #openstack-sdks20:07
*** stevemar has quit IRC20:39
*** stevemar2 has joined #openstack-sdks20:39
*** stevemar2 has quit IRC20:43
*** stevemar2 has joined #openstack-sdks20:44
*** petertr7 is now known as petertr7_away21:10
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Refactor profile set_ methods  https://review.openstack.org/19532021:12
*** stevemar2 has quit IRC21:12
*** jose4183 has quit IRC21:19
*** trown is now known as trown|outttypeww21:22
*** morganfainberg is now known as ayspryn21:24
*** ayspryn is now known as morganfainberg21:24
*** jaosorior has quit IRC21:25
*** pm90_ has joined #openstack-sdks21:34
*** pm90_ has quit IRC21:35
*** pm90__ has quit IRC21:37
*** dguerri` is now known as dguerri21:44
*** dguerri is now known as dguerri`21:58
*** pm90_ has joined #openstack-sdks22:08
*** pm90_ has quit IRC22:09
*** bknudson has quit IRC22:09
*** pm90_ has joined #openstack-sdks22:09
*** villager has quit IRC22:54
*** pm90_ has quit IRC23:09
*** pm90_ has joined #openstack-sdks23:11
*** pm90_ has quit IRC23:37
*** hitalia has quit IRC23:43

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