4525 Commits

Author SHA1 Message Date
Dominik Csapak
d61b970d2d ceph: osd create: check for auth before getting bootstrap key
we do not need it if auth is 'none'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-04 09:57:50 +02:00
Fabian Grünbichler
600a106ba0 5to6: invert check for noout for nautilus
mainly because it looks strange to get a warning after the upgrade is
finished and noout has been removed again

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-04 09:36:48 +02:00
Thomas Lamprecht
eb7dae8bba 5to6: followup: still include nodename in IP check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-04 09:36:48 +02:00
Fabian Grünbichler
473a71d246 5to6: reuse $nodename
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-04 09:36:48 +02:00
Fabian Grünbichler
1760de9011 5to6: improve some log messages
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-04 09:36:48 +02:00
Thomas Lamprecht
95c3dc2460 5to6: followup sheepdog message
do not suggest that we ever supported it as first class storage, it
was always just a experimental support and upstream is
EOL/unmaintained now.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-04 09:36:48 +02:00
Fabian Grünbichler
1f16530be9 5to6: add check for configured Sheepdog storages
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-04 09:30:15 +02:00
Thomas Lamprecht
2cffd4847f followup: do not use string comparision for integers
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-03 15:34:19 +02:00
Tim Marx
9edf207c20 api: ceph: automatically create manager after the first monitor
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-07-03 15:34:19 +02:00
Fabian Grünbichler
83afe68ba1 ceph: init: fix undef var access
Fixes: 64f3e4a522f2c1b2732122fd1c2a69959900fb0c
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-03 15:10:02 +02:00
Thomas Lamprecht
4bd06cbfb7 5to6: improve ceph warning on non OK state
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-03 13:14:28 +02:00
Dominik Csapak
64f3e4a522 ceph: init: only handle keyring if auth is cephx
if auth is 'none' there is no client keyring, so do not generate it and
do not write it into the config

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-03 11:34:34 +02:00
Dominik Csapak
87b831ea34 gui: ceph: fix syslog resize
makes the logview inside resize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-02 13:29:22 +02:00
Thomas Lamprecht
5a7a3630d7 pve5to6: be a bit more verbose for misc. checks
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-02 12:09:50 +02:00
Thomas Lamprecht
6e41184b1a pve5to6: followup: improve coding style and outputs a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-02 12:09:46 +02:00
Dominik Csapak
e739e0ba67 pve5to6: list vms with active vmx/svm flag
list all vms with either max/host cputype or vmx/svm explicitely set
(this can only happen in the args)

give a general message if none is found at the moment (and do not warn)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-02 11:39:10 +02:00
Dominik Csapak
368a5fdb3a gui: ceph pools: fix pool % used display
nautilus uses values from 0 to 1 instead of 0 to 100

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-02 10:40:16 +02:00
Thomas Lamprecht
7b1ad5e2c6 api: subscription: return https backed link
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-01 15:00:27 +02:00
Thomas Lamprecht
85339736ec bump version to 6.0-0+4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 20:42:13 +02:00
Thomas Lamprecht
f2cdbf39d3 d/control: update version dependency of proxmox-widget-toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 20:42:13 +02:00
Thomas Lamprecht
a86db7152e api: backup pool: enforce VM.Backup permissions on pool also on create
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 20:04:04 +02:00
Thomas Lamprecht
d5394704d8 api2tools: refactor get_resource_pool_guest_members and declare missing use
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 19:46:44 +02:00
Thomas Lamprecht
1593352fdc api: backup pool: enforce VM.Backup permissions on pool
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 19:29:46 +02:00
Thomas Lamprecht
f70a85e105 ui: pool backup: adapt labels a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 19:20:24 +02:00
Tim Marx
58c0e896ee fix #1278 gui: backup: add backup mode pool
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-28 18:05:19 +02:00
Tim Marx
16efd35509 fix #1278 api: add pool backup option
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-28 18:05:19 +02:00
Tim Marx
29d6151753 whitespace cleanup
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-28 18:01:04 +02:00
Tim Marx
b1981158fe ui: migrate: add storage and size information to preconditions
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-28 17:42:21 +02:00
Dominik Csapak
3742bdf878 ceph: disallow ipv4 in new cluster when ipv6 is enabled
ms_bind_ipv4 is default true and osds look for both
ipv6 and ipv4 addresses in cluster network/public network

