]> git.proxmox.com Git - pve-manager-legacy.git/log
pve-manager-legacy.git
7 years agoMake the Snapshot selector an optional parameter in the Clone Window
Emmanuel Kasper [Thu, 12 Jan 2017 09:13:57 +0000 (10:13 +0100)]
Make the Snapshot selector an optional parameter in the Clone Window

The snapshot selector was known to confuse first time pve users.
Some wondered that they had no snapshot called 'current' in their
snapshot trees, and other thought that snapshots would be included
in the copied image.

So before displaying the Clone Window, do an API call to verify
if the source VM has snapshots.

7 years agoDisable the submit button based on whole form validity
Emmanuel Kasper [Thu, 12 Jan 2017 09:13:56 +0000 (10:13 +0100)]
Disable the submit button based on whole form validity

Until now we disabled the submit button, based on
the feature API call where we tested if the selected VM, and its snapshot
can be used as the source of a clone.

This had the following problems:
 * the feature test for copy clone / linked clone always returned true,
 since the passed paramaters were already filtered before user input
 (ie we only allowed a linked clone to be selected if the source VM is
 a template, or a snasphot to be selected if existed on source VM)
 * the guest ID input field was not validated

With the current patch, the validation is now made on each of the form
fields. verifyFeature() is still used to populate a list of valid nodes
passed to the Node Selector.

7 years agoUse correct parameter for GuestIDSelector
Emmanuel Kasper [Thu, 12 Jan 2017 09:13:55 +0000 (10:13 +0100)]
Use correct parameter for GuestIDSelector

7 years agoBetter naming for kv1 comb box, document the two private functions
Emmanuel Kasper [Thu, 12 Jan 2017 09:13:54 +0000 (10:13 +0100)]
Better naming for kv1 comb box, document the two private functions

7 years agoadd sort to jsgettext.pl
Dominik Csapak [Wed, 11 Jan 2017 10:38:19 +0000 (11:38 +0100)]
add sort to jsgettext.pl

the output from find may not be stable (depending on the filesystem),
and is surely not the same on two different systems,
so for consistency in the po files, we sort the output from find with
sort

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoupdate po files
Dietmar Maurer [Wed, 11 Jan 2017 10:01:37 +0000 (11:01 +0100)]
update po files

remove duplicates (see previous commit)

7 years agoupdate gettexts to avoid duplicates in po file
Dominik Csapak [Wed, 11 Jan 2017 09:20:00 +0000 (10:20 +0100)]
update gettexts to avoid duplicates in po file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove obsolete inline documentation
Dietmar Maurer [Wed, 11 Jan 2017 09:54:47 +0000 (10:54 +0100)]
remove obsolete inline documentation

7 years agoadd type column to storage content view
Dominik Csapak [Tue, 10 Jan 2017 14:17:04 +0000 (15:17 +0100)]
add type column to storage content view

and move the grouping feature in the class definition while changing
the text to a generic one

this allows us to group by all columns and still have meaningful
grouping headers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove unnecessary emptyText
Dominik Csapak [Tue, 10 Jan 2017 14:17:03 +0000 (15:17 +0100)]
remove unnecessary emptyText

we already set it statically

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agocorrect and insert german translations
Dominik Csapak [Tue, 10 Jan 2017 14:17:02 +0000 (15:17 +0100)]
correct and insert german translations

this patch adds missing and corrects wrong translations for german

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agocheck general health for ceph monitors, not only time
Dominik Csapak [Tue, 10 Jan 2017 11:17:13 +0000 (12:17 +0100)]
check general health for ceph monitors, not only time

we did not check the healthservices array for the monitor widget,
this patch does that, and takes the worst health state

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1247: disregard timecheck for one monitor
Dominik Csapak [Tue, 10 Jan 2017 11:17:12 +0000 (12:17 +0100)]
fix #1247: disregard timecheck for one monitor

