Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org): On 28 November 2013 18:15, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote: We didn't change anything, just:

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Daniel Molina
On 29 November 2013 09:27, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): On 28 November 2013 18:15, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): On 27 November 2013 21:27, Stefan Kooman ste...@bit.nl wrote:

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org): Include it before the if: logger.error(rackinput.class) if (rackinput.class == Tempfile) I did just that, restarted apache and tried again. I can't spot the value in the logs, can you? Passenger errors are logged in apache error log

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Daniel Molina
On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): Include it before the if: logger.error(rackinput.class) if (rackinput.class == Tempfile) I did just that, restarted apache and tried again. I can't spot the value in

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org): On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): Include it before the if: logger.error(rackinput.class) if (rackinput.class == Tempfile) I did just that,

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Daniel Molina
On 29 November 2013 10:13, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): On 29 November 2013 09:57, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): Include it before the if:

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org): Could you try changing this line: elsif (rackinput.class == StringIO || rackinput.class == PhusionPassenger::Utils::RewindableInput) to elsif rackinput.respond_to?('read') This doesn't produce any passenger errors. Image gets uploaded but

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Daniel Molina
On 29 November 2013 10:54, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): Could you try changing this line: elsif (rackinput.class == StringIO || rackinput.class == PhusionPassenger::Utils::RewindableInput) to elsif rackinput.respond_to?('read')

Re: [one-users] Sunstone LDAP and user passwords with special characters

2013-11-29 Thread Daniel Molina
FYI we have included an option in sunstone-server.conf (one-4.4) for this: https://github.com/OpenNebula/one/blob/one-4.4/src/sunstone/etc/sunstone-server.conf#L74 Cheers On 21 November 2013 09:19, Alvaro Simon asi...@cesga.es wrote: Hi We do not use ldap but we have seen a similar issue

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org): This is handled by passenger, it should be removed by the GC sooner or later Ah, I See. One file is cleaned up already. Proably I'm just impatient :). If I close apache passenger it cleans up after itself ... nice. I just did test with

Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Jaime Melis
Hello Daniel, QMP is not available because afaik it's not compatible with Libvirt, and OpenNebula requires Libvirt for KVM guests. However, vncdo should work. We haven't tried it out, but if you enable GRAPHICS = [ TYPE = vnc ] you should be able to use vncdo. cheers, Jaime On Wed, Nov 27,

Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Jaime Melis
Hi, I just found out about this, so you might be able to use QMP after all, via Libvirt: $ virsh help qemu-monitor-command cheers, Jaime On Fri, Nov 29, 2013 at 11:24 AM, Jaime Melis jme...@opennebula.org wrote: Hello Daniel, QMP is not available because afaik it's not compatible with

Re: [one-users] Sunstone image upload not working - images not in tmpdir

2013-11-29 Thread Daniel Molina
On 29 November 2013 11:18, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@opennebula.org): This is handled by passenger, it should be removed by the GC sooner or later Ah, I See. One file is cleaned up already. Proably I'm just impatient :). If I close apache

[one-users] BSOD when deploy Windows XP VM in OpenNebula 4.2

2013-11-29 Thread M Fazli A Jalaluddin
Dear All, I was trying to install Windows XP in VirtualBox and convert it to qcow2. After I upload the qcow2 image to OpenNebula and instantiate the template, the image goes BSOD while in Virtualbox, the VM works fine. I done some google and found out that there was some bug in qemu which cause

Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Daniel Dehennin
Jaime Melis jme...@opennebula.org writes: Hi, I just found out about this, so you might be able to use QMP after all, via Libvirt: $ virsh help qemu-monitor-command Great, I'm not sure if several “control” monitors could be used at the same time. If not, it will interfere with ONE

Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Daniel Dehennin
Jaime Melis jme...@opennebula.org writes: Oh, I see what you mean. Well, it depends on what type of operations you want to execute. If you stop the virtual machine, OpenNebula will move it to UNKNOWN state, for example. But if you use it to manipulate parameters inside the virtual machine,

[one-users] two authentication methods in Sunstone

2013-11-29 Thread knawnd
Hello! I wonder if it is possible to enable two authentication methods in Sunstone? As far as I understand from [1] currently only single auth method is supported. I would like to implement the following: first try to use x509 auth method and if it fails then try the next one listed in

[one-users] A wishlist for open nebula 4.6?

2013-11-29 Thread Shankhadeep Shome
1. GlusterFS libgfapi support, I was hoping this would be completed for this release, alas I'm stuck with fuse mount another release :) 2. Support virtio-scsi, this is the future of KVM block IO, its not as fast as virtio-blk but its getting there and it is far more flexible. For example, you

Re: [one-users] A wishlist for open nebula 4.6?

2013-11-29 Thread Gareth Bult
Hi Shankhadeep, I'm using virtio-scsi by default on all my instances (I need it for TRIM support) .. works fine on 4.3 and 4.4. All you need to do is modify /etc/one/vmm_exec/vmm_exec_kvm.conf. I use this; DISK = [ BUS=scsi, DISCARD=unmap] RAW = de vicesvideomodel type='vga' vram='9216'

