swift/test
Chinemerem ee80f99aec Make object-expirer respect internal_client_conf_path
Previously the object-expirer would not respect an internal_client_conf_path option if its config was loaded from a "legacy" config filepath (e.g. **/object-expirer.conf). Legacy object-expirer config expected config sections for an internal-client to be included in the same file. However, "modern" object-expirer config files (e.g. **/object-server.conf) expect internal-client config to be loaded from a separate file specified by internal_client_conf_path and defaulting to 'internal_client_conf_path'.

"Legacy" expirer config is still used in production clusters but it is useful to use a shared internal-client config. This patch therefore makes the internal_client_conf_path option always be respected regardless of the path of the object-expirer conf file. If 'internal_client_conf_path' is not specified, "modern" config will continue to use the default '/etc/swift/internal-client.conf', but "legacy" config will default to the path of the expirer conf file (i.e. the same as the previous behavior).

Related-Change: Ib21568f9b9d8547da87a99d65ae73a550e9c3230
Change-Id: I24ec702cd2ed074ca9df084cefc896418cece394
2024-10-02 08:57:33 -07:00
..
cors tests: Update CORS geckodriver 2024-03-14 20:45:47 -07:00
functional Quiten boto logging in func tests 2024-09-20 15:59:04 +01:00
probe Pass db_state to container-update and async_pending 2024-07-12 20:46:14 -05:00
s3api s3api: Clean up some errors 2024-09-03 17:26:41 -07:00
unit Make object-expirer respect internal_client_conf_path 2024-10-02 08:57:33 -07:00
__init__.py Clean up some cruft 2023-01-19 12:56:08 -08:00
debug_logger.py FakeStatsdClient: Stop issuing DNS calls for host. 2024-08-13 17:04:40 +10:00
sample.conf fix s3api functional tests 2020-05-15 22:38:04 -07:00