if we only have one monitor, set the timecheck to HEALTH_OK
(since we get none)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoupdate translation files
Dietmar Maurer [Tue, 10 Jan 2017 11:18:42 +0000 (12:18 +0100)]
update translation files

7 years agofix jslint errors
Dominik Csapak [Tue, 10 Jan 2017 09:40:17 +0000 (10:40 +0100)]
fix jslint errors

since the value at the top is now directly a string,
we need the jslint confusion at the number and not for the
string at the bottom anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix gettext strings
Dominik Csapak [Tue, 10 Jan 2017 09:40:16 +0000 (10:40 +0100)]
fix gettext strings

we expect a gettext on a single line and to not contain any
variable/logic, so we remove the long text from it altogether (since we
do not want to translate that at the moment), and we rearrange the code
so that gettext only contains strings

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agodisable submit button in migrate window when not valid
Dominik Csapak [Mon, 9 Jan 2017 14:40:07 +0000 (15:40 +0100)]
disable submit button in migrate window when not valid

when the form is not valid (e.g. an offline or no host selected),
disable the submit button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoshow only relevant vms in bulk action window
Dominik Csapak [Mon, 9 Jan 2017 13:52:57 +0000 (14:52 +0100)]
show only relevant vms in bulk action window

this adds a default filter for bulk start and stop, so that only the
relevant vms are visible (stopped and started respectively)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake filtered columns in grid more prominent
Dominik Csapak [Mon, 9 Jan 2017 13:52:56 +0000 (14:52 +0100)]
make filtered columns in grid more prominent

this makes the column header not only italic but also bold, so that one
can more easily see that the column is filtered

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoReload the grid list of backups after the backup task completion
Emmanuel Kasper [Thu, 5 Jan 2017 14:33:37 +0000 (15:33 +0100)]
Reload the grid list of backups after the backup task completion

This allows visual feedback for first time users doing a backup.

7 years agochange Start/Stop/Migrate all to Bulk actions
Dominik Csapak [Thu, 5 Jan 2017 11:25:03 +0000 (12:25 +0100)]
change Start/Stop/Migrate all to Bulk actions

this uses the new vmselector and the new vmid filter in the backend
to allow starting/stopping/migrating selected vms instead of all

by default all vms are selected to have the same default behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd vmselector form field
Dominik Csapak [Thu, 5 Jan 2017 11:25:02 +0000 (12:25 +0100)]
add vmselector form field

this is a form field which is a grid for selecting vms

if nodename is given, it will filter the vms only to the given node

you can filter the grid with the column header, and only the selected
and visible items are in the value of the field

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd BulkAction window class
Dominik Csapak [Thu, 5 Jan 2017 11:25:01 +0000 (12:25 +0100)]
add BulkAction window class

this is mostly copied from MigrateAll.js, but a more generic way,
to allow startall and stopall to also use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd vmid filter to (start/stop/migrate)all
Dominik Csapak [Thu, 5 Jan 2017 11:25:00 +0000 (12:25 +0100)]
add vmid filter to (start/stop/migrate)all

this is a simple filter which allows us to limit the actions to specific
vmids

this makes it much simpler to start/stop/migrate a range of vms

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoha: re-add node to service status
Thomas Lamprecht [Thu, 5 Jan 2017 11:23:52 +0000 (12:23 +0100)]
ha: re-add node to service status

On the old HA status we saw where a service was located currently,
this information was lost when we merged the resource and the status
tab.
Add this information again.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoremove not needed vnc code
Dominik Csapak [Thu, 22 Dec 2016 14:09:11 +0000 (15:09 +0100)]
remove not needed vnc code

since we access novnc always with the NoVncIndex.pm and never in extjs
itself, we can delete this code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove vznet.conf
Dietmar Maurer [Wed, 4 Jan 2017 09:43:15 +0000 (10:43 +0100)]
remove vznet.conf

leftover from openvz - not used anymore...

