GitHub user prashanthr2 added a comment to the discussion: Cloudstack 4.22 - 
Configuration Wizard failing - Fix Error

@soulfulgent 

The error comes from isServiceProviderEnabled, which checks two things on 
physical network 205: that the VirtualRouter provider is Enabled, and that 
dhcp_service_provided = 1. Unfortunately the message can't tell you which one 
failed.

Can you please share output of below query

```
SELECT p.id, p.name, p.state AS pnet_state,
       s.provider_name, s.state AS provider_state, s.dhcp_service_provided
FROM   cloud.physical_network p
LEFT   JOIN cloud.physical_network_service_providers s
       ON s.physical_network_id = p.id AND s.removed IS NULL
WHERE  p.removed IS NULL
ORDER  BY p.id;
```
Two things,

1. The wizard does configure and enable VirtualRouter for you it happens inside 
the "Configuring physical Networks" step, which shows as succeeded in your 
screenshot. So you're not missing a manual step; something is leaving that row 
in an unexpected state.

2. id=205 is a high number for a first zone. If you've retried the wizard 
several times, you likely have orphaned physical networks from earlier 
attempts, and guest network creation may be pointing at the wrong one. The 
query above will show that.

Also useful, the failing API call from the browser's Network tab (F12) and full 
/var/log/cloudstack/management/management-server.log from the management server 
where the issue was reproduced.

GitHub link: 
https://github.com/apache/cloudstack/discussions/13956#discussioncomment-18176174

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

Reply via email to