[pve-devel] [PATCH http-server 2/2] add 'map' filetype to http-server

2017-11-23 Thread Dominik Csapak
those files are used for javascript source maps (useful for debugging purposes) Signed-off-by: Dominik Csapak --- PVE/APIServer/AnyEvent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index 494c659..1a67ab6 100755 --- a/PVE/APIServer/

[pve-devel] [PATCH http-server 1/2] do not send websocket status code to port

2017-11-23 Thread Dominik Csapak
this is not data, but the status code, so print it in debug mode instead Signed-off-by: Dominik Csapak --- PVE/APIServer/AnyEvent.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index b3b79ce..494c659 100755 --- a/P

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gandalf Corvotempesta
Let me know if is working for you and if some improvements can be made 2017-11-23 14:25 GMT+01:00 Gilberto Nunes : > Nice! Thanks > > --- > Gilberto Ferreira > > (47) 3025-5907 > (47) 99676-7530 > > Skype: gilberto.nunes36 > > > > > 2017-11-23 11:22 GMT-02:00 Gandalf Corvotempesta < > gandalf.corv

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gilberto Nunes
Nice! Thanks --- Gilberto Ferreira (47) 3025-5907 (47) 99676-7530 Skype: gilberto.nunes36 2017-11-23 11:22 GMT-02:00 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com>: > Here you are: > > https://pastebin.com/raw/4E6rTuqe > > 2017-11-23 14:11 GMT+01:00 Gilberto Nunes : > > Sorry! Not

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gandalf Corvotempesta
Here you are: https://pastebin.com/raw/4E6rTuqe 2017-11-23 14:11 GMT+01:00 Gilberto Nunes : > Sorry! Not see it yet! > Perhaps the list drop out any attachment... > Can you past it in pastbin > > --- > Gilberto Ferreira > > (47) 3025-5907 > (47) 99676-7530 > > Skype: gilberto.nunes36 > > > > > 20

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Thomas Lamprecht
On 11/23/2017 02:11 PM, Gilberto Nunes wrote: > Sorry! Not see it yet! > Perhaps the list drop out any attachment... Yes. > Can you past it in pastbin > Or just post it inline in the mail, as longs its not big (>50Kb) this should work just fine. Cheers, Thomas

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gilberto Nunes
Sorry! Not see it yet! Perhaps the list drop out any attachment... Can you past it in pastbin --- Gilberto Ferreira (47) 3025-5907 (47) 99676-7530 Skype: gilberto.nunes36 2017-11-23 11:10 GMT-02:00 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com>: > Do you see it now ? > > 2017-11-2

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gandalf Corvotempesta
Do you see it now ? 2017-11-23 14:06 GMT+01:00 Gilberto Nunes : > Sorry But I don't see the attach > > --- > Gilberto Ferreira > > (47) 3025-5907 > (47) 99676-7530 > > Skype: gilberto.nunes36 > > > > > 2017-11-23 10:55 GMT-02:00 Gandalf Corvotempesta < > gandalf.corvotempe...@gmail.com>: > >>

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gilberto Nunes
Sorry But I don't see the attach --- Gilberto Ferreira (47) 3025-5907 (47) 99676-7530 Skype: gilberto.nunes36 2017-11-23 10:55 GMT-02:00 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com>: > I've attached. > it's dirty but effective, i've already migrated 5-6 VMs from XenServer >

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gandalf Corvotempesta
I've attached. it's dirty but effective, i've already migrated 5-6 VMs from XenServer to Proxmox ZFS with no issues. A small optimization could be made, by telling the script where to save raw images. With this, you can also avoid to move the exported image to proper location (where VM disk is poi

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Thomas Lamprecht
Hi, On 11/23/2017 12:57 PM, Gandalf Corvotempesta wrote: > I did a simple bash script (that doesn't require any external tools) able to > convert a XenServer virtualmachine to a raw file (supported by Proxmox/qemu) > in a single step, without using xenmigrate.py and without the need to > export, e

[pve-devel] applied: [PATCH container 1/2] pct mount: tell user where he can find the mounted CT

2017-11-23 Thread Wolfgang Bumiller
applied both patches On Thu, Nov 16, 2017 at 03:07:39PM +0100, Thomas Lamprecht wrote: > Signed-off-by: Thomas Lamprecht > --- > src/PVE/CLI/pct.pm | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm > index 3253906..b82e04b 100755 > --- a/src/PVE/

Re: [pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gilberto Nunes
Hi Where is that script?? Such thing can help a lot of people and bring attention to Proxmox... I waiting for --- Gilberto Ferreira Consultor TI Linux | IaaS Proxmox, CloudStack, KVM | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: gilberto.nunes36 konnectati.com.b

[pve-devel] XenServer to Proxmox in a single step

2017-11-23 Thread Gandalf Corvotempesta
I did a simple bash script (that doesn't require any external tools) able to convert a XenServer virtualmachine to a raw file (supported by Proxmox/qemu) in a single step, without using xenmigrate.py and without the need to export, extract, rebuild It's space saving and, more important, time savin

[pve-devel] [PATCH cluster 2/2] pvecm: add/delete: local lock & avoid problems on first node addition

2017-11-23 Thread Thomas Lamprecht
cfs_lock is per node, thus we had a possibility for a node addition race if the process was started on the same node (e.g. by a script/ansible/...). So always request a local lock first, if that is acquired check how many members currently reside in the cluster and then decide if we can directly e

[pve-devel] [PATCH cluster 1/2] pvecm: check early if the deletion cannot work

2017-11-23 Thread Thomas Lamprecht
Signed-off-by: Thomas Lamprecht --- data/PVE/CLI/pvecm.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm index 9437368..ba72bfe 100755 --- a/data/PVE/CLI/pvecm.pm +++ b/data/PVE/CLI/pvecm.pm @@ -412,6 +412,9 @@ __PACKAGE__->

[pve-devel] [PATCH cluster] setup_sshd_config: remove useless start_sshd parameter

2017-11-23 Thread Thomas Lamprecht
This controlled if we use reload-or-restart or try-reload-or-restart. They differ in the following way: > reload-or-restart - Reload one or more units if possible, otherwise > start or restart > > try-reload-or-restart - Reload one or more units if possible, > otherwise (re)start if active Under P

[pve-devel] [PATCH cluster] factor out reading a nodes ssl cert fingerprint

2017-11-23 Thread Thomas Lamprecht
Signed-off-by: Thomas Lamprecht --- Picks up Emmanuels Cluster part. read_ssl_cert_fingerprint is a slightly refactored version of the same method from the PMG, mostly just switched to use post-fix if. get_node_fingerprint checks now for custom paths just fine. Manus patch from the manager works