[Openstack] Unauthenticated service probe for OpenStack components

Dean Troyer dtroyer at gmail.com
Thu Mar 14 20:52:46 UTC 2013


On Thu, Mar 14, 2013 at 3:40 PM, Tim Bell <Tim.Bell at cern.ch> wrote:
> Currently, curl to the service URL just gives 401 error.

Check the exit code, it should be 0 because that 401 error is
generated by the api server.  It's alive and responding, just not with
200 codes.  If the server doesn't respond curl's exit code is non-zero
(7 I think?).

We did the same thing in DevStack for checking api server responses.

dt

-- 

Dean Troyer
dtroyer at gmail.com




More information about the Openstack mailing list