Re: [one-users] DNS search domains and rc.local not being read in VMs
Hello, `And define the $searchdomain variable in your network template` Where i can find network template? 2013/9/26 Campbell, Bill bcampb...@axcess-financial.com There should be DNS scripts in the contextualization packages that provide some assignment of DNS. You should be able to slightly modify a script to pick up that variable you define, i.e. echo search $searchdomain /etc/resolv.conf And define the $searchdomain variable in your network template. Be advised, I only see this script on the Ubuntu context packages (not RHEL/Cent, but could be added either way) -- *From: *jerry steele jerry.ste...@cgg.com *To: *users@lists.opennebula.org *Sent: *Thursday, September 26, 2013 6:42:23 AM *Subject: *[one-users] DNS search domains and rc.local not being read in VMs Hello, I posted a few days ago about network configuration seemingly not being picked up properly – I think that was mainly due to my contextualisation packages being for the wrong version, and so the context CDROM device wasn’t being mounted. So now I have a separate,, but related issue. I need to be able to have DNS search domains in my /etc/resolv.conf. I tried to achieve this by adding a SEARCH attribute to the virtual network template, but it doesn’t seem to be picked up (looking in the context scripts, there’s nothing there to pick it up, so that’s kind of expected). I then tried to add it in /etc/rc.local, along with some lines to correctly set the hostname based on IP, but this doesn’t appear to be being picked up either. Could anyone tell me what might be going wrong here? Could it be the case that rc.local is not being run for some reason at boot? When I test the VM outside ONE, rc.local runs fine… Any help greatly appreciated. Thanks *__** **__** **__*** * * * * *Jerry Steele* IT Support Specialist Subsurface Imaging CGGVeritas Services (UK) Ltd Crompton Way Crawley W Sussex RH10 9QN T +44 (0)1293 683264 (Internal: 233264) M +44 (0)7920 237105 www.cgg.com *This email and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.* *This email and any accompanying attachments are confidential. If you received this email by mistake, please delete it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org *NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Regards, Evgeniy. Tel.: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula and Virtual Desktop Infrastructure
Dear Carlo, Thank you very much for answer! 2013/6/26 Carlo Daffara carlo.daff...@cloudweavers.eu Dear Evgeniy, we used ON for several small scale VDI installations. For smaller ones we used KVM and Spice as access protocol, with a lightweight linux desktop that boots from USB customized to connect directly the user after login ( http://www.everydesk.org/ ). It's just a matter of using spicy (the gtk spice client) that provides USB redirection support as well. For slightly larger installations we use a separate VM called Ulteo ( http://www.ulteo.com/home/ ) that works quite similarly to Citrix, ie. it provides a virtual desktop managed by the administrator, that connects additional sources like Terminal Services or X11 applications; opening the VDI web page starts an applet that provides the desktop to the end user. For those offices where you need only to access a windows desktop or a windows server session, we created a small appliance based on Guacamole ( http://guac-dev.org/ ) that is a very efficient and fast HTML5 redirector for RDP session. You configure it for your users (which session, properties, authentication and so on) and you connect directly through the web page with no client. There is no single way to do it- it is more a matter of finding the best approach given the available tools. cheers, carlo daffara - Original Message - From: Evgeniy Suvorov eesuvo...@gmail.com To: users users@lists.opennebula.org Sent: Wednesday, June 26, 2013 2:19:34 PM Subject: [one-users] OpenNebula and Virtual Desktop Infrastructure Hello all, Can i do the Virtual Desktop Infrastructure (VDI), based on ON? Like VMWare Horizon -- Regards , Evgeniy. Tel.: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Regards, Evgeniy. Tel.: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebula and Virtual Desktop Infrastructure
Hello all, Can i do the Virtual Desktop Infrastructure (VDI), based on ON? Like VMWare Horizon -- Regards, Evgeniy. Tel.: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] internal error HTTP response code 403 for upload
Hi, 1. I think that the ESXi, used own 'System daemons' for execution image. I did add user 'daemon' in the 'cloud' group. 2. I renamed Centos.vmdk in disk.vmdk. It is error image of marketplace. 2013/6/24 Tino Vazquez tin...@opennebula.org Hi, Could you please share the steps needed to fix the permissions problem? Regards, -Tino -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 | www.opennebulaconf.com -- Constantino Vázquez Blanco, PhD, MSc Project Engineer | OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Mon, Jun 24, 2013 at 5:54 PM, Evgeniy Suvorov eesuvo...@gmail.com wrote: I resolved this problem. Thanks All 2013/6/24 Evgeniy Suvorov eesuvo...@gmail.com It is problem with permissions. oneadmin@debian:/mnt/one/datastores/0$ ls -l drwxr-xr-x 3 oneadmin cloud 3 jun 21 15:45 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 ERROR: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 out: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' oneadmin@debian:/mnt/one/datastores/0$ chmod 777 -R 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 DEBUG: deploy: Successfully defined domain one-126. ERROR: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' start one-126 err: ExitCode: 1 out: error: Failed to start domain one-126 error: internal error Could not start domain: FileNotFound - File [0] 126/disk.0/disk.vmdk was not found /vmfs/volumes/c4370f1f-5c8d5062 $ ls -l drwxrwxrwx1 oneadmin 128 3 Jun 24 10:46 126 Any idea? 2013/6/24 Евгений Суворов eesuvo...@gmail.com Hi, I resolved this problem. But it is not work still. Mon Jun 24 14:46:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Mon Jun 24 14:46:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 Mon Jun 24 14:46:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 Mon Jun 24 14:46:21 2013 [VMM][I]: out: Mon Jun 24 14:46:21 2013 [VMM][I]: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 Mon Jun 24 14:46:21 2013 [VMM][I]: error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' Mon Jun 24 14:46:21 2013 [VMM][I]: Mon Jun 24 14:46:21 2013 [VMM][I]: ExitCode: 255 Mon Jun 24 14:46:21 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. 2013/6/21 Tino Vazquez tin...@opennebula.org Hi, The problem seems to be the following line: -- Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port 6019 it out of [5900..5964] range -- Are you setting the value of the VNC port manually in the VM template? If so, please try with a value within the [5900..5964] range Regards, -Tino -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 | www.opennebulaconf.com -- Constantino Vázquez Blanco, PhD, MSc Project Engineer | OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Jun 21, 2013 at 11:35 AM, Евгений Суворов eesuvo...@gmail.com wrote: Hello all, My configuration: 1. Front-end - Debian 6.0.6 and ON 3.8 and KVM. It is name `de 2. ESXi 5.0 - it is host2. ip 192.168.1.53. 3. Used NAS - model `share` I did try used CentOS 6.2 (imported from Marketplace): Jun 20 18:24:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Thu Jun 20 18:24:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/119/deployment.0 192.168.1.53 119 192.168.1.53 Thu Jun 20 18:24:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/119/deployment.0 err: ExitCode: 1 Thu Jun 20 18:24:21 2013 [VMM][I]: out: Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: info : libvirt version: 0.9.12 Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port
[one-users] Can i use Front-End (ON 3.8.3) at the same time the ESXi host and the KVM host?
Hello, For example, I use Front-End ON and two host of ESXi. And I have plan additions two host of KVM. May i use front-end? Or will be problem with system datastore 0? -- Regards, Evgeniy. Tel.: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] internal error HTTP response code 403 for upload
It is problem with permissions. oneadmin@debian:/mnt/one/datastores/0$ ls -l drwxr-xr-x 3 oneadmin cloud 3 jun 21 15:45 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 ERROR: deploy: Error executing: virsh -c 'esx:// 192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 out: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' oneadmin@debian:/mnt/one/datastores/0$ chmod 777 -R 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 DEBUG: deploy: Successfully defined domain one-126. ERROR: deploy: Error executing: virsh -c 'esx:// 192.168.1.53/?no_verify=1auto_answer=1' start one-126 err: ExitCode: 1 out: error: Failed to start domain one-126 error: internal error Could not start domain: FileNotFound - File [0] 126/disk.0/disk.vmdk was not found /vmfs/volumes/c4370f1f-5c8d5062 $ ls -l drwxrwxrwx1 oneadmin 128 3 Jun 24 10:46 126 Any idea? 2013/6/24 Евгений Суворов eesuvo...@gmail.com Hi, I resolved this problem. But it is not work still. Mon Jun 24 14:46:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Mon Jun 24 14:46:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 Mon Jun 24 14:46:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 Mon Jun 24 14:46:21 2013 [VMM][I]: out: Mon Jun 24 14:46:21 2013 [VMM][I]: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 Mon Jun 24 14:46:21 2013 [VMM][I]: error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' Mon Jun 24 14:46:21 2013 [VMM][I]: Mon Jun 24 14:46:21 2013 [VMM][I]: ExitCode: 255 Mon Jun 24 14:46:21 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. 2013/6/21 Tino Vazquez tin...@opennebula.org Hi, The problem seems to be the following line: -- Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port 6019 it out of [5900..5964] range -- Are you setting the value of the VNC port manually in the VM template? If so, please try with a value within the [5900..5964] range Regards, -Tino -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 | www.opennebulaconf.com -- Constantino Vázquez Blanco, PhD, MSc Project Engineer | OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Jun 21, 2013 at 11:35 AM, Евгений Суворов eesuvo...@gmail.com wrote: Hello all, My configuration: 1. Front-end - Debian 6.0.6 and ON 3.8 and KVM. It is name `de 2. ESXi 5.0 - it is host2. ip 192.168.1.53. 3. Used NAS - model `share` I did try used CentOS 6.2 (imported from Marketplace): Jun 20 18:24:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Thu Jun 20 18:24:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/119/deployment.0 192.168.1.53 119 192.168.1.53 Thu Jun 20 18:24:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/119/deployment.0 err: ExitCode: 1 Thu Jun 20 18:24:21 2013 [VMM][I]: out: Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: info : libvirt version: 0.9.12 Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port 6019 it out of [5900..5964] range Thu Jun 20 18:24:21 2013 [VMM][I]: error: Failed to define domain from /var/lib/one/vms/119/deployment.0 Thu Jun 20 18:24:21 2013 [VMM][I]: error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/119%2fdisk%2e0/one%2d119.vmx?dcPath=ha%2ddatacenterdsName=0 ' Thu Jun 20 18:24:21 2013 [VMM][I]: Thu Jun 20 18:24:21 2013 [VMM][I]: ExitCode: 255 Thu Jun 20 18:24:21 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Can anyone help me with this? Thanks in advance! -- Tel: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- С уважением, Евгений. Тел: +79060665574 ICQ: 380264507 -- С уважением, Евгений. Тел: +79060665574 ICQ: 380264507
Re: [one-users] internal error HTTP response code 403 for upload
I resolved this problem. Thanks All 2013/6/24 Evgeniy Suvorov eesuvo...@gmail.com It is problem with permissions. oneadmin@debian:/mnt/one/datastores/0$ ls -l drwxr-xr-x 3 oneadmin cloud 3 jun 21 15:45 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 ERROR: deploy: Error executing: virsh -c 'esx:// 192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 out: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' oneadmin@debian:/mnt/one/datastores/0$ chmod 777 -R 126 oneadmin@debian:/mnt/one/datastores/0$ /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 DEBUG: deploy: Successfully defined domain one-126. ERROR: deploy: Error executing: virsh -c 'esx:// 192.168.1.53/?no_verify=1auto_answer=1' start one-126 err: ExitCode: 1 out: error: Failed to start domain one-126 error: internal error Could not start domain: FileNotFound - File [0] 126/disk.0/disk.vmdk was not found /vmfs/volumes/c4370f1f-5c8d5062 $ ls -l drwxrwxrwx1 oneadmin 128 3 Jun 24 10:46 126 Any idea? 2013/6/24 Евгений Суворов eesuvo...@gmail.com Hi, I resolved this problem. But it is not work still. Mon Jun 24 14:46:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Mon Jun 24 14:46:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/126/deployment.0 192.168.1.53 126 192.168.1.53 Mon Jun 24 14:46:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/126/deployment.0 err: ExitCode: 1 Mon Jun 24 14:46:21 2013 [VMM][I]: out: Mon Jun 24 14:46:21 2013 [VMM][I]: error: Failed to define domain from /var/lib/one/vms/126/deployment.0 Mon Jun 24 14:46:21 2013 [VMM][I]: error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/126%2fdisk%2e0/one%2d126.vmx?dcPath=ha%2ddatacenterdsName=0 ' Mon Jun 24 14:46:21 2013 [VMM][I]: Mon Jun 24 14:46:21 2013 [VMM][I]: ExitCode: 255 Mon Jun 24 14:46:21 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. 2013/6/21 Tino Vazquez tin...@opennebula.org Hi, The problem seems to be the following line: -- Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port 6019 it out of [5900..5964] range -- Are you setting the value of the VNC port manually in the VM template? If so, please try with a value within the [5900..5964] range Regards, -Tino -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 | www.opennebulaconf.com -- Constantino Vázquez Blanco, PhD, MSc Project Engineer | OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Jun 21, 2013 at 11:35 AM, Евгений Суворов eesuvo...@gmail.com wrote: Hello all, My configuration: 1. Front-end - Debian 6.0.6 and ON 3.8 and KVM. It is name `de 2. ESXi 5.0 - it is host2. ip 192.168.1.53. 3. Used NAS - model `share` I did try used CentOS 6.2 (imported from Marketplace): Jun 20 18:24:17 2013 [VMM][I]: Successfully execute network driver operation: pre. Thu Jun 20 18:24:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/vms/119/deployment.0 192.168.1.53 119 192.168.1.53 Thu Jun 20 18:24:21 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://192.168.1.53/?no_verify=1auto_answer=1' define /var/lib/one/vms/119/deployment.0 err: ExitCode: 1 Thu Jun 20 18:24:21 2013 [VMM][I]: out: Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: info : libvirt version: 0.9.12 Thu Jun 20 18:24:21 2013 [VMM][I]: 2013-06-20 14:24:21.739+: 28998: warning : virVMXFormatVNC:3230 : VNC port 6019 it out of [5900..5964] range Thu Jun 20 18:24:21 2013 [VMM][I]: error: Failed to define domain from /var/lib/one/vms/119/deployment.0 Thu Jun 20 18:24:21 2013 [VMM][I]: error: internal error HTTP response code 403 for upload to ' https://192.168.1.53:443/folder/119%2fdisk%2e0/one%2d119.vmx?dcPath=ha%2ddatacenterdsName=0 ' Thu Jun 20 18:24:21 2013 [VMM][I]: Thu Jun 20 18:24:21 2013 [VMM][I]: ExitCode: 255 Thu Jun 20 18:24:21 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Can anyone help me with this? Thanks in advance! -- Tel: +79060665574 ICQ: 380264507 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- С уважением, Евгений