Monday, 2020-09-07

*** tkajinam has joined #openstack-sdks00:00
*** iurygregory has quit IRC02:03
*** sapd1_x has joined #openstack-sdks03:20
openstackgerritTuro Soisenniemi proposed openstack/ansible-collections-openstack master: Adds option 'filters' to openstack inventory  https://review.opendev.org/75011004:31
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-sdks04:33
*** slaweq has joined #openstack-sdks05:12
*** slaweq has quit IRC05:16
*** slaweq has joined #openstack-sdks05:19
*** slaweq has quit IRC05:24
*** sapd1_x has quit IRC05:33
*** ralonsoh has joined #openstack-sdks06:26
*** ralonsoh_ has joined #openstack-sdks06:55
*** ralonsoh has quit IRC06:57
*** gtema has joined #openstack-sdks07:00
*** jpena|off is now known as jpena07:04
*** slaweq has joined #openstack-sdks07:08
*** nightmare_unreal has joined #openstack-sdks07:11
*** holser has joined #openstack-sdks07:20
*** sapd1_x has joined #openstack-sdks07:31
*** sapd1_x has quit IRC07:49
*** holser has quit IRC07:50
*** holser has joined #openstack-sdks07:52
*** jpich has joined #openstack-sdks08:02
*** iurygregory has joined #openstack-sdks08:07
nightmare_unrealhello I am working on a patch to fix json output in openstack server show -f json command.08:16
nightmare_unrealpatch is here : https://review.opendev.org/#/c/733573/08:16
nightmare_unrealbut after looking at functional tests it seems it expects the wrong json : https://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/functional/compute/v2/test_server.py#L61608:16
nightmare_unrealis this known ? or was intended like this only ?08:16
gtemaI guess it was intended this way08:17
gtemanot sure that it makes sense though08:17
gtemawhoever is interested: I have registered a PTG slot for SDK/CLI team on 28.10 14:00-16:59 UTC time (no agenda so far)08:34
nightmare_unrealyeah gtema  , I am not sure if this makes sense.  I will make changes to functional tests accordingly and then let's see . someone can review them :)08:47
gtemaok08:59
*** jpich has quit IRC09:04
*** jpich has joined #openstack-sdks09:04
*** lxkong has joined #openstack-sdks09:20
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357309:34
*** ralonsoh_ is now known as ralonsoh09:45
*** jpich has quit IRC10:05
*** jpich has joined #openstack-sdks10:05
*** tosky has joined #openstack-sdks10:33
*** dtantsur|afk is now known as dtantsur10:38
*** jawad_axd has joined #openstack-sdks10:50
openstackgerritArtem Goncharov proposed openstack/python-openstackclient master: [WIP] Switch compute flavors from novaclient/direct to SDK  https://review.opendev.org/75015111:25
*** jpena is now known as jpena|lunch11:30
nightmare_unrealhow can I run specific functional test ? I only want to run a specific file ( or specific function)11:33
gtemalocally?11:33
nightmare_unrealyes or in devstack11:50
nightmare_unrealanything will work11:50
gtemaOS_ADMIN_CLOUD=xxx python -m unittest openstackclient.tests.functional.yyy11:50
nightmare_unrealthanks :)11:51
*** jpena|lunch is now known as jpena12:30
openstackgerritArtem Goncharov proposed openstack/python-openstackclient master: [WIP] Switch compute flavors from novaclient/direct to SDK  https://review.opendev.org/75015112:30
*** Luzi has joined #openstack-sdks12:45
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357312:49
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357312:57
*** enriquetaso has joined #openstack-sdks13:06
slaweqfrickler: mordred: hi, can You take a look at https://review.opendev.org/#/c/723280/ once again? I addressed last comments there and IMO this is now good to go :)13:14
gtemaI will, slaweq13:25
slaweqgtema: thx a lot13:26
*** jawad_axd has quit IRC13:29
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007213:49
*** jpich has quit IRC13:50
*** jpich has joined #openstack-sdks13:51
openstackgerritMerged openstack/cliff master: Capturing argparse errors due to problem with cmd2  https://review.opendev.org/74875313:59
openstackgerritArtem Goncharov proposed openstack/python-openstackclient master: [WIP] Switch compute flavors from novaclient/direct to SDK  https://review.opendev.org/75015114:04
gtemaslaweq: is it possible, that extension querying API is not available? I have seen at least one cloud, where this is the case14:06
openstackgerritMerged openstack/osc-lib master: Update the constraints url  https://review.opendev.org/68386514:08
*** jpena is now known as jpena|away14:12
slaweqgtema: I really don't think it is possible without some modifications of neutron14:16
gtemaokay, thks14:16
slaweqgtema: https://docs.openstack.org/api-ref/network/v2/#id5 it should be available for anyone as it's the only mechanism which neutron provides to discover api features14:17
gtemaI know this API, just faced when it was not available14:17
gtema(and agree about neutron changes)14:17
*** LinPeiWen has joined #openstack-sdks14:35
*** Luzi has quit IRC14:39
*** martalais has joined #openstack-sdks14:46
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357315:22
noonedeadpunksorry for bothering you, but I kind of get stuck with the way to provide microversion for nova. I was trying to pass compute_default_microversion=2.53 to openstack.connect, but given data is not changed (ie openstack aggregate show 1 --os-compute-api-version=2.53 has uuid filed while conn.compute.get_aggregate(1) not15:35
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007215:42
openstackgerritArtem Goncharov proposed openstack/python-openstackclient master: [WIP] Switch compute flavors from novaclient/direct to SDK  https://review.opendev.org/75015115:44
noonedeadpunktbh I\m not sure if microversion here can be used at all.... https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/aggregate.py#L4215:44
gtemanoonedeadpunk what exactly are you trying to achieve? I don't get it15:45
noonedeadpunkgtema: sorry, let me try to rephrase this... I need to get aggregate uuid, which is available only when providing microversion, ie http://paste.openstack.org/show/797548/15:47
*** jpena|away is now known as jpena15:47
noonedeadpunkbut with openstacksdk when I ask conn.compute.get_aggregate(1) - there's no such attribute as uuid15:47
noonedeadpunkhttp://paste.openstack.org/show/797549/15:48
gtemagot it15:48
gtemaon the resource level attribute _max_microversion is missing. Without it SDK will not try to negotiate microversion15:49
gtemasee i.e. server of flavor for example how to set it15:49
noonedeadpunkI tried to provide nova_default_microversion to the connect() (along with auth_url and stuff), but nothing changed15:49
noonedeadpunk*compute_default_microversion15:51
gtemayou don't need this at all15:51
noonedeadpunkgtema: sorry, not really sure I got it... so here's _max_microversion... https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/flavor.py#L33 but I guess I can't use this without patching sdk?15:51
gtemaexactly15:52
gtemathis would be the proper way (making fix in SDK)15:52
*** lxkong has quit IRC15:53
noonedeadpunkand shouldn't be there some way to pass microversion to _action method?15:54
gtemayou never end up in _action for listing15:55
noonedeadpunkand while getting as well....15:55
noonedeadpunkYeah, I see15:55
noonedeadpunkso is it just about to define `_max_microversion = '2.61'` inside Aggregate?15:56
gtema2.41 should be the right one (when uuid was added)15:57
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstacksdk master: Add _max_microversion for aggregates  https://review.opendev.org/75020016:05
* noonedeadpunk writes conn.compute.get() generator in the meanwhile....16:06
*** jpich has quit IRC16:08
openstackgerritMerged openstack/python-openstackclient master: Add NUMA affinity policy parameter to "port"  https://review.opendev.org/74050116:11
*** openstackgerrit has quit IRC16:11
*** openstackgerrit has joined #openstack-sdks16:12
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007216:12
*** jpena is now known as jpena|away16:15
*** gtema has quit IRC16:19
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstacksdk master: Add _max_microversion for aggregates  https://review.opendev.org/75020016:29
*** ralonsoh has quit IRC16:44
*** gtema has joined #openstack-sdks16:49
*** jpena|away is now known as jpena16:54
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007216:55
*** martalais has quit IRC17:13
*** dtantsur is now known as dtantsur|afk17:18
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add _max_microversion for aggregates  https://review.opendev.org/75020017:19
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add _max_microversion for aggregates  https://review.opendev.org/75020017:21
*** jpena is now known as jpena|off17:23
*** gtema has quit IRC17:29
*** nightmare_unreal has quit IRC17:40
*** gtema has joined #openstack-sdks18:01
*** gtema has quit IRC18:06
*** gtema has joined #openstack-sdks18:24
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007218:26
*** gtema has quit IRC18:36
*** gtema has joined #openstack-sdks20:27
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add additional compute flavor operations  https://review.opendev.org/75007220:29
openstackgerritArtem Goncharov proposed openstack/python-openstackclient master: [WIP] Switch compute flavors from novaclient/direct to SDK  https://review.opendev.org/75015120:30
*** gtema has quit IRC20:30
*** slaweq has quit IRC21:19
*** slaweq has joined #openstack-sdks21:23
*** slaweq has quit IRC21:27
*** enriquetaso has quit IRC22:55
*** tosky has quit IRC23:16

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!