CloudPulse API

Registered by Vinod Pandarinathan

CloudPulse - Openstack health service for both cloud operators and cloud applications.

CloudPulse should be modular and configurable, so that the users can pick and choose the tests they want to run. We will need APIs for selecting and running specific tests and get test results. Users also on need to get the results of the tests run over a period of time to diagnose cloud issues, e.g last 60 mins.
All API shall return without waiting for long periods of time needed for the test to complete.

1. Start test

POST /cpulse/<test-type>/<mode>/<service>/misc
mode - endpoint, functional, comprehensive
service - glance, nova, neutron, cinder, keystone, all
test-type - api, oper and upgrade
misc- For upgrade either snapshot or create resource before upgrade.

Output:
{
    'info' : {
         'id' : test-id,
  'start-time' : time
    }
}

2. Get test results

GET /cpulse/<test-type>/id/<last>?=min

Where
id
Output:
{
    'info' : {
  # for core-tests core/test-type/mode/service
  'name' : 'ext/ext-name/<mode>/<service'
         'id' : test-id,
  'start-time' : time,
         ## end-time can be 'running', 'started', 'waiting', if not complete
  'end-time' : time,
  'result' : {
              'api' : { 'endpoint' : { 'keystone' : ['pass'],
                                       'glance' : ['fail', error-no, description] }
                      }
          }
    }
}

Blueprint information

Status:
Complete
Approver:
Vinod Pandarinathan
Priority:
High
Drafter:
Vinod Pandarinathan
Direction:
Approved
Assignee:
Vinod Pandarinathan
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon liberty-1
Started by
Vinod Pandarinathan
Completed by
Vinod Pandarinathan

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.