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

Add vms to quotas #1002

Merged
merged 4 commits into from
Apr 2, 2024
Merged

Conversation

rajivnathan
Copy link
Contributor

@@ -13,6 +13,7 @@ objects:
count/deployments.apps: "30"
count/deploymentconfigs.apps: "30"
count/pods: "50"
count/virtualmachines.kubevirt.io: "2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI. We don't really have to keep the test tier up to date. It's not used anywhere atm. We have this tier just in case we need to test something. Then we can add something new to the test tier, merge it and then promote a test user to the test tier in prod.
But it doesn't hurt to update this tier of course.

Copy link

openshift-ci bot commented Mar 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, rajivnathan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rajivnathan
Copy link
Contributor Author

/retest

1 similar comment
@rajivnathan
Copy link
Contributor Author

/retest

@rsoaresd
Copy link
Contributor

Hello, @rajivnathan!

The latest run failed with:

=== RUN   TestCreateVirtualMachine/vm-domain-memory-guest
    vm_webhook_test.go:88: 
        	Error Trace:	/tmp/toolchain-e2e/test/e2e/parallel/vm_webhook_test.go:88
        	Error:      	Received unexpected error:
        	            	virtualmachines.kubevirt.io "domain-memory-guest" is forbidden: exceeded quota: for-test-vm-deployments, requested: count/virtualmachines.kubevirt.io=1, used: count/virtualmachines.kubevirt.io=2, limited: count/virtualmachines.kubevirt.io=2
        	Test:       	TestCreateVirtualMachine/vm-domain-memory-guest

The penultimate run failed with:

        	Error:      	Received unexpected error:
        	            	timed out waiting for the condition
        	Test:       	TestAfterMigration/run_migration_setup_with_new_operator_versions_for_compatibility
    member.go:730: waiting for NSTemplateSet 'mig-parent-space' to match criteria
    host.go:1704: waiting for Space 'mig-parent-space' with matching criteria
    host.go:144: waiting for MasterUserRecord 'mig-parent-space' in namespace 'toolchain-host-28001059' to match criteria
    host.go:663: waiting for UserSignup 'mig-parent-space' in namespace 'toolchain-host-28001059' to match criteria
    member.go:1177: failed to find ClusterResourceQuota with matching criteria:

From what I saw, these errors seem to be specific to this PR:

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
12.5% Duplication on New Code

See analysis details on SonarCloud

@rsoaresd
Copy link
Contributor

rsoaresd commented Apr 1, 2024

Hellooo,

The last two runs are still hitting on this error:

=== RUN   TestCreateVirtualMachine/vm-domain-memory-guest
    vm_webhook_test.go:88: 
        	Error Trace:	/tmp/toolchain-e2e/test/e2e/parallel/vm_webhook_test.go:88
        	Error:      	Received unexpected error:
        	            	virtualmachines.kubevirt.io "domain-memory-guest" is forbidden: exceeded quota: for-test-vm-deployments, requested: count/virtualmachines.kubevirt.io=1, used: count/virtualmachines.kubevirt.io=2, limited: count/virtualmachines.kubevirt.io=2
        	Test:       	TestCreateVirtualMachine/vm-domain-memory-guest

@rajivnathan
Copy link
Contributor Author

/retest

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

Merging #1002 (20345e6) into master (c9ecbf7) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1002      +/-   ##
==========================================
+ Coverage   84.85%   84.87%   +0.01%     
==========================================
  Files          55       55              
  Lines        5066     5066              
==========================================
+ Hits         4299     4300       +1     
+ Misses        584      583       -1     
  Partials      183      183              

see 1 file with indirect coverage changes

@rajivnathan rajivnathan merged commit 8f6bbba into codeready-toolchain:master Apr 2, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants