api: add command to list management servers#2578
Conversation
|
@marcaurele a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
DaanHoogland
left a comment
There was a problem hiding this comment.
looks good but misses tests. this will be code at the basis of shutdown procedure. tests will be very much apreciated.
|
Packaging result: ✔centos6 ✔centos7 ✖debian. JID-1940 |
|
@DaanHoogland what kind of tests do you expect on a pure list operation ? I thought it's pretty straight forward and would not need any test but I'm open to add some, just not sure what to test there. |
|
@marcaurele I don't expect test on the list operation. it is to trivial. I am thinking about the underlying constructs, the change in the peer object, mainly. If you think those changes are to trivial as well, soit. 33 files have changed but admitted most of them only slightly. |
|
closing to trigger CI anew |
|
open sesame (and jenkins/travis) |
|
@marcaurele a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1947 |
06bea9e to
c9f9945
Compare
|
@marcaurele nice, can you also consider adding UI changes such as a tab on left nav-bar or a section/tab on the infra page? |
|
@rhtyd Ok |
|
@rhtyd is there a source for those system images in the WUI? I would need a new one for the management server but dunno where to look for one alike. |
|
@marcaurele sorry did not get the question, if you're looking for link/url where systemvmtemplates are hosted you can use the http://download.cloudstack.org/ server. Or, if you mean by having an icon for the tab see if you can find one from sprites.png or add a new one in any free space in sprites.png |
|
@rhtyd it was about the sprites, but I found the one I was looking for |
|
@marcaurele this got outdated, are you still on it? |
|
8e17678 to
1a186d6
Compare
|
The PR is ready now. Conflicts are fixed, WUI is updated with a new block for management servers with a simple detail view. cc @rhtyd @DaanHoogland @rafaelweingartner @bwsw |
|
Looks great @marcaurele I'm busy this week with some outstanding issues wrt 4.11.2 release. I'll review this after that. Thanks. |
|
@blueorangutan package |
|
@rafaelweingartner a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✖debian. JID-2361 |
|
@marcaurele interesting feature 👍 |
|
@GabrielBrascher as @marcaurele indicated he's leaving the community I'll fork his branch and resubmit his code to address any issue we might still have with it. |
|
@DaanHoogland sounds like a plan, thanks for pointing it out. This PR is on the list of PRs that are interesting to be merged but still need some time invested; it is almost ready, just need fixing conflicts so I hope to have it on 4.12. |
|
@marcaurele a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos6 ✖centos7 ✖debian. JID-2569 |
|
Sorry guys, but I don't have anymore much time to continue rebasing my code as it's not going through quick enough to avoid new conflicts. thanks @DaanHoogland to take over. |
|
no worries @marcaurele , I know you changed focus and it is all but done. thanks for much good cooperative work over the years 👍 |


Description
New API command to list the management servers, following the discussion on the mailing list. It adds back (I think it was removed at some point) the uuid column in the
mshosttable. It adds another change: the management server name is picked up from the canonical name to try to get the full name of the server for scripting purpose (for example for a SSH remote connection).Types of changes
How Has This Been Tested?
The web interface has been tested locally along with the API call to list the management servers.
Checklist:
Testing
@blueorangutan package