After rethinking this I'd rather put 2/8 and 3/8 on hold.
It could possibly annoy some users if now there's now a button
which has dynamic size and while the text we'd show was got by
a reasonable way it does not guarantees that there's always a
Help Chapter with the exact cards category topic, eve
On 10/17/2017 02:29 PM, Thomas Lamprecht wrote:
> instead of heuristically choosing the onlineHelp entry from our first
> item prefer the one we have in our config, if noone the fallback to
> the old heuristic.
>
> Signed-off-by: Thomas Lamprecht
> ---
> www/manager6/window/Edit.js | 5 +++--
>
instead of heuristically choosing the onlineHelp entry from our first
item prefer the one we have in our config, if noone the fallback to
the old heuristic.
Signed-off-by: Thomas Lamprecht
---
www/manager6/window/Edit.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ww
Signed-off-by: Thomas Lamprecht
---
www/manager6/ceph/Monitor.js | 1 +
www/manager6/ceph/OSD.js | 2 ++
www/manager6/ceph/Pool.js| 1 +
3 files changed, 4 insertions(+)
diff --git a/www/manager6/ceph/Monitor.js b/www/manager6/ceph/Monitor.js
index efa8239b..7e755425 100644
--- a/www/man
Signed-off-by: Alwin Antreich
---
pvecm.adoc | 4
1 file changed, 4 insertions(+)
diff --git a/pvecm.adoc b/pvecm.adoc
index 36d18c2..11c6849 100644
--- a/pvecm.adoc
+++ b/pvecm.adoc
@@ -170,6 +170,7 @@ Membership information
4 1 hp4
+[[adding-nodes-with-separated
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
all three
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
applied series
On Tue, Oct 17, 2017 at 01:25:21PM +0200, Fabian Grünbichler wrote:
> small improvements
>
> changes to v1:
> - don't move pct start to phase1 for now (skiplock is broken?)
> - patch #3 is new
> - rebase
>
> Fabian Grünbichler (3):
> migrate: only restart if conf was moved
> m
applied
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
applied
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
in case the container has no replicated disks, this reduces downtime for
restart migration and makes the log shorter
Signed-off-by: Fabian Grünbichler
---
src/PVE/LXC/Migrate.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.p
Signed-off-by: Fabian Grünbichler
---
src/PVE/LXC/Migrate.pm | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index df85ef7..9e8027c 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -359,16 +35
small improvements
changes to v1:
- don't move pct start to phase1 for now (skiplock is broken?)
- patch #3 is new
- rebase
Fabian Grünbichler (3):
migrate: only restart if conf was moved
migrate: cleanup final_cleanup
migrate: skip replication handling if not replicated
src/PVE/LXC/Migra
use remove_lock instead of manually removing
Signed-off-by: Fabian Grünbichler
---
src/PVE/LXC/Migrate.pm | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 9e8027c..95addab 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/P
Patches reordered for v6 as per Thomas' suggestion.
This patch (3/3 is the effective part) adds support for sub-commands in
the form of `pveum user add `, as well as aliases, so the prior
format can still be used. It correctly parses the current command format
as well and, to my knowledge,generates
Removes obsolete subroutine and unused Dumper
---
src/PVE/CLIHandler.pm | 24
1 file changed, 24 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
index e61fa6a..0c48335 100644
--- a/src/PVE/CLIHandler.pm
+++ b/src/PVE/CLIHandler.pm
@@ -2,7 +2,6 @@ p
instead of 5 slightly different calls to RESTHandler::usage_str this
introduces a wrapper function that handles all required cases and is
capable of resolving sub-commands and aliases.
Adds a subroutine to print the short help for a command in case no
subcommand was given.
Modifies handle_cmd and p
---
src/PVE/CLIHandler.pm | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
index 0c48335..73e8ee6 100644
--- a/src/PVE/CLIHandler.pm
+++ b/src/PVE/CLIHandler.pm
@@ -48,12 +48,12 @@ my $complete_command_names = sub {
};
---
src/PVE/API2/LXC.pm | 152
src/PVE/CLI/pct.pm | 1 +
2 files changed, 153 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 2d84f0b..aceedb6 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -1504,4 +
Also refactor the locking as suggested by Fabian.
---
src/PVE/API2/LXC.pm | 212
1 file changed, 113 insertions(+), 99 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 0397224..2d84f0b 100644
--- a/src/PVE/API2/LXC.pm
+
---
src/PVE/LXC.pm | 87 +-
1 file changed, 56 insertions(+), 31 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index ebe369d..12957d4 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1329,6 +1329,59 @@ sub destroy_disks {
---
src/PVE/LXC.pm | 87 ++
1 file changed, 87 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 12957d4..7eb6889 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1582,4 +1582,91 @@ sub vm_stop {
die "container did no
---
src/PVE/LXC/Config.pm | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 8d71f4a..a93313f 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -1175,8 +1175,8 @@ sub classify_mountpoint
Changes since v3:
* Patch 2:
- don't mount to /tmp due to permission issues
- perform mount© with an unshared mount namespace
- now requires the pve-common patch for PVE::Tools::run_fork
* Patch 3:
- refactor locking as suggested by fabian
- use remove_lock instead of manually removing $conf->
Allows to add an unmanaged VM to HA or to edit the HA settings of a
managed one.
Fixes: #1518
Signed-off-by: Thomas Lamprecht
Acked-By: Dominik Csapak
---
www/manager6/ha/ResourceEdit.js | 9 +
www/manager6/qemu/Config.js | 12
2 files changed, 17 insertions(+), 4 dele
This button was hidden by default and was intended to show up when a
CT is mounted only.
The check if mounted, was done for OpenVZ and may not become true
currently also we only have CLI helpers for mount/unmount but no API
– so just remove it.
Signed-off-by: Thomas Lamprecht
---
new patch
ww
If there is a onlöineHelp set for the current active card then use
the card title, which is already translated and limited in length.
Else fall back to our parents onlineHelpTitle as we do that with the
help topic itself to, if not set just 'Help' gets displayed.
Signed-off-by: Thomas Lamprecht
A
Extend 'Ext.menu.Item' with a simplified handler logic also used in
'PVE.button.Button'.
If 'confirmMsg' config is set we wrap the defined handler in a
confirm dialog, useful if the menu item just makes an API call and
does not has an own (edit) window shown.
In contrast to the 'pveButton' we do
add a 'More' Button to the VM and CT Config Panel (its base panel)
and move all buttons which may result in config changes there.
After that we have separated power/migrate actions from system
affecting actions (clone, remove, convert to template).
Signed-off-by: Thomas Lamprecht
Acked-By: Domini
Move the remove button into the more button and add a 'Manage HA'
button there, mirroring the changes from the qemu panel.
Allows to add an unmanaged CT to HA or to edit the HA settings of a
managed one.
Fixes: #1518
Signed-off-by: Thomas Lamprecht
Acked-By: Dominik Csapak
---
* changed order
Lets add a onlineHelp title for the ConfigPanel lxc, qemu, node and
pool (omitting only dc). As we fall back to the current ConfigPanels
help link when a tab (or sub panel) has no own specific help defined
this then can be shown so that the user sees which help will open
before clicking the button.
series of patches which where all (but one new refacto patch) discussed
and reviewed already.
Implemented the reqeuested ordering changes for the more button.
If not noted other wise the patches are the same as last version.
Thomas Lamprecht (8):
ui: rename global 'Help' button to 'Documentatio
To make it more clear that this will always end you on the
Documentation index.
Also, multiple Help buttons which all may or may not do something
different are a bit weird/confusing - thus distinction can here be
really helpful, IMO.
We target HD ready (1280x720) as minimal target resolution wher
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
On Tue, Oct 17, 2017 at 09:40:50AM +0200, Wolfgang Link wrote:
> We will handle this errors in the API and decide what to do.
> ---
> PVE/Replication.pm | 29 +
> 1 file changed, 9 insertions(+), 20 deletions(-)
>
> diff --git a/PVE/Replication.pm b/PVE/Replication.pm
Sure thing, will do that.
Delivery seems to take slightly longer than expected - I guess it's the usual
difference between marketing / news release and actual deliverability. ;-)
I'll let you know asap!
Martin
> Am 09.10.2017 um 10:59 schrieb Martin Maurer :
>
> Hi,
>
> yes, sounds interesti
We changed this to read values from the container's inner
cgroup, but didn't take into account that unprivileged
containers don't have one.
Add a parameter to specify whether it is an unprivileged
container.
Fixes: 41ef9833bf00 ("include ns/ dir in read_cgroup_value")
Signed-off-by: Wolfgang Bumil
I like the general idea, BUT I would really like the following
additions:
- open a temp copy in the editor, not the real one
- flock or digest check before overwriting
- only show/edit the current config by default, with a switch to get the
full file
- check for parsing errors before moving the
A email notification will be send for each job when the job fails.
This message will only send when an error occurs and the fail count is on 1.
---
PVE/API2/Replication.pm | 18 --
PVE/CLI/pvesr.pm | 11 ++-
bin/init.d/pvesr.service | 2 +-
3 files changed, 27 ins
We will handle this errors in the API and decide what to do.
---
PVE/Replication.pm | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
diff --git a/PVE/Replication.pm b/PVE/Replication.pm
index e53928e..0650726 100644
--- a/PVE/Replication.pm
+++ b/PVE/Replicatio
Now you get a email if a replication job fail.
The mail is only send the first time, when a job switched from ok state in
error state.
No more notification will come when a job with error state retry to sync.
[PATCH manager V2]
Indentation cleanup.
Small clenup like W.Bumiller has suggested.
[PA
---
PVE/API2/Replication.pm | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/PVE/API2/Replication.pm b/PVE/API2/Replication.pm
index f396615d..38449892 100644
--- a/PVE/API2/Replication.pm
+++ b/PVE/API2/Replication.pm
@@ -77,15 +77,15 @@ sub run_jobs {
my $i
This way, the whole eval{} statement makes no sense anymore?!
sub run_replication {
my ($guest_class, $jobcfg, $iteration, $start_time, $logfunc, $noerr,
$verbose) = @_;
my $timeout = 2; # do not wait too long - we repeat periodically anyways
return PVE::GuestHelpers::guest_migration_
44 matches
Mail list logo