7 years agoReload the Ceph OSDTree afer adding an OSD
Emmanuel Kasper [Tue, 3 Jan 2017 14:39:49 +0000 (15:39 +0100)]
Reload the Ceph OSDTree afer adding an OSD

7 years agoHide the Edit window when we start a background task
Emmanuel Kasper [Tue, 3 Jan 2017 14:39:48 +0000 (15:39 +0100)]
Hide the Edit window when we start a background task

We closed the Edit window too early, so listeners set to
the 'close' event would reload the underlying grid before the action
successfully completed on the server side.

7 years agofix #1230: add blocksize for ZFSPoolPlugin
Fabian Grünbichler [Tue, 3 Jan 2017 11:23:35 +0000 (12:23 +0100)]
fix #1230: add blocksize for ZFSPoolPlugin

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoClone.js: add onlineHelp
Dietmar Maurer [Tue, 3 Jan 2017 11:30:48 +0000 (12:30 +0100)]
Clone.js: add onlineHelp

7 years agoHA: Add a warning/info message for HA setups < 3 votes fix: #1228
Emmanuel Kasper [Thu, 29 Dec 2016 11:04:18 +0000 (12:04 +0100)]
HA: Add a warning/info message for HA setups < 3 votes fix: #1228

7 years agoFix a race conditon provoking the error no such file '/pve-storage-content'
Emmanuel Kasper [Wed, 21 Dec 2016 15:49:08 +0000 (16:49 +0100)]
Fix a race conditon provoking the error no such file '/pve-storage-content'

(NB: the error was only displayed intermittently in the browser console)

The reload call could try a store reload before the store has
a defined url.
The call here is useless since the initial display of
the storage selector compoment will call setStorage() to pass an url
to the store and load it.

Also remove the test on me.store.proxy.url since it was not working
(ExtJS autodefined an URL based on the model name)

7 years agoReplace nested ternary operators with if/else statements
Emmanuel Kasper [Thu, 22 Dec 2016 11:15:23 +0000 (12:15 +0100)]
Replace nested ternary operators with if/else statements

7 years agoperftest2.pl: use -k (keepalive) to show max performance
Dietmar Maurer [Wed, 28 Dec 2016 11:06:27 +0000 (12:06 +0100)]
perftest2.pl: use -k (keepalive) to show max performance

7 years agoremove PVE::API2Client class and related examples
Dietmar Maurer [Wed, 28 Dec 2016 10:41:35 +0000 (11:41 +0100)]
remove PVE::API2Client class and related examples

We now have all API client code in an extra package:

https://git.proxmox.com/?p=pve-apiclient.git;a=summary

7 years agocode cleanup
Dietmar Maurer [Wed, 28 Dec 2016 10:34:01 +0000 (11:34 +0100)]
code cleanup

7 years agobump version to 4.4-5
Dietmar Maurer [Tue, 27 Dec 2016 10:29:45 +0000 (11:29 +0100)]
bump version to 4.4-5

7 years agoadd unpriviledged flag to container restore window.
Dietmar Maurer [Tue, 27 Dec 2016 08:40:29 +0000 (09:40 +0100)]
add unpriviledged flag to container restore window.

7 years agobump version to 4.4
Dietmar Maurer [Thu, 22 Dec 2016 11:28:28 +0000 (12:28 +0100)]
bump version to 4.4

7 years agoChange remove partition order.
Wolfgang Link [Mon, 19 Dec 2016 11:41:27 +0000 (12:41 +0100)]
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.

7 years agoFix parsing block device.
Wolfgang Link [Mon, 19 Dec 2016 11:41:26 +0000 (12:41 +0100)]
Fix parsing block device.

Get the partition num and block device from sysfs.
This ensure different block device types will work.

7 years agobump version to 4.4-3
Dietmar Maurer [Thu, 22 Dec 2016 11:02:41 +0000 (12:02 +0100)]
bump version to 4.4-3

7 years agoEnable service for ceph monitor.
Wolfgang Link [Wed, 21 Dec 2016 14:56:16 +0000 (15:56 +0100)]
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.

