Comment 12 for bug 1519537

Revision history for this message
Ramu Ramamurthy (ramu-ramamurthy) wrote :

We are developing a diagnostics tool which can debug common problems (why cannot i ping the VM), modeled along the lines of Rally. Checks are expressed in json format and each check is a check against expected vs current.
An example set of checks follows.

The tool requires ssh-root access to do its work, but a far better approach would be for it to talk to neutron/nova only via APIs.
Hence the need for a diagnostics extension API.

python main.py vmchecks.json d4b558c6-74c7-4c30-a262-0b4d40e36f9d
+---------------------------------------+------------+
|Check | Status |
+---------------------------------------+------------+
|Summary | fail |
| basic checks | fail |
| getvminfo | fail |
| getvmdiagnostics | fail |
| checkvmdiagnostics | fail |
| port stats | fail |
| getvmport | fail |
| getlbinfo | fail |
| security groups | fail |
| getvmiptables | fail |
| checkvmiptables | pass |
| ovs | fail |
| getovsports | fail |
| getovsflows | fail |
| checkovsflows | fail |
| dhcp | fail |
| getdhcpagents | fail |
| checkdhcpleases | fail |
| checkdhcptransactions | fail |
| pingfromdhcpns | fail |
| floating ip | fail |
| getrouters | fail |
| routercheck | fail |
| getrouterifs | fail |
| checkrouterifs | fail |
| checkrouterha | fail |
| checkrouterfip | fail |
| pingrouterns | fail |
+---------------------------------------+------------+