Commit Graph

2866 Commits

Author SHA1 Message Date
Thomas Lamprecht
789b4067be bump version to 4.4-24 2018-05-30 12:02:51 +02:00
Thomas Lamprecht
a6ff957eec eol followup: use full spelt date and name 2018-05-30 12:00:33 +02:00
Thomas Lamprecht
8a8e05ea55 bump version to 4.4-23 2018-05-30 10:59:09 +02:00
Thomas Lamprecht
5a4c95b7f9 eol: followup: readd PVE and balance 2018-05-30 10:57:41 +02:00
Dominik Csapak
cc9b37b811 add eol notice
since pve 4.4 goes out of support in june, add a notice at the top with
a link to the faq, where the EOL dates are

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-30 09:52:40 +02:00
Fabian Grünbichler
c637df65ab bump version to 4.4-22 2018-01-17 09:18:17 +01:00
Dominik Csapak
2d8d4d8acf add spec-ctrl cpu flag checkbox
also make the mechanism for the flag checkboxes generic

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit ba920c35763ca8d8f913592d09c286e076bf6edf)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-01-17 09:17:32 +01:00
Fabian Grünbichler
06c8407f14 bump version to 4.4-21 2018-01-10 13:49:37 +01:00
Dominik Csapak
71379590cd add PCID checkbox to ProcessorEdit
but not in wizard, and default is off
(because we do not know if the cpu supports it)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-10 13:48:42 +01:00
Wolfgang Bumiller
95316d130b bump version to 4.4-20
(19 was an internal between-merge version)
2017-11-22 14:06:38 +01:00
Dominik Csapak
6befdf6834 make ssh connection transparent
do not use an escape character for the host shell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-17 10:37:43 +01:00
Dominik Csapak
a83717b705 fix #1539: add missing shellquote for proxied commands of pvesh
if we do not do this, passing arguments with spaces
(e.g., pvesh set YYY --param "one word")
leads to ssh calls like this:
ssh REMOTE pvesh set YYY --param one word

which cannot be parsed correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-31 09:02:39 +01:00
Dominik Csapak
b0e8265c66 fix #1531: match nodename exactly for vmidselector
else we would get vms for wrong hosts if the nodename is a pre/postfix
of another nodename (e.g. 'abc' and 'abc123')

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-16 11:26:33 +02:00
Fabian Grünbichler
c2e5b9384e fix start on boot
fix the fix for #1024

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit e7fe107f75ee1bb9877b0d6430489661d6c1beea)
2017-09-08 11:34:19 +02:00
Thomas Lamprecht
f92f0a357a remove backup locks when starting all VMs on boot
If on bootup one of our VMs is locked by an backup we safely can
assume that this backup job does not run anymore and that the lock
has no reason anymore and just hinders uptime of services.

As at this time we (the node) have quorum so we may safely assume
that we have a consistent view of the cluster and all our VMs really
belong to us. We just need to ensure that we do not run into an
automatic backup jobs, so execute our code with VZDumps lock or
timeout.
Log in the Task and Sys log that we removed the lock, so that an
admin easily sees that there may be need for cleaning leftovers from
an interrupted backup.