7 years agoreplace SysV init script with our own service
Fabian Grünbichler [Wed, 21 Dec 2016 14:56:15 +0000 (15:56 +0100)]
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>
7 years agoSet correct permission for ceph user.
Wolfgang Link [Wed, 21 Dec 2016 14:56:14 +0000 (15:56 +0100)]
Set correct permission for ceph user.

We have to set the correct permission,
because ceph greater than infernalis use ceph as daemon user.

7 years agoadd jewel
Wolfgang Link [Wed, 21 Dec 2016 14:56:13 +0000 (15:56 +0100)]
add jewel

7 years agorename pve.conf to ceph-after-pve-cluster.conf
Dietmar Maurer [Thu, 22 Dec 2016 10:47:13 +0000 (11:47 +0100)]
rename pve.conf to ceph-after-pve-cluster.conf

7 years agoadd systemd replacement for ceph init script
Wolfgang Link [Wed, 21 Dec 2016 14:56:12 +0000 (15:56 +0100)]
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>
7 years agodo not hide ceph on dashboard if the api call fails
Dominik Csapak [Wed, 21 Dec 2016 10:48:46 +0000 (11:48 +0100)]
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>
7 years agoadd filter to dashboard storage graph
Dominik Csapak [Wed, 21 Dec 2016 10:45:10 +0000 (11:45 +0100)]
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>
7 years agoadd a storage selection in the settings window
Dominik Csapak [Thu, 22 Dec 2016 08:54:06 +0000 (09:54 +0100)]
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>
7 years agoload the diffstore on init
Dominik Csapak [Wed, 21 Dec 2016 10:45:08 +0000 (11:45 +0100)]
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>
7 years agoadd an alias to the diffstore
Dominik Csapak [Wed, 21 Dec 2016 10:45:07 +0000 (11:45 +0100)]
add an alias to the diffstore

to use it declarative like this:

store : {
    type: 'diff'
}

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 4.4-2
Dietmar Maurer [Wed, 21 Dec 2016 11:27:01 +0000 (12:27 +0100)]
bump version to 4.4-2

7 years agorebalance_lxc_containers: make it work with old style lxc setups
Dietmar Maurer [Wed, 21 Dec 2016 11:20:40 +0000 (12:20 +0100)]
rebalance_lxc_containers: make it work with old style lxc setups

7 years agorebalance_lxc_containers: avoid repeated warnings if rebalance fails
Dietmar Maurer [Wed, 21 Dec 2016 10:39:46 +0000 (11:39 +0100)]
rebalance_lxc_containers: avoid repeated warnings if rebalance fails

Only warn once.

7 years agorebalance_lxc_containers: fix hotplug
Dietmar Maurer [Wed, 21 Dec 2016 10:13:16 +0000 (11:13 +0100)]
rebalance_lxc_containers: fix hotplug

factor out code to modify cpusets into $modify_cpuset->()

7 years agorebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup
Dietmar Maurer [Wed, 21 Dec 2016 10:04:33 +0000 (11:04 +0100)]
rebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup

7 years agoremove debug log statement
Dominik Csapak [Thu, 15 Dec 2016 16:01:22 +0000 (17:01 +0100)]
remove debug log statement

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix typo in ceph jewel iops parsing
Dominik Csapak [Wed, 14 Dec 2016 09:31:47 +0000 (10:31 +0100)]
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>
7 years agofilter the local node in the migrateall window
Dominik Csapak [Wed, 7 Dec 2016 10:54:36 +0000 (11:54 +0100)]
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>
7 years agovalidate nodeselector after store is loaded
Dominik Csapak [Wed, 7 Dec 2016 10:54:35 +0000 (11:54 +0100)]
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>
7 years agomake date column resizable
Dominik Csapak [Tue, 6 Dec 2016 15:26:42 +0000 (16:26 +0100)]
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>
7 years agoremove obsolete belongsTo
Dominik Csapak [Tue, 6 Dec 2016 15:26:41 +0000 (16:26 +0100)]
remove obsolete belongsTo

