You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "daviftorres (via GitHub)" <gi...@apache.org> on 2025/08/06 18:44:06 UTC
[I] How to enable the NetworkServiceProvider: VpcVirtualRouter? [cloudstack]
daviftorres opened a new issue, #11408:
URL: https://github.com/apache/cloudstack/issues/11408
Dear @Luskan777,
I followed your steps using CloudMonkey and they are the same API calls form the WebUI when trying to enable the NetworkServiceProvider: VpcVirtualRouter
<img width="755" height="381" alt="Image" src="https://github.com/user-attachments/assets/00f1bed1-9df8-4227-857b-fbab21a275b3" />
Unfortunately, it says I have to "configure the provider first". How do I do that?
<img width="412" height="151" alt="Image" src="https://github.com/user-attachments/assets/ea544924-422c-4f0b-b787-944b1bda7109" />
Regards,
> @Luskan777
>
>
>
> Could you please try the following API calls.
>
>
>
> Please provide the management server logs if any of the API calls fails
>
>
>
>
>
> List network service providers for the given physical network
>
>
>
> $ list networkserviceproviders physicalnetworkid=<physical_network_id>
>
>
>
> For a specific Network Service Provider list the virtual router element - to get the id
>
>
>
> $ list virtualrouterelements nspid=<nsp_uuid_from_above>
>
>
>
> enable the virtual router element
>
>
>
> $ configure virtualrouterelement id=<element_uuid_from_above> enabled=true
>
>
>
> or
>
>
>
> $ update networkserviceprovider id=<uuid_of_nsp> state=Enabled
>
>
>
>
>
> https://cloudstack.apache.org/api/apidocs-4.19/apis/listNetworkServiceProviders.html
>
> https://cloudstack.apache.org/api/apidocs-4.19/apis/listVirtualRouterElements.html
>
> https://cloudstack.apache.org/api/apidocs-4.19/apis/updateNetworkServiceProvider.html
>
> https://cloudstack.apache.org/api/apidocs-4.19/apis/configureVirtualRouterElement.html
>
>
_Originally posted by @kiranchavala in [#8997](https://github.com/apache/cloudstack/issues/8997#issuecomment-2082028863)_
--
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-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to enable the NetworkServiceProvider: VpcVirtualRouter? [cloudstack]
Posted by "daviftorres (via GitHub)" <gi...@apache.org>.
daviftorres commented on issue #11408:
URL: https://github.com/apache/cloudstack/issues/11408#issuecomment-3176752860
I couldn’t find this process in CloudStack’s documentation, but here’s what worked for me to enable the VPC:
Get the Network Service Provider ID for VpcVirtualRouter:
```
VPCNSPID=$( cmk list networkserviceproviders name=VpcVirtualRouter physicalnetworkid=$PHYNETID | jq -r '.networkserviceprovider[0].id' )
```
Get the Virtual Router Element ID for that provider:
```
VPCVREID=$( cmk list virtualrouterelements nspid=$VPCNSPID | jq -r '.virtualrouterelement[0].id' )
```
Enable the Virtual Router Element:
```
cmk configure virtualrouterelement enabled=true id=$VPCVREID
```
Enable the Network Service Provider:
```
cmk update networkserviceprovider state=Enabled id=$VPCNSPID
```
It might require the same steps to enable additional features, such as Internal LB.
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to enable the NetworkServiceProvider: VpcVirtualRouter? [cloudstack]
Posted by "Luskan777 (via GitHub)" <gi...@apache.org>.
Luskan777 commented on issue #11408:
URL: https://github.com/apache/cloudstack/issues/11408#issuecomment-3166344142
Hi @daviftorres ,
Unfortunately, when happened this to me, i only solved reinstalling the zone again :(
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to enable the NetworkServiceProvider: VpcVirtualRouter? [cloudstack]
Posted by "daviftorres (via GitHub)" <gi...@apache.org>.
daviftorres closed issue #11408: How to enable the NetworkServiceProvider: VpcVirtualRouter?
URL: https://github.com/apache/cloudstack/issues/11408
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org