]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
5 years agoui: dc/options: minor followup cleanups
Thomas Lamprecht [Wed, 10 Jul 2019 12:58:19 +0000 (14:58 +0200)]
ui: dc/options: minor followup cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui/Parser: printPropertyString: sort non-defaultKey parts for stability
Thomas Lamprecht [Wed, 10 Jul 2019 12:57:38 +0000 (14:57 +0200)]
ui/Parser: printPropertyString: sort non-defaultKey parts for stability

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: dc/options: use proxmoxNetworkSelector for network
Thomas Lamprecht [Wed, 10 Jul 2019 12:38:49 +0000 (14:38 +0200)]
ui: dc/options: use proxmoxNetworkSelector for network

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopveproxy: allow to request debug sources directly over GET parameter
Thomas Lamprecht [Tue, 9 Jul 2019 13:06:34 +0000 (15:06 +0200)]
pveproxy: allow to request debug sources directly over GET parameter

Avoids the need to stop the current pveproxy and restart it in debug
mode, if one wants to get the debug un-minified sources for ExtJS,
for example.

For a local PVE instance the following URL would ensure you load the
debug sources:
https://localhost:8006/?debug#v1:0:18:4:25:19::8:20:28

For convenience allow to omit the parameters value, and default to
true, iow, ?debug and ?debug=1 are the same, one could force it off -
even if the server was started in debug mode - by using ?debug=0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofollowup: code cleanup to arrow functions
Thomas Lamprecht [Mon, 8 Jul 2019 17:26:13 +0000 (19:26 +0200)]
followup: code cleanup to arrow functions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agogui: show 0 for max_relocate/restart correctly
Dominik Csapak [Mon, 8 Jul 2019 12:12:37 +0000 (14:12 +0200)]
gui: show 0 for max_relocate/restart correctly

0 || '1' will always return '1'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agofix #2267: delete address(6) and netmas(6) with cidr(6)
Dominik Csapak [Mon, 8 Jul 2019 14:29:18 +0000 (16:29 +0200)]
fix #2267: delete address(6) and netmas(6) with cidr(6)

otherwise a user cannot delete an ip from an interface

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agobuild: bump versioned dependency on pve-cluster
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:10 +0000 (14:44 +0200)]
build: bump versioned dependency on pve-cluster

needed for PVE::Corosync::resolve_hostname_like_corosync

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: make corosync totem checks more verbose
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:09 +0000 (14:44 +0200)]
5to6: make corosync totem checks more verbose

to avoid just printing the subheader with no results

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: add more corosync subheaders
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:08 +0000 (14:44 +0200)]
5to6: add more corosync subheaders

to improve readability

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: fail if a corosync node has neither ring0 nor ring1 defined
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:07 +0000 (14:44 +0200)]
5to6: fail if a corosync node has neither ring0 nor ring1 defined

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: reword/-structure corosync message
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:06 +0000 (14:44 +0200)]
5to6: reword/-structure corosync message

and fix a typo as well

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: attempt to resolve corosync rings
Fabian Grünbichler [Fri, 5 Jul 2019 12:44:05 +0000 (14:44 +0200)]
5to6: attempt to resolve corosync rings

and only fail if unable to

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years agoupdate shipped aplinfo index
Thomas Lamprecht [Mon, 8 Jul 2019 05:52:34 +0000 (07:52 +0200)]
update shipped aplinfo index

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofollowup: balance columns
Thomas Lamprecht [Fri, 5 Jul 2019 16:55:05 +0000 (18:55 +0200)]
followup: balance columns

having this new selector on the left column makes it a better fit for
both possible edit situations, rootfs is now fully balanced and both
mp/rootfs kip the "skip replication" setting on the same place - in
sync with VMs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix #1451: allow some extra mount options for container
Oguz Bektas [Fri, 5 Jul 2019 11:27:06 +0000 (13:27 +0200)]
fix #1451: allow some extra mount options for container

This allows the following non-problematic mount options for lxc
container mountpoints:
* noexec - Do not permit execution of binaries on the mounted FS
* noatime - Do not update inode access times on this filesystem
* nosuid - Do not allow suid or sgid bits to take effect
* nodev - Do not interpret character or block devices on the FS

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
5 years agofollowup: hide mask, level and RO by default
Thomas Lamprecht [Fri, 5 Jul 2019 10:30:28 +0000 (12:30 +0200)]
followup: hide mask, level and RO by default

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agogui: ceph: show config database under the config
Dominik Csapak [Fri, 5 Jul 2019 07:16:34 +0000 (09:16 +0200)]
gui: ceph: show config database under the config

