Bug 2129112 - rook-ceph-tools is not using the same network settings as rook-ceph-operator
Summary: rook-ceph-tools is not using the same network settings as rook-ceph-operator
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Santosh Pillai
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-22 14:30 UTC by Tomas Coufal
Modified: 2023-08-09 17:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-07 06:26:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2129111 0 unspecified NEW [External mode] Please document OVN specific routing requirement 2023-08-09 16:43:06 UTC

Internal Links: 2129111

Description Tomas Coufal 2022-09-22 14:30:22 UTC
Description of problem (please be detailed as possible and provide log
snippests):

We've been debugging an issue with networking to external ceph and we figured out that enabling ceph tools via `OSCInitialization` creates a rook-ceph-tools pod with completely different network settings than it is applied to rook-ceph-operator


Version of all relevant components (if applicable): 4.10.6 ODF on OCP 4.10.26


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Partially, options for debugging networking issues are limited. 


Is there any workaround available to the best of your knowledge?

Use rook-ceph-operator directly for remote shell instead of rook-ceph-tools.


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?

Yes

Can this issue reproduce from the UI?

No

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Install ODF in external mode
2. Deploy ceph tools via OSCInitialization
3. Compare Pod YAMLs


Actual results:

See attached Pod manifests to compare.

Tools pod has `.spec.hostNetwork: true` and `.spec.dnsPolicy: ClusterFirstWithHostNet` while operator pod has `.spec.dnsPolicy: ClusterFirst`. This leads to vastly different behavior when tools pod is able to use host routing table while operator can't.

Expected results:

Network setting matches

Additional info:

Related to: https://bugzilla.redhat.com/show_bug.cgi?id=2129111

Comment 4 Santosh Pillai 2022-09-26 13:27:21 UTC
Moving to OCS operator component, since that is responsible for creating the tool box.

Comment 13 Malay Kumar parida 2023-08-07 06:26:46 UTC
Enabling ceph tool box in external mode is not actually a supported operation, And it's not at all required. Any ceph changes can be done by directly going to the RHCS cluster.
Reference-https://issues.redhat.com/browse/RHSTOR-4512


Note You need to log in before you can comment on or make changes to this bug.