You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "levindecaro (via GitHub)" <gi...@apache.org> on 2024/04/17 06:21:53 UTC
[I] Wrong resource usage often reported in multiple area [cloudstack]
levindecaro opened a new issue, #8927:
URL: https://github.com/apache/cloudstack/issues/8927
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Resource Usage
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
4.19
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
KVM
Advanced Networking
resource.count.running.vms.only=true
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
CentOS 7
Oracle Linux 9
KVM
##### SUMMARY
<!-- Explain the problem/feature briefly -->
Multiple user account reports CPU count not released after VM stopped/expunged and inaccurate secondary storage usage reported over time. There are no error been found in management server logs.
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
Spin up vm instance, stop it and delete it.
Create volume snapshot and delete it.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Resource limit usage should be updated and reflect to actual usage, and reconciliation should perform in regular basis.
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
Resource count is inaccurate.
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-3695270753
This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "levindecaro (via GitHub)" <gi...@apache.org>.
levindecaro commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2061062489
@vishesh92 I have resourcecount.check.interval=300 inplace, but seems not help for this discrepancies problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #8927: Wrong resource usage often reported in multiple area
URL: https://github.com/apache/cloudstack/issues/8927
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2060885497
@levindecaro There is a regular task which reconciles the limits. The period for this task is controlled by `resourcecount.check.interval`.
There are a few PRs which were merged recently which help reduce the discrepancies and speed up the resource count calculation as well.
#8302
#8903
Over multiple operations there can be some discrepancies. But the regular resource count check should resolve that. Complete solving this requires a complete refactor of the current implementation or adding more locks which can impact the scalability of ACS itself.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2074637572
@levindecaro , several queries (and possible actions)
- is this an intermitted issue or consequent?
- if this is really an issue with usage; for those resources you can check the events in the events table to see if some events were missed. You can enter them manually.
- it sounds though like it is an issue with quota only, is that correct?
- do you see chance to test , in a test environment, with the PRs @vishesh92 refers?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "levindecaro (via GitHub)" <gi...@apache.org>.
levindecaro commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2075067604
@DaanHoogland
So far, I heard it is a intermitted issue from users, when they do some excess create/start/stop/destroy VM within a short period. After hours, the resource never went down, so i need to recalculate their used resource and update db table manually to solve this problem.
For the snapshot usage from secondary storage, there are nothing listed in volume snapshot, but resource limit page shown there are consumed spaces.
I'm no idea how to sort out it is a actual used space or just a orphan record.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2069208868
@levindecaro have you tried updating resource count for the account after deleting the VM as a workaround?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong resource usage often reported in multiple area [cloudstack]
Posted by "levindecaro (via GitHub)" <gi...@apache.org>.
levindecaro commented on issue #8927:
URL: https://github.com/apache/cloudstack/issues/8927#issuecomment-2069675672
@rajujith i did, but doesn't help
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org