Thursday, 2020-09-03

*** artom has quit IRC00:19
openstackgerritBrin Zhang proposed openstack/python-openstackclient master: Add server migrate list CLI  https://review.opendev.org/67530400:47
*** lifeless has joined #openstack-sdks01:02
*** dave-mccowan has quit IRC04:09
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-sdks04:33
*** TheJulia has quit IRC04:39
*** TheJulia has joined #openstack-sdks04:40
*** gtema has joined #openstack-sdks06:20
*** sshnaidm|afk is now known as sshnaidm06:50
*** ralonsoh has joined #openstack-sdks07:11
*** yoctozepto2 has joined #openstack-sdks07:20
*** yoctozepto has quit IRC07:22
*** yoctozepto2 is now known as yoctozepto07:22
*** tosky has joined #openstack-sdks07:40
*** jpena|off is now known as jpena07:57
*** jpich has joined #openstack-sdks08:04
*** ebbex has quit IRC08:37
*** ebbex has joined #openstack-sdks08:44
*** dtantsur|afk is now known as dtantsur09:06
*** ricolin has quit IRC09:29
*** bverschueren has quit IRC09:32
*** bverschueren has joined #openstack-sdks09:32
*** jpich has quit IRC09:40
*** jpich has joined #openstack-sdks09:41
*** gtema has quit IRC10:27
*** gtema has joined #openstack-sdks10:35
*** gtema has quit IRC11:15
*** jpena is now known as jpena|lunch11:38
*** gtema has joined #openstack-sdks11:46
*** enriquetaso has joined #openstack-sdks12:00
*** ricolin has joined #openstack-sdks12:10
*** jpena|lunch is now known as jpena12:40
*** ralonsoh has quit IRC12:51
*** ralonsoh has joined #openstack-sdks12:52
*** nikparasyr has joined #openstack-sdks13:09
*** dave-mccowan has joined #openstack-sdks13:10
*** artom has joined #openstack-sdks13:37
nikparasyrhello, i've noticed that for many resources such as projects, domains etc via the openstacksdk its not possible to get the tags of these resources13:38
nikparasyram i missing something or is that true? is there any blueprint to implement this?13:38
gtemanot all resources support tagging (not talking that resources you refer doesn't)13:39
gtemagenerally a standard way to implement this is to mixin resource.TagMixin (https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/network/v2/port.py#L17)13:40
gtemathis will enable all standard tag operations13:40
gtemaand projects do that already, so there is support for tags there13:41
gtemahttps://opendev.org/openstack/openstacksdk/src/branch/master/openstack/identity/v3/project.py#L1713:41
nikparasyrdomains dont: https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/identity/v3/domain.py#L1713:42
nikparasyrwhich was the resource i started looking at13:42
gtemadomains do not support tags as a feature at all13:43
gtemait's nothing SDK can do about13:43
nikparasyrhmmmmm, i thought they did but maybe im wrong, ( i actually have tagged domains that i do via terraform -> gophercloud ) but maybe im missing something13:44
nikparasyri'll have a look. this is a good starting point in any case. i might come back with more questions :P. thanks a lot13:45
gtemaare you talking about identity domain or something else?13:45
gtemasince I do not see terraform managing identity domains at all13:46
nikparasyryes about identity domain. via tf i do this via: https://www.terraform.io/docs/providers/openstack/r/identity_project_v3.html#is_domain but i have to double check gophercloud to see exactly how they have implemented it13:48
nikparasyrbut by creating it like this i can set tags, and via cli i can see them via a openstack domain show <id> and via the sdk i cannot13:48
gtemathis is still managing a project concept, and not the domain13:48
gtemawhich SDK call you use?13:49
*** Luzi has joined #openstack-sdks13:50
nikparasyri used both: conn.identity.domains() and conn.list_domains(), given the new information im pretty sure i can scrape this info via projects()13:50
gtemause conn.identity.projects()13:51
gtemasince in keystone there are 2 concepts: projects and domains13:51
gtemaprojects support tags, domains not13:51
gtemaand project can be "is_domain"13:51
nikparasyrok. thanks a lot :)13:51
gtemawlcm13:52
*** ralonsoh has quit IRC14:41
*** ralonsoh has joined #openstack-sdks14:42
*** artom has quit IRC15:22
*** iurygregory has quit IRC15:24
*** artom has joined #openstack-sdks15:27
*** Luzi has quit IRC15:28
*** dtantsur is now known as dtantsur|afk15:31
*** iurygregory has joined #openstack-sdks15:42
*** elmiko has joined #openstack-sdks15:51
noonedeadpunkhi everyone! Need some help with sdk regarding placement... I figured out that regarding placement we can only send get/post/put/etc. But not really sure I got the way to send data for post....15:58
noonedeadpunksol ike hgave no issues with `conn.placement.get('/resource_providers/3088cbfe-2bd7-415d-a83e-b32cd2c1f44f')15:59
gtemalook in https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/server.py#L231 for example of sending data with post16:00
noonedeadpunkbut not sure how conn.placement.post works, as it claims that it's Malformed JSON16:00
elmikoAPI SIG office hour now open16:00
gtemainside it is plain python requests16:00
noonedeadpunkand no args to pass data to16:00
* gtema waives to elmiko16:00
noonedeadpunkgtema: will try this, thanks16:01
* elmiko waves to gtema 16:01
gtemasad email you have sent16:01
elmikosorry, had to be done16:01
gtemayes, sure. We all said that16:01
elmikowe've done a lot of good things with this sig over the years though. i'm proud of all the contributions people have made =)16:02
gtemagreat16:02
elmikoi'm glad we finally merged the service discovery stuff though lol16:02
gtemahehe16:03
*** dayou has quit IRC16:04
*** nikparasyr has left #openstack-sdks16:20
*** dayou has joined #openstack-sdks16:28
elmikowell, it's been a good run. thanks to everyone for their contributions =)16:56
elmikohave a good weekend all, and stay safe out there! o/16:57
*** jpena is now known as jpena|off17:03
*** gtema has quit IRC17:12
*** dayou has quit IRC17:18
*** dayou has joined #openstack-sdks17:31
*** jpich has quit IRC18:10
*** nightmare_unreal has quit IRC18:29
*** sshnaidm is now known as sshnaidm|off18:48
*** gtema has joined #openstack-sdks19:13
*** gtema has quit IRC19:18
*** ralonsoh has quit IRC19:30
*** tosky has quit IRC19:45
*** slaweq has quit IRC20:20
*** slaweq has joined #openstack-sdks20:25
*** johnavp1989 has left #openstack-sdks20:36
*** johnavp1989 has joined #openstack-sdks20:36
openstackgerritMerged openstack/openstacksdk master: Add func test for compute microversion 2.3  https://review.opendev.org/74151421:00
openstackgerritMerged openstack/openstacksdk master: Add tests for compute microversion 2.2 and 2.10  https://review.opendev.org/74129521:05
openstackgerritMerged openstack/openstacksdk master: Switch nodepool test to containers  https://review.opendev.org/74893221:05
openstackgerritMerged openstack/python-openstackclient master: Allow openstack flavor set to update flavor description using name  https://review.opendev.org/73368822:01
*** bverschueren has quit IRC22:05
*** bverschueren has joined #openstack-sdks22:06
*** enriquetaso has quit IRC22:39

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