Monday, 2019-08-05

*** gtema has joined #openstack-sdks01:24
*** gtema has quit IRC01:28
*** whoami-rajat has joined #openstack-sdks02:38
*** ricolin has joined #openstack-sdks02:51
*** ricolin_ has joined #openstack-sdks03:35
*** ricolin has quit IRC03:38
*** Luzi has joined #openstack-sdks05:06
*** ricolin__ has joined #openstack-sdks06:41
*** ricolin__ is now known as ricolin06:41
*** ricolin_ has quit IRC06:45
*** ralonsoh has joined #openstack-sdks06:54
*** slaweq has joined #openstack-sdks07:04
*** tosky has joined #openstack-sdks07:19
*** gkadam has joined #openstack-sdks07:26
*** jangutter has joined #openstack-sdks07:31
openstackgerritMerged openstack/openstacksdk master: Fix DeprecationWarning for using logger.warn  https://review.opendev.org/67440107:57
*** e0ne has joined #openstack-sdks08:48
openstackgerritBence Romsics proposed openstack/python-openstackclient master: Add command: router add/remove route --route  https://review.opendev.org/67432508:58
*** Luzi has quit IRC09:43
*** dasp has quit IRC09:49
*** dasp has joined #openstack-sdks09:49
*** cdent has joined #openstack-sdks09:49
*** Luzi has joined #openstack-sdks09:56
openstackgerritVishakha Agarwal proposed openstack/openstacksdk master: Add application credential CRUD support  https://review.opendev.org/66933110:18
*** gkadam has quit IRC11:32
*** gkadam has joined #openstack-sdks11:49
*** gtema has joined #openstack-sdks12:05
gtemadtantsur, mordred, Shrews: https://review.opendev.org/#/c/674333/ is really important (event as a hotfix), since without it Ansible can't get/create keypairs12:10
gtemadtantsur, can you please have a look, whether ironic failure in the tests is related or not12:10
gtemathis change also includes switching Ansible tests to Py3, since the problem is visible only there and more and more Platforms are delivering py3 only ansible12:11
*** gtema has quit IRC12:16
*** gtema has joined #openstack-sdks12:18
*** gtema has quit IRC12:23
*** gtema has joined #openstack-sdks12:25
*** gtema has quit IRC12:29
*** jroll has quit IRC12:39
*** jroll has joined #openstack-sdks12:39
*** gtema has joined #openstack-sdks12:53
*** gtema has quit IRC12:55
*** goldyfruit has joined #openstack-sdks13:06
*** goldyfruit has quit IRC13:11
*** mriedem has joined #openstack-sdks13:14
mordreddtantsur|afk, Shrews: yeah - I recommend looking at that patch from gtema - and when it lands let's cut a bugfix release with it13:21
mordredbeing broken for ansible on python3 is a bad thing13:22
mordredshould we add a second run of the ansible tests to cover python2?13:22
efriedmordred: should I nack https://review.opendev.org/#/c/674515/ on the theory that that placement placeholder will be in place soon?13:26
*** Luzi has quit IRC13:46
*** gtema has joined #openstack-sdks14:08
gtemamordred: yeah, adding ansible py2 would be likely good14:09
mordredefried: yeah - I'll get you one today14:15
*** gtema has quit IRC14:20
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add empty placement proxy  https://review.opendev.org/67462014:22
mordredefried: there's the first stab at it14:22
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add empty placement proxy  https://review.opendev.org/67462014:23
*** gtema has joined #openstack-sdks14:26
*** gtema has quit IRC14:28
*** mriedem has quit IRC14:29
*** mriedem has joined #openstack-sdks14:29
efried\o/ Thanks mordred14:31
*** goldyfruit has joined #openstack-sdks15:26
*** ralonsoh has quit IRC15:29
Shrewsdtantsur|afk: FYI, looks like the asserts in openstack.tests.functional.baremetal.test_baremetal_node compare lists (node.traits) in unsorted order and randomly fail (see https://logs.opendev.org/33/674333/3/check/openstacksdk-functional-devstack-ironic/0e8be8d/testr_results.html.gz)15:38
Shrewsmordred: do you remember who added magnum support to sdk?15:39
mordredShrews: I do not15:40
Shrewsoh, maybe yolanda15:40
mordredoh - yeah - I think so15:41
openstackgerritDavid Shrewsbury proposed openstack/openstacksdk master: Fix bm tests: sort lists being compared  https://review.opendev.org/67464015:55
Shrewsdtantsur|afk: ^^15:55
mordredShrews: ++16:05
corvuswhen i use the interactive form of the cli, i get this exception: http://paste.openstack.org/show/755535/16:14
corvussame command works fine non-interactively16:14
*** e0ne has quit IRC16:19
mordreddtroyer: ^^?16:27
*** gtema has joined #openstack-sdks16:29
fricklerseems related to cmd2>=0.9.0, if I install cmd==0.8.9 things work fine16:30
mordredfrickler: "neat"16:30
fricklerthe newer ones also give errors when doing interactive mode with options, like "openstack --os-cloud mycloud", which also works fine with older cmd216:33
*** gtema has quit IRC16:33
dtroyeryeah, we've not kept up with cmd2… I thought we capped it somewhere?16:38
mordredfrickler: so should we be pinning cmd2 for now?16:38
mordreddtroyer: jinx16:38
dtroyermaybe not in stable branches, or far enough back in them?16:39
mordredcorvus: what version of osc are you using there?16:40
corvusopenstack 3.19.016:41
mordredcorvus: and, if you don't mind, what version of cliff is installed in that venv?16:43
corvuscliff==2.15.016:44
mordredthanks16:45
fricklerI tested some older versions of cliff with no effect, versions 0.9.x of cmd2 give varying errors, so based on that short test list, I'd advise to cap cmd2<0.9 for now16:47
mordredfrickler: I don't know why it's not capped16:52
mordredOH16:52
mordredit's because I can't read16:53
openstackgerritMonty Taylor proposed openstack/cliff master: Pin cmd2 on python3 as well  https://review.opendev.org/67465216:54
mordredfrickler, dtroyer: ^&16:54
*** ricolin has quit IRC16:57
efriedmordred: This [1] is likely because of the way we're (not) fixturing [2], which was pretty weak to begin with. I suspect I can get moving by adding a mock for get_endpoint_from_catalog, and then possibly also get_session_client... but I'm kinda not sure I should keep chasing fixtures for sdk internals like that. Thoughts?17:01
efried[1] https://logs.opendev.org/25/674625/1/check/nova-tox-functional-py36/27b16b6/testr_results.html.gz17:01
efried[2] https://opendev.org/openstack/nova/src/branch/master/nova/tests/fixtures.py#L212517:01
mordredefried: hrm. you're making my brain do work17:13
mordredefried: I agree - I don't think you should need to chase fixtures for internals lke that17:13
efriedI did open a story for sdk to publish fixtures for this purpose, but people are busy17:14
mordredyeah. and I really want to publish those17:14
efriedperhaps initially it's as simple as moving the one from nova into sdk, and it can get better refined later.17:14
mordredefried: maybe for today just adding in a get_endpoint_from_catalog mock - but let's elevate the priority of getting you a real fixture17:14
efriedokay, I'll try that on the nova test patch and see what shakes out.17:15
mordredefried: cool. and I'll see if I can sort out something WRT workable long-term exported fixture status17:15
efriedthanks mordred17:16
*** goldyfruit has quit IRC17:18
*** goldyfruit_ has joined #openstack-sdks17:18
openstackgerritMerged openstack/openstacksdk master: Enable ansible module test for keypair to check return data  https://review.opendev.org/67433317:24
toskymordred: hi, is there any update on version handling in SDK (and then microversioning in osc)? I happened to discuss about https://review.opendev.org/#/c/590807/ a few days ago with some cinder developers17:28
mordredtosky: well - sdk handles versions and microversions - but I think to take advantage of that in osc we need to make progress on osc417:58
mordredand then start using sdk methods instead of python-cinderclient methods for cinder operations - it's not going to be a QUICK process17:58
toskymordred: so it does not match that "a couple of weeks" from that comment, I guess? Can you share there (or some public place) what is missing? Because this was one of the blockers for cinder to even start considering OSC as proper replacement18:01
toskyor so I understood18:01
toskyand maybe other people could help with the porting effort18:02
mordredtosky: I just replied on the change - I think we need to circle with dtroyer on plans here - but yes, I totally agree it would be best if we get people to help with the porting effort18:02
*** e0ne has joined #openstack-sdks18:05
toskymordred: slightly different question - I noticed that the openstackclient functional tests implements their own base classes; have you considered using CLIClient from tempest.lib?18:09
toskyIt can be used without the rest of tempest; that's what the python-cinderclient functional tests do (stestr run and that's it)18:10
*** tosky has quit IRC18:32
*** e0ne has quit IRC18:45
*** cdent has quit IRC18:59
openstackgerritEric Fried proposed openstack/openstacksdk master: Allow limiting Connection service_types from oslo.config  https://review.opendev.org/67467519:01
efriedmordred: howza ^19:01
*** e0ne has joined #openstack-sdks19:16
*** e0ne has quit IRC19:31
mordredefried: awesome21:14
*** mriedem has quit IRC21:19
*** mriedem has joined #openstack-sdks21:21
openstackgerritMerged openstack/openstacksdk master: Fix bm tests: sort lists being compared  https://review.opendev.org/67464021:43
*** whoami-rajat has quit IRC21:58
*** tosky has joined #openstack-sdks22:26
*** tosky has quit IRC22:47
openstackgerritChristian Berendt proposed openstack/openstacksdk master: Update betacloud vendor entry  https://review.opendev.org/67471523:53

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