Akamai Driver Health Check always returns True

Bug #1419126 reported by Amit Gandhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppy
Fix Released
High
Sriram

Bug Description

The akamai is_alive function always returns true, therefore is always "healthy".

Instead, make the akamai is alive function query the akamai API by performing a GET on the main policy url.

If it returns a valid response (2XX) with the body, then return True.

If it returns any other response (4XX, 5XX) then return False.

Changed in poppy:
assignee: Sriram (sriram) → Sriram (thesriram)
assignee: Sriram (thesriram) → nobody
assignee: nobody → Sriram (thesriram)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to poppy (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154664

Changed in poppy:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to poppy (master)

Reviewed: https://review.openstack.org/154664
Committed: https://git.openstack.org/cgit/stackforge/poppy/commit/?id=e29848ed52b8c9b63e35cd5edb814b1633c78495
Submitter: Jenkins
Branch: master

commit e29848ed52b8c9b63e35cd5edb814b1633c78495
Author: Sriram Madapusi Vasudevan <email address hidden>
Date: Tue Feb 10 15:58:45 2015 -0500

    fix: akamai health endpoint

    - This patch tries to actually create a service with akamai, and returns
      True if everything went successfully, returns False otherwise

    Change-Id: Ib1e52809659971dd709d83ff17f40bbe8f0c9e69
    Closes-Bug: 1419126

Changed in poppy:
status: In Progress → Fix Committed
Changed in poppy:
status: Fix Committed → Fix Released
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.