Addresses bug #1024

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 248b2d361407d07b6d41138ab2912b6a0e66ae6d)
2017-09-08 11:34:10 +02:00
Thomas Lamprecht
2edea01c78 get_filtered_vmlist: save VM conf in own subhash
small refactoring in get_filtered_vmlist: save a VMs config in its
own subhash to avoid collisions with other data which we want to save
in the vmid list, for now this is only `type` but in the next patch
I want to save also the class

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 627fa10467a1578c5a3c7d2a292bbe6f14a881ca)
2017-09-08 11:34:02 +02:00
Fabian Grünbichler
a99170e1aa bump version to 4.4-18 2017-08-21 10:31:56 +02:00
Dominik Csapak
ff57d36977 fix creating the first ceph monitor
we cannot use a rados connection before having at least one monitor,
so we have to move it down

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(backported from commit 738ce0f235daf46aecedab3e33147d871d3959fa)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-08-21 10:27:02 +02:00
Dominik Csapak
a898d93362 add missing '-' to service name pattern
since ids can contain '-', we have to include them in the pattern
for the service names

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit 38e20dad713db1024eb91fb9a1becd07f9c940df)
2017-08-21 10:23:06 +02:00
Fabian Grünbichler
b6ccf28a9b bump version to 4.4-17 2017-08-14 14:56:40 +02:00
Alwin Antreich
588ea81cb8 check for ceph-mgr on destroymon
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2017-08-14 14:55:47 +02:00
Fabian Grünbichler
81564a937b bump version to 4.4-16 2017-08-14 13:50:48 +02:00
Wolfgang Bumiller
9005ced966 Revert "trust StartCom_Certification_Authority_2.crt"
This reverts commit 7637ce6464bc28c3651b5884c3fbf2fac6ed5b66.

Revert "add missing file"

This reverts commit 7599e35af893ad9d8b544a05d5289da4093749e4.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.

(cherry picked from commit 088597a355c9af240d764aa1262b393e8716e0f0)

backported version check to 4.4-15
2017-08-14 13:48:02 +02:00
Fabian Grünbichler
a946e039d5 build: ensure REPOID has a length of 8
because unlike the git-rev-parse man page says, the default
length is actually calculated based on the number of packed
objects in the clone of the repository.

we don't want this to depend on the build environment and
how the repository was cloned there, so fix a length of 8
for now.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit d0ad008702ecea7f5194b797748adc746de2da86)
2017-08-14 13:45:50 +02:00
Dominik Csapak
a0f4e1d543 use git rev-parse for repoid
instead of getting the repoid from .git/refs/heads/master

using HEAD as commit also means we get the correct commit hash for when
building the package (e.g. when building from stable-4)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit a09735e0b52f57c440c81b5d3b3f3dfea11e5345)
2017-08-14 13:45:43 +02:00
Alwin Antreich
dd6b15f218 add check if ceph-mgr is installed
in API endpoints createmgr/destroymgr/createmon

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2017-08-14 11:10:38 +02:00
Dominik Csapak
100800ee37 pveceph: add createmgr/destroymgr commands
this patch adds the create-/destroymgr commands to the api and pveceph,
so that advanced users can split monitor and manager daemons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit ad9411c9480aa8f9b5fdbf677e0fb4a1e6997cb7)
2017-08-14 11:10:38 +02:00
Dominik Csapak
5e33f7cea8 pveceph: create mgr with mon, use nodename for id
we now want to add a ceph-mgr daemon to every node where a ceph-mon
daemon runs, as per ceph documentation recommendation, because in
luminous the mgr daemons will not be automatically created/started
with a monitor anymore

we also give the createmon an optional id parameter, so that one
can set a custom id, and make the creation/removal of the manager
optional but the default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit f77a087446390840846cd9300ce3dbe7f4bc7fd6)
2017-08-14 11:10:38 +02:00
Dietmar Maurer
d58ced8ae5 bump version to 4.4-15 2017-07-05 08:48:28 +02:00
Dietmar Maurer
7f50af07b8 trust StartCom_Certification_Authority_2.crt
(cherry picked from commit 7637ce6464bc28c3651b5884c3fbf2fac6ed5b66)

and added file StartCom_Certification_Authority_2.crt

