Commit Graph

3127 Commits

Author SHA1 Message Date
Dominik Csapak
e932cd5f70 adapt the health message list to luminous
they restructured the json structure, so we have to adapt to it.
additionally, we now have a 'detail' property for the messages
which we show on a click of the 'info' button in the new actioncolumn

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
4a0bb01712 adapt ceph status detail to luminous and make it more robust
they restructured the json interface
(e.g. they removed the timechecks from ceph status)

so we have to generate those differently

also make the whole thing more robust to changes,
as in do not bail out if one thing is missing, but check the needed
data only when we need it and omit that part

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
d18bf116a3 rename 'monitors' to 'states' in pg list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
dfe6d184ff adapt render_ceph_health for luminous
it is using 'status' instead of 'overall_health' now

also only give the health object now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
84caf265bd add health detail to ceph status api call
with ceph 12.1.1 luminous, ceph has reorganized its json
interface of the ceph status and ceph health call

so to get everything we need, we have to also get
the ceph health detail information into our
status call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Wolfgang Bumiller
9cf3e44912 ceph: end ceph.list with a newline 2017-07-20 09:32:28 +02:00
Wolfgang Bumiller
a58dc7f35f bump version to 5.0-24 2017-07-19 12:56:00 +02:00
Emmanuel Kasper
b6571655d9 Use emptyText to inform the user of the value that will set be when the field is empty
emptyText is not submitted, because it does not count as value when getSubmitValue() is
called on it in PVE.panel.InputPanel.getValues()
2017-07-19 12:49:46 +02:00
Wolfgang Link
b6c427261c Fix pveceph createosd
The --filestore flag is now required see doc of ceph.

If the --bluestore argument is given, a bluestore objectstore will be
created.  If --filestore is provided, a legacy FileStore objectstore
will be created.  If neither is specified, we default to BlueStore.
2017-07-19 12:40:28 +02:00
Wolfgang Bumiller
85fd9b52ae Revert "trust StartCom_Certification_Authority_2.crt"
This reverts commit 12fe9183cb.

Revert "add missing file"

This reverts commit c11885e0a0.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.
2017-07-19 09:38:49 +02:00
Wolfgang Bumiller
103ddb8868 buildsys: use CC, CPPFLAGS and CFLAGS
pvemailforward is a tiny oneliner, but for the sake of best
practices, let's use the build tools from the environment.
For example, with dpkg-buildpackage this will make us use
-D_FORTIFY_SOURCE=2 etc.
2017-07-19 08:57:31 +02:00
Emmanuel Kasper
db3395bb83 Fix #1450 : restore setgid bit on pvemailforward binary
When calling chown on a setuid/setgid executable, the
setuid/setgid bits are reset to 0. So ordering matters
here. See chown(2).
2017-07-19 08:57:31 +02:00
Dominik Csapak
dcbb4ba190 check if storage is in the selector
when having an lxc mountpoint/rootfs on a storage which does not
allow the 'rootfs' content (e.g. somebody disabled it after creating
a container there), trying to edit the mp/rootfs broke the gui

now we check if the record exists

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 09:48:44 +02:00
Dominik Csapak
20d9d1f326 fix breaking gui when trying to edit a bindmount rootfs
when having a simple directory as rootfs,
trying to edit it in the gui broke it, because
we tried to disable the backup checkbox which did not exists

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 06:36:43 +02:00
Dominik Csapak
60a14a047d fix wrong osd calculation in ceph dashboard
in luminous, the error message is not
'x/y in osds are down' anymore, but
'x osds down'

so we need to adapt the parsing, and it means we cannot check
the number of in osds there anymore (was never really needed, so
we can simply omit it)

when an osd is down but marked as out, those errors disappear

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-13 06:36:34 +02:00
Emmanuel Kasper
7da4966dc0 Select OS Type after selecting the Installation Media
This prepares for the future, in case we want to infer the
OS Type from the installation media name or content.
2017-07-11 13:25:25 +02:00
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