Commit Graph

2708 Commits

Author SHA1 Message Date
Dietmar Maurer
96bcc111fb bump version to 4.4-5 2016-12-27 11:29:45 +01:00
Dietmar Maurer
9cf2e84b93 add unpriviledged flag to container restore window. 2016-12-27 10:19:57 +01:00
Dietmar Maurer
a2cb8e52b4 bump version to 4.4 2016-12-22 12:28:28 +01:00
Wolfgang Link
ef3d095b55 Change remove partition order.
If we remove first the journal the data partition will automatically mounted
and can't destroy the partition.
This is trigger by the udev ceph rule.
2016-12-22 12:26:10 +01:00
Wolfgang Link
84aed461aa Fix parsing block device.
Get the partition num and block device from sysfs.
This ensure different block device types will work.
2016-12-22 12:25:45 +01:00
Dietmar Maurer
e754ce4644 bump version to 4.4-3 2016-12-22 12:02:41 +01:00
Wolfgang Link
19bada0c96 Enable service for ceph monitor.
We do not use the ceph.service what normally start ceph-mon,
so we have to ensure ceph-mon is enabled.
2016-12-22 11:57:50 +01:00
Fabian Grünbichler
ab1213cc50 replace SysV init script with our own service
for more information see http://tracker.ceph.com/issues/18305 .

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-22 11:53:52 +01:00
Wolfgang Link
3279b1d2d4 Set correct permission for ceph user.
We have to set the correct permission,
because ceph greater than infernalis use ceph as daemon user.
2016-12-22 11:51:19 +01:00
Wolfgang Link
f9305cc0a1 add jewel 2016-12-22 11:48:12 +01:00
Dietmar Maurer
cf41f67abf rename pve.conf to ceph-after-pve-cluster.conf 2016-12-22 11:47:13 +01:00
Wolfgang Link
b8fb9fb028 add systemd replacement for ceph init script
the old sys V init script does a lot of stuff, most of which
is already replaced with the system units since jewel,
except for the OSD activation which is still done by either
udev or the old init script.

include systemd service as drop in replacement for the init
script when using jewel. the service is not enabled by
default (as this would break hammer), but needs to be copied
to /etc/systemd/system on upgrade to (manual) or install of
jewel (automatic).

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-22 11:42:32 +01:00
Dominik Csapak
d43f704212 do not hide ceph on dashboard if the api call fails
with this patch, we do not hide the ceph status anymore if the api call
fails (too slow, e.g.) as long as we showed it at least one time

also, we only stop the updates if we never successfully got the status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 10:15:37 +01:00
Dominik Csapak
0d1c12678b add filter to dashboard storage graph
with this patch, the storage graph on the dashboard only counts the
storages which are selected in the settings window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 10:11:41 +01:00
Dominik Csapak
2488c226f1 add a storage selection in the settings window
this will be used to filter the dashboard storage graph to the selected
storages, so that one can choose which storages are relevant

e.g. if you have one nfs server with multiple exports (on the same filesystem),
you only want to count it once

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 10:11:13 +01:00
Dominik Csapak
4501139482 load the diffstore on init
if the rstore in the diffstore is already loaded at the time of
the instantiation, load the data instantly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 09:44:24 +01:00
Dominik Csapak
45998f0d69 add an alias to the diffstore
to use it declarative like this:

store : {
    type: 'diff'
}

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 09:43:16 +01:00
Dietmar Maurer
673c70ffd1 bump version to 4.4-2 2016-12-21 12:27:01 +01:00
Dietmar Maurer
cbce367ddb rebalance_lxc_containers: make it work with old style lxc setups 2016-12-21 12:20:40 +01:00
Dietmar Maurer
b3f1adb200 rebalance_lxc_containers: avoid repeated warnings if rebalance fails
Only warn once.
2016-12-21 11:39:46 +01:00
Dietmar Maurer
0b959507c1 rebalance_lxc_containers: fix hotplug
factor out code to modify cpusets into $modify_cpuset->()
2016-12-21 11:13:16 +01:00
Dietmar Maurer
193146f8b0 rebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup 2016-12-21 11:04:33 +01:00
Dominik Csapak
7c4ef25f55 remove debug log statement
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:17:06 +01:00
Dominik Csapak
6783a3301c fix typo in ceph jewel iops parsing
this prevented the write iops performance charts to get any meaningful
data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:08:28 +01:00
Dominik Csapak
b6262736d7 filter the local node in the migrateall window
we do this already for single vm migrations, also do it for migrate all

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:06:13 +01:00
Dominik Csapak
e4ad4e064a validate nodeselector after store is loaded
this shows the validation status immediatly if no node is selected (for
instance because no node is online or you have only one node and open
the migration window)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:06:00 +01:00
Dominik Csapak
5f80c67ecc make date column resizable
this makes the date column in the snapshottree a little bit bigger and
resizable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:53 +01:00
Dominik Csapak
e62526ea4c remove obsolete belongsTo
this was not needed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:33 +01:00
Dominik Csapak
90ba9a4e02 snapshottree: remove sorter before saving the state
extjs saves the state including the sorter, but cannot serialize the
sorter function. when restoring the state, it is not a valid sorter,
so we delete it before saving

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:07 +01:00
Dominik Csapak
b35f19a3dc set fixed height on global search window
the buffered renderer does not work with auto height, and was disabled.
to enable it, we set a fixed height