(cherry picked from commit 7599e35af893ad9d8b544a05d5289da4093749e4)
2017-07-05 08:44:03 +02:00
Dietmar Maurer
5a81114b1f bump version to 4.4-14 2017-06-19 07:17:22 +02:00
Dietmar Maurer
67ccc7d9e6 update default aplinfo.dat
(cherry picked from commit ee26ef44522f4c8a766d597e259a945cc2986ec9)
2017-06-19 07:12:55 +02:00
Dominik Csapak
a237623964 fix #1414: use table layout instead of columns
columns with fixed widths do not resize correctly in chrome when
resizing or having a different dpi scaling

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-14 09:46:19 +02:00
Emmanuel Kasper
20fdfefad4 Do not internationalize 'Pools' when used in Ceph Context
This is a Ceph domain term and should not be translated like OSD, ...
Galician had "Virtual Groups" for Pools, which does not apply for
Ceph Context.
Also most languages were using 'Pools' anyway.
2017-06-02 10:10:23 +02:00
Dominik Csapak
5cad62a636 remove "read-only" option from container root disk
with root-only enabled, you cannot start the conainer anymore,
so we remove it there entirely

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-02 09:34:58 +02:00
Dominik Csapak
f360ab33e3 fix #1317: check wizard form also on validitychange
with the commit
    40342aa6c4
we introduced a validator on the guestidselector, but did not
notice that the wizard checks the validity on the field change event,
but the selector gets valid/invalid in an api callback(so a little later)

with this patch, we now validate the field correctly with validate()
and also listen on the validitychange event to catch it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit c5dc0be54ca75a11af86e7bbf1590407157c11b1)
2017-03-27 08:34:14 +02:00
Dominik Csapak
a6a6dedeef fix #1307: dont use language dependent separator in gui
by default, extjs submits the language dependent decimal separator,
e.g. ',' for german and '.' for english

but we always want '.'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit 5c660b6d1302a5fbb3dcf477cf8b5adc9f798530)
2017-03-21 13:58:23 +01:00
Wolfgang Bumiller
1d9bdf9dc6 update make upload target 2017-03-13 14:22:49 +01:00
Wolfgang Bumiller
32e103770b bump version to 4.4-13 2017-03-13 14:20:14 +01:00
Fabian Grünbichler
2bde88fb3f fix ceph.service for Ceph Jewel >= 10.2.6
having our ceph.service pulled in by ceph.target does not
work anymore, because "systemctl start ceph.target" hangs
forever on ceph-common upgrades. multi-user.target seems to
work as well, and we are ordered after pve-cluster anyway.

only replace the old ceph.service if it is an exact match.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-13 14:20:14 +01:00
Wolfgang Bumiller
ea82d08cfa buildsys: depend on lsb-base 2017-03-13 14:18:21 +01:00
Wolfgang Bumiller
c27e8e4905 buildsys: make job safety 2017-03-13 14:18:21 +01:00
Wolfgang Bumiller
16a264ce0c remove space in service file 2017-03-13 14:18:21 +01:00
Dominik Csapak
0c8d740228 fix diffstore issue with clusterlog
extjs cannot "convert" and id from other fields, so the ids in the
diffstore and the realstore are different and we re-add every element on
every update

to mitigate this, we generate the id (which is "uid:hostname") in the
backend, and simply use it in the frontend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-10 11:09:46 +01:00
Dominik Csapak
40342aa6c4 use validator for GuestIDSelector and optimize labels
instead of using markInvalid, use a validator, which also marks the
field dirty and marks the form correctly invalid.

also optimize the label/error message assignments

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:55:31 +01:00
Dominik Csapak
7c1150766d show nodeselector errors only if a node is selected
otherwise we get the error:

'Node seems to be offline'

if we do not have a node selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:53:58 +01:00
Dominik Csapak
0272ef3caa check earlier if the logview is destroyed
because extjs 6.2 handles destroying of components differently (namely
asynchronous), we have to check earlier if the view is destroyed, else
we get a 'cannot access ~ of undefined' error

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:44:43 +01:00
Dominik Csapak
7471035d71 make the ha node priority field explicitly not a form field
in extjs 6.2 form fields in widgetcolumns get parsed in a form
which is not what we want here, because we have a hidden field, which
gets generated on a change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:44:23 +01:00
Dominik Csapak
df643fc39f remove unneeded applyEmptyText
this was not needed and does not work with extjs 6.2

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:43:13 +01:00
Dominik Csapak
8b8a4583ba fix #306: add email address field to backup now window
to send the backup log when clicking the backup now button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:39:53 +01:00