regiond gets wedged when restarted rapidly

Bug #1513789 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
Medium
Unassigned

Bug Description

Observations:

* regiond, when restarted rapidly (e.g. in the CI test script), can get
  wedged during start-up. A symptom is that RPC endpoints are open and
  listening but the /rpc/ advertising page is not available (HTTP 503).

* This only seems to happen on Trusty; CI ran on Utopic for a while and
  this problem was not observed.

* The tasks in m.start_up are called by WebApplicationService when it
  starts but should, ideally, be called earlier, as part of the
  bootstrap sequence in m.plugin.RegionServiceMaker.makeService().

This problem may be caused by a combination of factors, for example
Upstart on Trusty and ordering of start-up tasks within regiond.

As a first step to understanding this bug (and maybe even fixing it) I
suggest that we move the start-up tasks in m.start_up to regiond's main
bootstrap sequence.

Changed in maas:
importance: Undecided → Critical
milestone: none → 1.9.0
status: New → Triaged
Gavin Panella (allenap)
summary: - In regiond, several start-up tasks are done concurrently with other
- Twisted service starts
+ regiond gets wedged when restarted rapidly
Christian Reis (kiko)
Changed in maas:
importance: Critical → Medium
milestone: 1.9.0 → 1.9.1
Changed in maas:
milestone: 1.9.1 → 1.9.2
Changed in maas:
milestone: 1.9.2 → 1.9.3
Changed in maas:
milestone: 1.9.3 → 1.9.4
Changed in maas:
milestone: 1.9.4 → 1.9.5
Revision history for this message
Andres Rodriguez (andreserl) wrote :

We believe that this is not longer an issue in the latest releases of MAAS. If you believe this is still an issue, please re-open this bug report and target it accordingly.

Changed in maas:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.