this was not needed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agosnapshottree: remove sorter before saving the state
Dominik Csapak [Tue, 6 Dec 2016 15:26:40 +0000 (16:26 +0100)]
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>
7 years agoset fixed height on global search window
Dominik Csapak [Tue, 6 Dec 2016 15:26:39 +0000 (16:26 +0100)]
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>
7 years agomove chart series initialization into initComponent
Dominik Csapak [Tue, 6 Dec 2016 15:26:38 +0000 (16:26 +0100)]
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>
7 years agomove hideHeaders into static configuration
Dominik Csapak [Tue, 6 Dec 2016 15:26:37 +0000 (16:26 +0100)]
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>
7 years agoRename filterFn to vmtypeFilter
Emmanuel Kasper [Thu, 15 Dec 2016 15:25:59 +0000 (16:25 +0100)]
Rename filterFn to vmtypeFilter

since we have now two filters defined it makes sense to use
a separate name here

7 years agoFilter by default the displayed guest backups fix #1161
Emmanuel Kasper [Thu, 15 Dec 2016 15:25:58 +0000 (16:25 +0100)]
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.

7 years agoreduce scope of jslint warnings to the problematic statement
Emmanuel Kasper [Tue, 13 Dec 2016 09:07:41 +0000 (10:07 +0100)]
reduce scope of jslint warnings to the problematic statement

also remove it from qemu/Clone.js since it validates OK

7 years agoConvert the VMIDSelector to a generic GuestIDSelector
Emmanuel Kasper [Tue, 13 Dec 2016 09:07:40 +0000 (10:07 +0100)]
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.

7 years agobump version to 4.4-1
Dietmar Maurer [Fri, 9 Dec 2016 09:29:35 +0000 (10:29 +0100)]
bump version to 4.4-1

7 years agomake realmselector non-editable
Dominik Csapak [Wed, 7 Dec 2016 14:41:50 +0000 (15:41 +0100)]
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>
7 years agofix #1176: sort user/group/realm selector
Dominik Csapak [Wed, 7 Dec 2016 14:41:49 +0000 (15:41 +0100)]
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>
7 years agoaplinfo.dat: update
Dietmar Maurer [Fri, 9 Dec 2016 09:19:13 +0000 (10:19 +0100)]
aplinfo.dat: update

7 years agofix jslint confusion warning
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:08 +0000 (14:48 +0100)]
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.

7 years agoAdd online help for start/shutdown for containers
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:07 +0000 (14:48 +0100)]
Add online help for start/shutdown for containers

7 years agoTurn the qemu StartupEdit widget into a generic component
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:06 +0000 (14:48 +0100)]
Turn the qemu StartupEdit widget into a generic component

and use this component for Qemu.

7 years agobump version to 4.3-14
Dietmar Maurer [Mon, 5 Dec 2016 11:33:51 +0000 (12:33 +0100)]
bump version to 4.3-14

7 years agofix typo in vmtype check
Dominik Csapak [Mon, 5 Dec 2016 10:04:11 +0000 (11:04 +0100)]
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>
7 years agobump version to 4.3-13
Dietmar Maurer [Fri, 2 Dec 2016 15:39:40 +0000 (16:39 +0100)]
bump version to 4.3-13

7 years agoadds a help button to the migration window
Dominik Csapak [Fri, 2 Dec 2016 13:20:45 +0000 (14:20 +0100)]
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>
7 years agochange lxc migration option to restart mode
Dominik Csapak [Fri, 2 Dec 2016 13:20:44 +0000 (14:20 +0100)]
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>
7 years agoRemove last extra comma
Emmanuel Kasper [Thu, 1 Dec 2016 13:16:40 +0000 (14:16 +0100)]
Remove last extra comma

also whitespace / indent cleanup

