Friday, 2016-12-23

waj334Where 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 created00:49
dtroyerwaj334: 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
dtroyerThe built-in ones are listed in setup.cfg openstack.cli.base entrypoints00:54
dtroyermake_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 IRC01:29
*** chlong has quit IRC01:34
*** huanxuan has joined #openstack-sdks01:42
*** yanyanhu has joined #openstack-sdks01:59
*** chlong has joined #openstack-sdks02:13
openstackgerritSteve Martinelli proposed openstack/openstackclient: Initial commit for the OSC metapackage repo.  https://review.openstack.org/41438002:17
stevemardtroyer: i may or may not have made the first commit to the OSC meta package02:17
dtroyerI can neither confirm nor deny seeing that02:18
stevemardtroyer: it won't pass without a test02:18
stevemardtroyer: did you want docs and tests in that repo?02:26
stevemari'm not sure what that buys us02:27
dtroyerstevemar: eventually, yes.  I think we want to make that our 'front door' maybe?02:28
dtroyerat least the plugin tests shold go there since they're all going to be dependencies anyway02:28
stevemardtroyer: 699 commands ! http://paste.openstack.org/show/593215/02:29
dtroyerholy cow!  I wouldn't have put it over 40002:30
stevemardtroyer: yeah, thats a scary amount02:36
stevemar"alarm-history" ouch02:36
stevemarsenlin did a nice job with the "cluster" commands02:36
stevemareww "pool create" and various pool commands02:38
stevemar"Create a pool"02:38
stevemarboourns02:38
dtroyerwe have faaaar too much of that02:38
stevemar"static-action call"02:39
stevemar"tld create     Create new tld "02:39
stevemarall in all, not bad02:39
stevemar"zone axfr      AXFR a zone"02:40
stevemarthats kinda not so helpful02:40
dtroyerespecially of you don't know what a zone transfer is02:41
stevemarnot bad, only 3 commands with dashes in them02:41
stevemar"class-schema   Show class schema"02:41
*** chlong has quit IRC02:43
stevemardtroyer: what should the top level module name be for the new repo?02:43
stevemarpy-osc has already taken "openstackclient"02:43
dtroyerdoes it need one?02:49
dtroyerthere isnt any code here?  osc-tests or something like that?02:49
*** chlong has joined #openstack-sdks02:56
*** chlong has quit IRC03:05
stevemardtroyer: i suppose the tests could live at the top level03:11
stevemarits kinda weird, but whatevs03:11
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/41439003:12
openstackgerritMerged openstack/python-openstackclient: Add support for QoS rule type commands  https://review.openstack.org/35537603:28
openstackgerritTony Breeds proposed openstack/python-openstacksdk: Add Constraints support  https://review.openstack.org/41334103:33
openstackgerritMerged openstack/python-openstackclient: Should support 'auto' and 'none' as network parameter when boot instances  https://review.openstack.org/41269803:50
openstackgerritSteve Martinelli proposed openstack/openstackclient: Initial commit for the OSC metapackage repo.  https://review.openstack.org/41438004:01
*** gouthamr has quit IRC04:20
*** zhiyong has joined #openstack-sdks04:23
*** adriant has quit IRC05:10
openstackgerritjiahui.qiang proposed openstack/python-openstackclient: Add unit tests for usage commands in compute v2  https://review.openstack.org/41442805:59
*** salv-orlando has joined #openstack-sdks06:44
*** e0ne has joined #openstack-sdks07:31
*** john-davidge has joined #openstack-sdks07:38
*** salv-orlando has quit IRC07:40
*** john-davidge has quit IRC07:43
*** e0ne has quit IRC07:43
*** e0ne has joined #openstack-sdks07:51
*** jpena|off is now known as jpena07:54
*** jpena is now known as jpena|off08:05
*** e0ne has quit IRC08:08
*** e0ne has joined #openstack-sdks08:13
*** amoralej|off is now known as amoralej08:20
*** jpena|off is now known as jpena08:27
*** kevo has quit IRC08:34
*** kevo has joined #openstack-sdks08:34
*** john-davidge has joined #openstack-sdks08:38
openstackgerritBadhmapriya Boopalan proposed openstack/python-openstackclient: To support '--project' and '--project-domain' options  https://review.openstack.org/40865408:43
*** ralonsoh has joined #openstack-sdks08:44
openstackgerritBadhmapriya Boopalan proposed openstack/python-openstackclient: To include 'Project' column for 'port list --long' command  https://review.openstack.org/40832208:58
*** reedip_ has joined #openstack-sdks08:59
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstackclient: Add support for Network QoS rule commands  https://review.openstack.org/35247709:12
*** amotoki has joined #openstack-sdks09:18
*** lucas-afk is now known as lucasagomes09:34
*** salv-orlando has joined #openstack-sdks09:41
*** amotoki has quit IRC09:42
*** salv-orlando has quit IRC09:46
*** huanxuan has quit IRC09:46
*** e0ne has joined #openstack-sdks09:55
*** kevo has quit IRC10:00
*** salv-orlando has joined #openstack-sdks10:05
*** Matias has quit IRC10:23
*** Matias has joined #openstack-sdks10:43
*** yanyanhu has quit IRC10:48
*** reedip_ has quit IRC10:55
*** reedip_ has joined #openstack-sdks11:00
*** huanxuan has joined #openstack-sdks11:28
openstackgerritSergey Belous proposed openstack/python-openstackclient: Introduce quota reset command  https://review.openstack.org/37631111:39
*** dhellmann has quit IRC11:42
*** dhellmann has joined #openstack-sdks11:42
openstackgerritjiahui.qiang proposed openstack/python-openstackclient: Add unit tests for usage commands in compute v2  https://review.openstack.org/41442811:45
*** cdent has joined #openstack-sdks11:58
*** d0ugal has quit IRC12:28
*** rtheis has joined #openstack-sdks12:35
*** salv-orlando has quit IRC12:43
*** d0ugal has joined #openstack-sdks12:45
*** jpena is now known as jpena|lunch12:48
*** d0ugal has quit IRC12:51
*** lucasagomes is now known as lucas-hungry12:53
*** salv-orlando has joined #openstack-sdks12:55
*** cdent has quit IRC13:19
*** gouthamr has joined #openstack-sdks13:36
*** amoralej is now known as amoralej|lunch13:40
openstackgerritMerged openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/41439013:40
*** lucas-hungry is now known as lucasagomes13:48
*** jpena|lunch is now known as jpena13:49
*** cdent has joined #openstack-sdks14:06
*** amoralej|lunch is now known as amoralej14:07
*** amotoki has joined #openstack-sdks14:09
*** huanxuan has quit IRC14:13
*** john-davidge has quit IRC14:22
*** john-dav_ has joined #openstack-sdks14:22
*** john-dav_ is now known as john-davidge14:23
*** amotoki has quit IRC14:27
*** salv-orl_ has joined #openstack-sdks14:31
*** salv-orlando has quit IRC14:34
*** rtheis has quit IRC14:47
*** e0ne has quit IRC14:47
*** e0ne has joined #openstack-sdks14:48
*** reedip_ has quit IRC14:57
*** salv-orl_ has quit IRC15:12
csatariI would like to know when openstack port --server  option will be supported in python openstackclient.15:20
*** hongbin has joined #openstack-sdks15:24
*** salv-orlando has joined #openstack-sdks15:27
*** salv-orlando has quit IRC15:31
ankur-gupta-f1csatari:15:54
ankur-gupta-f1on which command. port create, list, etc...15:55
ankur-gupta-f1csatari: 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-sdks16:02
*** reedip_ has joined #openstack-sdks16:03
openstackgerritJordan Pittier proposed openstack/python-openstackclient: Add support for Glance 'update image members' feature  https://review.openstack.org/41084816:15
*** salv-orlando has joined #openstack-sdks16:27
*** kevo has joined #openstack-sdks16:28
*** salv-orlando has quit IRC16:32
*** ralonsoh has quit IRC16:45
*** jpena is now known as jpena|off17:09
*** cdent has quit IRC17:13
*** reedip_ has quit IRC17:14
*** lucasagomes is now known as lucas-pto17:22
*** amoralej is now known as amoralej|pto17:31
*** e0ne has quit IRC17:31
*** john-davidge has quit IRC17:34
*** john-davidge has joined #openstack-sdks17:35
*** john-davidge has quit IRC17:40
*** bandarji has joined #openstack-sdks18:10
bandarjiHowdy - 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/Lh4SQB1Q18:11
bandarjiFirst is with port_attrs without 'security_group_ids' - second is with, as listed18:12
bandarjithen create_port(**port_attrs)18:12
*** gouthamr has quit IRC18:18
*** john-davidge has joined #openstack-sdks18:36
*** john-davidge has quit IRC18:40
*** gouthamr has joined #openstack-sdks18:42
*** bandarji has quit IRC18:48
*** Qiming has quit IRC18:53
*** gouthamr has quit IRC19:06
*** abhiraut has joined #openstack-sdks19:12
*** e0ne has joined #openstack-sdks19:21
*** gouthamr has joined #openstack-sdks19:26
*** Kuwagata has quit IRC19:27
*** Kuwagata has joined #openstack-sdks19:28
*** Kuwagata has quit IRC19:36
*** e0ne has quit IRC19:36
*** Kuwagata has joined #openstack-sdks19:37
*** salv-orlando has joined #openstack-sdks19:47
*** kevo has quit IRC19:57
*** kevo has joined #openstack-sdks20:14
*** abhiraut has quit IRC20:15
dtroyerstevemar: there?20:27
dtroyerI'm looking for evidence that functional tests are even running20:29
*** salv-orl_ has joined #openstack-sdks20:31
*** e0ne has joined #openstack-sdks20:31
*** salv-orlando has quit IRC20:34
*** john-davidge has joined #openstack-sdks20:36
stevemardtroyer: just got home20:40
stevemarare they not even running :O20:40
dtroyerthis is worrying: http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/testr_results.html.gz20:41
dtroyerand I can't find actual results20:41
*** john-davidge has quit IRC20:41
stevemardtroyer: "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.html20:41
stevemarlooking at https://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/functional/post_test_hook.sh20:41
stevemaroye...20:43
stevemardtroyer: i noticed this a month or two ago and it completely slipped my mind to follow up20:43
stevemardtroyer: this is the job20:43
stevemarhttps://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/osc.yaml20:43
dtroyerthat if looks iffy20:45
stevemarhehe20:45
stevemarit worked at one point IIRC20:45
stevemarcause the gate was wedged20:45
dtroyerwe 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_39989020:45
dtroyershould not20:46
stevemardtroyer: https://github.com/openstack-infra/project-config/commit/abef9823f015d9382188956a06d318e6c5739f74 https://github.com/openstack-infra/project-config/commit/0bfa5bd446bc6abe1e37df4ec2743a6edb15316d20:46
stevemardtroyer: thats fine, it's just echo'ing out the command20:47
stevemarhmm: http://logs.openstack.org/48/410848/8/check/gate-osc-dsvm-functional-ubuntu-xenial/a75cd6f/console.html#_2016-12-23_18_55_26_43698120:49
dtroyernot if the file is in the first location20:49
*** abhiraut has joined #openstack-sdks20:50
stevemardtroyer: doesn't seem to differ from others: https://github.com/openstack-infra/project-config/blob/11eb3a36419411b56230ed843e95bb51a4dfcffc/jenkins/jobs/glance.yaml#L26-L2920:55
dtroyerhttps://review.openstack.org/41464920:56
dtroyerI'm not sure $hook_location is defined inside the function20:57
stevemardtroyer: maybe we can convince someone on infra to look at it21:05
stevemardtroyer: cause depends-on won't work21:05
stevemarthough if it works, and we're actually broken hehee21:05
stevemari guess we could skip tests and fix them one at a time21:05
*** e0ne has quit IRC21:09
dtroyerone review for the skips?  I suppose finxing them all will be a bit of work21:09
dtroyerit took me nearly a day to get a running xenial/neutron devstack to test this.  I need some new hardware21:10
*** e0ne has joined #openstack-sdks21:12
*** e0ne has quit IRC21:14
*** abhiraut has quit IRC21:21
stevemardtroyer: well you keep running things on thing dinky MB air21:21
dtroyerI can't run devstack on the air anymore, thank you Neutron21:22
dtroyerI'm using a NUC now, neeed 4 more I think21:22
dtroyerI _REALLY_ want Neutron-lite, that does exactly one network type with no muss and no fuss.  Oh wait, that was nova-net.  kinda21:23
stevemar:)21:27
stevemaryou don't sound upset about that at all21:27
dtroyerI can't afford the overhead of using OpenStack to run VMs to develop OpenStack.  I'm going back to Ganeti to manage VMs21:29
stevemardtroyer: any idea of where I should look at for fixing https://bugs.launchpad.net/os-client-config/+bug/1635696 ?21:31
openstackLaunchpad bug 1635696 in os-client-config "Having a '{' or '}' in password causes formatting errors" [High,Confirmed]21:31
stevemaror https://bugs.launchpad.net/python-openstackclient/+bug/165002621:32
openstackLaunchpad 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
dtroyerfor 1635696, we either need to move occ to a different style string formatting or document needing to escape them in actual use21:33
dtroyer1650026 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 there21:34
dtroyerso that's something we should add to osc-lib, or occ since that's where plugins happen now21:35
dtroyeryuck21:35
*** john-davidge has joined #openstack-sdks21:43
*** john-davidge has quit IRC21:48
stevemaror https://bugs.launchpad.net/python-openstackclient/+bug/165002621:49
openstackLaunchpad 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
stevemaroops, little guy wrote the last 2 lines21:50
dtroyerHarry!21:50
dtroyergot him coding early and often!21:50
*** gouthamr has quit IRC21:51
stevemarhe kinda stumbled upon the up arrow and hit enter21:51
stevemarhe may have been skyping with his grandma21:52
dtroyeralso, tell him he looks awesome in the card!   Thanks21:52
stevemaryay, you got it21:52
stevemarall the US folks got them today-ish, just in time21:53
*** abhiraut has joined #openstack-sdks21:59
stevemardtroyer: oh this is fun: http://paste.openstack.org/show/593296/22:04
stevemarlooks like it's only networking commands!22:04
dtroyerthat's what I was setting up devstack to look at when I found the functional tests22:05
openstackgerritDean Troyer proposed openstack/python-openstackclient: Skip broken functional tests...  https://review.openstack.org/41465222:10
dtroyerstevemar: ^^^ is that a suitable pattern for skipping borkenness?22:10
stevemardtroyer: "skip" is deprecated22:11
stevemarskipTest is what you should use22:11
dtroyeryeah, I tried that threee different ways…lemme try again22:12
thingeeoh my...22:13
dtroyerapparently testtools doesn't have a skipTest decorator22:13
dtroyerthe skip() methos is deprecated, but not the decorator sez the RTD22:13
stevemarpep8 may fail *shrugs*22:15
stevemarhttps://github.com/openstack/python-openstackclient/blob/2026dee17e7b6b8d738345fd27dc905efb6561f1/openstackclient/tests/functional/network/v2/test_network_segment.py#L6622:15
thingee@testtools.skipIf(1 == 1, 'reasons) :D22:16
stevemardtroyer: ah you're  fine : https://github.com/openstack/python-keystoneclient/blob/a2bd23c0dd9ca7ccfcd01640c500e9059a766128/keystoneclient/tests/functional/test_access.py#L2922:16
stevemardtroyer: you're right, the function is deprecated, not the decorator22:17
stevemarthingee: o/22:17
thingeeah22:17
stevemardtroyer: you ran the tests locally?22:18
dtroyeryes22:18
dtroyerI am working through the existing network ones now file-by-file22:19
stevemardtroyer: probably quota set22:22
*** abhiraut has quit IRC22:30
openstackgerritDean Troyer proposed openstack/python-openstackclient: WIP: Skip broken functional tests...  https://review.openstack.org/41465223:21
dtroyerstevemar:  ^^^ current status, I have a bunch of volume tests failing but that might be due to my small devstack disk23:21
*** salv-orl_ has quit IRC23:37
*** Kuwagata has quit IRC23:58

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