This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.
This feature introduces a new API command that will improve troubleshooting of network issues on CloudStack hosted networks by executing network-utility commands (ping, traceroute, arping) remotely on system VMs.
For troubleshooting purposes, CloudStack administrators may wish to execute network utility commands remotely on system VMs, or request system VMs to ping/traceroute/arping to specific addresses over specific interfaces. An API command to provide such functionalities is being developed without altering any existing APIs. The targeted system VMs for this feature are the Virtual Router (VR), Secondary Storage VM (SSVM) and the Console Proxy VM (CPVM).
1. An admin wants to test if the SSVM can reach a web server in case of download to Secondary storage failures.
2. Ping an outside web server from the VR in case the VM is unable to get data in or out.
3. Admin might also want to know which interfaces are being used for communication between VMs.
The runDiagnostics API command makes use of the CloudStack Agents framework to run this commands on system VMs using the following algorithm;
Example output below using cloudmonkey to test with an SSVM;
API has been integrated into the UI and appears in both the hover menu and the tabs menu for both system VMs and the VR.
Example user input form
Example output from the above user input;