Commit Graph

3061 Commits

Author SHA1 Message Date
Emmanuel Kasper
8d4f1d4d2b Use a View Controller for making components react to each other
This allow to declare all the components inside the same items
array, and separate behaviour from view better.

No functional changes.
2017-07-11 13:24:48 +02:00
Emmanuel Kasper
85806e47d1 Use camel case for InputPanels aliases
Camel Case names for component alias follow Ext recommended practises
and are used otherwise everyelse in the code base.

No functionnal changes, aliases for these components were not used
anyway.
2017-07-11 13:23:38 +02:00
Dietmar Maurer
c11885e0a0 add missing file 2017-07-04 11:57:07 +02:00
Dietmar Maurer
9795f74434 bump version to 5.0-23 2017-07-04 11:51:00 +02:00
Dietmar Maurer
12fe9183cb trust StartCom_Certification_Authority_2.crt 2017-07-04 11:48:52 +02:00
Dietmar Maurer
4029c97f08 Replication.js: translate 'Error' 2017-07-04 09:06:25 +02:00
Dietmar Maurer
d4177d53d5 avoid extra gettext string 2017-07-04 09:02:24 +02:00
Dietmar Maurer
dc4512ec14 bump version to 5.0-22 2017-07-04 08:18:55 +02:00
Dietmar Maurer
d095787660 update aplinfo.dat 2017-07-04 08:17:45 +02:00
Dietmar Maurer
2c07461480 bump version to 5.0-21 2017-07-03 16:09:03 +02:00
Dietmar Maurer
4840b6fd9b update aplinfo.dat 2017-07-03 16:06:49 +02:00
Dietmar Maurer
d136f4ad68 bump version to 5.0-20 2017-06-30 11:19:10 +02:00
Thomas Lamprecht
defa3bb78f replication: reuse fitting translations
while it does not makes sense do over-reuse translations for the sake
of translating less, imo, here we can safely reuse already existing
ones and pull out the unit 'MB/s' from the gettext.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-30 06:46:04 +02:00
Thomas Lamprecht
ca7d070799 pvesr: allow schedule now from CLI
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 17:44:35 +02:00
Dietmar Maurer
ee86f19f6a bump version to 5.0-19 2017-06-29 12:02:14 +02:00
Thomas Lamprecht
0cfec28cd8 pvesr status: handle disabled jobs
As the nodes replication status call also returns disabled jobs now,
we need to handle them here too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 11:50:15 +02:00
Thomas Lamprecht
3b0ab40a2a replication; merge status and status text and add to dc mode
It was a bit strange to have two separate status columns, which do
effectively the same thing. So merge them together to save a bit
space and have less columns.

We do not need to translate 'Status Text' as a nice side effect.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 11:49:46 +02:00
Thomas Lamprecht
959f37afe2 replication: show disabled jobs and allow enabling/disabling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-29 10:59:11 +02:00
Dietmar Maurer
07e5f4f776 PVE/APLInfo.pm - use correct version for user agent 2017-06-29 08:07:11 +02:00
Dietmar Maurer
abbc1b7948 Revert "add beta text with link to bugtracker"
This reverts commit 6531861e69.

Prepare for final 5.0 release.
2017-06-29 07:58:37 +02:00
Dietmar Maurer
b4f31a66df replication: fix regression tests 2017-06-29 07:46:56 +02:00
Dietmar Maurer
a4beaa9422 PVE/API2/Replication.pm: cleanup - avoid modifying jobcfg
This is simply no longer necessary.
2017-06-29 07:45:57 +02:00
Thomas Lamprecht
1ab33d14d2 replication: adapt help buttons reference
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-28 18:43:19 +02:00
Emmanuel Kasper
0de33b54b2 Add Help Button for Backup Modal Windows
Modal Windows disable the Workspace behind them, so it was not possible
to get onlineHelp when starting a oneshot backup or configuring a backup job.
2017-06-28 18:43:19 +02:00
Wolfgang Bumiller
74f644b7df bump version to 5.0-18 2017-06-28 14:24:19 +02:00
Wolfgang Link
fa298bb000 Fix create replication job
Add node to load config. this is needed if you are on an other node then the guest.
2017-06-28 14:20:09 +02:00
Dietmar Maurer
e9ac350dd8 bump version to 5.0-17 2017-06-28 13:34:42 +02:00
Dietmar Maurer
85167e5edf replication GUI: add schedule now Button 2017-06-28 12:25:13 +02:00
Dietmar Maurer
88ea8e67d3 PVE/API2/Replication.pm: add schedule_now API 2017-06-28 12:14:22 +02:00
Wolfgang Bumiller
1ec226c31d gui: drop cirrus from the GUI
now only available from the CLI
2017-06-28 12:13:45 +02:00
Thomas Lamprecht
42b45f8fe8 replica: improve schedule format example
Add one more to show that also weekdays + intervals are possible

