Bug 2078270
| Summary: | In OSD cluster, storage cluster node selector allowing scheduling storage api pods on infra node | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | suchita <sgatfane> |
| Component: | ocs-operator | Assignee: | Nitin Goyal <nigoyal> |
| Status: | POST --- | QA Contact: | suchita <sgatfane> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | aeyal, kramdoss, nigoyal, odf-bz-bot, sgatfane, sostapov |
| Target Milestone: | --- | Flags: | omitrani:
needinfo?
(sgatfane) omitrani: needinfo? (jrivera) |
| Target Release: | ODF 4.14.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
suchita
2022-04-25 02:11:32 UTC
@sgatfane The IP provided on the storage cluster has no relation to where the API pod is scheduled as we can use any node to access to provider IP. Can you please add logs showing the pod running on an infra node as a reproduction? In any case, this is not the correct component for this bug, moving it to ocs-operator @omitrani Not sure why this was moved to the ocs-operator component. Wouldn't the deployer be able to take care of this by configuring an appropriate node selector in the StorageCluster Spec? @jrivera To the best of my understanding, the deployer is already configuring the selector correctly (worker, non-infra nodes) I think this bug shows that the storage API deployment, created by ocs-operator, is not respecting the given selector, which makes this an ocs-operator bug (In reply to Ohad from comment #4) > @jrivera To the best of my understanding, the deployer is already > configuring the selector correctly (worker, non-infra nodes) > I think this bug shows that the storage API deployment, created by > ocs-operator, is not respecting the given selector, which makes this an > ocs-operator bug I think we are talking about the provider server here, We will need a few API changes in the storage cluster to get the node selector from the user. Then we can deploy the provider server using the node selectors. Moving it out for now. |