kiranchavala opened a new issue, #11509:
URL: https://github.com/apache/cloudstack/issues/11509

   ### problem
   
   Currenlty if  a Admin  users selects the disable option for service offering 
and disk offering , the offering is removed from the UI 
   
   The delete offering API is called instead of update offering 
   
   ### versions
   
   Acs 4.20.1 
   
   ### The steps to reproduce the bug
   
   1. On existing service offering  select the disable offering button
   
   <img width="1592" height="293" alt="Image" 
src="https://github.com/user-attachments/assets/8797c84e-e812-44dd-b5de-4df7fedacb8b";
 />
   
   2. The delete service offering API call is called and the service offering 
is removed from API 
   
   
https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteServiceOffering.html
   
   <img width="1902" height="217" alt="Image" 
src="https://github.com/user-attachments/assets/49daffbe-04af-4f4c-ba0d-8c5f8cc45527";
 />
   
   3. Similar for disk offering 
   
   <img width="1645" height="344" alt="Image" 
src="https://github.com/user-attachments/assets/61c624cf-97b9-4331-838f-92bbb360ec66";
 />
   
   <img width="1894" height="309" alt="Image" 
src="https://github.com/user-attachments/assets/1e135be6-bf39-4297-b0c2-cbad20e908e4";
 />
   
   
   4. 
   ...
   
   
   ### What to do about it?
   
   CloudStack should  follow the behaviour of network offering and vpc offering 
and should change the state to enable/disable to maintain consistency 
   
   
https://cloudstack.apache.org/api/apidocs-4.20/apis/updateNetworkOffering.html
   
   https://cloudstack.apache.org/api/apidocs-4.20/apis/updateVPCOffering.html
   
   
https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteNetworkOffering.html
   
   https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteVPCOffering.html
   
   
   
   <img width="1059" height="346" alt="Image" 
src="https://github.com/user-attachments/assets/cec4b887-7ea0-4290-9138-3e75a063f27d";
 />
   
   
   <img width="1564" height="170" alt="Image" 
src="https://github.com/user-attachments/assets/fd671d25-5a9d-4461-91ae-91cf2dcd44c9";
 />
   
   
   <img width="1388" height="173" alt="Image" 
src="https://github.com/user-attachments/assets/980458d2-2132-40cb-a20b-ce54a8a01338";
 />
   
   
   
   <img width="1087" height="340" alt="Image" 
src="https://github.com/user-attachments/assets/42fc06c9-f7bb-4513-b861-94e6f5aba52b";
 />
   
   
   
   
   
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to