[trove] Larger than max_request_body_size
Lingxian Kong
anlin.kong at gmail.com
Sun Feb 12 23:29:49 UTC 2023
Hi, haven't contributed to Trove for a long time, but based on the error
message, it seems the size of the user data when creating the Trove
instance exceeded the API request limit. I haven't seen this issue until 1
year ago, but suggest you take a look at if the information in the request
body is what's expected.
Regards,
Lingxian Kong
On Sat, Feb 11, 2023 at 11:02 AM Jorge Visentini <jorgevisentini at gmail.com>
wrote:
> Hi all.
>
> I'm noob in Openstack, so I'm testing/studying the features.
> At the moment I am testing the Trove but I can't start a database
> instance...
>
> This error appears for me.
>
> 2023-02-10 18:07:19.888 1651 ERROR trove.taskmanager.models [-] Failed to
> create server for instance 58558983-e67e-465d-894f-456b118ff555
> *Request is too large. Larger than max_request_body_size (114688).<br
> /><br />*
>
>
> (HTTP 413) (Request-ID: req-7993a97f-0738-4edf-aa6c-0c4c37f609c5)
> Traceback (most recent call last):
> File "/usr/lib/python3.9/site-packages/trove/taskmanager/models.py",
> line 844, in _create_server_volume
> server = self._create_server(
> File "/usr/lib/python3.9/site-packages/trove/taskmanager/models.py",
> line 999, in _create_server
> server = self.nova_client.servers.create(
> File "/usr/lib/python3.9/site-packages/novaclient/v2/servers.py", line
> 1562, in create
> return self._boot(response_key, *boot_args, **boot_kwargs)
> File "/usr/lib/python3.9/site-packages/novaclient/v2/servers.py", line
> 887, in _boot
> return self._create('/servers', body, response_key,
> File "/usr/lib/python3.9/site-packages/novaclient/base.py", line 363, in
> _create
> resp, body = self.api.client.post(url, body=body)
> File "/usr/lib/python3.9/site-packages/keystoneauth1/adapter.py", line
> 401, in post
> return self.request(url, 'POST', **kwargs)
> File "/usr/lib/python3.9/site-packages/novaclient/client.py", line 78,
> in request
> raise exceptions.from_response(resp, body, url, method)
> novaclient.exceptions.OverLimit: Request is too large. Larger than
> max_request_body_size (114688).<br /><br />
>
>
> (HTTP 413) (Request-ID: req-7993a97f-0738-4edf-aa6c-0c4c37f609c5)
> : novaclient.exceptions.OverLimit: Request is too large. Larger than
> max_request_body_size (114688).<br /><br />
> 2023-02-10 18:07:19.913 1651 ERROR oslo_messaging.rpc.server [-] Exception
> during message handling: trove.common.exception.TroveError: Failed to
> create server for instance 58558983-e67e-465d-894f-456b118ff555
> Request is too large. Larger than max_request_body_size (114688).<br /><br
> />
>
>
>
> Can you help me? I don't know where I change this parameter...
>
> Have a good weekend for us!
>
> --
> Att,
> Jorge Visentini
> +55 55 98432-9868
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230213/1c2afe14/attachment-0001.htm>
More information about the openstack-discuss
mailing list