7 years agoAdd online help for startup/shutdown order and LXC general settings
Emmanuel Kasper [Thu, 1 Dec 2016 08:50:06 +0000 (09:50 +0100)]
Add online help for startup/shutdown order and LXC general settings

7 years agoAdd the possibility to create an unprivileged container at creation time in the GUI.
Emmanuel Kasper [Wed, 30 Nov 2016 14:19:38 +0000 (15:19 +0100)]
Add the possibility to create an unprivileged container at creation time in the GUI.

The setting is afterwards displayed as a read only option in the option time

7 years agoshow in/out/up/down icons in osd overview
Dominik Csapak [Wed, 30 Nov 2016 10:52:10 +0000 (11:52 +0100)]
show in/out/up/down icons in osd overview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake ceph status in cluster dashboard clickable
Dominik Csapak [Wed, 30 Nov 2016 10:52:09 +0000 (11:52 +0100)]
make ceph status in cluster dashboard clickable

to get faster from the datacenter dashboard to the ceph dashboard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd noout button and reorder actions
Dominik Csapak [Wed, 30 Nov 2016 10:52:08 +0000 (11:52 +0100)]
add noout button and reorder actions

this patch adds a set/unset noout button (for easy maintenance of your
ceph cluster) and reorders the buttons so that global actions (reload,
add osd, set noout) are left, and osd specific actions are on the right

to reduce confusion, there is now a label left of the osd actions which
displays the selected osd

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd ceph flags api calls
Dominik Csapak [Wed, 30 Nov 2016 10:52:07 +0000 (11:52 +0100)]
add ceph flags api calls

we add a get/post/delete api call for ceph flags

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoalso return the ceph flags in osd api call
Dominik Csapak [Wed, 30 Nov 2016 10:52:06 +0000 (11:52 +0100)]
also return the ceph flags in osd api call

we want to set/get the flags in the ceph/osd tab, so we have to
return it there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agopvereport: tell lsblk to use ascii
Thomas Lamprecht [Thu, 24 Nov 2016 09:55:30 +0000 (10:55 +0100)]
pvereport: tell lsblk to use ascii

The UTF-8 characters it uses otherwise may be not handled correctly
when some users sent the report to us.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoplug new ClusterConfig API at /cluster/config
Dietmar Maurer [Tue, 29 Nov 2016 11:07:38 +0000 (12:07 +0100)]
plug new ClusterConfig API at /cluster/config

7 years agoAdd Windows 2016 as available ostype to select
Emmanuel Kasper [Thu, 17 Nov 2016 14:03:17 +0000 (15:03 +0100)]
Add Windows 2016 as available ostype to select

7 years agoupdate changelog for 4.3-12
Dietmar Maurer [Mon, 28 Nov 2016 05:18:52 +0000 (06:18 +0100)]
update changelog for 4.3-12

The actual 4.3-12 release is done in a separate
branch "hotfix-4.3-12", because we cannot release
commit 58b12d605 now (requires updated pve-cluster
package).

7 years agofix #1212: allow options for delete in pvesh
Dominik Csapak [Fri, 25 Nov 2016 13:30:27 +0000 (14:30 +0100)]
fix #1212: allow options for delete in pvesh

we did not allow to use parameters in the delete handler in pvesh,
but we make use of them (e.g. force on snapshot deleting)

as the get/set and delete handler do the same, refactor the if/else
paths of them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agochange ssh-public-keys check in wizard
Dominik Csapak [Thu, 24 Nov 2016 08:16:34 +0000 (09:16 +0100)]
change ssh-public-keys check in wizard

we changed the ssh public key field to a pvetextfield, which return not
an empty string but null, so the .length check failed with an exception

we do not need to delete the field because it does not exists, when
no key is given

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse certificate cache from PVE::Cluster package
Dietmar Maurer [Fri, 25 Nov 2016 06:35:59 +0000 (07:35 +0100)]
use certificate cache from PVE::Cluster package