Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Not able to delete service offering from UI or API converting to discuss item as the resolution would only be the workaround. GitHub link: https://github.com/apache/cloudstack/discussions/10498#discussioncomment-12386913 This i

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Not able to delete service offering from UI or API @vishesh92 , we could implement the delete API in such a way that it does a check if th offering is used and if it is it 'only' disables it. If not used it would actually mark it as

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user li-liwen added a comment to the discussion: Not able to delete service offering from UI or API I got it. Thanks for helping. I would just leave them inactive for now. GitHub link: https://github.com/apache/cloudstack/discussions/10498#discussioncomment-12386910 This is an au

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user li-liwen added a comment to the discussion: Not able to delete service offering from UI or API @DaanHoogland Yes, I'm able to call the deleteServiceOffering API using cmk. But the API just makes the offering inactive instead of deleting it. I think this is probably the intended be

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user vishesh92 added a comment to the discussion: Not able to delete service offering from UI or API > I think for now setting the `removed` field to `now()` is the best workaround. Yes. This should work. But it can cause issues with operations for existing VMs. The user will have to e

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user rohityadavcloud added a comment to the discussion: Not able to delete service offering from UI or API Inactive as a workaround is okay - if historically there never was a way to delete offerings in the UI or deleteServiceOffering API didn't work, let's close this. GitHub link: h

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Not able to delete service offering from UI or API I think for now setting the `removed` field to `now()` is the best workaround. GitHub link: https://github.com/apache/cloudstack/discussions/10498#discussioncomment-12386908 Th

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Not able to delete service offering from UI or API @li-liwen If I read the changes in #8821 correctly it only changes the behaviour of the updateOffering commands. So you should still be able to call the deleteServiceOffering API, fo

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user weizhouapache added a comment to the discussion: Not able to delete service offering from UI or API this looks related to #8821 cc @vishesh92 GitHub link: https://github.com/apache/cloudstack/discussions/10498#discussioncomment-12386901 This is an automatically sent email

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user harikrishna-patnala added a comment to the discussion: Not able to delete service offering from UI or API @rohityadavcloud I don't find any API which marks the service offering's removed column. deleteServiceOffering API and updateServiceOffering (using state parameter) API are up

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user li-liwen added a comment to the discussion: Not able to delete service offering from UI or API Hi, I am using CloudStack 4.20. I encountered the same issue. According to the author of #8821, the delete command in the API will no longer actually delete the offering. Instead, it wil

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Not able to delete service offering from UI or API @rohityadavcloud can you expand on this? #8821 claims to fix this in 4.19.1, but you reported this in this version. GitHub link: https://github.com/apache/cloudstack/discussions/104

Re: [D] Not able to delete service offering from UI or API [cloudstack]

2025-03-04 Thread via GitHub
GitHub user vishesh92 added a comment to the discussion: Not able to delete service offering from UI or API it's been some time, but AFAIR it's kind of complicated and would require a lot of changes. GitHub link: https://github.com/apache/cloudstack/discussions/10498#discussioncomment-123869