Reload server endpoints on SIGHUP #168

Open
opened 2024-11-21 12:13:33 +00:00 by potyarkin · 1 comment
Member

Currently frostfs-http-gw does not support changing listener endpoints without a restart:

  • Modify server.address in gateway config
  • Send SIGHUP to frostfs-http-gw process
  • New endpoint bindings are not loaded, a warning is printed to logs: failed to reload server parameters {"error": "invalid servers configuration: no known server found"}

Docs clearly mark this scenario as unsupported, but that was not the "least surprising" behavior for me as a user.

Let's discuss whether adding this feature is worth it. If we decide to add it, frostfs-s3-gw should be modified in a similar fashion.

Currently frostfs-http-gw does not support changing listener endpoints without a restart: - Modify `server.address` in gateway config - Send SIGHUP to frostfs-http-gw process - New endpoint bindings are not loaded, a warning is printed to logs: `failed to reload server parameters {"error": "invalid servers configuration: no known server found"}` [Docs](https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/src/branch/master/docs/gate-configuration.md#server-section) clearly mark this scenario as unsupported, but that was not the "least surprising" behavior for me as a user. Let's discuss whether adding this feature is worth it. If we decide to add it, [frostfs-s3-gw](https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/src/branch/master/docs/configuration.md#server-section) should be modified in a similar fashion.
potyarkin added the
enhancement
P3
labels 2024-11-21 12:13:33 +00:00
Author
Member

Priority clarification: this issue does not block me in any way, for me this is a wishlist item at most.

I created this issue to start the discussion on whether changing the current behavior could be useful to any other users.

Priority clarification: this issue does not block me in any way, for me this is a wishlist item at most. I created this issue to start the discussion on whether changing the current behavior could be useful to any other users.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#168
No description provided.