René's URL Explorer Experiment


Title: Add handling of Command's timeout on agent's implementation · Issue #8011 · apache/cloudstack · GitHub

Open Graph Title: Add handling of Command's timeout on agent's implementation · Issue #8011 · apache/cloudstack

X Title: Add handling of Command's timeout on agent's implementation · Issue #8011 · apache/cloudstack

Description: ISSUE TYPE Improvement Request COMPONENT NAME Agent, ServerResource CLOUDSTACK VERSION All versions CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY The value for wait set in Command is not honored by agents (SSVM, host agent, etc.) while ...

Open Graph Description: ISSUE TYPE Improvement Request COMPONENT NAME Agent, ServerResource CLOUDSTACK VERSION All versions CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY The value for wait set in Command is not honored b...

X Description: ISSUE TYPE Improvement Request COMPONENT NAME Agent, ServerResource CLOUDSTACK VERSION All versions CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY The value for wait set in Command is not honored b...

Opengraph URL: https://github.com/apache/cloudstack/issues/8011

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add handling of Command's timeout on agent's implementation","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and main branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Improvement Request\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nAgent, ServerResource\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on main branch.\r\n--\u003e\r\n\r\n~~~\r\nAll versions\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise\r\n--\u003e\r\nN/A\r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nInformation about the environment if relevant, N/A otherwise\r\n--\u003e\r\nN/A\r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\nThe value for [wait](https://github.com/apache/cloudstack/blob/main/api/src/main/java/com/cloud/agent/api/Command.java#L39) set in Command is not honored by agents (SSVM, host agent, etc.) while processing the request. These requests can also pile up if the same request is sent multiple times because of retries by user or the management server itself. This can potentially cause issues on SSVM and agents while executing long tasks leading to high wait times for commands to get executed on host agents, ssvm, etc.\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n1. Add a sleep in a ssvm command for 60 seconds and a log line before and after the sleep to check number of executions for that command.\r\n2. Send 100 requests in parallel which will execute the above ssvm command with cmd.setWait(5).\r\n3. Check logs on ssvm to check the actual number of requests received. \r\n\r\nNote: The above example is for a Command for which executeInSequence is false.\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~\r\nIf the request on management server times out in 5 seconds, the processing of command on SSVM should stop after 5 seconds as well.\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\nThe number of requests received on the SSVM would be executing these requests in batches of 10 requests or so. The requests would still get processed even if the server itself has timed out and no longer waiting for the answer. You will the log for both before sleep and after sleep.\r\n","author":{"url":"https://github.com/vishesh92","@type":"Person","name":"vishesh92"},"datePublished":"2023-09-27T18:02:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/8011/cloudstack/issues/8011"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bb33c05f-c31b-4f24-21c6-c0f28a0cbbe9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F74:8AE8C:2C08E5B:3CDA9D2:6A4F08E4
html-safe-nonce38f0ac836d3a68d7f327f7d47fba3d07e623955a59c29668c20ee6fb0ead0a0a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjc0OjhBRThDOjJDMDhFNUI6M0NEQTlEMjo2QTRGMDhFNCIsInZpc2l0b3JfaWQiOiIzNDczMjUxODY1NDk1Mjc1NzQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac823bf047f50d1608f4871404ee3d978fe7e00f088f8925189f8759a2857bb421
hovercard-subject-tagissue:1916071582
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/8011/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5660ff7eecab06b89411da9be44fc294d07f0a751eb176c2cfb3b0742fbec96d/apache/cloudstack/issues/8011
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5660ff7eecab06b89411da9be44fc294d07f0a751eb176c2cfb3b0742fbec96d/apache/cloudstack/issues/8011
og:image:altISSUE TYPE Improvement Request COMPONENT NAME Agent, ServerResource CLOUDSTACK VERSION All versions CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY The value for wait set in Command is not honored b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevishesh92
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/8011#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F8011
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F8011
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/8011
Reloadhttps://github.com/apache/cloudstack/issues/8011
Reloadhttps://github.com/apache/cloudstack/issues/8011
Please reload this pagehttps://github.com/apache/cloudstack/issues/8011
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 266 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Featurehttps://github.com/apache/cloudstack/issues?q=type:"Feature"
Add handling of Command's timeout on agent's implementationhttps://github.com/apache/cloudstack/issues/8011#top
component:agenthttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aagent%22
component:orchestrationhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aorchestration%22
type:improvementhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22type%3Aimprovement%22
4.22.1https://github.com/apache/cloudstack/milestone/44
https://github.com/vishesh92
vishesh92https://github.com/vishesh92
on Sep 27, 2023https://github.com/apache/cloudstack/issues/8011#issue-1916071582
waithttps://github.com/apache/cloudstack/blob/main/api/src/main/java/com/cloud/agent/api/Command.java#L39
component:agenthttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aagent%22
component:orchestrationhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aorchestration%22
type:improvementhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22type%3Aimprovement%22
Featurehttps://github.com/apache/cloudstack/issues?q=type:"Feature"
Apache CloudStack 4.22.1https://github.com/orgs/apache/projects/565
4.22.1https://github.com/apache/cloudstack/milestone/44
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.