Further improve wording + reduce translation needs for others entries.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-28 11:31:39 +02:00
Thomas Lamprecht
aa5ce65a13 grid/replication: show textual description of default value
When a user sees this the first time and wants to add a job he
shouldn't be confused what the default value means, so display this
through the emptyText property, which does not get submitted to the
backend.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-28 09:57:38 +02:00
Emmanuel Kasper
cbe73a8981 Make sure checkboxes always appear under the ACL combobox for a bit of esthetic 2017-06-28 06:11:56 +02:00
Emmanuel Kasper
fc3a208bda Add a checkbox 'Skip replication' to filter out container mount points to replicate 2017-06-28 06:11:27 +02:00
Wolfgang Bumiller
12c206a5ab tests: mock PVE::Cluster::get_members and adapt fail test
Commit 3385399339c94 ("replication: keep retrying every 30 minutes in
error state") changed the retry behavior to not stop after the 3rd error
and then stick to half-hour intervals. This needs to be reflected in the
tests. The numbers here match. (1900 + 30*60 = 3700).

Commit fd844180a7efa ("replication: don't sync to offline targets on
error states) changed the retry behavior to check whether the target
node is online. If this is not the case we fail right away. This
introduced a dependency on PVE::Cluster::get_members which we now need
to mock. Tests currently use node names "node{1,2,3}", so I just mock
those 3.
2017-06-28 06:05:44 +02:00
Fabian Grünbichler
d197634b4b ceph: keys: add mgr allow * to client.admin
needed for data that now gets queried via the mgr instead of
via the mon.
2017-06-27 16:42:35 +02:00
Fabian Grünbichler
50239dba68 pveceph: createosd: allow to create bluestore OSDs 2017-06-27 16:15:44 +02:00
Fabian Grünbichler
207f493293 pveceph: init: add min_size, change default to 3/2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-06-27 16:15:44 +02:00
Dietmar Maurer
5a26b00600 PVE/API2/Replication.pm: call purge_old_states in run_jobs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-06-27 15:48:06 +02:00
Thomas Lamprecht
7f15c83c03 replication/ui: improve wording for job removal
Delete the strange sounding Note from the Removal dialog.
This was added to make sure that an user isn't confused that a Job is
still shown after 'removing' it. But it isn't needed as there is
already noted in the jobs status that it will get removed soon after
doing so, so the user sees that his action had the desired effect, no
extra note needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-27 15:29:40 +02:00
Wolfgang Bumiller
1adc6f7ab3 replication: refuse to create jobs with nothing to do
When a VM has no disks or all of them are on shared storage
the replication job has nothing to do and fails, so catch
this when creating a new job.
2017-06-27 15:16:41 +02:00
Wolfgang Bumiller
5b35845009 tests: update pvesr_lock_path variable location 2017-06-27 15:16:41 +02:00
Fabian Grünbichler
2e9d791ee6 ceph: init: allow pool deletion by default
set to false by default since Ceph > Kraken

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-06-27 14:53:17 +02:00
Emmanuel Kasper
1b6f87ab1d Add a Skip replication option on Disk Panel
This will allow to disable replication, when for instance we
add a disk on a non-replicatable storage.
The option is hidden in the wizard, because at that time no VM
replication has been set.
2017-06-27 10:49:35 +02:00
Wolfgang Bumiller
25420507b2 refuse to create replication jobs for unreplicatable VMs 2017-06-27 06:28:33 +02:00
Dietmar Maurer
224c78da76 bump version to 5.0-16 2017-06-23 13:03:32 +02:00
Dominik Csapak
6b70251440 fix lxc hostname input window
we used a static emptytext at creation, which is wrong after editing
now copied from qemu/Options.js (the name), but instead of deleting the
hostname on the backend on an empty field, we set it to CT<VMID>
(this is also the default in the wizard)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-23 13:02:19 +02:00
Dominik Csapak
d5a7996b13 fix reselection on vm/ct migrate in gui
there were a number of problems in how we reselected vms when they
migrated and selected:

we relied on the data in the configpanel to be static, but since
pveselnode is a reference, it actually changes when the resourcestore
changes
also, handling the reselection as a response to the statusstore failure
is very inconsistent, because we know exactly when a vm moves node in
the tree

this patch removes the whole configpanel vm migration code,
and lets the tree handle it
for this, we have to check if we have to reselect the entry,
deselect it manually and after the treeupdate reselect it

also in the right click selection check we have to check if it is
already selected, else the next selection will get canceled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-23 13:01:12 +02:00
Dietmar Maurer
75d71d4ea2 bump version to 5.0-15 2017-06-23 11:43:58 +02:00
Dietmar Maurer
2ca8059196 pvesr.timer: set AccuracySec=1
So that the user can predict when a job will/shpuld be started. I think
this will not have much impact on the cluster wide power consumption.
2017-06-23 11:41:37 +02:00