when nothing is found, display 'none' to indicate nothing was found

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:03:40 +01:00
Dominik Csapak
94917cd1dc move chart series initialization into initComponent
with extjs 6.2 the charts are initialized differently, so that we can
not do this in the afterrender event, instead we do it in the
initComponent, after calling callParent

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:03:07 +01:00
Dominik Csapak
cc751ecd73 move hideHeaders into static configuration
in extjs 6.2, this property will not be set in ApplyIf, so we move it
into the static configuration, so that the headers will not be visible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:02:53 +01:00
Emmanuel Kasper
2685b38224 Rename filterFn to vmtypeFilter
since we have now two filters defined it makes sense to use
a separate name here
2016-12-19 11:37:20 +01:00
Emmanuel Kasper
ce76a18ae0 Filter by default the displayed guest backups fix #1161
This add a default filter which is executed on store initial load,
so we display only the backups matching our ID.
2016-12-19 11:36:51 +01:00
Emmanuel Kasper
256a65a4bb reduce scope of jslint warnings to the problematic statement
also remove it from qemu/Clone.js since it validates OK
2016-12-19 07:31:51 +01:00
Emmanuel Kasper
ed416f2024 Convert the VMIDSelector to a generic GuestIDSelector
This allows to display a 'CT', a 'VM', or a 'CT/VM' label
to be displayed, depending on the context.

Currently when restoring a CT backup or creating a CT via the
wizard, we are asked to enter a  *VM* ID, which is confusing.
2016-12-19 07:31:27 +01:00
Dietmar Maurer
f40069046d bump version to 4.4-1 2016-12-09 10:29:35 +01:00
Dominik Csapak
c2dc78a4e7 make realmselector non-editable
since most people do not have many login realms to choose from, making
this search/editable makes no sense

but by making this non-editable, you can now click anywhere on the text
to open the options, instead of only the little arrow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-09 10:20:19 +01:00
Dominik Csapak
3253e1189d fix #1176: sort user/group/realm selector
this adds a default sort for the user, group and realmselector
so that the entries are in a consistent order

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-09 10:20:07 +01:00
Dietmar Maurer
fc41e96b42 aplinfo.dat: update 2016-12-09 10:19:13 +01:00
Emmanuel Kasper
734a91b9b9 fix jslint confusion warning
ExtJS components accept for the items property either a
single component or an array of components which generates
a jslint type confusion warning.
2016-12-06 06:54:09 +01:00
Emmanuel Kasper
6eb2141a78 Add online help for start/shutdown for containers 2016-12-06 06:53:59 +01:00
Emmanuel Kasper
a255dd7e8c Turn the qemu StartupEdit widget into a generic component
and use this component for Qemu.
2016-12-06 06:53:20 +01:00
Dietmar Maurer
e99edab2b0 bump version to 4.3-14 2016-12-05 12:33:51 +01:00
Dominik Csapak
6b43f8f16d fix typo in vmtype check
by mistake we checked if me.vtype is 'qemu'
but the property is me.vmtype, so we would always show
restart mode

note that this error was purely cosmetic, behaviour was correct

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-05 12:26:53 +01:00
Dietmar Maurer
44a323f333 bump version to 4.3-13 2016-12-02 16:39:40 +01:00
Dominik Csapak
209daf221e adds a help button to the migration window
for now we have to explicitely define the
    onlineHelp: 'blockid'
string, so that the parser picks it up

in the future we should refactor that window, so that we define the
blockid when declaring the component

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-02 16:35:09 +01:00
Dominik Csapak
18fdf0bcf6 change lxc migration option to restart mode
since online migration does work at the moment, and with ha we already
have the restart mode

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-02 16:33:52 +01:00
Emmanuel Kasper
a979c78da0 Remove last extra comma
also whitespace / indent cleanup
2016-12-02 11:26:48 +01:00
Emmanuel Kasper
ff05aec018 Add online help for startup/shutdown order and LXC general settings 2016-12-01 11:42:37 +01:00