Tuesday, 2021-04-20

openstackgerritShnaidman Sagi proposed openstack/ansible-collections-openstack master: Add wallaby job to CI  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78687401:05
*** spatel_ has joined #openstack-ansible-sig01:23
*** spatel_ is now known as spatel01:23
*** spatel has quit IRC01:41
*** spatel_ has joined #openstack-ansible-sig02:14
*** spatel_ is now known as spatel02:14
*** evrardjp has quit IRC02:33
*** evrardjp has joined #openstack-ansible-sig02:33
*** spatel has quit IRC06:10
*** gtema has joined #openstack-ansible-sig06:12
openstackgerritShnaidman Sagi proposed openstack/ansible-collections-openstack master: Swift object module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78665307:12
*** tremble has quit IRC07:36
*** tremble has joined #openstack-ansible-sig08:12
*** gtema has quit IRC11:45
*** gtema has joined #openstack-ansible-sig12:14
sshnaidmgtema, hi12:51
gtemahey sshnaidm12:52
sshnaidmgtema, I wanted to ask something.. when we use sdk in ansible modules, does it have any sort of caching tokens/auth?12:52
gtemaby default - no12:53
gtemain the clouds.yaml you can enable caching12:53
gtemabut it is a bit tricky and doesn't want to be working for everything12:53
gtemaonly cloud layer and only selected functions support that12:53
gtemai.e. https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/cloud/_compute.py#L7312:54
gtemaah, you mean auth caching12:54
gtemagreat that you ask12:54
gtemasupport for that landed few days ago, but it only cache in the keyring. I have not tested how this works with Ansible12:55
gtemahttps://review.opendev.org/c/openstack/openstacksdk/+/73535212:55
gtemaI am going to continue working on it so that we can cache token in case of MFA. I guess it is also valid for Ansible12:56
sshnaidmgtema, because of Ansible creates every task a new connection with SDK I think it may be not able to use this cache.. If only we had something dumped on disk :(12:57
sshnaidmlike .aws/config or whatever..12:57
gtemait should be possible is keyring is installed12:57
gtemawe do not want to save token in plain text though12:58
sshnaidmgtema, you mean this, right? https://docs.openstack.org/openstacksdk/latest/user/config/configuration.html#cache-settings12:59
gtemayes12:59
*** gtema has quit IRC13:00
*** spatel_ has joined #openstack-ansible-sig13:00
*** spatel_ is now known as spatel13:00
sshnaidmgtema, and which keyring do I need to install for using it?13:00
*** gtema has joined #openstack-ansible-sig13:00
gtemadepending on the cloud it saves perhaps 300ms13:00
sshnaidmwell, I suppose it saves a keystone call and if keystone is slow it may save a lot?13:01
gtemayes, as I wrote - on practice its about 300-500ms13:01
gtemafor Ansible this is not ground-breaking13:01
sshnaidmgtema, and how do I install keyring? not familiar with it13:02
gtemapip install keyring13:02
sshnaidmoh, it's py module..13:03
gtemadepending on the OS you will have some UI for keyring - this lib is just a connector13:03
gtemahttps://pypi.org/project/keyring/13:03
sshnaidmgtema, cool, thanks for tips!13:05
gtemawelcome13:05
sshnaidmgtema, do you plan to attend ansible sig ptg session?13:05
gtemasure13:05
sshnaidmit's just before sdk session13:06
sshnaidmcool13:06
gtemathe modules, not ansible ;-)13:06
*** gtema_ has joined #openstack-ansible-sig13:11
sshnaidmyeah)13:11
*** gtema has quit IRC13:13
*** gtema_ has quit IRC13:19
*** gtema has joined #openstack-ansible-sig13:26
*** spatel has quit IRC14:24
*** gtema has quit IRC14:35
*** gtema has joined #openstack-ansible-sig14:38
*** spatel_ has joined #openstack-ansible-sig14:40
*** spatel_ is now known as spatel14:40
*** tremble has quit IRC15:00
openstackgerritMerged openstack/ansible-collections-openstack master: Add wallaby job to CI  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78687415:43
*** spatel has quit IRC17:11
*** tremble has joined #openstack-ansible-sig17:27
*** gtema has quit IRC17:46
*** iurygregory has quit IRC18:15
*** spatel_ has joined #openstack-ansible-sig19:44
*** spatel_ is now known as spatel19:44
*** spatel has quit IRC20:45
*** odyssey4me has quit IRC21:05
*** odyssey4me has joined #openstack-ansible-sig21:06

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