2012-01-23 04:25:46 |
Robert Collins |
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 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).
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. |
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. |
|