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

Update tiniest VM creation config on minikube : fix for error RSRC_INSUFFICIENT_CORES #1650

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

pruthvitd
Copy link
Contributor

@pruthvitd pruthvitd commented Nov 13, 2024

Update test/envs/vm.yaml with 2 cpu count to resolve the following error:

$ drenv start envs/vm.yaml
2024-11-11 01:35:05,809 INFO    [vm] Starting environment
2024-11-11 01:35:05,943 INFO    [cluster] Starting minikube cluster
2024-11-11 01:35:06,330 ERROR   Command failed
:
  File "/home/ramenuser/ramen/test/drenv/commands.py", line 207, in watch
    raise Error(args, error, exitcode=p.returncode)
drenv.commands.Error: Command failed:
   command: ('minikube', 'start', '--profile', 'cluster', '--driver', 'kvm2', '--container-runtime', 'containerd', '--disk-size', '20g', '--nodes', '1', '--cni', 'auto', '--cpus', '1', '--memory', '2g', '--extra-config', 'kubelet.serialize-image-pulls=false', '--insecure-registry=host.minikube.internal:5000')
   exitcode: 29
   error:
      X Exiting due to RSRC_INSUFFICIENT_CORES: Requested cpu count 1 is less than the minimum allowed of 2

Update test/envs/vm.yaml with 2 cpu count to resolve the following error:
	$ drenv start envs/vm.yaml
	2024-11-11 01:35:05,809 INFO    [vm] Starting environment
	2024-11-11 01:35:05,943 INFO    [cluster] Starting minikube cluster
	2024-11-11 01:35:06,330 ERROR   Command failed
	:
	  File "/home/ramenuser/ramen/test/drenv/commands.py", line 207, in watch
	    raise Error(args, error, exitcode=p.returncode)
	drenv.commands.Error: Command failed:
	   command: ('minikube', 'start', '--profile', 'cluster', '--driver', 'kvm2', '--container-runtime', 'containerd', '--disk-size', '20g', '--nodes', '1', '--cni', 'auto', '--cpus', '1', '--memory', '2g', '--extra-config', 'kubelet.serialize-image-pulls=false', '--insecure-registry=host.minikube.internal:5000')
	   exitcode: 29
	   error:
	      X Exiting due to RSRC_INSUFFICIENT_CORES: Requested cpu count 1 is less than the minimum allowed of 2

Signed-off-by: pruthvitd <[email protected]>
@pruthvitd pruthvitd requested a review from nirs November 13, 2024 17:54
@pruthvitd pruthvitd changed the title Fix for minikube error RSRC_INSUFFICIENT_CORES Update tiniest VM creation config on minikube : fix for error RSRC_INSUFFICIENT_CORES Nov 13, 2024
@nirs nirs merged commit 3a5254a into RamenDR:main Nov 13, 2024
20 checks passed
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