Re: [one-users] two authentication methods in Sunstone

2013-11-29 Thread Daniel Molina
Hi Nikolay, Currently this is not supported, you can only defined one type of auth in Sunstone. However, you can start more than one Sunstone instance each one with a different auth. Cheers On 29 November 2013 13:19, knawnd kna...@gmail.com wrote: Hello! I wonder if it is possible to

Re: [one-users] A wishlist for open nebula 4.6?

2013-11-29 Thread Shankhadeep Shome
Ok cool, that would work I suppose. On Fri, Nov 29, 2013 at 10:22 AM, Gareth Bult gar...@linux.co.uk wrote: Hi Shankhadeep, I'm using virtio-scsi by default on all my instances (I need it for TRIM support) .. works fine on 4.3 and 4.4. All you need to do is modify

[one-users] Deployment error

2013-11-29 Thread Eduardo Roloff
I configure OpenNebula front-end in a CentOS machine, and I`m using ESXi 5.0 hosts. I have the IMAGE datastore locally in the front-end and trying to deploy the VM using SSH to the host (I tryed to use VMFS, but does not work) that has a filesystem. When I try to create a VM I got this error

Re: [one-users] Deployment error

2013-11-29 Thread Tino Vazquez
Hi Eduardo, What OpenNebula version are you using? In OpenNebula 4.2 onwards, the only supported datastore drivers for VMware hypervisors are 'vmfs'. What error are you having with the latter? Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco,

Re: [one-users] updating TEMPLATE from hooks with onevm update

2013-11-29 Thread Carlos Martín Sánchez
Hi Olivier, On Wed, Nov 27, 2013 at 5:50 PM, Olivier Sallou olivier.sal...@irisa.frwrote: I think that a hook before VM is created, providing the vm info (user, vm id etc..) would be perfect. But could we get the vm id is VM is not yet created ? (vmid is necessary to update its user

Re: [one-users] Deployment error

2013-11-29 Thread Eduardo Roloff
Hi Tino, Yes is ONE 4.2. When I used the vmfs, I created two DataStores (to use the ESXi SAN Storage) When I try to upload an image to these datastores (not create a VM, just upload a SO image) I got a message Not enough space in datastore The messages in the log file was just that above, but

Re: [one-users] Deployment error

2013-11-29 Thread Eduardo Roloff
Hi again Tino, I change the configuration to use the image datastore locally in the front-end, and deploy the VM using vmfs. When I try to create a VM I got the error messages below. Seems that is a permission issue, but I can't find what is wrong. -- Fri Nov 29 17:33:11 2013 [TM][D]: Message

Re: [one-users] Deployment error

2013-11-29 Thread Ruben S. Montero
Just double checking... have you give full permissions to oneadmin? http://opennebula.org/documentation:rel4.2:evmwareg#users_groups It seems that you are using the dynamic network mode, you can move on by falling back to the predefined one. And once you have setup everything else revisit the

Re: [one-users] Deployment error

2013-11-29 Thread Eduardo Roloff
I check the oneadmin permissions and he is in the administrators group, this is the only thing that I can verify to assure that he has full permissions. I changed to use predefined network and I got a different error. Fri Nov 29 20:09:43 2013 [LCM][I]: New VM state is BOOT Fri Nov 29 20:09:43

[one-users] how to setup debugging environment with the right tools to debug to the code level?

2013-11-29 Thread Qiubo Su (David Su)
Dear OpenNebula Community, 1) When run onevm, oneimage, onevnet, onecluster etc commands, sometimes got errors. Instead of checking the debug log files, how to set up a debugging environment with the right tools to track down the problems in the code level? I'm a C, C++ and Java software

Re: [one-users] BSOD when deploy Windows XP VM in OpenNebula 4.2

2013-11-29 Thread M Fazli A Jalaluddin
Hi, I also have deployed Windows 7 qcow2 format on OpenNebula without the any problem. which I used VirtualBox to create the image first and convert it from .vdi to .qcow2 using qemu-utils. May I know how to use IDE instead? PS: I have tried using both qcow2 and raw format but still blue

Re: [one-users] Users Digest, Vol 69, Issue 141

2013-11-29 Thread Catalina Quinde
Hi Nikita, I installed new kernel 2.6.32-042stab076.8 and deployed VM indicated by you, but this errors displays in log file: oneadmin@ubuntuOpNeb:~$ cat /var/log/one/62.log Fri Nov 29 21:08:42 2013 [DiM][I]: New VM state is ACTIVE. Fri Nov 29 21:08:42 2013 [LCM][I]: New VM state is PROLOG. Fri

Re: [one-users] Users Digest, Vol 69, Issue 141

2013-11-29 Thread knawnd
Hi Caty, if your datastore is nfs-based then it seems like you faced with issue mentioned in that bug report [1]. Is there any particular reason which makes you not to use latest stable openvz kernel (currently it is 83.2)? Make also sure that the latest stable ploop and vzctl versions are