It is hard to tell if an appserver has all its dependent services available

Bug #760079 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

It would be easier if we needed less services, or if we had a preflight check for all dependent services.

$LPCONFIG=xxx ./utilities/check-appserver-environment

We have a checker for the librarian already (see bug 678375 and ./utilities/smoke-test-librarian.py)

We need to add in:
 - log dirs exist
 - oops fallback root dir exists
 - memcached if configured is reachable
 - blog.launchpad.net is retrievable (using the same codepath the homepage does - if that uses squid, this check should use squid).
 - rabbitmq for longpoll is availabkle - rabbitmq for oops is availabl;e

At the moment bringing up new appservers is hit n miss.

The checker should describe what its tested and what fails (because if its used in a script we can't figure that out later) and exit non-zero.

description: updated
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.