]>
git.proxmox.com Git - pve-manager-legacy.git/log
Thomas Lamprecht [Mon, 11 Dec 2017 10:25:58 +0000 (11:25 +0100)]
use HelpButton from widget toolkit
Proxmox.button.Help renamed the css class for the button styling, as
this class is only used rarely and the widget toolkit does not
provides a (shared) css file itself, just rename it here too.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 7 Dec 2017 08:58:50 +0000 (09:58 +0100)]
use window.PasswordEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:30:16 +0000 (18:30 +0100)]
use TaskViewer & TaskProgress window from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:12:41 +0000 (18:12 +0100)]
use windowEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:02:00 +0000 (18:02 +0100)]
use PendingObjectGrid from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 16:54:30 +0000 (17:54 +0100)]
qemu/Options: cleanup & use new features from ObjectGrid
Ther's a little delay with the revert button on pending changes, but
that was the case previously too, so don't worry for that in this
patch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 16:28:41 +0000 (17:28 +0100)]
grid/FireWallOptions: cleanup & use new features from ObjectGrid
switch add_boolean and add_integer row to a simple wrapper.
We really use it often and can save quite some lines with it so it
does not make sense to remove it completely yet.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 15:59:02 +0000 (16:59 +0100)]
lxc/Options: cleanup & use a few new features from ObjectGrid
Use also same store update interval as qemu/Options
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 15:51:45 +0000 (16:51 +0100)]
lxc/Resources: cleanup & use new features from ObjectGrid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 14:09:23 +0000 (15:09 +0100)]
dc/OptionView: cleanup & use new features from ObjectGrid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 12:49:24 +0000 (13:49 +0100)]
use ObjectGrid from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 11:16:07 +0000 (12:16 +0100)]
use KVCombobox from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 11:05:57 +0000 (12:05 +0100)]
use RRDTypeSelector from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 5 Dec 2017 13:06:40 +0000 (14:06 +0100)]
use Checkbox from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 5 Dec 2017 13:01:07 +0000 (14:01 +0100)]
use BondModeSelector & BondPolicySelector from widget toolkit
widget name stayed the same, so no need to change
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 5 Dec 2017 12:55:28 +0000 (13:55 +0100)]
use LanguageSelector from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:10 +0000 (15:18 +0100)]
remove unneeded SendKeyMenu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:09 +0000 (15:18 +0100)]
use Proxmox.Utils instead of PVE.Utils
some function are now in Proxmox.Utils instead, so we have to use that
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:08 +0000 (15:18 +0100)]
use Button from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:07 +0000 (15:18 +0100)]
use Proxmox.button.StdRemoveButton where possible
most 'Remove' buttons we have used the same code pattern over and over,
with the StdRemoveButton we have a component which does all of this for
us
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:06 +0000 (15:18 +0100)]
create some models
we want to use the getId method of some records, but for this
we need that the records are defined as an instance of a model,
so we create some and use them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:05 +0000 (15:18 +0100)]
use DNSView/DNSEdit from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:04 +0000 (15:18 +0100)]
add 'service' parameter to syslog api call
so that we can filter the journal by service
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:03 +0000 (15:18 +0100)]
use ServiceView from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:02 +0000 (15:18 +0100)]
use Tasks from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:01 +0000 (15:18 +0100)]
change pve-invalid-row class to proxmox-invalid-row
because we will use that in the widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:18:00 +0000 (15:18 +0100)]
use UpdateStore from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:59 +0000 (15:17 +0100)]
use JsonObject from widget toolkit
same xtype/alias, so there is nothing to do except remove it from
pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:58 +0000 (15:17 +0100)]
use RRDChart and RRDStore from widget toolkit
also remove old unused RRDView
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:57 +0000 (15:17 +0100)]
add rrd models
they will be used with the rrdstore
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:56 +0000 (15:17 +0100)]
remove unused MigrateAll window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:55 +0000 (15:17 +0100)]
use NodeAPT grid from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:54 +0000 (15:17 +0100)]
use NetworkView/NetworkEdit from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:53 +0000 (15:17 +0100)]
use TimeView and TimeEdit from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:52 +0000 (15:17 +0100)]
use IntegerField from widget toolkit
there we implemented deleteEmpty, which we can use in some cases.
this also fixes a bug in the ControllerSelector where
an empty field would be allowed (but should not)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:51 +0000 (15:17 +0100)]
use TextField from proxmox-widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:50 +0000 (15:17 +0100)]
use ComboGrid from proxmox-widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 22 Jan 2018 12:41:20 +0000 (13:41 +0100)]
use pve-i18n package
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jan 2018 14:17:49 +0000 (15:17 +0100)]
add proxmox-widget-toolkit to pve gui
we will use components from proxmox-widget-toolkit rather than
directly from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Wed, 17 Jan 2018 09:33:19 +0000 (10:33 +0100)]
correct the upgradecmd for xtermjs
use the pveupgrade command directly without bash inbetween,
the incorrect quoting led to '--shell' not being passed to
pveupgrade and closing the connection
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Wed, 17 Jan 2018 08:09:14 +0000 (09:09 +0100)]
bump version to 5.1-43
Dominik Csapak [Tue, 16 Jan 2018 13:51:21 +0000 (14:51 +0100)]
add spec-ctrl cpu flag checkbox
also make the mechanism for the flag checkboxes generic
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Wed, 13 Dec 2017 10:34:48 +0000 (11:34 +0100)]
add defaultSize parameter for DiskStorageSelector and set it to 8 for lxc
we had it previously on 8GB for containers, but with the refactoring,
this got lost. this patch changes this back
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jan 2018 10:53:42 +0000 (11:53 +0100)]
bump version to 5.1-42
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jan 2018 10:47:26 +0000 (11:47 +0100)]
readability fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Tue, 9 Jan 2018 15:27:39 +0000 (16:27 +0100)]
add PCID checkbox to ProcessorEdit
but not in wizard, and default is off
(because we do not know if the cpu supports it)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Wed, 27 Dec 2017 10:42:48 +0000 (11:42 +0100)]
fix #1605: reflect backend values of minimum memory limit
The backend's minimum value for container memory is 16M,
not 32.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fabian Grünbichler [Thu, 21 Dec 2017 11:47:49 +0000 (12:47 +0100)]
bump version to 5.1-41
Dietmar Maurer [Thu, 21 Dec 2017 09:15:47 +0000 (10:15 +0100)]
pveupdate - always run check for available updates
Dominik Csapak [Wed, 20 Dec 2017 13:01:20 +0000 (14:01 +0100)]
prevent double ticket api call
commit:
9d4aa0edbbbd42429d7f46eae72766eb6d87c78e
added the defaultButton property to the loginwindow, but we missed that
pressing enter in the passwordfield/userfield led to a double ticket
api call.
while it did not any harm, remove it, so that we only have a single
ticket api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 9d4aa0edbbbd ("add defaultButton to loginWindow")
Dominik Csapak [Wed, 20 Dec 2017 13:01:19 +0000 (14:01 +0100)]
use activate instead of show
we changed this almost everywhere in the transition from extjs4 to
extjs6, but we forgot one
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Emmanuel Kasper [Tue, 19 Dec 2017 13:10:01 +0000 (14:10 +0100)]
Set Console Button icon style at definition time
This will allow the 'Upgrade' button to get an icon too.
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Tue, 19 Dec 2017 13:10:00 +0000 (14:10 +0100)]
Use the new xterm.js icon with the corresponding Menu Item
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Tue, 19 Dec 2017 13:09:59 +0000 (14:09 +0100)]
Add new icon for xtermjs consoles, based on xtermjs logo
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Tue, 19 Dec 2017 13:09:58 +0000 (14:09 +0100)]
jslint: remove trailing comma after last objects property
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Wolfgang Bumiller [Thu, 14 Dec 2017 08:07:00 +0000 (09:07 +0100)]
cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 13 Dec 2017 13:50:13 +0000 (14:50 +0100)]
bump version to 5.1-40
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Tue, 12 Dec 2017 12:25:16 +0000 (13:25 +0100)]
show storage usage in tree
this adds a little usage indicator in the tree for all storage definitions,
so that one can easily see how much of a storage is used
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Tue, 12 Dec 2017 12:25:15 +0000 (13:25 +0100)]
remove (near)full status for storages
since this is not a good default, we do not want the user
to have to configure those limits for each storage, and
a warning triangle was confusing for multiple users,
we remove this again
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Link [Thu, 7 Dec 2017 11:07:00 +0000 (12:07 +0100)]
Send an email when a replication job fails.
A email notification will be send for each job when the job fails.
This message will only send when an error occurs and the fail count is on 1.
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Link [Thu, 7 Dec 2017 11:06:58 +0000 (12:06 +0100)]
Indentation cleanup.
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Mon, 11 Dec 2017 13:55:30 +0000 (14:55 +0100)]
add xtermjs to consolebutton
also rework the button.
move most things in the static configuration
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 11 Dec 2017 13:55:29 +0000 (14:55 +0100)]
add xtermjs flag to VNCConsole iframe
so that we can open an xtermjs iframe instead of novnc
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 11 Dec 2017 13:55:28 +0000 (14:55 +0100)]
add new xtermjs viewer window to Utils
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 11 Dec 2017 13:55:27 +0000 (14:55 +0100)]
add xtermjs to pveproxy dirs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 11 Dec 2017 13:55:26 +0000 (14:55 +0100)]
add termproxy api call for nodes
and add dependency for pve-xtermjs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 30 Nov 2017 07:20:34 +0000 (08:20 +0100)]
api: nodes/subscription: implement reasonable access rights
Allow users which have Sys.Audit on a specific node to get the
subscription status and those with Sys.Modify to set and check
(update) it.
This mirrors the required permissions from other node specific
actions, e.g., APT (package management).
We always showed the Subscription Panel and all its elements in the
WebUI, so no need for change there.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Mon, 11 Dec 2017 14:35:22 +0000 (15:35 +0100)]
bump version to 5.1-39
Thomas Lamprecht [Thu, 7 Dec 2017 13:00:36 +0000 (14:00 +0100)]
Fix #1589: auth_handler: raise exception on init_request error
cfs_* methods cann now die (rightfully so) when the IPCC endpoint is
not connected, or another grave IPCC error arised.
As we did not catch those problems in the RPCEnvironments
init_request method, which loads the user config, this got
propagated to the anyevents auth_handler call in its
unshift_read_header method where then all errors where processed in
the same way => with an unauthorized response logging an logged in
user out.
So catch this error and raise an internal server errror exception
instead. Anyevent needs some minor modifiaction in a separate patch
to handle PVE::Exceptions correctly, so this is the partial fix for
bug #1589
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 5 Dec 2017 12:02:28 +0000 (13:02 +0100)]
update catalan translation
Emmanuel Kasper [Thu, 30 Nov 2017 16:34:07 +0000 (17:34 +0100)]
Add a proper confirmation message when we detach an used disk
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Thu, 30 Nov 2017 16:34:06 +0000 (17:34 +0100)]
Fix #1526: Use 'detach' instead of 'remove' when the disk is used
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Thu, 30 Nov 2017 16:34:05 +0000 (17:34 +0100)]
Fix JSLint type confusion warnings
The type confusion warnings arose from string and integer concatenation,
and object properties of the name which were alternatively set with
strings and integers.
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Fabian Grünbichler [Thu, 30 Nov 2017 10:40:03 +0000 (11:40 +0100)]
add versioned dependency on libpve-storage-perl
for API changes needed for new DiskSelector
Fabian Grünbichler [Thu, 30 Nov 2017 10:36:30 +0000 (11:36 +0100)]
bump version to 5.1-38
Fabian Grünbichler [Thu, 30 Nov 2017 10:31:35 +0000 (11:31 +0100)]
pveceph: add missing use statement
Thomas Lamprecht [Tue, 28 Nov 2017 15:32:44 +0000 (16:32 +0100)]
ceph: create mon: fix & improve check if IP is in public net
If a CIDR gets passed to Net::IP it is expected to not be from the
middle of an subnet, i.e., 192.168.1.12/24 is *not* OK but
192.168.1.0/24 would be OK.
As the Network/interfaces files also accepts CIDR notation for the
'address' param (now also for IPv4) this let to problems in our node
monitor IP detection code, which used the interface file and Net::IP to
find any address from the ceph public network.
So change to our newer helper PVE::Network::get_local_ip_from_cidr to
get all configured and ready (=up) IPs from this network.
Also handle the case where multiple networks where returned, add a
parameter to allow specifying one of those and ask the user to do so.
If no public network is configured and no mon-address parameter was
passed, we fall back to the remote node IP of the node, as was done
previously. We expect that the user only overwrites the mon-address
if he knows what he do and omit checks here.
Wolfgang Bumiller [Tue, 28 Nov 2017 15:38:26 +0000 (16:38 +0100)]
bump version to 5.1-37
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Fri, 24 Nov 2017 08:58:15 +0000 (09:58 +0100)]
ceph: create pool: check for quorum at start
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Emmanuel Kasper [Wed, 22 Nov 2017 08:50:40 +0000 (09:50 +0100)]
Add each host SSL fingerprint to each node status
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 27 Nov 2017 11:43:31 +0000 (12:43 +0100)]
fix #1578: api/resource hastate: fallback to resource cfg state
With ignored or still queued services we have no hastate for a
service in the manager status available.
As we use hastate in the web UI to determine if a service is
configured for HA this could lead to confusion there.
For example, the VM/CT 'Manage HA' window thinks tries to add the
service again if its in the 'ignored' state, and then the backend
errors out because it is already configured.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 28 Nov 2017 10:26:12 +0000 (11:26 +0100)]
Do not translate Unix/Linux specific terms
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Emmanuel Kasper [Wed, 8 Nov 2017 15:10:30 +0000 (16:10 +0100)]
Do not translate PC hardware specific terms
The SKU (Stock Keeping Unit) field was never translated anyway in our po files,
probably because nobody knew what the initials meant.
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Wed, 8 Nov 2017 15:10:29 +0000 (16:10 +0100)]
Do not translate Qemu specific terms
Multiqueue is the proper name as used by Qemu, as seen in
https://www.linux-kvm.org/page/Multiqueue
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Wed, 8 Nov 2017 15:10:28 +0000 (16:10 +0100)]
Do not translate IT specific terms
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Wed, 8 Nov 2017 15:10:27 +0000 (16:10 +0100)]
Do not translate PC hardware specific terms
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Emmanuel Kasper [Wed, 8 Nov 2017 15:10:26 +0000 (16:10 +0100)]
Do not translate Ceph specific terms
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
Dominik Csapak [Fri, 17 Nov 2017 09:22:53 +0000 (10:22 +0100)]
make ssh connection transparent
do not use an escape character for the host shell
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 9 Nov 2017 13:20:52 +0000 (14:20 +0100)]
access log rotate: try to reload not restart services
with the use of systemd the /etc/init.d/pveproxy restart call got
intercepted and redirected to systemd, which did an restart.
But, that is a behvaior change to the intention of the init.d script,
which would not restart but reload the service.
Thus change this to systemds equivalent:
systemctl try-reload-or-restart pveproxy.service
Which tries to reload, if the unit supports it, and only if that does
not worked it restarts.
Same for spiceproxy.
Reported-by: Stefan Priebe <s.priebe@profihost.ag>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Mon, 13 Nov 2017 09:37:33 +0000 (10:37 +0100)]
buildsys: add excludes to dh_fixperms
Instead of fixing up permissions manually as the make
install target is actually responsible for this (and already
doing it).
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:39 +0000 (09:51 +0100)]
remove unecessary semicolons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:38 +0000 (09:51 +0100)]
whitespace cleanup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:37 +0000 (09:51 +0100)]
improve tree/grid icons
we improve the icons in the tree and the resource grid by
differentiating between cluster online/offline status and no rrd data
when we have no rrd data from a node/storage, instead of showing a
red x (which is scary) even if the node is reachable by corosync (which
confused quite a bit of people, because we show all nodes as online in
the datacenter summary), we show the node/storage with a '?'
this signals that something is wrong with this node, even if we can
reach it via cluster methods
this rewrite of the logic includes a refactoring of the method
of getting the icon, because we want the same icons in the tree and the
grid, and an optimization on how we use the css classes
(introducing a x-grid-custom-icon class)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:36 +0000 (09:51 +0100)]
add new tree and grid classes for the 'unknown' status
this displays a '?' similar to the check/cross, to show something
is wrong, but we do not know if its offline
also cleanup the classes a bit, so we do not have to have so many
different ones
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:35 +0000 (09:51 +0100)]
add a new status column in the resourcestore
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:34 +0000 (09:51 +0100)]
add default 'unknown' status for vms and containers
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:33 +0000 (09:51 +0100)]
include a 'status' field for storages
by default it is unknown, if the storage is >= 60% full, it is
'nearfull', if it is >= 90% full, it is 'full'
if we have any other information, it is 'available'
we can use this information for the tree
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 Nov 2017 08:51:32 +0000 (09:51 +0100)]
add status to node stats
by default it is unknown,
if it is a standalone node its online
else it is either 'online' or 'offline' depending on the corosync status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 10 Nov 2017 13:49:27 +0000 (14:49 +0100)]
reset FileSelector grid when changing the storage
otherwise, when the new storage returns an error, we show the content
of the old storage
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 10 Nov 2017 13:49:26 +0000 (14:49 +0100)]
use DiskStorageSelector in lxc/MPEdit.js
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>