openstackgerrit | Shnaidman Sagi proposed openstack/ansible-collections-openstack master: Add wallaby job to CI https://review.opendev.org/c/openstack/ansible-collections-openstack/+/786874 | 01:05 |
---|---|---|
*** spatel_ has joined #openstack-ansible-sig | 01:23 | |
*** spatel_ is now known as spatel | 01:23 | |
*** spatel has quit IRC | 01:41 | |
*** spatel_ has joined #openstack-ansible-sig | 02:14 | |
*** spatel_ is now known as spatel | 02:14 | |
*** evrardjp has quit IRC | 02:33 | |
*** evrardjp has joined #openstack-ansible-sig | 02:33 | |
*** spatel has quit IRC | 06:10 | |
*** gtema has joined #openstack-ansible-sig | 06:12 | |
openstackgerrit | Shnaidman Sagi proposed openstack/ansible-collections-openstack master: Swift object module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/786653 | 07:12 |
*** tremble has quit IRC | 07:36 | |
*** tremble has joined #openstack-ansible-sig | 08:12 | |
*** gtema has quit IRC | 11:45 | |
*** gtema has joined #openstack-ansible-sig | 12:14 | |
sshnaidm | gtema, hi | 12:51 |
gtema | hey sshnaidm | 12:52 |
sshnaidm | gtema, I wanted to ask something.. when we use sdk in ansible modules, does it have any sort of caching tokens/auth? | 12:52 |
gtema | by default - no | 12:53 |
gtema | in the clouds.yaml you can enable caching | 12:53 |
gtema | but it is a bit tricky and doesn't want to be working for everything | 12:53 |
gtema | only cloud layer and only selected functions support that | 12:53 |
gtema | i.e. https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/cloud/_compute.py#L73 | 12:54 |
gtema | ah, you mean auth caching | 12:54 |
gtema | great that you ask | 12:54 |
gtema | support for that landed few days ago, but it only cache in the keyring. I have not tested how this works with Ansible | 12:55 |
gtema | https://review.opendev.org/c/openstack/openstacksdk/+/735352 | 12:55 |
gtema | I am going to continue working on it so that we can cache token in case of MFA. I guess it is also valid for Ansible | 12:56 |
sshnaidm | gtema, 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 |
sshnaidm | like .aws/config or whatever.. | 12:57 |
gtema | it should be possible is keyring is installed | 12:57 |
gtema | we do not want to save token in plain text though | 12:58 |
sshnaidm | gtema, you mean this, right? https://docs.openstack.org/openstacksdk/latest/user/config/configuration.html#cache-settings | 12:59 |
gtema | yes | 12:59 |
*** gtema has quit IRC | 13:00 | |
*** spatel_ has joined #openstack-ansible-sig | 13:00 | |
*** spatel_ is now known as spatel | 13:00 | |
sshnaidm | gtema, and which keyring do I need to install for using it? | 13:00 |
*** gtema has joined #openstack-ansible-sig | 13:00 | |
gtema | depending on the cloud it saves perhaps 300ms | 13:00 |
sshnaidm | well, I suppose it saves a keystone call and if keystone is slow it may save a lot? | 13:01 |
gtema | yes, as I wrote - on practice its about 300-500ms | 13:01 |
gtema | for Ansible this is not ground-breaking | 13:01 |
sshnaidm | gtema, and how do I install keyring? not familiar with it | 13:02 |
gtema | pip install keyring | 13:02 |
sshnaidm | oh, it's py module.. | 13:03 |
gtema | depending on the OS you will have some UI for keyring - this lib is just a connector | 13:03 |
gtema | https://pypi.org/project/keyring/ | 13:03 |
sshnaidm | gtema, cool, thanks for tips! | 13:05 |
gtema | welcome | 13:05 |
sshnaidm | gtema, do you plan to attend ansible sig ptg session? | 13:05 |
gtema | sure | 13:05 |
sshnaidm | it's just before sdk session | 13:06 |
sshnaidm | cool | 13:06 |
gtema | the modules, not ansible ;-) | 13:06 |
*** gtema_ has joined #openstack-ansible-sig | 13:11 | |
sshnaidm | yeah) | 13:11 |
*** gtema has quit IRC | 13:13 | |
*** gtema_ has quit IRC | 13:19 | |
*** gtema has joined #openstack-ansible-sig | 13:26 | |
*** spatel has quit IRC | 14:24 | |
*** gtema has quit IRC | 14:35 | |
*** gtema has joined #openstack-ansible-sig | 14:38 | |
*** spatel_ has joined #openstack-ansible-sig | 14:40 | |
*** spatel_ is now known as spatel | 14:40 | |
*** tremble has quit IRC | 15:00 | |
openstackgerrit | Merged openstack/ansible-collections-openstack master: Add wallaby job to CI https://review.opendev.org/c/openstack/ansible-collections-openstack/+/786874 | 15:43 |
*** spatel has quit IRC | 17:11 | |
*** tremble has joined #openstack-ansible-sig | 17:27 | |
*** gtema has quit IRC | 17:46 | |
*** iurygregory has quit IRC | 18:15 | |
*** spatel_ has joined #openstack-ansible-sig | 19:44 | |
*** spatel_ is now known as spatel | 19:44 | |
*** spatel has quit IRC | 20:45 | |
*** odyssey4me has quit IRC | 21:05 | |
*** odyssey4me has joined #openstack-ansible-sig | 21:06 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!