Earlier  
Posted Nick Remark
#openstack-sdks - 2019-07-05
07:31:51 gtema hmm, it works for me. But I prefer not to use it at all. From my POV as of now it make sense only for flavors
07:31:53 ITD27M01 gtema: connection.list_servers is a cloud layer ?
07:31:59 gtema yes, it is
07:33:38 gtema can you please share somehow your clouds.yaml cache section?
07:34:02 openstackgerrit zhangqing proposed openstack/python-openstackclient master: Fix cliff formattable columns in volume type https://review.opendev.org/669280
07:34:52 ITD27M01 gtema: Yes, few seconds please.
07:36:17 ITD27M01 gtema: https://gist.github.com/ITD27M01/2705328e31d77770f02e85eeca55651d
07:36:31 ITD27M01 gtema: the first example with memory cache
07:38:48 gtema_ you miss the further configuration. Gimme a sec to share
07:39:36 ITD27M01 gtema: the second one with pylibmc https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b6
07:40:07 gtema_ yes, the second one is correct
07:40:15 gtema_ is your memcached running?
07:40:59 ITD27M01 gtema: last one with memcached https://gist.github.com/ITD27M01/6752eecd9ab4633beba4226d8a28e807
07:41:18 ITD27M01 LISTEN 0 128 0.0.0.0:11211 0.0.0.0:*
07:41:18 ITD27M01 (venv) [root@srv8-byappi ~]# ss -nlt | grep 11211
07:41:41 gtema_ pylibmc still requires memcached to be running. It's basically the same memcached backend
07:42:16 gtema_ I played around only with pylibmc and file backend, not the others
07:42:31 gtema_ can you please try the pylibmc and give a proper port for memcached?
07:45:02 ITD27M01 gtema: Updated https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b6
07:45:09 ITD27M01 gtema: Is this correct?
07:45:24 gtema_ yes, whould be
07:47:09 ITD27M01 gtema: Still empty output in list_servers :(
07:47:39 gtema_ and without caching it works? Just to be sure
07:48:19 ITD27M01 gtema: Without caching and with expiration.servers: 0 it works
07:48:33 ITD27M01 gtema: connection.list_servers(detailed=False, bare=True, filters=filters) it is the list_servers call
07:49:56 gtema_ hm. I am not sure there are proper logging for the caching, but can you try with debug mode? Also, is SDK able to connect to memcached? (I was always using the default port, so not specifying it at all)
07:53:02 gtema_ and the last question, which version of SDK are you using?
07:54:22 ITD27M01 gtema: openstacksdk==0.31.1, the memcached server on the local machine I will try to debug
07:54:41 gtema_ ok, I will be afk for next hour
08:14:28 ITD27M01 gtema: Debug with cache _disabled_ https://gist.github.com/ITD27M01/57b4fc69c13e6a166fe4af149848f3f9
08:15:29 ITD27M01 gtema: Debug with enabled cache: https://gist.github.com/ITD27M01/cea8b04c0b836c0cef5fda21564efd04
08:20:59 gtema ITD27M01: would you mind trying to add into the config expiration for the flavor (on the same level as server:3600) - flavor: -1
08:21:22 gtema I do not see the default for the flavor expiration, and this is the only thing which differs
08:24:09 ITD27M01 gtema: The same log, last line is a call to servers/detail and that's it.
08:24:53 ITD27M01 flavor: -1
08:24:53 ITD27M01 server: 5
08:24:53 ITD27M01 expiration:
09:10:43 openstackgerrit zhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands https://review.opendev.org/669304
09:39:24 openstackgerrit zhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands https://review.opendev.org/669304
09:40:20 ITD27M01 gtema: Cache works fine in openstacksdk-0.17.2 (lowest version I need). I will check where the caching stops to work.
09:59:38 ITD27M01 gtema: Cache does not work starting openstacksdk-0.20.0
10:00:43 gtema_ ok
10:02:26 ITD27M01 gtema: What are my prospects now?
10:03:16 gtema_ do not know yet, for me it was working with latest version
10:03:28 gtema_ sorry, am busy now. Will try to look bit later
10:06:02 ITD27M01 gtema: Ok, thank you
11:15:49 openstackgerrit Vishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support https://review.opendev.org/669331
11:28:30 openstackgerrit Vishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support https://review.opendev.org/669331
15:46:09 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/openstacksdk master: Increase randomness in ZONE creation https://review.opendev.org/669377
16:27:21 openstackgerrit Merged openstack/shade master: Mailing lists change openstack-dev to openstack-discuss https://review.opendev.org/668438
17:43:31 openstackgerrit Merged openstack/openstacksdk master: Fix invalid assert state https://review.opendev.org/668794
17:43:32 openstackgerrit Merged openstack/openstacksdk master: Allow deeper levels of nesting for pdf builds https://review.opendev.org/667114
18:17:16 openstackgerrit Corey Bryant proposed openstack/cliff master: Add Python 3 Train unit tests https://review.opendev.org/669445
18:18:41 openstackgerrit Corey Bryant proposed openstack/openstackclient master: Add Python 3 Train unit tests https://review.opendev.org/637739
18:20:00 openstackgerrit Corey Bryant proposed openstack/osc-lib master: Add Python 3 Train unit tests https://review.opendev.org/669446
18:33:44 openstackgerrit Corey Bryant proposed openstack/python-openstackclient master: Add Python 3 Train unit tests https://review.opendev.org/669447
18:34:51 openstackgerrit Corey Bryant proposed openstack/openstacksdk master: Add Python 3 Train unit tests https://review.opendev.org/669449
18:35:40 openstackgerrit Corey Bryant proposed openstack/os-client-config master: Add Python 3 Train unit tests https://review.opendev.org/669450
18:36:10 openstackgerrit Corey Bryant proposed openstack/os-service-types master: Add Python 3 Train unit tests https://review.opendev.org/669451
18:36:53 openstackgerrit Corey Bryant proposed openstack/shade master: Add Python 3 Train unit tests https://review.opendev.org/669452
19:01:36 openstackgerrit Merged openstack/openstacksdk master: Increase randomness in ZONE creation https://review.opendev.org/669377
#openstack-sdks - 2019-07-06
12:11:04 openstackgerrit Yuval Shalev proposed openstack/openstacksdk master: Added all-projects headers to dns service. https://review.opendev.org/669547
19:13:10 openstackgerrit Yuval Shalev proposed openstack/openstacksdk master: Added all-projects headers option to dns proxy. https://review.opendev.org/669547
#openstack-sdks - 2019-07-08
06:52:27 openstackgerrit Boxiang Zhu proposed openstack/python-openstackclient master: Add host and hypervisor_hostname to create servers https://review.opendev.org/669609
13:14:18 openstackgerrit Romil Gupta proposed openstack/openstacksdk master: Fix typo for subnet.py This 'slacc' should be 'slaac' https://review.opendev.org/669661
#openstack-sdks - 2019-07-09
06:18:27 openstackgerrit Boxiang Zhu proposed openstack/python-openstackclient master: Add host and hypervisor_hostname to create servers https://review.opendev.org/669609
06:56:19 openstackgerrit zhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands https://review.opendev.org/669304
09:20:24 openstackgerrit Vishakha Agarwal proposed openstack/openstacksdk master: Add application credential CRUD support https://review.opendev.org/669331
09:42:10 openstackgerrit Vishakha Agarwal proposed openstack/openstacksdk master: Add application credential CRUD support https://review.opendev.org/669331
12:11:50 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Push sort_key down to server for flavor filtering https://review.opendev.org/669857
12:11:50 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Use resource layer for compute flavors https://review.opendev.org/650903
12:12:30 mordred gtema: addressed a couple of review comments from dtantsur in the compute flavors patch ^^ and then added a followup.
12:13:20 gtema super mordred. Wanted already to remind about the whole batch, but you was faster than I had time to switch context :-)
12:14:20 gtema btw, I would also need attention to the "rework monitoring" change, but I have found another case where metric name is not generated properly, so will do another PS shortly
12:17:20 mordred cool - will look at that too
12:17:25 gtema thks
12:26:57 gtema mordred, do you remember about project cleanup tasks we took with you? We need to start doing that, since that is also I need in my project
12:30:10 mordred gtema: funny - I was *just* talking about that a little in #openstack-infra :)
12:30:48 mordred gtema: I probably can't get that done this week, but probably can next week
12:31:20 gtema no hurry, it's just a reminder, that we took that on us
12:43:47 openstackgerrit Merged openstack/shade master: Add Python 3 Train unit tests https://review.opendev.org/669452
12:46:40 mordred gtema: ++
12:53:02 mgariepy can i please have some review on : https://review.opendev.org/#/c/668017/ and https://review.opendev.org/#/c/668018/
12:57:02 Shrews mordred: https://review.opendev.org/666905 is fyi. i haven't looked to see if latest sdk handles that yet
13:01:13 mordred Shrews: it's *supposed* to - maybe we're missing a guard somewhere
13:02:52 mordred Shrews: oh - hrm. looking at the nodepool patch itself (not just the commit message) - nodepool is calling list_ports directly not just getting to it via create_server
13:03:30 mordred I think in that case we're almost *Certainly* missing a guard - we should put a if not self.has_service('network'): return [] at the top or something similar
13:03:43 Shrews yeah, for port cleanup iirc
13:04:08 Shrews yes, agreed
13:06:30 mordred Shrews: I'll make a patch so you can review
13:06:45 openstackgerrit Merged openstack/openstacksdk master: Fix typo for subnet.py This 'slacc' should be 'slaac' https://review.opendev.org/669661
13:06:54 Shrews k
13:11:30 openstackgerrit Merged openstack/openstacksdk master: Switch cloud layer to use proxy for DNS https://review.opendev.org/665435
13:13:23 openstackgerrit Merged openstack/openstacksdk master: Use Resource layer in cloud for SecurityGroups of server https://review.opendev.org/662998
13:21:04 openstackgerrit Merged openstack/openstacksdk master: Use Resource layer for next compute methods https://review.opendev.org/663064
13:22:04 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Return empty lists for resources if neutron doesn't exist https://review.opendev.org/669869
13:24:04 mordred Shrews: ^^
13:49:36 ITD27M01 mordred: Hello! I am in the way to catch you! Could you please leave a comment in this PR: https://github.com/ansible/ansible/pull/51401
13:50:20 ITD27M01 mordred: If you have a second for this :)
13:52:36 mordred ITD27M01: Shrews left some comments on that about needing to add self.templare.template() call which someone else also mentioned - can you either fix that or respond that you've verified it's not needed?

Earlier   Later