waj334 | Where does the OSC create the various clients used to execute commands? I saw that there is a ClientManager, but I don't see where it is being created | 00:49 |
---|---|---|
dtroyer | waj334: There's a wee bit of descriptor magic going on. Basically, each API client is a plugin, including the ones in the OSC repo, so the plugin scanning bits in shell.py OpenStackShell._load_plugins() calls the make_client() function in each client's module. | 00:53 |
dtroyer | The built-in ones are listed in setup.cfg openstack.cli.base entrypoints | 00:54 |
dtroyer | make_client() is where the client lib Client objects are instantiated, but only when first referenced, that is the descriptor magic, using osc-lib/s ClientCache. | 00:55 |
*** abhiraut has quit IRC | 01:29 | |
*** chlong has quit IRC | 01:34 | |
*** huanxuan has joined #openstack-sdks | 01:42 | |
*** yanyanhu has joined #openstack-sdks | 01:59 | |
*** chlong has joined #openstack-sdks | 02:13 | |
openstackgerrit | Steve Martinelli proposed openstack/openstackclient: Initial commit for the OSC metapackage repo. https://review.openstack.org/414380 | 02:17 |
stevemar | dtroyer: i may or may not have made the first commit to the OSC meta package | 02:17 |
dtroyer | I can neither confirm nor deny seeing that | 02:18 |
stevemar | dtroyer: it won't pass without a test | 02:18 |
stevemar | dtroyer: did you want docs and tests in that repo? | 02:26 |
stevemar | i'm not sure what that buys us | 02:27 |
dtroyer | stevemar: eventually, yes. I think we want to make that our 'front door' maybe? | 02:28 |
dtroyer | at least the plugin tests shold go there since they're all going to be dependencies anyway | 02:28 |
stevemar | dtroyer: 699 commands ! http://paste.openstack.org/show/593215/ | 02:29 |
dtroyer | holy cow! I wouldn't have put it over 400 | 02:30 |
stevemar | dtroyer: yeah, thats a scary amount | 02:36 |
stevemar | "alarm-history" ouch | 02:36 |
stevemar | senlin did a nice job with the "cluster" commands | 02:36 |
stevemar | eww "pool create" and various pool commands | 02:38 |
stevemar | "Create a pool" | 02:38 |
stevemar | boourns | 02:38 |
dtroyer | we have faaaar too much of that | 02:38 |
stevemar | "static-action call" | 02:39 |
stevemar | "tld create Create new tld " | 02:39 |
stevemar | all in all, not bad | 02:39 |
stevemar | "zone axfr AXFR a zone" | 02:40 |
stevemar | thats kinda not so helpful | 02:40 |
dtroyer | especially of you don't know what a zone transfer is | 02:41 |
stevemar | not bad, only 3 commands with dashes in them | 02:41 |
stevemar | "class-schema Show class schema" | 02:41 |
*** chlong has quit IRC | 02:43 | |
stevemar | dtroyer: what should the top level module name be for the new repo? | 02:43 |
stevemar | py-osc has already taken "openstackclient" | 02:43 |
dtroyer | does it need one? | 02:49 |
dtroyer | there isnt any code here? osc-tests or something like that? | 02:49 |
*** chlong has joined #openstack-sdks | 02:56 | |
*** chlong has quit IRC | 03:05 | |
stevemar | dtroyer: i suppose the tests could live at the top level | 03:11 |
stevemar | its kinda weird, but whatevs | 03:11 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/keystoneauth: Updated from global requirements https://review.openstack.org/414390 | 03:12 |
openstackgerrit | Merged openstack/python-openstackclient: Add support for QoS rule type commands https://review.openstack.org/355376 | 03:28 |
openstackgerrit | Tony Breeds proposed openstack/python-openstacksdk: Add Constraints support https://review.openstack.org/413341 | 03:33 |
openstackgerrit | Merged openstack/python-openstackclient: Should support 'auto' and 'none' as network parameter when boot instances https://review.openstack.org/412698 | 03:50 |
openstackgerrit | Steve Martinelli proposed openstack/openstackclient: Initial commit for the OSC metapackage repo. https://review.openstack.org/414380 | 04:01 |
*** gouthamr has quit IRC | 04:20 | |
*** zhiyong has joined #openstack-sdks | 04:23 | |
*** adriant has quit IRC | 05:10 | |
openstackgerrit | jiahui.qiang proposed openstack/python-openstackclient: Add unit tests for usage commands in compute v2 https://review.openstack.org/414428 | 05:59 |
*** salv-orlando has joined #openstack-sdks | 06:44 | |
*** e0ne has joined #openstack-sdks | 07:31 | |
*** john-davidge has joined #openstack-sdks | 07:38 | |
*** salv-orlando has quit IRC | 07:40 | |
*** john-davidge has quit IRC | 07:43 | |
*** e0ne has quit IRC | 07:43 | |
*** e0ne has joined #openstack-sdks | 07:51 | |
*** jpena|off is now known as jpena | 07:54 | |
*** jpena is now known as jpena|off | 08:05 | |
*** e0ne has quit IRC | 08:08 | |
*** e0ne has joined #openstack-sdks | 08:13 | |
*** amoralej|off is now known as amoralej | 08:20 | |
*** jpena|off is now known as jpena | 08:27 | |
*** kevo has quit IRC | 08:34 | |
*** kevo has joined #openstack-sdks | 08:34 | |
*** john-davidge has joined #openstack-sdks | 08:38 | |
openstackgerrit | Badhmapriya Boopalan proposed openstack/python-openstackclient: To support '--project' and '--project-domain' options https://review.openstack.org/408654 | 08:43 |
*** ralonsoh has joined #openstack-sdks | 08:44 | |
openstackgerrit | Badhmapriya Boopalan proposed openstack/python-openstackclient: To include 'Project' column for 'port list --long' command https://review.openstack.org/408322 | 08:58 |
*** reedip_ has joined #openstack-sdks | 08:59 | |
openstackgerrit | Rodolfo Alonso Hernandez proposed openstack/python-openstackclient: Add support for Network QoS rule commands https://review.openstack.org/352477 | 09:12 |
*** amotoki has joined #openstack-sdks | 09:18 | |
*** lucas-afk is now known as lucasagomes | 09:34 | |
*** salv-orlando has joined #openstack-sdks | 09:41 | |
*** amotoki has quit IRC | 09:42 | |
*** salv-orlando has quit IRC | 09:46 | |
*** huanxuan has quit IRC | 09:46 | |
*** e0ne has joined #openstack-sdks | 09:55 | |
*** kevo has quit IRC | 10:00 | |
*** salv-orlando has joined #openstack-sdks | 10:05 | |
*** Matias has quit IRC | 10:23 | |
*** Matias has joined #openstack-sdks | 10:43 | |
*** yanyanhu has quit IRC | 10:48 | |
*** reedip_ has quit IRC | 10:55 | |
*** reedip_ has joined #openstack-sdks | 11:00 | |
*** huanxuan has joined #openstack-sdks | 11:28 | |
openstackgerrit | Sergey Belous proposed openstack/python-openstackclient: Introduce quota reset command https://review.openstack.org/376311 | 11:39 |
*** dhellmann has quit IRC | 11:42 | |
*** dhellmann has joined #openstack-sdks | 11:42 | |
openstackgerrit | jiahui.qiang proposed openstack/python-openstackclient: Add unit tests for usage commands in compute v2 https://review.openstack.org/414428 | 11:45 |
*** cdent has joined #openstack-sdks | 11:58 | |
*** d0ugal has quit IRC | 12:28 | |
*** rtheis has joined #openstack-sdks | 12:35 | |
*** salv-orlando has quit IRC | 12:43 | |
*** d0ugal has joined #openstack-sdks | 12:45 | |
*** jpena is now known as jpena|lunch | 12:48 | |
*** d0ugal has quit IRC | 12:51 | |
*** lucasagomes is now known as lucas-hungry | 12:53 | |
*** salv-orlando has joined #openstack-sdks | 12:55 | |
*** cdent has quit IRC | 13:19 | |
*** gouthamr has joined #openstack-sdks | 13:36 | |
*** amoralej is now known as amoralej|lunch | 13:40 | |
openstackgerrit | Merged openstack/keystoneauth: Updated from global requirements https://review.openstack.org/414390 | 13:40 |
*** lucas-hungry is now known as lucasagomes | 13:48 | |
*** jpena|lunch is now known as jpena | 13:49 | |
*** cdent has joined #openstack-sdks | 14:06 | |
*** amoralej|lunch is now known as amoralej | 14:07 | |
*** amotoki has joined #openstack-sdks | 14:09 | |
*** huanxuan has quit IRC | 14:13 | |
*** john-davidge has quit IRC | 14:22 | |
*** john-dav_ has joined #openstack-sdks | 14:22 | |
*** john-dav_ is now known as john-davidge | 14:23 | |
*** amotoki has quit IRC | 14:27 | |
*** salv-orl_ has joined #openstack-sdks | 14:31 | |
*** salv-orlando has quit IRC | 14:34 | |
*** rtheis has quit IRC | 14:47 | |
*** e0ne has quit IRC | 14:47 | |
*** e0ne has joined #openstack-sdks | 14:48 | |
*** reedip_ has quit IRC | 14:57 | |
*** salv-orl_ has quit IRC | 15:12 | |
csatari | I would like to know when openstack port --server option will be supported in python openstackclient. | 15:20 |
*** hongbin has joined #openstack-sdks | 15:24 | |
*** salv-orlando has joined #openstack-sdks | 15:27 | |
*** salv-orlando has quit IRC | 15:31 | |
ankur-gupta-f1 | csatari: | 15:54 |
ankur-gupta-f1 | on which command. port create, list, etc... | 15:55 |
ankur-gupta-f1 | csatari: for creation of ports the command option is --device-id which maps out to Compute instances UUID, on port listing the option is --server. | 15:59 |
*** Kuwagata has joined #openstack-sdks | 16:02 | |
*** reedip_ has joined #openstack-sdks | 16:03 | |
openstackgerrit | Jordan Pittier proposed openstack/python-openstackclient: Add support for Glance 'update image members' feature https://review.openstack.org/410848 | 16:15 |
*** salv-orlando has joined #openstack-sdks | 16:27 | |
*** kevo has joined #openstack-sdks | 16:28 | |
*** salv-orlando has quit IRC | 16:32 | |
*** ralonsoh has quit IRC | 16:45 | |
*** jpena is now known as jpena|off | 17:09 | |
*** cdent has quit IRC | 17:13 | |
*** reedip_ has quit IRC | 17:14 | |
*** lucasagomes is now known as lucas-pto | 17:22 | |
*** amoralej is now known as amoralej|pto | 17:31 | |
*** e0ne has quit IRC | 17:31 | |
*** john-davidge has quit IRC | 17:34 | |
*** john-davidge has joined #openstack-sdks | 17:35 | |
*** john-davidge has quit IRC | 17:40 | |
*** bandarji has joined #openstack-sdks | 18:10 | |
bandarji | Howdy - it seems like such a small thing is missing/done wrong. I cannot get create_port working when supplying a list of security group IDs. http://pastebin.com/raw/Lh4SQB1Q | 18:11 |
bandarji | First is with port_attrs without 'security_group_ids' - second is with, as listed | 18:12 |
bandarji | then create_port(**port_attrs) | 18:12 |
*** gouthamr has quit IRC | 18:18 | |
*** john-davidge has joined #openstack-sdks | 18:36 | |
*** john-davidge has quit IRC | 18:40 | |
*** gouthamr has joined #openstack-sdks | 18:42 | |
*** bandarji has quit IRC | 18:48 | |
*** Qiming has quit IRC | 18:53 | |
*** gouthamr has quit IRC | 19:06 | |
*** abhiraut has joined #openstack-sdks | 19:12 | |
*** e0ne has joined #openstack-sdks | 19:21 | |
*** gouthamr has joined #openstack-sdks | 19:26 | |
*** Kuwagata has quit IRC | 19:27 | |
*** Kuwagata has joined #openstack-sdks | 19:28 | |
*** Kuwagata has quit IRC | 19:36 | |
*** e0ne has quit IRC | 19:36 | |
*** Kuwagata has joined #openstack-sdks | 19:37 | |
*** salv-orlando has joined #openstack-sdks | 19:47 | |
*** kevo has quit IRC | 19:57 | |
*** kevo has joined #openstack-sdks | 20:14 | |
*** abhiraut has quit IRC | 20:15 | |
dtroyer | stevemar: there? | 20:27 |
dtroyer | I'm looking for evidence that functional tests are even running | 20:29 |
*** salv-orl_ has joined #openstack-sdks | 20:31 | |
*** e0ne has joined #openstack-sdks | 20:31 | |
*** salv-orlando has quit IRC | 20:34 | |
*** john-davidge has joined #openstack-sdks | 20:36 | |
stevemar | dtroyer: just got home | 20:40 |
stevemar | are they not even running :O | 20:40 |
dtroyer | this is worrying: http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/testr_results.html.gz | 20:41 |
dtroyer | and I can't find actual results | 20:41 |
*** john-davidge has quit IRC | 20:41 | |
stevemar | dtroyer: "Running openstackclient functional test suite" can't find that in http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/console.html | 20:41 |
stevemar | looking at https://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/functional/post_test_hook.sh | 20:41 |
stevemar | oye... | 20:43 |
stevemar | dtroyer: i noticed this a month or two ago and it completely slipped my mind to follow up | 20:43 |
stevemar | dtroyer: this is the job | 20:43 |
stevemar | https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/osc.yaml | 20:43 |
dtroyer | that if looks iffy | 20:45 |
stevemar | hehe | 20:45 |
stevemar | it worked at one point IIRC | 20:45 |
stevemar | cause the gate was wedged | 20:45 |
dtroyer | we should see this line: http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/console.html#_2016-12-23_18_29_59_399890 | 20:45 |
dtroyer | should not | 20:46 |
stevemar | dtroyer: https://github.com/openstack-infra/project-config/commit/abef9823f015d9382188956a06d318e6c5739f74 https://github.com/openstack-infra/project-config/commit/0bfa5bd446bc6abe1e37df4ec2743a6edb15316d | 20:46 |
stevemar | dtroyer: thats fine, it's just echo'ing out the command | 20:47 |
stevemar | hmm: http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/console.html#_2016-12-23_18_55_26_436981 | 20:49 |
dtroyer | not if the file is in the first location | 20:49 |
*** abhiraut has joined #openstack-sdks | 20:50 | |
stevemar | dtroyer: doesn't seem to differ from others: https://github.com/openstack-infra/project-config/blob/11eb3a36419411b56230ed843e95bb51a4dfcffc/jenkins/jobs/glance.yaml#L26-L29 | 20:55 |
dtroyer | https://review.openstack.org/414649 | 20:56 |
dtroyer | I'm not sure $hook_location is defined inside the function | 20:57 |
stevemar | dtroyer: maybe we can convince someone on infra to look at it | 21:05 |
stevemar | dtroyer: cause depends-on won't work | 21:05 |
stevemar | though if it works, and we're actually broken hehee | 21:05 |
stevemar | i guess we could skip tests and fix them one at a time | 21:05 |
*** e0ne has quit IRC | 21:09 | |
dtroyer | one review for the skips? I suppose finxing them all will be a bit of work | 21:09 |
dtroyer | it took me nearly a day to get a running xenial/neutron devstack to test this. I need some new hardware | 21:10 |
*** e0ne has joined #openstack-sdks | 21:12 | |
*** e0ne has quit IRC | 21:14 | |
*** abhiraut has quit IRC | 21:21 | |
stevemar | dtroyer: well you keep running things on thing dinky MB air | 21:21 |
dtroyer | I can't run devstack on the air anymore, thank you Neutron | 21:22 |
dtroyer | I'm using a NUC now, neeed 4 more I think | 21:22 |
dtroyer | I _REALLY_ want Neutron-lite, that does exactly one network type with no muss and no fuss. Oh wait, that was nova-net. kinda | 21:23 |
stevemar | :) | 21:27 |
stevemar | you don't sound upset about that at all | 21:27 |
dtroyer | I can't afford the overhead of using OpenStack to run VMs to develop OpenStack. I'm going back to Ganeti to manage VMs | 21:29 |
stevemar | dtroyer: any idea of where I should look at for fixing https://bugs.launchpad.net/os-client-config/+bug/1635696 ? | 21:31 |
openstack | Launchpad bug 1635696 in os-client-config "Having a '{' or '}' in password causes formatting errors" [High,Confirmed] | 21:31 |
stevemar | or https://bugs.launchpad.net/python-openstackclient/+bug/1650026 | 21:32 |
openstack | Launchpad bug 1650026 in python-openstackclient "Trying to get help for a command errors out with "__init__() got an unexpected keyword argument 'project_name'"" [High,Confirmed] | 21:32 |
dtroyer | for 1635696, we either need to move occ to a different style string formatting or document needing to escape them in actual use | 21:33 |
dtroyer | 1650026 bugs me (ha!) to no end because plugins are stupid strict on arguments. we have to filter stuff depending on what the plugin is. I don't see good encapsulation there | 21:34 |
dtroyer | so that's something we should add to osc-lib, or occ since that's where plugins happen now | 21:35 |
dtroyer | yuck | 21:35 |
*** john-davidge has joined #openstack-sdks | 21:43 | |
*** john-davidge has quit IRC | 21:48 | |
stevemar | or https://bugs.launchpad.net/python-openstackclient/+bug/1650026 | 21:49 |
openstack | Launchpad bug 1650026 in python-openstackclient "Trying to get help for a command errors out with "__init__() got an unexpected keyword argument 'project_name'"" [High,Confirmed] | 21:49 |
stevemar | " | 21:49 |
stevemar | oops, little guy wrote the last 2 lines | 21:50 |
dtroyer | Harry! | 21:50 |
dtroyer | got him coding early and often! | 21:50 |
*** gouthamr has quit IRC | 21:51 | |
stevemar | he kinda stumbled upon the up arrow and hit enter | 21:51 |
stevemar | he may have been skyping with his grandma | 21:52 |
dtroyer | also, tell him he looks awesome in the card! Thanks | 21:52 |
stevemar | yay, you got it | 21:52 |
stevemar | all the US folks got them today-ish, just in time | 21:53 |
*** abhiraut has joined #openstack-sdks | 21:59 | |
stevemar | dtroyer: oh this is fun: http://paste.openstack.org/show/593296/ | 22:04 |
stevemar | looks like it's only networking commands! | 22:04 |
dtroyer | that's what I was setting up devstack to look at when I found the functional tests | 22:05 |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Skip broken functional tests... https://review.openstack.org/414652 | 22:10 |
dtroyer | stevemar: ^^^ is that a suitable pattern for skipping borkenness? | 22:10 |
stevemar | dtroyer: "skip" is deprecated | 22:11 |
stevemar | skipTest is what you should use | 22:11 |
dtroyer | yeah, I tried that threee different ways…lemme try again | 22:12 |
thingee | oh my... | 22:13 |
dtroyer | apparently testtools doesn't have a skipTest decorator | 22:13 |
dtroyer | the skip() methos is deprecated, but not the decorator sez the RTD | 22:13 |
stevemar | pep8 may fail *shrugs* | 22:15 |
stevemar | https://github.com/openstack/python-openstackclient/blob/2026dee17e7b6b8d738345fd27dc905efb6561f1/openstackclient/tests/functional/network/v2/test_network_segment.py#L66 | 22:15 |
thingee | @testtools.skipIf(1 == 1, 'reasons) :D | 22:16 |
stevemar | dtroyer: ah you're fine : https://github.com/openstack/python-keystoneclient/blob/a2bd23c0dd9ca7ccfcd01640c500e9059a766128/keystoneclient/tests/functional/test_access.py#L29 | 22:16 |
stevemar | dtroyer: you're right, the function is deprecated, not the decorator | 22:17 |
stevemar | thingee: o/ | 22:17 |
thingee | ah | 22:17 |
stevemar | dtroyer: you ran the tests locally? | 22:18 |
dtroyer | yes | 22:18 |
dtroyer | I am working through the existing network ones now file-by-file | 22:19 |
stevemar | dtroyer: probably quota set | 22:22 |
*** abhiraut has quit IRC | 22:30 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: WIP: Skip broken functional tests... https://review.openstack.org/414652 | 23:21 |
dtroyer | stevemar: ^^^ current status, I have a bunch of volume tests failing but that might be due to my small devstack disk | 23:21 |
*** salv-orl_ has quit IRC | 23:37 | |
*** Kuwagata has quit IRC | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!