the column titles are the same as the 'ceph config dump' cli

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph: add api call for config database
Dominik Csapak [Fri, 5 Jul 2019 07:16:33 +0000 (09:16 +0200)]
ceph: add api call for config database

simply returns the database content

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agouse new url
Thomas Lamprecht [Thu, 4 Jul 2019 15:57:27 +0000 (17:57 +0200)]
use new url

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 6.0-1
Thomas Lamprecht [Thu, 4 Jul 2019 14:54:49 +0000 (16:54 +0200)]
bump version to 6.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoceph: remove obsolete ceph.service and do not distribute it anymore
Dominik Csapak [Thu, 27 Jun 2019 12:51:36 +0000 (14:51 +0200)]
ceph: remove obsolete ceph.service and do not distribute it anymore

in nautilus there is no ceph-disk anymore and osd activation
does not use udev anymore so this service is not needed anymore

remove it and do not copy it when installing a new ceph cluster

in pve-storage.target we replace ceph.service with ceph.target

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agopveceph install: set repo URL to download.proxmox.com nautilus repo
Thomas Lamprecht [Thu, 4 Jul 2019 13:52:51 +0000 (15:52 +0200)]
pveceph install: set repo URL to download.proxmox.com nautilus repo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agogui: ceph: parse the whole message for monitor ids
Dominik Csapak [Thu, 4 Jul 2019 13:36:13 +0000 (15:36 +0200)]
gui: ceph: parse the whole message for monitor ids

sometimes a monitor id is only mentioned in a later part of the message
not always the first

for example, if more than one monitor is missing the msgr2 protocol
each monitor gets its own line

before this patch the whole error would only be attributed to the first
monitor mentioned, now it is attributed to all

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years ago5to6: only tell to solve problems if fails are present
Thomas Lamprecht [Thu, 4 Jul 2019 13:32:35 +0000 (15:32 +0200)]
5to6: only tell to solve problems if fails are present

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: improve final note on errors and/or warning a bit
Thomas Lamprecht [Thu, 4 Jul 2019 13:30:54 +0000 (15:30 +0200)]
5to6: improve final note on errors and/or warning a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: fiy typo: s/detailled/detailed/
Thomas Lamprecht [Thu, 4 Jul 2019 13:23:19 +0000 (15:23 +0200)]
5to6: fiy typo: s/detailled/detailed/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: check common services pveproxy pvedaemon pvestatd
Thomas Lamprecht [Thu, 4 Jul 2019 13:20:12 +0000 (15:20 +0200)]
5to6: check common services pveproxy pvedaemon pvestatd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: add log_systemd_unit_state and use for pve-cluster and corosync
Thomas Lamprecht [Thu, 4 Jul 2019 13:10:16 +0000 (15:10 +0200)]
5to6: add log_systemd_unit_state and use for pve-cluster and corosync

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: import run_command
Thomas Lamprecht [Thu, 4 Jul 2019 12:56:50 +0000 (14:56 +0200)]
5to6: import run_command

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: clarify "cluster quorate" message a bit
Thomas Lamprecht [Thu, 4 Jul 2019 12:21:08 +0000 (14:21 +0200)]
5to6: clarify "cluster quorate" message a bit

As this is the state from the pmxcfs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: fixup: really set $total_votes to 0 if not defined
Thomas Lamprecht [Thu, 4 Jul 2019 12:20:41 +0000 (14:20 +0200)]
5to6: fixup: really set $total_votes to 0 if not defined

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: drop detailed quorumtool output
Fabian Grünbichler [Thu, 4 Jul 2019 11:52:24 +0000 (13:52 +0200)]
5to6: drop detailed quorumtool output

since we already print most of that anyway, and it is rather long.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: more quorum / vote checking
Fabian Grünbichler [Thu, 4 Jul 2019 11:52:23 +0000 (13:52 +0200)]
5to6: more quorum / vote checking

handle expected votes set to non-standard value, and try to adjust
calculations for qdevice setups.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: quote some Ceph flags/options
Fabian Grünbichler [Thu, 4 Jul 2019 08:55:49 +0000 (10:55 +0200)]
5to6: quote some Ceph flags/options

to improve readability

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: check for ceph global keyring config
Fabian Grünbichler [Thu, 4 Jul 2019 08:55:48 +0000 (10:55 +0200)]
5to6: check for ceph global keyring config

