When using the per-app endpoint to deploy a configuration, pools which are configured to populate their members via service discovery never do so.
The deployment request is acknowledged as successful, and all other resources are successfully created, but the pool is never populated with members. Additionally, the typical Got service discovery task request log entries are noticeably absent from restnoded.log.
Per-tenant endpoints (POST and PATCH) behave as expected.
Steps To Reproduce
Steps to reproduce the behavior:
Given an existing tenant, submit the following declaration via POST /mgmt/shared/appsvcs/declare/MyTenant/applications:
The pool created via the per-app POST and the pool created via the tenant PATCH will ultimately have the same members, as populated via service discovery tasks.
Actual Behavior
The pool created via the per-app POST remains empty indefinitely whereas the the pool created via the tenant PATCH behaves as expected.
Environment
Summary
When using the per-app endpoint to deploy a configuration, pools which are configured to populate their members via service discovery never do so.
The deployment request is acknowledged as successful, and all other resources are successfully created, but the pool is never populated with members. Additionally, the typical
Got service discovery task request
log entries are noticeably absent from restnoded.log.Per-tenant endpoints (POST and PATCH) behave as expected.
Steps To Reproduce
Steps to reproduce the behavior:
Given an existing tenant, submit the following declaration via
POST /mgmt/shared/appsvcs/declare/MyTenant/applications
:For comparison, submit effectively the same declaration via
PATCH /mgmt/shared/appsvcs/declare/MyTenant
:Observe the status of each pool in the pool list:
Expected Behavior
The pool created via the per-app POST and the pool created via the tenant PATCH will ultimately have the same members, as populated via service discovery tasks.
Actual Behavior
The pool created via the per-app POST remains empty indefinitely whereas the the pool created via the tenant PATCH behaves as expected.