GabrielBrascher commented on pull request #6080:
URL: https://github.com/apache/cloudstack/pull/6080#issuecomment-1064108226
@nvazquez I am seeing the following:
- Update command and response looks OK:
```
(poc) 🐱 > update configuration
accountid=064a02be-caf8-46c7-8264-92c5a9d782b2
name=api.allowed.source.cidr.list
value=12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
{
"configuration": {
"category": "Advanced",
"description": "Comma separated list of IPv4/IPv6 CIDRs from which API
calls can be performed. Can be set on Global and Account levels.",
"isdynamic": true,
"name": "api.allowed.source.cidr.list",
"scope": "account",
"value":
"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}
}
```
- But list command returns a fraction:
```
(poc) 🐱 > list configurations name=api.allowed.source.cidr.list
accountid=064a02be-caf8-46c7-8264-92c5a9d782b2 pagesize=600 page=1
{
"configuration": [
{
"category": "Advanced",
"description": "Comma separated list of IPv4/IPv6 CIDRs from which API
calls can be performed. Can be set on Global and Account levels.",
"isdynamic": true,
"name": "api.allowed.source.cidr.list",
"scope": "account",
"value":
"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345"
}
],
"count": 1
}
```
Updated value with length of 651
```
"value":
"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
```
listed value with length of 256
```
"value":
"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345"
```
--
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]