which causes issues after upgrading to Nautilus.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: followup: also detect ceph conf keys separated with -
Thomas Lamprecht [Thu, 4 Jul 2019 08:37:35 +0000 (10:37 +0200)]
5to6: followup: also detect ceph conf keys separated with -

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: ceph mon host check: switch config check from defined to hash values exist
Thomas Lamprecht [Thu, 4 Jul 2019 08:31:06 +0000 (10:31 +0200)]
5to6: ceph mon host check: switch config check from defined to hash values exist

we can get here if a empty (or one with just comments) ceph.conf
exists

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: ceph global mon host check: also detect mon-host
Thomas Lamprecht [Thu, 4 Jul 2019 08:29:58 +0000 (10:29 +0200)]
5to6: ceph global mon host check: also detect mon-host

and adapt message a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: check ipv6/ipv4 settings in ceph.conf
Dominik Csapak [Thu, 4 Jul 2019 07:35:13 +0000 (09:35 +0200)]
pve5to6: check ipv6/ipv4 settings in ceph.conf

having ipv6 enabled while not disabling ipv4 prevents
nautilus osds to start if no ipv4 network is given (because they
are trying to bind to both ip families and die if one of them
is not found)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agopve5to6: check ceph config for mon_host line
Dominik Csapak [Thu, 4 Jul 2019 07:35:12 +0000 (09:35 +0200)]
pve5to6: check ceph config for mon_host line

this already works on luminous, so it does not harm to add it already,
and is recommended when both msgr1 and msgr2 is activated in nautilus

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph: mon create: add known monitor ips to mon_host if it is empty
Dominik Csapak [Wed, 3 Jul 2019 13:53:43 +0000 (15:53 +0200)]
ceph: mon create: add known monitor ips to mon_host if it is empty

this fixes an issue where only one monitor is in mon_host, which is
offline, prevents a client connection

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph: services: improve addr selection
Dominik Csapak [Wed, 3 Jul 2019 13:53:42 +0000 (15:53 +0200)]
ceph: services: improve addr selection

we map '$type addr' to '$type_addr' anyway in the ceph.conf parser,
so this is not necessary

also use 'public_addr' if it is set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph: osd: use get-or-create to create a bootstrap-osd key on demand
Dominik Csapak [Wed, 3 Jul 2019 13:53:41 +0000 (15:53 +0200)]
ceph: osd: use get-or-create to create a bootstrap-osd key on demand

if for some reason the cluster does not have this key, generate it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph: osd create: check for auth before getting bootstrap key
Dominik Csapak [Wed, 3 Jul 2019 13:53:40 +0000 (15:53 +0200)]
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>
5 years ago5to6: invert check for noout for nautilus
Fabian Grünbichler [Wed, 3 Jul 2019 13:28:38 +0000 (15:28 +0200)]
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>
5 years ago5to6: followup: still include nodename in IP check
Thomas Lamprecht [Thu, 4 Jul 2019 07:33:43 +0000 (09:33 +0200)]
5to6: followup: still include nodename in IP check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: reuse $nodename
Fabian Grünbichler [Wed, 3 Jul 2019 13:28:37 +0000 (15:28 +0200)]
5to6: reuse $nodename

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: improve some log messages
Fabian Grünbichler [Wed, 3 Jul 2019 13:28:36 +0000 (15:28 +0200)]
5to6: improve some log messages

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: followup sheepdog message
Thomas Lamprecht [Thu, 4 Jul 2019 07:35:59 +0000 (09:35 +0200)]
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>
5 years ago5to6: add check for configured Sheepdog storages
Fabian Grünbichler [Wed, 3 Jul 2019 13:28:35 +0000 (15:28 +0200)]
5to6: add check for configured Sheepdog storages

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years agofollowup: do not use string comparision for integers
Thomas Lamprecht [Wed, 3 Jul 2019 13:32:02 +0000 (15:32 +0200)]
followup: do not use string comparision for integers

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoapi: ceph: automatically create manager after the first monitor
Tim Marx [Wed, 3 Jul 2019 12:40:10 +0000 (14:40 +0200)]
api: ceph: automatically create manager after the first monitor

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoceph: init: fix undef var access
Fabian Grünbichler [Wed, 3 Jul 2019 13:10:02 +0000 (15:10 +0200)]
ceph: init: fix undef var access

Fixes: d851d63ecc8cfb20880d611c904fdc2ff83ae3e2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: improve ceph warning on non OK state
Thomas Lamprecht [Wed, 3 Jul 2019 11:14:05 +0000 (13:14 +0200)]
5to6: improve ceph warning on non OK state

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoceph: init: only handle keyring if auth is cephx
Dominik Csapak [Wed, 3 Jul 2019 07:45:35 +0000 (09:45 +0200)]
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>
5 years agogui: ceph: fix syslog resize
Dominik Csapak [Tue, 2 Jul 2019 11:06:25 +0000 (13:06 +0200)]
gui: ceph: fix syslog resize

