akrasnov-drv commented on issue #10313:
URL: https://github.com/apache/cloudstack/issues/10313#issuecomment-2631243304

   Just a small update.
   After a day I tried to assign another public IP and got the same error. So 
the problem is not because of some temporary overload, it persists.
   ```
   Traceback (most recent call last):
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 446, 
in _make_request
       six.raise_from(e, None)
     File "<string>", line 3, in raise_from
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 441, 
in _make_request
       httplib_response = conn.getresponse()
     File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
       response.begin()
     File "/usr/lib/python3.10/http/client.py", line 318, in begin
       version, status, reason = self._read_status()
     File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
       line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
     File "/usr/lib/python3.10/socket.py", line 705, in readinto
       return self._sock.recv_into(b)
   TimeoutError: timed out
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in 
send
       resp = conn.urlopen(
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 756, 
in urlopen
       retries = retries.increment(
     File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 534, in 
increment
       raise six.reraise(type(error), error, _stacktrace)
     File "/usr/lib/python3/dist-packages/six.py", line 719, in reraise
       raise value
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, 
in urlopen
       httplib_response = self._make_request(
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 448, 
in _make_request
       self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
     File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 337, 
in _raise_timeout
       raise ReadTimeoutError(
   urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', 
port=8080): Read timed out. (read timeout=10)
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/bin/cloudstack", line 11, in <module>
       load_entry_point('cs==2.7.1', 'console_scripts', 'cs')()
     File "/usr/lib/python3/dist-packages/cs/__init__.py", line 104, in main
       response = getattr(cs, command)(fetch_result=fetch_result,
     File "/usr/lib/python3/dist-packages/cs/client.py", line 213, in handler
       return self._request(command, **kwargs)
     File "/usr/lib/python3/dist-packages/cs/client.py", line 273, in _request
       response = session.send(prepped,
     File "/usr/lib/python3/dist-packages/requests/sessions.py", line 657, in 
send
       r = adapter.send(request, **kwargs)
     File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in 
send
       raise ReadTimeout(e, request=request)
   requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', 
port=8080): Read timed out. (read timeout=10)
   
   real 0m10.345s
   user 0m0.308s
   sys  0m0.028s
   ```
   Another maybe interesting thing, when I tried to add public IP to VM that 
already has public IP, I immediately got corresponding error. `431 - is already 
associated with another public ip`
   I mean api response was very fast:
   ```
   real 0m0.338s
   user 0m0.248s
   sys  0m0.057s
   ```


-- 
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]

Reply via email to