Univention Bugzilla – Bug 43595
Create web interface for a server overview
Last modified: 2017-04-04 18:29:37 CEST
Created attachment 8441 [details] Mockup of server overview In order to have a decent overview over all computers in a UCS domain, we need an extra interface which shows all computers of a domain. By clicking on an entry, this allows to navigate to the UMC web interface of the corresponding server.
I added a first version of the site. The search is applied to IP addresses, server role, hostname, domainname. TODO: * Add portal entry * Optimizations might be necessary for large environments changelog-4.2-0.xml: r77188 | Bug #43595: added changelog entry univention-server (12.0.0-7): r77186 | Bug #43595: Add recommendation to univention-server-overview univention-dvd (2.0.0-8): r77187 | Bug #43595: added univention-server-overview to task list univention-server-overview (0.0.1-1): r77185 | Bug #43595: Initial Release
univention-server-overview (0.0.1-2): r77192 | Bug #43595: Adjust labels and some styling
(In reply to Alexander Kläser from comment #1) > I added a first version of the site. The search is applied to IP addresses, > server role, hostname, domainname. > > TODO: > * Add portal entry > * Optimizations might be necessary for large environments I added Bug 43680 for adding the portal entry. This bug can thus be closed.
univention-server-overview (0.0.1-4): r77233 | Bug #43595: fix coding style + references + entitites.encode() r77225 | Bug #43595: Use umc.tools.isIPAddress()
* A computer without domainname redirects to $hostname.null. * A computer without version shows UCS null. * please say something about the "Zum Portal" button in the mockup. * where is the list view? * translations seem missing * the menu contains only a '@' instead of the hostname * the menu contains a login link which does nothing but immediately toggles the button to a logout link.
(In reply to Florian Best from comment #5) > * A computer without domainname redirects to $hostname.null. > * A computer without version shows UCS null. Fixed. > * please say something about the "Zum Portal" button in the mockup. I added a link into the menu which seems to be more appropriate. > * where is the list view? There is none. > * translations seem missing Fixed. univention-server-overview (0.0.1-5): r77386 | Bug #43595: Minor fixes + l10n integration > * the menu contains only a '@' instead of the hostname > * the menu contains a login link which does nothing but immediately toggles > the button to a logout link. I fixed this via Bug 42263.
Servers without IP and FQDN redirect to "undefined".
Maybe we should sort the servers? First the DC Master, then DC Backups, then DC Slaves and then Memberservers?
I am visiting the page via FQDN but the link goes to the IP address.
(In reply to Florian Best from comment #7) > Servers without IP and FQDN redirect to "undefined". Fixed. (In reply to Florian Best from comment #8) > Maybe we should sort the servers? First the DC Master, then DC Backups, then > DC Slaves and then Memberservers? Fixed. (In reply to Florian Best from comment #9) > I am visiting the page via FQDN but the link goes to the IP address. Fixed. I accidentally used the wrong bug number... univention-server-overview (0.0.2-1): r77460 | Bug #42263: Sort by server type + fix linking issues
A computer with: univentionOperatingSystem: Windows 7 Professional univentionOperatingSystemVersion: 6.1 (7601) is shown as "UCS 6.1 (7601)". This might happen for docker memberservers?
umc/de.po contains wrong entries.
(In reply to Florian Best from comment #11) > A computer with: > > univentionOperatingSystem: Windows 7 Professional > univentionOperatingSystemVersion: 6.1 (7601) > > is shown as "UCS 6.1 (7601)". > > This might happen for docker memberservers? My filter for computers/computer objects is (|(objectClass=univentionDomainController)(objectClass=univentionMemberServer)). I do not see how a windows entry could match this? I could not reproduce this problem. Hm... ATM, I am not able to install any docker containers on my VM. Did you test that? (In reply to Florian Best from comment #12) > umc/de.po contains wrong entries. Fixed (with wrong bug number). univention-server-overview (0.0.3-2): r77546 | Bug #42263: Fix entries in umc/de.po
Please hide docker memberservers otherwise every app is shown as single server. This can be done with the following filter: (!(univentionObjectFlag=docker)) Maybe we should also only show Systems with UMC (Bug #39592) ? (univentionService=Univention Management Console)
*** Bug 39592 has been marked as a duplicate of this bug. ***
(In reply to Florian Best from comment #14) > Please hide docker memberservers otherwise every app is shown as single > server. > This can be done with the following filter: > (!(univentionObjectFlag=docker)) > > Maybe we should also only show Systems with UMC (Bug #39592) ? > (univentionService=Univention Management Console) OK. Fixed (with wrong bug number). univention-server-overview (0.0.3-4): r77627 | Bug #42263: Filter out docker containers
I spotted a side effect of adaptations with the method GalleryPane::_resizeItemNames() where the a-tag of the gallery tiles were removed. I adjusted this behaviour in the last commit: univention-server-overview (0.0.3-5): r77628 | Bug #43595: Make sure that the a-tag is not removed via _resizeItemNames
That looks really nice. To click one server, I have to be in the line of the hostname. It would be better if I could click as soon as the mouse over affect is visible.
Created attachment 8534 [details] umc_server_view_not_clickable.png
Created attachment 8535 [details] umc_server_view_clickable.png
(In reply to Stefan Gohmann from comment #18) > That looks really nice. To click one server, I have to be in the line of the > hostname. It would be better if I could click as soon as the mouse over > affect is visible. OK, I adjusted this. The whole tile is now clickable. univention-server-overview (0.0.3-6): r77721 | Bug #43595: Make while gallery tile clickable
OK: Changelog OK: functionality
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".