-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
ISSUE TYPE
- Improvement/Enhancement request
COMPONENT NAME
Component: UI, API
CLOUDSTACK VERSION
4.18
SUMMARY
Unable to execute updateNetworkOffering api call when availability=Required is passed
Steps to reproduce the issue
Case 1
-
Log in as admin user
-
Create some network offerings, make sure to select guest type as isolated and source nat in supported services
Let's say you have created a network offering 1
- Edit the network offering (network offering 1) and change the availability to true
Screenshot
- Exception
"System already has network offering id=10 (DefaultIsolatedNetworkOfferingWithSourceNatService) with availability Required"
Expected behavior
Ideally admin user should be allowed to set multiple network offerings with source nat as availability required
At any given point only 1 network offering can be set with availability as required
Case 2
-
Login as admin user
-
Create some network offerings, make sure to select guest type as isolated and do not select source nat in supported services
Let's say you have created network offering 2
-
Edit the network offering (network offering 2) and change the availability to true
-
Exception
"Availability can be Required only for networkOfferings of type Isolated and with SourceNat enabled"
Expected behavior
Ideally, other network offerings can also be set with availability required, there could be a use case for a normal user to access of network offerings which doesn't contain source nat as a supported service
Currently, available network offerings are
(DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB)
(DefaultSharedNetscalerEIPandELBNetworkOffering)
(DefaultL2NetworkOfferingVlan)
(DefaultSharedNetworkOfferingWithSGService)
(DefaultSharedNetworkOffering)
(DefaultIsolatedNetworkOfferingForVpcNetworksNoLB)
(DefaultIsolatedNetworkOfferingForVpcNetworks)
(DefaultL2NetworkOffering)
(DefaultTungstenSharedNetworkOfferingWithSGService)
(DefaultL2NetworkOfferingConfigDriveVlan)
(DefaultIsolatedNetworkOffering)
(DefaultL2NetworkOfferingConfigDrive)
(DefaultNetworkOfferingforKubernetesService)
(DefaultIsolatedNetworkOfferingWithSourceNatService)
(QuickCloudNoServices)