makes the logview inside resize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agopve5to6: be a bit more verbose for misc. checks
Thomas Lamprecht [Tue, 2 Jul 2019 10:09:34 +0000 (12:09 +0200)]
pve5to6: be a bit more verbose for misc. checks

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: followup: improve coding style and outputs a bit
Thomas Lamprecht [Tue, 2 Jul 2019 09:56:41 +0000 (11:56 +0200)]
pve5to6: followup: improve coding style and outputs a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: list vms with active vmx/svm flag
Dominik Csapak [Mon, 1 Jul 2019 14:42:49 +0000 (16:42 +0200)]
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>
5 years agogui: ceph pools: fix pool % used display
Dominik Csapak [Tue, 2 Jul 2019 07:44:43 +0000 (09:44 +0200)]
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>
5 years agoapi: subscription: return https backed link
Thomas Lamprecht [Mon, 1 Jul 2019 13:00:27 +0000 (15:00 +0200)]
api: subscription: return https backed link

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 6.0-0+4
Thomas Lamprecht [Fri, 28 Jun 2019 18:41:04 +0000 (20:41 +0200)]
bump version to 6.0-0+4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agod/control: update version dependency of proxmox-widget-toolkit
Thomas Lamprecht [Fri, 28 Jun 2019 18:32:18 +0000 (20:32 +0200)]
d/control: update version dependency of proxmox-widget-toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoapi: backup pool: enforce VM.Backup permissions on pool also on create
Thomas Lamprecht [Fri, 28 Jun 2019 18:04:04 +0000 (20:04 +0200)]
api: backup pool: enforce VM.Backup permissions on pool also on create

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoapi2tools: refactor get_resource_pool_guest_members and declare missing use
Thomas Lamprecht [Fri, 28 Jun 2019 17:46:44 +0000 (19:46 +0200)]
api2tools: refactor get_resource_pool_guest_members and declare missing use

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoapi: backup pool: enforce VM.Backup permissions on pool
Thomas Lamprecht [Fri, 28 Jun 2019 17:29:46 +0000 (19:29 +0200)]
api: backup pool: enforce VM.Backup permissions on pool

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: pool backup: adapt labels a bit
Thomas Lamprecht [Fri, 28 Jun 2019 17:20:24 +0000 (19:20 +0200)]
ui: pool backup: adapt labels a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix #1278 gui: backup: add backup mode pool
Tim Marx [Wed, 19 Jun 2019 10:08:38 +0000 (12:08 +0200)]
fix #1278 gui: backup: add backup mode pool

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agofix #1278 api: add pool backup option
Tim Marx [Wed, 19 Jun 2019 10:08:37 +0000 (12:08 +0200)]
fix #1278 api: add pool backup option

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agowhitespace cleanup
Tim Marx [Wed, 19 Jun 2019 10:08:36 +0000 (12:08 +0200)]
whitespace cleanup

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoui: migrate: add storage and size information to preconditions
Tim Marx [Fri, 28 Jun 2019 13:13:46 +0000 (15:13 +0200)]
ui: migrate: add storage and size information to preconditions

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoceph: disallow ipv4 in new cluster when ipv6 is enabled
Dominik Csapak [Wed, 26 Jun 2019 11:16:25 +0000 (13:16 +0200)]
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>
5 years agoceph: mon create: fix not starting monitor if no public_addr is in conf
Dominik Csapak [Fri, 28 Jun 2019 11:22:27 +0000 (13:22 +0200)]
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>
5 years agosilent some lintian warnings
Thomas Lamprecht [Fri, 28 Jun 2019 08:31:14 +0000 (10:31 +0200)]
silent some lintian warnings

"privacy-breach-generic" is  a false positive here (lintian bug
907957)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agod/maintscript: really remove the old apt hook for kernel
Thomas Lamprecht [Fri, 28 Jun 2019 08:27:39 +0000 (10:27 +0200)]
d/maintscript: really remove the old apt hook for kernel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: fixup: fully remove pve-apt-hook mentionings
Thomas Lamprecht [Fri, 28 Jun 2019 08:30:03 +0000 (10:30 +0200)]
buildsys: fixup: fully remove pve-apt-hook mentionings

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoconfig: remove pve-apt.conf
Stoiko Ivanov [Thu, 27 Jun 2019 18:27:58 +0000 (20:27 +0200)]
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).

