nvazquez commented on PR #9557: URL: https://github.com/apache/cloudstack/pull/9557#issuecomment-2304442190
Thanks @weizhouapache I tried it from the API and it fails for public LB VPC but works for the internal LB VPC: ```` (localcloud) 🐱 > list networkofferings name=DefaultIsolatedNetworkOfferingForVpcNetworksNoLB filter=id,name { "count": 1, "networkoffering": [ { "id": "34af5716-09e9-44d9-8cc5-c84d8478be2a", "name": "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB" } ] } ```` For public LB VPC: ```` (localcloud) 🐱 > create network vpcid=6f4d9f18-4e02-4cca-a981-6b2580e9db20 networkofferingid=34af5716-09e9-44d9-8cc5-c84d8478be2a name=testNoLB zoneid=16220919-8e96-48e2-bfb0-b9fc63bc3efc gateway=10.20.1.1 netmask=255.255.255.240 🙈 Error: (HTTP 431, error code 4350) Service/provider combination Dhcp/VpcVirtualRouter is not supported by VPC [VPC [6-VPC-PublicLB] ```` For internal LB VPC: ```` (localcloud) 🐱 > create network vpcid=89ebb044-a2ea-46db-9f4c-9dc0b39a0091 networkofferingid=34af5716-09e9-44d9-8cc5-c84d8478be2a name=testilb-newtier zoneid=16220919-8e96-48e2-bfb0-b9fc63bc3efc gateway=10.30.1.33 netmask=255.255.255.240 { "network": { "account": "admin", "acltype": "Account", "broadcastdomaintype": "Vlan", "canusefordeploy": true, "cidr": "10.30.1.32/28", "created": "2024-08-22T11:30:37+0000", "details": {}, "displaynetwork": true, "displaytext": "testilb-newtier", "dns1": "10.0.32.1", "dns2": "8.8.8.8", "domain": "ROOT", "domainid": "93b263c8-4a15-11ef-ad2c-1e009e000177", "gateway": "10.30.1.33", "hasannotations": false, "id": "83406c37-e85f-421d-b6bf-63f45f55a872", "ispersistent": false, "issystem": false, "name": "testilb-newtier", "netmask": "255.255.255.240", "networkdomain": "cs2cloud.internal", "networkofferingavailability": "Optional", "networkofferingconservemode": false, "networkofferingdisplaytext": "Offering for Isolated Vpc networks with Source Nat service enabled and LB service Disabled", "networkofferingid": "34af5716-09e9-44d9-8cc5-c84d8478be2a", "networkofferingname": "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB", "physicalnetworkid": "f1b209aa-d627-40d1-94b1-9e01f4316c8d", "privatemtu": 1500, "publicmtu": 1500, "receivedbytes": 0, "redundantrouter": false, "related": "83406c37-e85f-421d-b6bf-63f45f55a872", "restartrequired": false, "sentbytes": 0, "service": [ { "capability": [ { "canchooseservicecapability": false, "name": "SupportedVpnTypes", "value": "pptp,l2tp,ipsec" }, { "canchooseservicecapability": false, "name": "VpnTypes", "value": "s2svpn" } ], "name": "Vpn", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": false, "name": "SupportedProtocols", "value": "tcp,udp,icmp" } ], "name": "NetworkACL", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": true, "name": "SupportedSourceNatTypes", "value": "peraccount" }, { "canchooseservicecapability": true, "name": "RedundantRouter", "value": "false" } ], "name": "SourceNat", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [], "name": "UserData", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": false, "name": "DhcpAccrossMultipleSubnets", "value": "true" } ], "name": "Dhcp", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": false, "name": "AllowDnsSuffixModification", "value": "true" } ], "name": "Dns", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": false, "name": "SupportedProtocols", "value": "tcp,udp" } ], "name": "PortForwarding", "provider": [ { "name": "VpcVirtualRouter" } ] }, { "capability": [ { "canchooseservicecapability": false, "name": "ElasticIp", "value": "false" }, { "canchooseservicecapability": false, "name": "AssociatePublicIP", "value": "true" } ], "name": "StaticNat", "provider": [ { "name": "VpcVirtualRouter" } ] } ], "specifyipranges": false, "state": "Allocated", "strechedl2subnet": false, "supportsvmautoscaling": false, "tags": [], "traffictype": "Guest", "type": "Isolated", "vpcid": "89ebb044-a2ea-46db-9f4c-9dc0b39a0091", "vpcname": "VPC-iLB", "zoneid": "16220919-8e96-48e2-bfb0-b9fc63bc3efc", "zonename": "ref-trl-7047-k-Ma9-nicolas-vazquez" } } ```` I didn't find this intuitive, will refactor the logic to support this case also -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org