openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/194890 | 00:21 |
---|---|---|
openstackgerrit | OpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements https://review.openstack.org/194891 | 00:23 |
*** hitalia_ has quit IRC | 01:27 | |
*** stevemar has joined #openstack-sdks | 01:57 | |
*** tobe has joined #openstack-sdks | 02:06 | |
*** bknudson has quit IRC | 02:06 | |
*** fifieldt_ has quit IRC | 02:23 | |
*** hitalia has joined #openstack-sdks | 02:47 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Updated from global requirements https://review.openstack.org/194891 | 03:04 |
*** Qiming has joined #openstack-sdks | 03:16 | |
openstackgerrit | David Moreau Simard proposed openstack/python-openstackclient: Add support for volume API v1 QoS commands https://review.openstack.org/194922 | 03:21 |
*** boris-42 has joined #openstack-sdks | 03:23 | |
*** Yanyanhu has joined #openstack-sdks | 03:23 | |
*** hitalia has quit IRC | 04:11 | |
*** hitalia has joined #openstack-sdks | 04:41 | |
*** pm90_ has joined #openstack-sdks | 05:13 | |
*** pm90_ has quit IRC | 05:17 | |
*** pm90_ has joined #openstack-sdks | 05:25 | |
*** tobe has quit IRC | 05:29 | |
*** tobe has joined #openstack-sdks | 05:29 | |
*** Yanyan has joined #openstack-sdks | 05:47 | |
*** Yanyanhu has quit IRC | 05:48 | |
*** pm90_ has quit IRC | 06:34 | |
*** stevemar has quit IRC | 06:38 | |
*** aufi has joined #openstack-sdks | 06:46 | |
*** hitalia has quit IRC | 07:05 | |
*** dguerri` is now known as dguerri | 07:12 | |
*** dguerri is now known as dguerri` | 07:27 | |
*** MaxV has joined #openstack-sdks | 07:30 | |
openstackgerrit | Yanyan Hu proposed stackforge/python-openstacksdk: Add pool_id param for pool_member related proxy methods https://review.openstack.org/190984 | 07:40 |
*** dguerri` is now known as dguerri | 07:42 | |
*** yonglihe has quit IRC | 07:43 | |
*** dguerri is now known as dguerri` | 07:44 | |
*** Yanyanhu has joined #openstack-sdks | 08:25 | |
*** Yanyan has quit IRC | 08:25 | |
*** openstack has quit IRC | 08:25 | |
*** openstack has joined #openstack-sdks | 08:27 | |
*** dguerri` is now known as dguerri | 09:13 | |
*** boris-42 has quit IRC | 09:22 | |
*** Yanyanhu has quit IRC | 10:17 | |
*** Qiming has quit IRC | 10:17 | |
openstackgerrit | Guojian Shao proposed openstack/python-openstackclient: fix typo in network.rst https://review.openstack.org/195025 | 10:18 |
*** tobe has quit IRC | 10:45 | |
*** jaosorior has joined #openstack-sdks | 11:15 | |
*** trown|outttypeww is now known as trown | 11:39 | |
*** Qiming has joined #openstack-sdks | 11:43 | |
*** bknudson has joined #openstack-sdks | 12:26 | |
*** MaxV has quit IRC | 12:27 | |
openstackgerrit | Merged openstack/python-openstackclient: fix typo in network.rst https://review.openstack.org/195025 | 12:32 |
*** MaxV has joined #openstack-sdks | 12:45 | |
openstackgerrit | Merged openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/194890 | 13:02 |
*** petertr7_away is now known as petertr7 | 13:06 | |
*** pm90_ has joined #openstack-sdks | 13:11 | |
*** pm90_ has quit IRC | 13:16 | |
*** pm90_ has joined #openstack-sdks | 13:17 | |
*** MaxV has quit IRC | 13:30 | |
*** pm90_ has quit IRC | 13:41 | |
*** pm90_ has joined #openstack-sdks | 13:43 | |
*** MaxV has joined #openstack-sdks | 13:45 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Add pool_id param for pool_member related proxy methods https://review.openstack.org/190984 | 13:47 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Refactor verify_get tests https://review.openstack.org/190337 | 13:58 |
openstackgerrit | Merged stackforge/python-openstacksdk: Fix missing doc on identity v2 https://review.openstack.org/194590 | 14:02 |
*** bknudson has quit IRC | 14:02 | |
*** Qiming has quit IRC | 14:12 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:14 | |
*** pm90_ has quit IRC | 14:17 | |
terrylhowe | briancurtin: 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 |
briancurtin | terrylhowe: 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 resource | 14:29 |
briancurtin | since 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 well | 14:29 |
terrylhowe | I was thinking something real simple where you construct it SearchQueryParam(‘f1’, ‘f2’, ‘f3’) that creates the search sring | 14:30 |
terrylhowe | but maye with some extra smarts to add f_ things like taht | 14:31 |
*** stevemar has joined #openstack-sdks | 14:34 | |
*** Qiming has joined #openstack-sdks | 14:40 | |
*** stevemar has quit IRC | 14:59 | |
*** pm90_ has joined #openstack-sdks | 15:05 | |
*** pm90__ has joined #openstack-sdks | 15:18 | |
*** pm90__ has quit IRC | 15:20 | |
*** pm90__ has joined #openstack-sdks | 15:21 | |
*** pm90_ has quit IRC | 15:22 | |
openstackgerrit | Merged openstack/python-openstackclient: Add support to inherited project role grant calls https://review.openstack.org/122775 | 15:26 |
openstackgerrit | Merged stackforge/python-openstacksdk: Add Heat resource support https://review.openstack.org/181063 | 15:29 |
*** bknudson has joined #openstack-sdks | 15:34 | |
briancurtin | terrylhowe: 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 idea | 15:38 |
briancurtin | my 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 regex | 15:41 |
terrylhowe | My 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 |
terrylhowe | pagination is basically a special query param | 15:43 |
*** petertr7 is now known as petertr7_away | 15:47 | |
*** MaxV has quit IRC | 16:06 | |
*** Qiming has quit IRC | 16:16 | |
*** villager has joined #openstack-sdks | 16:22 | |
villager | Hi 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 |
terrylhowe | villager: maybe instead of customizing it you could develop a plugin | 16:31 |
terrylhowe | if you are just trying to add functionality | 16:32 |
*** petertr7_away is now known as petertr7 | 16:39 | |
*** trown is now known as trown|lunch | 16:40 | |
*** Shrews has quit IRC | 16:42 | |
*** Shrews has joined #openstack-sdks | 16:44 | |
villager | terrylhowe: 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 lik | 16:45 |
villager | e 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_away | 16:49 | |
*** stevemar has joined #openstack-sdks | 16:51 | |
*** petertr7_away is now known as petertr7 | 16:52 | |
*** dontalton has joined #openstack-sdks | 16:52 | |
terrylhowe | Sounds like a plugin may work villager . https://github.com/openstack/python-openstackclient/blob/master/doc/source/plugins.rst | 16:56 |
villager | Thanks a lot terrylhowe | 16:59 |
*** hitalia has joined #openstack-sdks | 17:05 | |
*** stevemar has quit IRC | 17:06 | |
*** wznoinsk has joined #openstack-sdks | 17:06 | |
wznoinsk | hi all | 17:06 |
*** stevemar has joined #openstack-sdks | 17:07 | |
terrylhowe | heya | 17:07 |
stevemar | test message: look at bug 1405562 | 17:07 |
openstack | bug 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 |
wznoinsk | I 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 this | 17:08 |
wznoinsk | it's to do with oslo.utils it requires (it's >=1.4.0 on pypi but >=1.6.0 on github)... | 17:08 |
openstackgerrit | Victor Morales proposed openstack/python-openstackclient: Add shell --profile option to trigger osprofiler https://review.openstack.org/195198 | 17:10 |
terrylhowe | wznoinsk: 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 IRC | 17:14 | |
wznoinsk | I think you got that terrylhowe, I think the global-req...txt needs to use newer openstackclient ... anyways, false alarm for you, thanks | 17:14 |
openstackgerrit | Hardik Italia proposed stackforge/python-openstacksdk: Add functional tests for floating IP. https://review.openstack.org/195209 | 17:20 |
*** sigmavirus24 is now known as sigmavirus24_awa | 17:21 | |
briancurtin | terrylhowe: 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, regardless | 17:27 |
briancurtin | of 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 version | 17:28 |
terrylhowe | what is up with that test | 17:28 |
*** MaxV has joined #openstack-sdks | 17:28 | |
briancurtin | terrylhowe: 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 stick | 17:29 |
terrylhowe | there must be a reason | 17:29 |
terrylhowe | I assume it is trying to show that if the user specifies a preference, they get it | 17:30 |
briancurtin | the 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 sense | 17:31 |
*** aufi has quit IRC | 17:31 | |
briancurtin | it'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 bunch | 17:32 |
briancurtin | with my local changes i can finally talk to a v2 identity | 17:33 |
terrylhowe | The auth code shouldn’t use that, it should just use the plugin | 17:34 |
terrylhowe | that 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 default | 17:34 |
terrylhowe | somehowe we need to let the user access /v2.1 or whatever if that is what is in their profile for identity version | 17:35 |
briancurtin | i 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_path | 17:36 |
briancurtin | that ValidVersion hack plus prof.set_version(service="identity", version="v2") got me working | 17:36 |
*** dguerri is now known as dguerri` | 17:37 | |
*** openstackgerrit has quit IRC | 17:38 | |
briancurtin | so 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 URL | 17:38 |
*** openstackgerrit has joined #openstack-sdks | 17:38 | |
terrylhowe | it is supposed to work where prof.set_version(service="identity", version="v2.0“ should give you the /v2.0 endpoint | 17:41 |
briancurtin | that doesn't work either, that gives me a v3 proxy class | 17:47 |
briancurtin | setting v2 does currently give a v2 proxy, just the wrong version in the endpoint | 17:47 |
*** stevemar has joined #openstack-sdks | 17:48 | |
briancurtin | i would expect setting the version to be the version of the API, as in the module version, not the endpoint version | 17:49 |
terrylhowe | maybe profile needs a new set_version_path or something briancurtin | 17:51 |
terrylhowe | I don’t completely understand what is wrong. I know at one point I was able to access /v2 and /v3 identity | 17:52 |
terrylhowe | having a functional test for that would be nice | 17: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 load | 17:57 |
*** etoews has quit IRC | 18:03 | |
*** jaosorior has quit IRC | 18:05 | |
*** trown|lunch is now known as trown | 18:07 | |
terrylhowe | my /v2 identity path was /v2, so I wasn’t dealing with the path situation | 18:07 |
briancurtin | ah. i was just doing this pointed at both devstack and one setup by the new openstack-ansible-deploy scripts, both having v2.0 | 18:08 |
*** stevemar has quit IRC | 18:08 | |
*** stevemar has joined #openstack-sdks | 18:09 | |
dtroyer | wznoinsk: 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 here | 18:10 |
*** stevemar has quit IRC | 18:10 | |
*** MaxV has quit IRC | 18:11 | |
*** stevemar has joined #openstack-sdks | 18:11 | |
*** jaosorior has joined #openstack-sdks | 18:16 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Add functional tests for floating IP. https://review.openstack.org/195209 | 18:16 |
*** boris-42 has joined #openstack-sdks | 18:18 | |
wznoinsk | dtroyer: 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.txt | 18:18 |
dtroyer | wznoinsk: ok, good. my quick check looks like pypi is ok so whatever I saw Monday appears to be fixed | 18:19 |
*** stevemar has quit IRC | 18:20 | |
*** stevemar has joined #openstack-sdks | 18:25 | |
*** dguerri` is now known as dguerri | 18:30 | |
*** dguerri is now known as dguerri` | 18:32 | |
wznoinsk | dtroyer: in case you're interested https://bugs.launchpad.net/devstack/+bug/1468465 | 18:36 |
openstack | Launchpad bug 1468465 in devstack "nova-manage db sync fails with cannot import name versionutils" [Undecided,In progress] - Assigned to Waldemar Znoinski (wznoinsk) | 18:36 |
wznoinsk | ah there you go | 18:37 |
*** sigmavirus24_awa is now known as sigmavirus24 | 18:39 | |
openstackgerrit | Roxana Gherle proposed openstack/python-openstackclient: Add --os-endpoint-type cli optional argument https://review.openstack.org/185193 | 18:47 |
*** stevemar has quit IRC | 18:54 | |
*** stevemar has joined #openstack-sdks | 18:55 | |
*** stevemar has quit IRC | 18:56 | |
*** stevemar has joined #openstack-sdks | 18:57 | |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Remove namespace from network ext test https://review.openstack.org/195268 | 19:00 |
*** stevemar has quit IRC | 19:09 | |
*** stevemar has joined #openstack-sdks | 19:10 | |
*** stevemar has quit IRC | 19:22 | |
*** petertr7 is now known as petertr7_away | 19:22 | |
*** stevemar has joined #openstack-sdks | 19:22 | |
*** petertr7_away is now known as petertr7 | 19:28 | |
*** hitalia has quit IRC | 19:31 | |
*** stevemar has quit IRC | 19:32 | |
*** stevemar has joined #openstack-sdks | 19:33 | |
*** dguerri` is now known as dguerri | 19:41 | |
*** stevemar has quit IRC | 19:42 | |
*** stevemar has joined #openstack-sdks | 19:43 | |
*** dguerri is now known as dguerri` | 19:44 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Remove namespace from network ext test https://review.openstack.org/195268 | 19:45 |
*** dguerri` is now known as dguerri | 19:52 | |
*** dguerri is now known as dguerri` | 19:59 | |
*** stevemar has quit IRC | 19:59 | |
*** stevemar has joined #openstack-sdks | 20:01 | |
*** hitalia has joined #openstack-sdks | 20:07 | |
*** stevemar has quit IRC | 20:39 | |
*** stevemar2 has joined #openstack-sdks | 20:39 | |
*** stevemar2 has quit IRC | 20:43 | |
*** stevemar2 has joined #openstack-sdks | 20:44 | |
*** petertr7 is now known as petertr7_away | 21:10 | |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Refactor profile set_ methods https://review.openstack.org/195320 | 21:12 |
*** stevemar2 has quit IRC | 21:12 | |
*** jose4183 has quit IRC | 21:19 | |
*** trown is now known as trown|outttypeww | 21:22 | |
*** morganfainberg is now known as ayspryn | 21:24 | |
*** ayspryn is now known as morganfainberg | 21:24 | |
*** jaosorior has quit IRC | 21:25 | |
*** pm90_ has joined #openstack-sdks | 21:34 | |
*** pm90_ has quit IRC | 21:35 | |
*** pm90__ has quit IRC | 21:37 | |
*** dguerri` is now known as dguerri | 21:44 | |
*** dguerri is now known as dguerri` | 21:58 | |
*** pm90_ has joined #openstack-sdks | 22:08 | |
*** pm90_ has quit IRC | 22:09 | |
*** bknudson has quit IRC | 22:09 | |
*** pm90_ has joined #openstack-sdks | 22:09 | |
*** villager has quit IRC | 22:54 | |
*** pm90_ has quit IRC | 23:09 | |
*** pm90_ has joined #openstack-sdks | 23:11 | |
*** pm90_ has quit IRC | 23:37 | |
*** hitalia has quit IRC | 23:43 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!