5 years ago5to6: get_pkg: cache version list
Thomas Lamprecht [Fri, 28 Jun 2019 06:42:19 +0000 (08:42 +0200)]
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>
5 years ago5to6: followup kernel version checks, make compatible with PVE 5
Thomas Lamprecht [Fri, 28 Jun 2019 06:34:40 +0000 (08:34 +0200)]
5to6: followup kernel version checks, make compatible with PVE 5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years ago5to6: add check for scanned simple OSDs
Fabian Grünbichler [Thu, 27 Jun 2019 19:02:03 +0000 (21:02 +0200)]
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>
5 years ago5to6: add check for running kernel version
Fabian Grünbichler [Thu, 27 Jun 2019 19:02:02 +0000 (21:02 +0200)]
5to6: add check for running kernel version

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years agoui: ceph wizard: drop local setAllowBlank overwrite
Thomas Lamprecht [Thu, 27 Jun 2019 19:52:07 +0000 (21:52 +0200)]
ui: ceph wizard: drop local setAllowBlank overwrite

all our combogrids now have this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: cluster: use new network selector
Thomas Lamprecht [Thu, 27 Jun 2019 19:51:46 +0000 (21:51 +0200)]
ui: cluster: use new network selector

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: vm migrate: rename icon to severity and uses renderer
Thomas Lamprecht [Thu, 27 Jun 2019 19:12:01 +0000 (21:12 +0200)]
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>
5 years agopve5to6: improve is-node-IP active check
Thomas Lamprecht [Thu, 27 Jun 2019 17:30:42 +0000 (19:30 +0200)]
pve5to6: improve is-node-IP active check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: add total count in summary
Thomas Lamprecht [Thu, 27 Jun 2019 17:23:05 +0000 (19:23 +0200)]
pve5to6: add total count in summary

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: align summary counters
Thomas Lamprecht [Thu, 27 Jun 2019 17:21:45 +0000 (19:21 +0200)]
pve5to6: align summary counters

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: list packages with updates in new line
Thomas Lamprecht [Thu, 27 Jun 2019 17:15:37 +0000 (19:15 +0200)]
pve5to6: list packages with updates in new line

with two spaces indentation, like apt does

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: versions: detect if already upgraded
Thomas Lamprecht [Thu, 27 Jun 2019 17:15:15 +0000 (19:15 +0200)]
pve5to6: versions: detect if already upgraded

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: add and use print_header
Thomas Lamprecht [Thu, 27 Jun 2019 16:41:05 +0000 (18:41 +0200)]
pve5to6: add and use print_header

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopve5to6: make this a simple CLI command
Thomas Lamprecht [Thu, 27 Jun 2019 15:39:59 +0000 (17:39 +0200)]
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>
5 years agomove check_kvm_nested call to check_misc
Mira Limbeck [Thu, 27 Jun 2019 13:45:36 +0000 (15:45 +0200)]
move check_kvm_nested call to check_misc

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
5 years agopve5to6: add IP check to misc
Mira Limbeck [Thu, 27 Jun 2019 13:45:35 +0000 (15:45 +0200)]
pve5to6: add IP check to misc

Adds the same check we run in pve-cluster before joining a node to make
sure the hostname resolves to a configured IP.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
5 years agoRevert "d/control: fix mail-transport-agent-dependency-does-not-specify-default-mta"
Thomas Lamprecht [Wed, 26 Jun 2019 16:21:52 +0000 (18:21 +0200)]
Revert "d/control: fix mail-transport-agent-dependency-does-not-specify-default-mta"

This reverts commit 1cda58da007f1e372de81573c1cfddb2e5a01afa.
As else Debian installations always get exim as default MTA, just
lets keep postfix for now

5 years agopve5to6: add check for nested kvm
Dominik Csapak [Wed, 26 Jun 2019 10:34:55 +0000 (12:34 +0200)]
pve5to6: add check for nested kvm

this warns the user that he cannot live migrate VMs with svm/vmx to PVE6 when
the nested parameter of the kvm module is on

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years ago5to6 add color support
Fabian Grünbichler [Wed, 26 Jun 2019 12:21:25 +0000 (14:21 +0200)]
5to6 add color support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years ago5to6: fix ssh config check
Fabian Grünbichler [Wed, 26 Jun 2019 12:21:24 +0000 (14:21 +0200)]
5to6: fix ssh config check

in case the config file does not exist at all.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years agouse https links to our sites
Thomas Lamprecht [Wed, 26 Jun 2019 12:33:56 +0000 (14:33 +0200)]
use https links to our sites

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoupdate sources.list to buster
Thomas Lamprecht [Wed, 26 Jun 2019 09:17:01 +0000 (11:17 +0200)]
update sources.list to buster

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>