René's URL Explorer Experiment


Title: Unable to delete shared network (specifyVlan=false and no services) · Issue #10261 · apache/cloudstack · GitHub

Open Graph Title: Unable to delete shared network (specifyVlan=false and no services) · Issue #10261 · apache/cloudstack

X Title: Unable to delete shared network (specifyVlan=false and no services) · Issue #10261 · apache/cloudstack

Description: Unable to delete shared network (with specifyVlan=false and no services) ISSUE TYPE Bug Report COMPONENT NAME Networks CLOUDSTACK VERSION 4.19.1 CONFIGURATION OS / ENVIRONMENT Agnostic of OS STEPS TO REPRODUCE Create a VM, say testvm. Cr...

Open Graph Description: Unable to delete shared network (with specifyVlan=false and no services) ISSUE TYPE Bug Report COMPONENT NAME Networks CLOUDSTACK VERSION 4.19.1 CONFIGURATION OS / ENVIRONMENT Agnostic of OS STEPS ...

X Description: Unable to delete shared network (with specifyVlan=false and no services) ISSUE TYPE Bug Report COMPONENT NAME Networks CLOUDSTACK VERSION 4.19.1 CONFIGURATION OS / ENVIRONMENT Agnostic of OS STEPS ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to delete shared network (specifyVlan=false and no services)","articleBody":"\u003c!--\nVerify first that your issue/request is not already reported on GitHub.\nAlso test if the latest release and main branch are affected too.\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\n--\u003e\n\n\nUnable to delete shared network (with specifyVlan=false and no services)\n\n##### ISSUE TYPE\n\u003c!-- Pick one below and delete the rest --\u003e\n * Bug Report\n\n##### COMPONENT NAME\n\u003c!--\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\n--\u003e\n~~~\nNetworks\n~~~\n\n##### CLOUDSTACK VERSION\n\u003c!--\nNew line separated list of affected versions, commit ID for issues on main branch.\n--\u003e\n\n~~~\n4.19.1\n~~~\n\n##### CONFIGURATION\n\u003c!--\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise\n--\u003e\n\n\n##### OS / ENVIRONMENT\n\u003c!--\nInformation about the environment if relevant, N/A otherwise\n--\u003e\nAgnostic of OS\n\n\n##### STEPS TO REPRODUCE\n\u003c!--\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\n\nFor new features, show how the feature would be used.\n--\u003e\n\n1. Create a VM, say testvm.\n2. Create a network offering for Shared network with specifyVlan = false and no services ; enable the network offering.\n3. Create a shared network using this offering and provide only IPv4 gateway and netmask (no IP range provided).\nEx: `create network acltype=domain name=test-shared-network displaytext=test-shared-network networkofferingid=3dc6968e-6503-4fa3-8a38-09da72d7a846 gateway=1.1.1.1 netmask=255.255.255.0 physicalnetworkid=7691b1b8-2438-4843-9802-cb7f458d7757 zoneid=5b53d47b-d56a-4e6d-927c-3b61a58edf9f`\n4. Stop the VM testvm and attach network created (addNicToVirtualMachine) in step3, to the VM.\n5. Start the VM - this will fail.\n6. Remove the network (removeNicFromVirtualMachine) in step3, from the VM. Now, start the VM.\n7. Delete the network created in step 3 - It fails with below exception. \n\n```\n2025-01-24 05:00:13,653 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-37:ctx-c898771c job-126) (logid:65c35a14) Unexpected exception while executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd\njava.lang.NullPointerException\n        at com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.java:178)\n        at com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:232)\n        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.deleteVlansInNetwork(NetworkOrchestrator.java:3452)\n        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$13.doInTransaction(NetworkOrchestrator.java:3352)\n        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$13.doInTransaction(NetworkOrchestrator.java:3344)\n        at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)\n        at com.cloud.utils.db.Transaction.execute(Transaction.java:40)\n        at com.cloud.utils.db.Transaction.execute(Transaction.java:47)\n        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.destroyNetwork(NetworkOrchestrator.java:3344)\n        at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:2695)\n        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n        at java.base/java.lang.reflect.Method.invoke(Method.java:566)\n        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n        at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)\n        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)\n        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)\n        at com.sun.proxy.$Proxy168.deleteNetwork(Unknown Source)\n        at org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:72)\n        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)\n        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)\n        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:654)\n\n```\n\n8. Also, List VM (listVirtualMachines) with networkid (of network in Step 3) list the VM testvm, but  doesn't show the nic \n\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\n\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\n\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\n\n##### EXPECTED RESULTS\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\n\n~~~\nList VM with the network shouldn't show the VM when not attached to the network, and Network has to be deleted without any issues.\n~~~\n\n##### ACTUAL RESULTS\n\u003c!-- What actually happened? --\u003e\n\n\u003c!-- Paste verbatim command output between quotes below --\u003e\n~~~\nList VM with the network shows the VM when it is not attached to the network, and delete network fails with an NPE.\n~~~\n","author":{"url":"https://github.com/sureshanaparti","@type":"Person","name":"sureshanaparti"},"datePublished":"2025-01-24T05:46:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/10261/cloudstack/issues/10261"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:75f1d108-23d6-daa1-8566-b4828b6556c4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8B0:C8AE2:3F9B1F:5AA517:6A4E6D86
html-safe-nonce30cc87b8ff6201883f604472dbd7a186ccd013b07c1f090ddce60a19e7ddaa65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEIwOkM4QUUyOjNGOUIxRjo1QUE1MTc6NkE0RTZEODYiLCJ2aXNpdG9yX2lkIjoiNDAxMzQ3NjE3NjI5MDgwMzA3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac42cbbe6597f0ee9e187311f9ea93b25b29ee7d8c376acf1badb4ea5c30566f45
hovercard-subject-tagissue:2808558991
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/10261/issue_layout
twitter:imagehttps://opengraph.githubassets.com/713d0f511b305d4513a017923379482f9c73542ddcbff376819dce4d981bcbd5/apache/cloudstack/issues/10261
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/713d0f511b305d4513a017923379482f9c73542ddcbff376819dce4d981bcbd5/apache/cloudstack/issues/10261
og:image:altUnable to delete shared network (with specifyVlan=false and no services) ISSUE TYPE Bug Report COMPONENT NAME Networks CLOUDSTACK VERSION 4.19.1 CONFIGURATION OS / ENVIRONMENT Agnostic of OS STEPS ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesureshanaparti
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/10261#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F10261
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%2F10261
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/10261
Reloadhttps://github.com/apache/cloudstack/issues/10261
Reloadhttps://github.com/apache/cloudstack/issues/10261
Please reload this pagehttps://github.com/apache/cloudstack/issues/10261
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 265 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
#10168https://github.com/apache/cloudstack/pull/10168
Unable to delete shared network (specifyVlan=false and no services)https://github.com/apache/cloudstack/issues/10261#top
#10168https://github.com/apache/cloudstack/pull/10168
4.19.2https://github.com/apache/cloudstack/milestone/33
https://github.com/sureshanaparti
sureshanapartihttps://github.com/sureshanaparti
on Jan 24, 2025https://github.com/apache/cloudstack/issues/10261#issue-2808558991
4.19.2https://github.com/apache/cloudstack/milestone/33
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.