Re: [one-users] Hybrid deployments with Deltacloud
Daniel, I know thet EC2 is supported but I have thought that some implementations of EC2 might be not comptaibile and in OpenNebula only Amazon access interface is supported. From what you wrote I understand that different deployments of OpenNebula can be integrated trough utilisation of EC2. Is this correct? Marcin Hi, Currently the OpenNebula distribution just includes drivers to interact with EC2 clouds, but it would not be difficult to develop a new driver to interact with the deltacloud API. We can even create a new addon [1] for this and I can give you some guidelines on how to develop this driver. Basically you should create a new VMM_MAD based on the ec2 driver: https://github.com/OpenNebula/one/tree/master/src/vmm_mad/remotes/ec2 The ec2_driver.rb is the library that interacts with the EC2 API and each script (deploy, reboot...) uses this library to send the ec2 commands. If you have any doubts do not hesitate to ask me. Cheers [1] http://opennebula.org/addons:addons On 7 November 2013 15:56, Marcin Jarzab m...@agh.edu.pl mailto:m...@agh.edu.pl wrote: Hello, I just installed the Deltacloud service and wondering if OpenNebula can be integrated with service in such way that inside hosts there can be configured external cloud installation. Such configuration is supported by the EC2 driver when using Amazon clouds. In the following blog there is elaborated such deployment but how this can be achieved? http://blog.opennebula.org/?p=569 Marcin -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl mailto:m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone:+48 (12) 328 33 72 tel:%2B48%20%2812%29%20328%2033%2072 == ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Hybrid deployments with Deltacloud
Hello, I just installed the Deltacloud service and wondering if OpenNebula can be integrated with service in such way that inside hosts there can be configured external cloud installation. Such configuration is supported by the EC2 driver when using Amazon clouds. In the following blog there is elaborated such deployment but how this can be achieved? http://blog.opennebula.org/?p=569 Marcin -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Java OCA - Get host for VM
Hello, What is the Java OCA API to get the host on which VM is running? In the Vm.info() method there are only data about VM template. m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Video RAM settings for VMware
]: Successfully execute network driver operation: pre. Mon Oct 15 09:37:48 2012 [VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/52/deployment.0 172.17.70.38 52 172.17.70.38 Mon Oct 15 09:37:48 2012 [VMM][E]: deploy: Error executing: virsh -c 'esx://172.17.70.38/?no_verify=1auto_answer=1' define /var/lib/one/52/deployment.0 err: ExitCode: 1 Mon Oct 15 09:37:48 2012 [VMM][I]: out: Mon Oct 15 09:37:48 2012 [VMM][I]: error: Failed to define domain from /var/lib/one/52/deployment.0 Mon Oct 15 09:37:48 2012 [VMM][I]: error: internal error Unknown driver name 'file' - This may be related to bad default values. Could you check your /etc/one/vmm_exec/vmm_exec_vmware.conf, and comment or erase the following line DISK = [ DRIVER = file ] Regards, -Tino The driver 'file is not related to vga anyway. CPU=2 DISK=[ BUS=scsi, IMAGE=Win2K8r2-TD-Image-v4, IMAGE_UNAME=oneadmin, TARGET=sda ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=3024 NAME=TD-Win2K8r2-VM-Template-vmxnet3 NIC=[ MODEL=vmxnet3, NETWORK=SBvNet-td-reserved1-210_220, NETWORK_UNAME=oneadmin ] OS=[ ARCH=i686 ] RAW=[ DATA=devicesvideomodel type='vmvga' vram='16384000'//video/devices, TYPE=vmware ] TEMPLATE_ID=7 VCPU=2 Libvirt domain config: --- domain type='vmware' nameone-52/name vcpu2/vcpu memory3096576/memory os type arch='i686'hvm/type /os devices disk type='file' device='disk' source file='[0] 52/disk.0/disk.vmdk'/ target dev='sda' bus='scsi'/ driver name='file'/ /disk disk type='file' device='cdrom' source file='[0] 52/disk.1.iso'/ target dev='hdb'/ readonly/ /disk interface type='bridge' source bridge='usr-dsrg-td-reserved1'/ mac address='02:00:ac:11:4d:d4'/ model type='vmxnet3'/ /interface graphics type='vnc' listen='0.0.0.0' port='5952'/ /devices devicesvideomodel type='vmvga' vram='16384000'//video/devices /domain --- Hi, The translation is not performed by a script but rather the OpenNebula core. What you are looking for resides in src/vmm/LibVirtDriverVMware.cc in the source core. Regards, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Wed, Sep 26, 2012 at 12:30 PM, Marcin Jarzabm...@agh.edu.pl wrote: Tino, Could you provide the information about the ONE script which is responsible for translation of the input data and creation of domain xml file? In case of problem I want to get into the source code:-) Hi Marcin, The RAW attribute will instruct OpenNebula to pass the information down to libvirt, and this is true also for the VMware drivers. I haven't tried this myself, but I think libvrit should pass this correctly to the ESX, and thus it should work. I would be interested in knowing if you succeeded with a template including the RAW attribute you pasted, changing KVM for VMWARE. Regards, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Wed, Sep 26, 2012 at 12:47 AM, Marcin Jarzabm...@agh.edu.pl wrote: Hello, I'm getting such an error: error: Failed to start domain one-41 Tue Sep 25 15:45:27 2012 [VMM][I]: error: internal error Could not start domain: GenericVmConfigFault - Insufficient video RAM. The maximum resolution of the virtual machine will be limited to 1176x885. To use the configured maximum resolution of 2560x1600, increase the amount of video RAM allocated to this virtual machine by setting svga.vramSize=16384000 in the virtual machine's configuration file. In google (http://www.digipedia.pl/usenet/thread/11667/7791/) I found sth. about the RAW section: RAW = [ TYPE=KVM, DATA=videomodel type='cirrus' vram='16384' heads='1'/address type='pci' domain='0x' bus='0x00' slot='0x02' function='0x0'//video] Does it work for vmware? -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12
[one-users] VMware network interface type
Hello, In VMWare there are several network interfaces types: http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1001805 http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1001805 What's the attribute name (RAW?) in the VM template descriptor to specify the type? My current default setting is the Flexible type which leads to problem in the recognizing the NIC and loading the correct driver . mj -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Debian 6.0.5 / Xen 4.0 / OpenNebula 3.6
the tap:aio devices. I already replaced the package xen-utils-common as described in this forum. Can anybody give me some advice? Could you try the solution proposed in this thread? http://lists.opennebula.org/pipermail/users-opennebula.org/2012-June/009133.html Cheers ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Hybrid Cloud with some instances of OpenNebula
Hello, There are some tutorials describing hybrid cloud setup of OpenNebula and Amazon AWS. As far I understand vmm and im ec2 drivers are implemented for compatibility with AWS EC2? I'm wondering what about compatibility of EC2 exposed by the OpenNebula. If ruby one_vmm_ec2.rb script is able to interact with OpenNebula Ec2? Maybe there are some tutorials describing hybrid cloud setup consisting of two OpenNebula installations. I suppose the the biggest challenge is to configure EC2 plugin and HTTPS connector including PKI? -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Xen deployment problems
I tried to deploy VM on the XEN platform and have some problems. Platform is Ubuntu 12.04 (frontend and Xen hypervisor) with the NFS shared storage configuration. The deployment file: name = 'one-8' #O CPU_CREDITS = 256 memory = '1024' vcpus = '1' bootloader = /usr/lib/xen/boot/hvmloader disk = [ 'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.0,hdc,r', 'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.1,hda,w', ] vif = [ ' mac=02:00:ac:11:44:64,ip=172.17.68.100,bridge=xenbr0', ] vfb = ['type=vnc,vncdisplay=8'] disk.0: file /srv/cloud/one/var//datastores/0/8/disk.0 /srv/cloud/one/var//datastores/0/8/disk.0: # ISO 9660 CD-ROM filesystem data 'Ubuntu-Server 12.04 LTS i386' (bootable) disk.1: ../../1/ba1b95fee731571dca7d57feeba62dec: Linux rev 1.0 ext2 filesystem data, UUID=65f7eae2-efd4-43ce-80f2-5c8ed8075e9c (large files) 1. When using SunStone I got the first error related to permissions: ## ++ basename /var/tmp/one/vmm/xen/deploy Thu May 31 13:30:45 2012 [VMM][I]: ++ SCRIPT_NAME=deploy Thu May 31 13:30:45 2012 [VMM][I]: + domain=/srv/cloud/one/var//datastores/0/8/deployment.0 Thu May 31 13:30:45 2012 [VMM][I]: ++ dirname /srv/cloud/one/var//datastores/0/8/deployment.0 Thu May 31 13:30:45 2012 [VMM][I]: + mkdir -p /srv/cloud/one/var//datastores/0/8 Thu May 31 13:30:45 2012 [VMM][I]: + cat Thu May 31 13:30:45 2012 [VMM][I]: ++ sudo /usr/sbin/xm create /srv/cloud/one/var//datastores/0/8/deployment.0 Thu May 31 13:30:45 2012 [VMM][I]: Error: Disk isn't accessible /srv/cloud/one/var//datastores/0/8/disk.0 Thu May 31 13:30:45 2012 [VMM][I]: + output='Using config file /srv/cloud/one/var//datastores/0/8/deployment.0.' Thu May 31 13:30:45 2012 [VMM][I]: + error_exit 1 'Unable to create domain' Thu May 31 13:30:45 2012 [VMM][I]: + exit_code=1 Thu May 31 13:30:45 2012 [VMM][I]: + message='Unable to create domain' Thu May 31 13:30:45 2012 [VMM][I]: + '[' x1 '!=' x0 ']' Thu May 31 13:30:45 2012 [VMM][I]: + error_message Unable to create domain Thu May 31 13:30:45 2012 [VMM][I]: + echo 'ERROR MESSAGE --8--' Thu May 31 13:30:45 2012 [VMM][E]: + echo Unable ### 2. After logging on the target machine I run the regular Xen command and it seems that there are problems with files permissions. sudo /usr/sbin/xm create /srv/cloud/one/var//datastores/0/8/deployment.0 Error: Disk isn't accessible /srv/cloud/one/var//datastores/0/8/disk.0 oneadmin@host$ ls -al /srv/cloud/one/var//datastores/0/8/disk.0 -rw-r- 1 oneadmin cloud 705998848 May 31 13:30 /srv/cloud/one/var//datastores/0/8/disk.0 How to solve the permission problem to be set automatically by the ONE. 3. After channging the mode to 644 the command starts but it hangs: DEBUG (XendBootloader:113) Launching bootloader as [\047/usr/lib/xen/boot/hvmloader\047, \047--output=/var/run/xend/boot/xenbl.11066\047, \047-q\047, \047/srv/cloud/one/var//datastores/0/8/disk.0\047]. [2012-06-01 10:10:43 1341] TRACE (XendDomainInfo:3525) XendDomainInfo.update({\047paused\047: 0, \047cpu_time\047: 273759722900L, \047ssidref\047: 0, \047hvm\047: 0, \047shutdown_reason\047: 255, \047dying\047: 0, \047mem_kb\047: 523908L, \047domid\047: 0, \047max_vcpu_id\047: 7, \047crashed\047: 0, \047running\047: 1, \047maxmem_kb\047: 524288L, \047shutdown\047: 0, \047online_vcpus\047: 8, \047handle\047: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], \047cpupool\047: 0, \047blocked\047: 0}) on domain 0 Any idea why the VM hangs during boot up process? -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org