Uh oh!
There was an error while loading. Please reload this page.
Get Diagnostics Data API - #27
Conversation
c06d256 to
fa5379aCompare423d1c6 to
18b55a0CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
borisstoyanov
commented
Jan 15, 2019
@dhlaluku this has been passed to me for testing but the title still says "work in progress"? |
dhlaluku
commented
Jan 15, 2019
@borisstoyanov let me fix the merge conflict and remove the WIP from the label |
bbbe373 to
fda69b2Comparefda69b2 to
ff46636Compare
DaanHoogland
left a comment
There was a problem hiding this comment.
some questions and comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| _eachTimeout = Duration.standardSeconds(cmd.getTimeout()); | ||
| final ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), VRScripts.RETRIEVE_DIAGNOSTICS, fileList, _eachTimeout); | ||
| if (result.isSuccess()){ | ||
| return new PrepareFilesAnswer(cmd, true, result.getDetails()); |
There was a problem hiding this comment.
no validation of result.details?
There was a problem hiding this comment.
No validation required here, success/fail is handled in the service layer class "DiagnosticsServiceImpl"
There was a problem hiding this comment.
No need for validation here, script/command execution should be propagated back to service layer using command-answer pattern
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| * @param fileName filepath inside system vm, /root/diagnostics_files_xxxx.tar | ||
| */ | ||
| protected void cleanUpFileInVm(String vmIP, String fileName) { | ||
| final String PERM_KEY = "/root/.ssh/id_rsa.cloud"; |
There was a problem hiding this comment.
done, extracted Zip file in system vm file cleanup to Network element command which makes it hypervisor agnostic
| return false; | ||
| } | ||
| public boolean imageStoreHasEnoughCapacity(DataStore imageStore, Double storeCapThreshold) { |
There was a problem hiding this comment.
javadoc to explain how storeCapThreshold is used would be nice
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
BT-HF66 Publish disk resize event in cloud_usage
679e170 to
fbbee31Compare* Complete UI integration * Complete marvin test * Complete Secondary storage GC background task
fbbee31 to
0b247beCompare* Add new grid values new classes to replace inline stlyes with it * Fix navigation scroll behavior Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Hi @dependabot[bot], your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch? |
Get Diagnostics Data from system VMs
Docs; https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Get+Diagnostics+Data+API
Description
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?