GitHub user DaanHoogland added a comment to the discussion: 
Cloudstack-Management start up error.

@patrick-jpg-668 ,
My suspicion is that during initialisation a DB record is found in the network 
offerings table that is not valid. the following piece of code throws the error 
(may or may not be helpful):
```
        // 2) Only Isolated networks with Source nat service enabled can be
        // added to vpc
        if (!guestNtwkOff.isForNsx()
                && !(guestNtwkOff.getGuestType() == GuestType.Isolated && 
(supportedSvcs.contains(Service.SourceNat) || 
supportedSvcs.contains(Service.Gateway)))) {

            throw new InvalidParameterValueException("Only network offerings of 
type " + GuestType.Isolated + " with service " + Service.SourceNat.getName()
                    + " are valid for vpc ");
        }
```
Check if you have any `network_offering` that is marked as `for_vpc` and in the 
record that point back to it in `ntwk_offering_service_map`.
something like 
SELECT * FROM network_offering WHERE for_vpc = 1 AND id NOT IN (SELECT id from 
ntwk_offering_service_map WHERE service = ‘SourceNat’)

good hunting,

GitHub link: 
https://github.com/apache/cloudstack/discussions/11563#discussioncomment-14338924

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to