]>
git.proxmox.com Git - pve-manager.git/log
Dominik Csapak [Thu, 24 Sep 2020 13:18:20 +0000 (15:18 +0200)]
ui: fix unchecking 'Filter VMID'
if the checkbox is not checked, we set the value of the vmid filter to ''
but left 'exactMatch' enabled, which means we filter all out where
the vmid is not ''
what we instead want is to remove also the exactMatch so that we
get *all* entries back not *none*
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Grünbichler [Wed, 23 Sep 2020 08:38:48 +0000 (10:38 +0200)]
tasks: allow API tokens to query their own UPIDs
and regular users to read all their own tasks as well as those of their
associated tokens.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Tue, 22 Sep 2020 14:04:13 +0000 (16:04 +0200)]
ui: qemu/AgentIPView: also filter out 0:0:0:0:0:0
it seems that some guest-agents format an non-existant mac adress
differently (e.g. macos, see [0]) so filter that also out
0: https://forum.proxmox.com/threads/macos-vm-optischer-makel.76263/
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 23 Sep 2020 13:09:46 +0000 (15:09 +0200)]
ui: pbs: allow empty fingerprint
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Mon, 21 Sep 2020 09:28:37 +0000 (11:28 +0200)]
bump version to 6.2-12
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Oguz Bektas [Tue, 15 Sep 2020 09:16:54 +0000 (11:16 +0200)]
lxc: increase limit of max cores from 128 to 8192
to match the recently change in the container backend
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 7 Sep 2020 08:06:54 +0000 (10:06 +0200)]
d/control: update versioned dependency for pve-common
ensuring we have the new behavior of sendmail regarding empty from
available.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Thu, 3 Sep 2020 12:09:46 +0000 (14:09 +0200)]
use PVE::Tools::sendmail for update notifications
instead of calling /usr/sbin/sendmail directly.
Tested with:
```
echo "[]" > /var/lib/pve-manager/pkgupdates
pvesh create /nodes/rosa/apt/update --notify 1
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Dominik Csapak [Thu, 3 Sep 2020 12:08:14 +0000 (14:08 +0200)]
ui: dc/Backup: disable pveCompressionSelector for pbs storages
like in window/Backup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Ebner [Thu, 27 Aug 2020 11:16:55 +0000 (13:16 +0200)]
ContentView: block removal of in-use container image
Since commit
5dae1a319b32ea3ebbb0b48a9f0b5e3abd1833c9 in pve-storage,
list_volumes correctly returns content type 'rootdir' for container images.
Adapt the relevant check here to make removal behave like it does
for VM images again.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Stephan Leemburg [Sun, 23 Aug 2020 11:38:28 +0000 (13:38 +0200)]
Bump maximum number of container net interfaces from 10 to 32
Signed-off-by: Stephan Leemburg <stephan.leemburg@it-functions.nl>
Thomas Lamprecht [Fri, 21 Aug 2020 08:54:49 +0000 (10:54 +0200)]
pveversion: track proxmox-backup-client
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Ebner [Thu, 9 Jul 2020 12:45:45 +0000 (14:45 +0200)]
make use of archive_info and archive_remove
to avoid some code duplication.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Thu, 20 Aug 2020 11:48:50 +0000 (13:48 +0200)]
replication: followup: include guest node in error message
tell the user what check actually failed..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Tue, 11 Aug 2020 12:31:11 +0000 (14:31 +0200)]
replication: check for source == target on job creation
and die.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 11 Aug 2020 12:30:25 +0000 (14:30 +0200)]
replication: target is a required parameter
no need to check for definedness
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 11 Aug 2020 12:30:24 +0000 (14:30 +0200)]
replication: refactor source checks on job creation
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Wed, 19 Aug 2020 16:52:00 +0000 (18:52 +0200)]
api: ACME revoke: do not abort if CA is just expired
Else, a user would need to renew it first before being able to revoke
it, which does not make much sense..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 Aug 2020 16:47:08 +0000 (18:47 +0200)]
api: ACME renew: handle error from revoking old cert gracefully
this normally just means that the old cert is already expired, we do
not care for that - after all: we got a new (renewed) valid cert
successfully.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 Aug 2020 13:48:51 +0000 (15:48 +0200)]
ui: fix PBS edit typos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 18 Aug 2020 16:27:43 +0000 (18:27 +0200)]
ui: fixup gettext quoting
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Thu, 13 Aug 2020 10:54:51 +0000 (12:54 +0200)]
test: fix mail_test for non-root user
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Ebner [Mon, 10 Aug 2020 12:35:52 +0000 (14:35 +0200)]
Set source when creating a new replication job
If source is missing, pvesr will set it via job_status
on the next run. But the info is already present here,
so it doesn't hurt to use it.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Dominik Csapak [Mon, 27 Jul 2020 08:43:58 +0000 (10:43 +0200)]
ui: filter on exact vmid
so that backups of vmid 1000 do not show up on vm 100 with 'filte vmid'
enabled
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Aaron Lauterer [Tue, 4 Aug 2020 09:46:38 +0000 (11:46 +0200)]
backup: fix #2913 order jobs numerically by VMID
At this point, the VMIDs are already numerically sorted by the
PVE::VZDump::check_vmids method. Calling another sort on the array,
especially without `{$a <=> $b}`, resulted in reordering the array
alphabetically.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Fabian Grünbichler [Thu, 6 Aug 2020 14:03:03 +0000 (16:03 +0200)]
vzdump: use configured tmpdir for PBS
instead of always using the default hard-coded one.
otherwise, suspend mode container backups might run out of space even though the admin configured a big enough tmpdir.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Hannes Laimer [Thu, 30 Jul 2020 10:25:34 +0000 (12:25 +0200)]
ui: Close #2908: fixed password validator for adding PBS as storage
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Fabian Grünbichler [Mon, 27 Jul 2020 08:53:32 +0000 (10:53 +0200)]
fix #2890: also detect & renew DNS-only ACME certs
this call site was apparently missed when we refactored the node config
/ ACME interaction.
Suggested/Reported-by: Frédéric Bourqui
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 17:22:30 +0000 (19:22 +0200)]
bump version to 6.2-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 17:29:28 +0000 (19:29 +0200)]
followup: use true as inputValue
and normalize original value comparison, just to be sure.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 17:11:28 +0000 (19:11 +0200)]
ui: Proxmox Backup: allow to autogenerate an encryption key
a bit more complicated than wished, but if we want to have at least a
bsaic OK user experience we need to give good feedback that the key
will be deleted.
We definitively want to extend this, allow uploading their own,
export if root@pam, only move not delete on "removal", for safety.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 13:23:28 +0000 (15:23 +0200)]
ui: node/services: use safer reload as restart command
avoids service interruptions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:55:57 +0000 (13:55 +0200)]
api/services: fallback to restart in reload
And document that it is preferred
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:48:42 +0000 (13:48 +0200)]
api/services: improve essential service check, allow reload and start
reload is actually preferred, and even if most of the time this even
won't reach the API, allowing to start them is still definitively
fine!
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:47:39 +0000 (13:47 +0200)]
api/services: whitespace cleanup, modern closure call
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 13:16:22 +0000 (15:16 +0200)]
ui: node: eslint and style fixes
xtype must be the first definition
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alwin Antreich [Thu, 23 Jul 2020 13:25:14 +0000 (15:25 +0200)]
Allow setting device class on osd create
In some situations Ceph's auto-detection doesn't recognize the device
class correctly. The option allows to set it directly on osd create,
instead of altering it afterwards. This way the cluster doesn't need to
shift data back and forth unnecessarily.
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Thomas Lamprecht [Wed, 22 Jul 2020 08:35:04 +0000 (10:35 +0200)]
ui: running chart: assign getTime directly
no sense in doing it everywhere the Date variables are used, if it's
the only thing we do on them.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 22 Jul 2020 08:30:51 +0000 (10:30 +0200)]
ui: ceph status/running chart: disable trackRemoved
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 22 Jul 2020 08:29:05 +0000 (10:29 +0200)]
ui: running chart: avoid breakage if tooltip was on deleted record
if we cleanup records and there was a "stale" tooltip on one of them
we get an access on undefined value exception here
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 22 Jul 2020 08:27:43 +0000 (10:27 +0200)]
ui: comment length cleanup to improve readability
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 21 Jul 2020 17:49:52 +0000 (19:49 +0200)]
ui: ceph status: note that its recovery/rebalance#
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 21 Jul 2020 13:06:18 +0000 (15:06 +0200)]
ui: add ceph recovery graph and progressbar
shows a runningChart (like for reads) for the recovery speed
also shows a progressbar of the health percentage of the cluster
with an estimate of how long the recovery might need
(unhealthy objects) / (objects per second)
only show them when a recovery is ongoing or there are unhealthy
objects
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 20 Jul 2020 14:34:31 +0000 (16:34 +0200)]
buildsys: www/manager: all target needs to be first one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 08:28:44 +0000 (10:28 +0200)]
bump version to 6.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Tue, 14 Jul 2020 08:09:19 +0000 (10:09 +0200)]
VZDump: add TARFILE to environment for hookscripts
The renaming of tarfile to target in
6cba1855d801545df3f3f81619dfa11cf2501858
can break existing vzdump hook scripts of users.
by setting the TARFILE variable in addition to TARGET the scripts will continue
to work.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Stoiko Ivanov [Tue, 14 Jul 2020 08:09:18 +0000 (10:09 +0200)]
vzdump-hook-script: rename TARFILE to TARGET
with the change introduced in
6cba1855d801545df3f3f81619dfa11cf2501858 the
exported variable name changed from tarfile to target.
this patch reflects the renaming in the example hook script.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 08:26:47 +0000 (10:26 +0200)]
vzdump: use more general 'guest' instead of 'vm'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 08:26:14 +0000 (10:26 +0200)]
vzdump: render a duration of 0s as <1s
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Aaron Lauterer [Fri, 10 Jul 2020 08:38:19 +0000 (10:38 +0200)]
ui: not backed: add emptyText to search field
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Thomas Lamprecht [Fri, 10 Jul 2020 06:13:08 +0000 (08:13 +0200)]
ui: storage selector: improve handling PBS special case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:12:16 +0000 (20:12 +0200)]
bump version to 6.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:09:51 +0000 (20:09 +0200)]
ui: storage: adapt pbs hint sligtly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:04:50 +0000 (20:04 +0200)]
ui: backup now: disable compression field for PBS storage
a bit hacky but well..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:04:32 +0000 (20:04 +0200)]
ui: backup detail: rename button to "Job Detail"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:04:01 +0000 (20:04 +0200)]
ui: backup detail: some small nits + padding adation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 18:02:55 +0000 (20:02 +0200)]
ui: backup detail: move search bar in panel header to save vspace
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Aaron Lauterer [Tue, 7 Jul 2020 09:49:02 +0000 (11:49 +0200)]
fix #2609 gui: backup: add window for not backed guests
In case that there are guests which are not covered by any backup job, a
notification is shown and a window with a grid can be opened to view
these guests.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 7 Jul 2020 09:49:01 +0000 (11:49 +0200)]
fix #2609 api: backupinfo: add non job specific endpoint
Adds a new api endpoint at cluster/backupinfo for cluster wide backup
stuff. This is necessary because cluster/backup expects a backup job ID
at the next level and thus other endpoints are hard to impossible to
implement under that hierarchy.
The only api endpoint available for now is the `not_backed_up` which
returns a list of all guests which are not covered by any backup job.
The top level index endpoint is left unsused for now to be available for
a more generic summary endpoint in the future.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 7 Jul 2020 09:49:00 +0000 (11:49 +0200)]
gui: dc/backup: add new backup job detail view
The new detail view for backup jobs shows the settings similar to the
edit dialog but read only. Additionally it does show a list of all
included guests with their volumes and whether these volumes will be
included in the backup.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 7 Jul 2020 09:48:59 +0000 (11:48 +0200)]
gui: dc/backup: move renderers to Utils.js
Moving the following renderers to Utils.js to be able to use them in
more than one place:
* render_backup_days_of_week
* render_backup_selection
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 7 Jul 2020 09:48:58 +0000 (11:48 +0200)]
api: backup: add endpoint to list included guests and volumes
This patch adds a new API endpoint that returns a list of included
guests, their volumes and whether they are included in a backup.
The output is formatted to be used with the extJS tree panel.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Thu, 9 Jul 2020 11:21:28 +0000 (13:21 +0200)]
vzdump: included_guest: return empty hash if no guests selected
This will fix the behaviour when calling `vzdump --stop` to cause all
local guests to be backed up.
When refactoring this logic in commit
df5875b4 , the assumption was that
every call will have one of the following parameters set: pool, list of
VMIDs or all (intentional or when exclude is used).
There is an addtional possibility, that vzdump is called with only
--stop. Thus there are no other parameters that would indicate which
VMIDs to include.
In this case we want to return the empty hash.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 12:53:11 +0000 (14:53 +0200)]
ui: storage: add beta hint to PBS panel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 11:53:57 +0000 (13:53 +0200)]
backup: update job: add missing permission description
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 11:48:21 +0000 (13:48 +0200)]
backup: factor out param permission check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Oguz Bektas [Tue, 7 Jul 2020 12:55:39 +0000 (14:55 +0200)]
backup: add missing user check in update_job
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 08:55:56 +0000 (10:55 +0200)]
Revert "Close #1623: replace apt-get to apt"
This reverts commit
19137ed620b22dc012c17999ff4efc0186c677c0 .
Thomas Lamprecht [Tue, 7 Jul 2020 17:16:50 +0000 (19:16 +0200)]
bump version to 6.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Moayad Almalat [Tue, 7 Jul 2020 10:20:00 +0000 (12:20 +0200)]
Close #1623: replace apt-get to apt
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
Thomas Lamprecht [Tue, 7 Jul 2020 16:47:47 +0000 (18:47 +0200)]
ui: sdn/simple zone: comment out onlineHelp for now
until we update the doc-generator package
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Wed, 1 Jul 2020 07:11:10 +0000 (09:11 +0200)]
sdn: add simple zone plugin
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 1 Jul 2020 07:11:09 +0000 (09:11 +0200)]
sdn: move mtu from vnetview to zoneview
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 1 Jul 2020 07:11:08 +0000 (09:11 +0200)]
sdn: vnetedit: tag optional && fix max tag value
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Tue, 7 Jul 2020 16:29:09 +0000 (18:29 +0200)]
ui: add PBS edit input panel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 7 Jul 2020 15:59:42 +0000 (17:59 +0200)]
buildsys: ui: sort JS source list
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 6 Jul 2020 20:11:25 +0000 (22:11 +0200)]
bump version to 6.2-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 6 Jul 2020 20:03:40 +0000 (22:03 +0200)]
vzdump: drop usless pbs upload finished log message
this is implied, if not there should be an error.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 3 Jul 2020 14:49:19 +0000 (16:49 +0200)]
vzdump: set target key for PBS based backups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 3 Jul 2020 14:45:19 +0000 (16:45 +0200)]
vzdump: rename tasks 'tarfile' key to 'target'
Even now we can have plain vma files which, while an archive, are not
a TARfile.
Use the generic (backup) target as key instead. Makes it less
confusing to be reused for PBS in a later patch.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 3 Jul 2020 06:06:44 +0000 (08:06 +0200)]
api nodes/netstat: cleanup indentation and refactor slightly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 2 Jul 2020 16:36:46 +0000 (18:36 +0200)]
ui: ceph: downgrade remapped from error to warning/working
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 1 Jul 2020 10:01:31 +0000 (12:01 +0200)]
ui: cifs: make user and password independent from each other
the guest account can be password protected, as can a user have no
password - so don't enforce either if the other is set.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 1 Jul 2020 09:51:31 +0000 (11:51 +0200)]
ui: cifs: monitor scan-store errors and show in combobox
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 1 Jul 2020 09:50:36 +0000 (11:50 +0200)]
ui: cifs: reset proxy cache also if user or password change
not only on server address change.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 1 Jul 2020 09:20:44 +0000 (11:20 +0200)]
ui: cifs: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 1 Jul 2020 07:02:49 +0000 (09:02 +0200)]
api/nodes: factor out getting VNC connection info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Ebner [Tue, 30 Jun 2020 08:24:26 +0000 (10:24 +0200)]
Simplify how maxfiles is determined
No functional change is intended.
The preference order is: option, then storage config, then vzdump defaults.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Tue, 30 Jun 2020 08:24:25 +0000 (10:24 +0200)]
storage_info: avoid duplication
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Tue, 30 Jun 2020 08:24:24 +0000 (10:24 +0200)]
Die if dumpdir and storage are both defined
dumpdir will be overwritten if a storage is specified
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Fri, 26 Jun 2020 08:20:20 +0000 (10:20 +0200)]
fixup: get fallback caps correctly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Mira Limbeck [Thu, 25 Jun 2020 14:48:48 +0000 (16:48 +0200)]
change permissions for non-network cloudinit settings
With the introduction of VM.Config.Cloudinit we can set the user,
password and an SSH key without VM.Config.Network permission.
Keep the fallback for VM.Config.Network so custom roles don't break.
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Alexandre Derumier [Fri, 19 Jun 2020 15:50:07 +0000 (17:50 +0200)]
sdn: fix zone icon in tree view
also add status icon:
-pending (yellow triangle)
-error (red cross)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Fabian Grünbichler [Thu, 25 Jun 2020 08:28:14 +0000 (10:28 +0200)]
node_config: followup s/domain/alias
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Möller [Mon, 22 Jun 2020 10:10:14 +0000 (12:10 +0200)]
node_config: Allow leading underscore in ACME aliases
Dominik Csapak [Wed, 24 Jun 2020 07:32:37 +0000 (09:32 +0200)]
fix #2810: reset state of mounts array in initComponent
so that each new instance has an empty mounts list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Stefan Reiter [Mon, 4 May 2020 10:58:43 +0000 (12:58 +0200)]
ui: ProcessorEdit: allow modifications with inaccessible CPU model
An administrator can set a custom CPU model for a VM where the general user
does not have permission to use this particular model. Prior to this change
the ProcessorEdit component would be broken by this, since the store of the
CPU type selector did not contain the configured CPU model.
Add it in manually if this situation occurs (with 'Unknown' vendor, since
we cannot retrieve it from the API), but warn the user that changing it
would be an irreversible action.
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Stefan Reiter [Mon, 4 May 2020 10:58:42 +0000 (12:58 +0200)]
ui: CPUModelSelector: use API call for store
CPU models are retrieved from the new /nodes/X/cpu call and ordered by
vendor to approximate the previous sort order (less change for accustomed
users).
With this, custom CPU models are now selectable via the GUI.
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Stefan Reiter [Mon, 4 May 2020 10:58:41 +0000 (12:58 +0200)]
ui: ProcessorEdit: fix total core calculation and use view model
Clean up the code in ProcessorEdit with a view model and fix a bug while at
it - previously, pressing the 'Reset' button on the form would always set
the value of the total core count field to 1, so mark 'totalcores' with
'isFormField: false' to avoid reset.
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Stefan Reiter [Mon, 4 May 2020 10:58:40 +0000 (12:58 +0200)]
api: register /nodes/X/cpu call for CPU models
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>