Project

General

Profile

Bug #27492

Try to restart middlewared when the address is already in use on boot

Added by William Grzybowski over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
Important
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Traceback (most recent call last):
  File "/usr/local/bin/midclt", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 491, in main
    with Client(uri=args.uri) as c:
  File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 268, in __init__
    self._ws.connect()
  File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 159, in connect
    rv = super(WSClient, self).connect()
  File "/usr/local/lib/python3.6/site-packages/ws4py/client/__init__.py", line 209, in connect
    self.sock.connect(self.bind_addr)
OSError: [Errno 48] Address already in use

Associated revisions

Revision 995cc080 (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared/client): retry in case of EADDRINUSE

Ticket: #27492

Revision d76d9e7f (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared/client): retry in case of EADDRINUSE

Ticket: #27492

Revision 0dd1d1a9 (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): make sure to raise last failed attempt

Ticket: #27492

Revision ed1ba421 (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): make sure to raise last failed attempt

Ticket: #27492

Revision b519f0fa (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): make sure to raise last failed attempt

Ticket: #27492

Revision f621a06a (diff)
Added by William Grzybowski about 1 year ago

feat(middlewared/client): retry in case of EADDRINUSE

Ticket: #27492

Revision c8a20202 (diff)
Added by William Grzybowski about 1 year ago

fix(middlewared): make sure to raise last failed attempt

Ticket: #27492

History

#1 Updated by William Grzybowski over 1 year ago

  • Priority changed from No priority to Important
  • Needs QA changed from Yes to No

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Ready For Release

#3 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Address already in use on boot to Try to restart middlewared when the address is already in use on boot
  • Status changed from Ready For Release to Done
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF