sureshanaparti commented on issue #11250:
URL: https://github.com/apache/cloudstack/issues/11250#issuecomment-3101019955
@anjanahkarthic @kiranchavala It seems the value of the config is set to
NULL in the db, can you set the value of the configuration
'vm.network.nic.max.secondary.ipaddresses' and restart the management server?
```
mysql> SELECT * FROM cloud.configuration WHERE name LIKE
'%vm.network.nic.max.secondary.ipaddresses%'\G;
*************************** 1. row ***************************
category: NetworkManager
instance: DEFAULT
component: management-server
name: vm.network.nic.max.secondary.ipaddresses
value: NULL
description: Specify the number of secondary ip addresses per nic per vm
default_value: 256
updated: NULL
is_dynamic: 0
group_id: 3
subgroup_id: 7
parent: NULL
display_text: Vm network nic max secondary ipaddresses
kind: NULL
options: NULL
scope: 0
1 row in set (0.00 sec)
```
As per the code, if the value is not set, it takes default value as 10.
https://github.com/apache/cloudstack/blob/23de6c7db4db4f63c95b9f7a95aae1576cc0b583/server/src/main/java/com/cloud/network/NetworkServiceImpl.java#L910-L915
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]