since we only allow for one network each (which must be either
ipv4 or ipv6) we disallow ipv4 if ipv6 is detected

this fixes not starting osds on an ipv6 enabled, newly-setup cluster

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-28 15:14:04 +02:00
Dominik Csapak
e6bea91860 ceph: mon create: fix not starting monitor if no public_addr is in conf
when there is no 'public_network' in the config, the monitor
can only find an ip if it is given explicitly, either via commandline
(not possible with systemd) or via the ceph.conf

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-28 14:23:23 +02:00
Thomas Lamprecht
474c27ebcd silent some lintian warnings
"privacy-breach-generic" is  a false positive here (lintian bug
907957)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 11:30:00 +02:00
Thomas Lamprecht
6da7bfa827 d/maintscript: really remove the old apt hook for kernel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 11:29:50 +02:00
Thomas Lamprecht
c342f8680a buildsys: fixup: fully remove pve-apt-hook mentionings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 10:57:03 +02:00
Stoiko Ivanov
9ca7ff0b77 config: remove pve-apt.conf
Instead of marking all pve-kernel-.* packages as NeverAutoRemove we compile
a list of specific versions to keep.
This functionality is added in the proxmox-ve package (along with the config
for booting kernels with systemd-boot).
2019-06-28 10:57:03 +02:00
Thomas Lamprecht
19baf26ea8 5to6: get_pkg: cache version list
this is a short running script, so the version list can be re-used,
the chance that there where updates in between are slim and racy
anyway. IF getting the versions did not succeeded, we still retry on
every call though, simpler and ensures a warning is printed in the
caller check vicinity.

Makes script noticeable faster.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 08:42:20 +02:00
Thomas Lamprecht
ad4134228c 5to6: followup kernel version checks, make compatible with PVE 5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 08:34:40 +02:00
Fabian Grünbichler
58fcfd89d0 5to6: add check for scanned simple OSDs
only as a warning, since this will also trigger a Ceph health warning
and is easily recoverable.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-06-27 21:52:56 +02:00
Fabian Grünbichler
daa8b3dd07 5to6: add check for running kernel version
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-06-27 21:52:56 +02:00
Thomas Lamprecht
a6417e595e ui: ceph wizard: drop local setAllowBlank overwrite
all our combogrids now have this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 21:52:10 +02:00
Thomas Lamprecht
6484eb3ec5 ui: cluster: use new network selector
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 21:51:46 +02:00
Thomas Lamprecht
ad446302c2 ui: vm migrate: rename icon to severity and uses renderer
and some other minor style changes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 21:29:06 +02:00
Thomas Lamprecht
7dfcd265d8 www/touch: be quiet on extract
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 21:02:38 +02:00
Thomas Lamprecht
5edd99d179 pve5to6: improve is-node-IP active check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 19:30:42 +02:00
Thomas Lamprecht
57d4eb64ac pve5to6: add total count in summary
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 19:23:05 +02:00
Thomas Lamprecht
de85c71dcf pve5to6: align summary counters
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 19:21:45 +02:00
Thomas Lamprecht
b2eca8b77b pve5to6: list packages with updates in new line
with two spaces indentation, like apt does

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 19:15:39 +02:00
Thomas Lamprecht
09bcaa01c4 pve5to6: versions: detect if already upgraded
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 19:15:15 +02:00
Thomas Lamprecht
3820279583 pve5to6: add and use print_header
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 18:41:05 +02:00
Thomas Lamprecht
f7df495ea7 pve5to6: make this a simple CLI command
with this it's enough to call `pve5to6`, no (sub)command needed

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 18:04:32 +02:00
Mira Limbeck
aa8845a51f move check_kvm_nested call to check_misc
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-06-27 17:37:39 +02:00