Closed synergiator closed 9 months ago
According to API documentation, userdata parameter can be allowed to be large with POST method.
In the existing clients, this has not been supported: CloudMonkey implements this only in the upcoming release 6.4.0.
Also, this Python client seems to user GET, also when userdata parameter is larger than 8K:
send: b'GET /client/api?projectid=0..1fa&userdata=zoK...wOQ&... command=deployVirtualMachine&response=json&signatureVersion=3& expires=2023-11-13T19%3A12%3A09%2B0000&signature=so..Q5n4%3D HTTP/1.1\r\nHost: XXXXX\r\nAccept-Encoding: identity\r\nUser-Agent: python-urllib3/2.0.7\r\n\r\n'
try cs = CloudStack(..., method='post'), cf. https://github.com/exoscale/cs/blob/master/cs/client.py#L203
cs = CloudStack(..., method='post')
thx
According to API documentation, userdata parameter can be allowed to be large with POST method.
In the existing clients, this has not been supported: CloudMonkey implements this only in the upcoming release 6.4.0.
Also, this Python client seems to user GET, also when userdata parameter is larger than 8K: