Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regional DR kubevirt env config #1433

Closed
wants to merge 1 commit into from

Conversation

akalenyu
Copy link
Contributor

@akalenyu akalenyu commented Jun 2, 2024

Today volsync is required to start up some of the ramen controllers:

2024-06-02T12:04:48.162Z	ERROR	controller-runtime.source.EventHandler	source/kind.go:68	failed to get informer from cache	{"error": "failed to get API group resources: unable to retrieve the complete list of server APIs: volsync.backube/v1alpha1: the server could not find the requested resource"}

which is an issue because some time ago volsync was disabled (43266c5).

Related - kubernetes-sigs/controller-runtime#2456

Today volsync is required to start up some of the ramen controllers,
which is an issue because some time ago volsync was disabled
(RamenDR@43266c5).

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
@akalenyu
Copy link
Contributor Author

akalenyu commented Jun 2, 2024

@nirs Not sure if volsync is an intended requirement or this is a bug

@nirs
Copy link
Member

nirs commented Jun 2, 2024

Did you configure ramen after deploying as documented here?
https://github.com/RamenDR/ramen/blob/main/docs/user-quick-start.md#deploy-and-configure-the-ramen-operator

If you did, volsync would be disabled and the error you mention would no happen.

See

def generate_config_map(controller, env, args):

I would like to keep volsync disabled unless we need to test kubevirt with cephfs.

I don’t think it will work for real vms because rsync does not support efficient replication of sparse images.

@akalenyu
Copy link
Contributor Author

akalenyu commented Jun 2, 2024

volsync.backub

Yup you're right, once ramenctl config runs the pod will die once and come up with that watch disabled

@akalenyu
Copy link
Contributor Author

akalenyu commented Jun 2, 2024

#1433 (comment)

@akalenyu akalenyu closed this Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants