[one-users] device onebrxxxx alreay exists can't create bridge with the same name
Hi everyone! I find a problem when we create two or more instances on one host at the same time,we meet the error device onebr alreay exists can't create bridge with the same name. The reason is that instances all try to create their bridge,although they check whether or not their birdge is existed. because it's at the same time, they all get a result that their bridge is not existed, and then they create it. But when they really create, the same bridge has already been created by other instances. Has the problem been fixed now? I use opennebula-3.8.1. Look forward your answers! dylan.___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC/ssh is not working
Hi Bendix, Any reason of using OpenNebula 3.2, lot of bugs have been fixed in newer version. I recommend you to upgrade to the lastest one OpenNebula 4.4 Cheers On 10 December 2013 15:06, Bendix Harries bendix_harr...@web.de wrote: Hi, i set up opennebula several times now, but for some reason this time I can't ssh into the ttylinux vm. I tried to install noVNC, because I thought there could be a problem with the contextualization, maybe the public IP wasn't set correctly. Because the noVNC install script is located in /usr/share/opennebula/sunstone I changed the noVNC install script to the following: if [ -z $ONE_LOCATION ]; then ONE_SHARE=/usr/share/opennebula ONE_PUBLIC_SUNSTONE=/usr/lib/one/sunstone/public SUNSTONE_CONF=/etc/one/sunstone-server.conf else Otherwise there was an error during installing. After installing vnc, I was able to see the vnc icon in sunstone, but when I click it nothing happens. I think there are no errors in the sunstone.log: XXX.XXX.177.212 - - [10/Dec/2013 13:36:38] POST /vm/16/startvnc HTTP/1.1 200 30 0.0009 XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] GET /vmtemplate?timeout=true HTTP/1.1 200 1102 0.0765 XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] GET /group?timeout=true HTTP/1.1 200 291 0.0034 XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] GET /vm?timeout=true HTTP/1.1 200 2343 0.0206 XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] GET /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40 HTTP/1.1 200 81 0.0047 XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] GET /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40 HTTP/1.1 200 71 0.0044 XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] GET /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40 HTTP/1.1 200 81 0.0040 XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] GET /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 HTTP/1.1 200 61 0.0032 XXX.XXX.177.212 - - [10/Dec/2013 13:37:15] GET /host?timeout=true HTTP/1.1 200 1107 0.0131 XXX.XXX.177.212 - - [10/Dec/2013 13:37:19] GET /acl?timeout=true HTTP/1.1 200 377 0.0688 XXX.XXX.177.212 - - [10/Dec/2013 13:37:24] GET /user?timeout=true HTTP/1.1 200 583 0.0310 Further more I am not able to ping the vm which may also be due to the fact that the contextualization is not correct. Here is the ttylinux.one file: GNU nano 2.2.6 File: ttylinux.one NAME = ttylinux CPU= 0.1 MEMORY = 64 DISK = [ IMAGE_ID = 8 ] NIC= [ NETWORK = Small network ] FEATURES= [ acpi=no ] GRAPHICS = [ TYPE= vnc, LISTEN = 0.0.0.0 ] CONTEXT = [ hostname= $NAME, ip_public = XXX.XXX.177.152, files = /ttylinux/init.sh /ttylinux/id_rsa.pub, target = hdc, root_pubkey = id_rsa.pub, username= opennebula, user_pubkey = id_rsa.pub ] The Vm.log is also fine I think: Tue Dec 10 12:48:00 2013 [DiM][I]: New VM state is ACTIVE. Tue Dec 10 12:48:00 2013 [LCM][I]: New VM state is PROLOG. Tue Dec 10 12:48:05 2013 [TM][D]: tm_clone.sh: FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5 XXX.XXX.177.150:/var/lib/one//16/images/disk.0 Tue Dec 10 12:48:05 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//16/images/disk.0 Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//16/images Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed ssh XXX.XXX.177.150 mkdir -p /var/lib/one//16/images. Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Cloning FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5 Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed scp FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5 147.172.177.150:/var/lib/one//16/images/disk.0. Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed ssh XXX.XXX.177.150 chmod a+rw /var/lib/one//16/images/disk.0. Tue Dec 10 12:48:05 2013 [TM][I]: ExitCode: 0 Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed mkdir -p /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed cp -R /var/lib/one/16/context.sh /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed cp -R /ttylinux/init.sh /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed cp -R /ttylinux/id_rsa.pub /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed genisoimage -o /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/disk.1 -J -R /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed scp /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/disk.1 XXX.XXX.177.150:/var/lib/one//16/images/disk.1. Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed rm -rf
Re: [one-users] two instances are sunstone one FN
Hi, I don't really get your scenario, could you elaborate it a bit more? Cheers On 10 December 2013 12:42, Alexandr telecastcl...@gmail.com wrote: Dear list! I want to solve the following problem. I need to make two instances are sunstone one FN - sunstone for example, one password and one for authorization means X509? Is it possible to do it on one frontend? And if so, how this can be done? Thank you! -- -- Regard, Alexandr. ___ Users mailing list 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 | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] two instances are sunstone one FN
On 12/11/2013 01:38 PM, Daniel Molina wrote: Hi, I don't really get your scenario, could you elaborate it a bit more? is it possible to install two sunstone instances on a single front-end? Cheers On 10 December 2013 12:42, Alexandr telecastcl...@gmail.com mailto:telecastcl...@gmail.com wrote: Dear list! I want to solve the following problem. I need to make two instances are sunstone one FN - sunstone for example, one password and one for authorization means X509? Is it possible to do it on one frontend? And if so, how this can be done? Thank you! -- -- Regard, Alexandr. ___ 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 -- -- Regard, Alexandr. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] two instances are sunstone one FN
On 11 December 2013 12:02, Alexandr telecastcl...@gmail.com wrote: On 12/11/2013 01:38 PM, Daniel Molina wrote: Hi, I don't really get your scenario, could you elaborate it a bit more? is it possible to install two sunstone instances on a single front-end? You cannot start more than one sunstone instance, if you are using passenger to run sunstone it will instantiate serveral server instances but they will use the same configuration. If you want to run more than one server configuration you have to install a different sunstone in self-contained (assuming you installed the first one system-wide/packages). To do this you have to install sunstone from source [1]. Download the git repository and execute the install.sh script with the following flags: ./install.sh -s -d CUSTOM_LOCATION You will have to define the ONE_LOCATION env var, before starting this sunstone server, and unset it for the other one. Hope this helps [1] http://opennebula.org/documentation:rel4.4:suns_advance#deploying_sunstone_in_a_different_machine Cheers On 10 December 2013 12:42, Alexandr telecastcl...@gmail.com wrote: Dear list! I want to solve the following problem. I need to make two instances are sunstone one FN - sunstone for example, one password and one for authorization means X509? Is it possible to do it on one frontend? And if so, how this can be done? Thank you! -- -- Regard, Alexandr. ___ Users mailing list 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 | dmol...@opennebula.org | @OpenNebula -- -- Regard, Alexandr. -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] First login to OpenNebula Sunstone
Thank you for your answer I'm getting No host with enough capacity to deploy the VM Is this cpu, memory, cache capacity being the problem? I have no capacity problem creating an image using qemu-img and kvm creating the server using iso file outside the Opennebula on the same server. Googling does not seem to give an exact explanation. TIA Regards Poul 2013/9/6 Carlos Martín Sánchez cmar...@opennebula.org Hi, On Thu, Sep 5, 2013 at 8:33 PM, Poul Kristensen bcc5...@gmail.com wrote: Could someone mail default username and pw? The installation process creates the authentication file ~/.one/one_auth with a random password [1]. Regards. [1] http://opennebula.org/documentation:rel4.2:ignc#starting_opennebula_front-end -- Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26 September, 2013 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Thu, Sep 5, 2013 at 8:33 PM, Poul Kristensen bcc5...@gmail.com wrote: God Evening from DK Could someone mail default username and pw? Or do I have to create one myself? TIA Poul ___ 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
Re: [one-users] First login to OpenNebula Sunstone
Hi, What does /var/log/one/sched.conf say? Maybe you don't have any host with enough capacity because hosts are filtered out for some reason. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 11, 2013 at 12:15 PM, Poul Kristensen bcc5...@gmail.com wrote: Thank you for your answer I'm getting No host with enough capacity to deploy the VM Is this cpu, memory, cache capacity being the problem? I have no capacity problem creating an image using qemu-img and kvm creating the server using iso file outside the Opennebula on the same server. Googling does not seem to give an exact explanation. TIA Regards Poul 2013/9/6 Carlos Martín Sánchez cmar...@opennebula.org Hi, On Thu, Sep 5, 2013 at 8:33 PM, Poul Kristensen bcc5...@gmail.com wrote: Could someone mail default username and pw? The installation process creates the authentication file ~/.one/one_auth with a random password [1]. Regards. [1] http://opennebula.org/documentation:rel4.2:ignc#starting_opennebula_front-end -- Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26 September, 2013 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Thu, Sep 5, 2013 at 8:33 PM, Poul Kristensen bcc5...@gmail.comwrote: God Evening from DK Could someone mail default username and pw? Or do I have to create one myself? TIA Poul ___ 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
Re: [one-users] R: Re: Sunstone problem after upgrading form 4.2 to 4.4
Could you check if there is any errors in the browser console? and could you send us your sunstone-server.conf Cheers On 10 December 2013 20:35, Giovanni Ponti giovanni.po...@enea.it wrote: I backupped oned.conf and correctly update it after upgrading. Database updating process was also correct. I've a mysql one. As I previously said, cli one commands are correctly executed, so I think that db upgrading was ok -- Ing. Giovanni Ponti, Ph.D. ENEA UTICT-HPC Messaggio originale Da: Campbell, Bill bcampb...@axcess-financial.com Data: 10/12/2013 17:55 (GMT+01:00) A: Giovanni Ponti giovanni.po...@enea.it Cc: users@lists.opennebula.org Oggetto: Re: [one-users] Sunstone problem after upgrading form 4.2 to 4.4 As Carlos suggested, are you using MySQL for a database? Were you able to validate whether the /etc/one/oned.conf file was overwritten and possibly a new SQLite DB wasn't created? -- *From: *Giovanni Ponti giovanni.po...@enea.it *To: *users@lists.opennebula.org *Sent: *Tuesday, December 10, 2013 11:49:37 AM *Subject: *Re: [one-users] Sunstone problem after upgrading form 4.2 to 4.4 Can anybody help me? 2013/12/5 Giovanni Ponti giovanni.po...@enea.it It still doesn't work! I also tried with other browser, but the problem remains! Il 05/12/2013 19:37, Campbell, Bill ha scritto: I had the same problem, you may need to delete the contents of your browser cache and try again (some cached objects were causing those problems for me) *From: *Giovanni Ponti giovanni.po...@enea.it *To: *users@lists.opennebula.org *Sent: *Thursday, December 5, 2013 1:01:24 PM *Subject: *[one-users] Sunstone problem after upgrading form 4.2 to 4.4 I have a problem with the Sunstone interface after upgrading from 4.2 to 4.4. I followed the procedure and everything went right. One daemons are running and VMs are in the correct state and they are reachable via remote connection. The sunstone server started correctly but, after logging in, it does not show any resource, user, datastores, images, network, etc.. I've also checked the sunston-server.conf and all the settings seem to be right, included the :table_order: desc parameter. Thanks in advance for your reply(s)! Giovanni ___ 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.* -- Ing. Giovanni Ponti, PhD UTICT-HPC ENEA - C.R. Portici P.le E. Fermi, 1 (Loc. Granatello) 80055 Portici (NA), Italy phone : (+39) 081-7723564 | int.: [89] 2564 fax : (+39) 081-7723344 email : giovanni.po...@enea.it web : http://www.afs.enea.it/gponti ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ing. Giovanni Ponti, PhD ___ 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 -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Ceph and thin provision
Hello, I am using ceph with opennebula. I have created a 100gb disk image and I do not understand if it is thin or thick. I hope I can have thin provision. Thanks, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] No system datastore with enough capacity form the VM
Hello, I have created a 100gb image on ceph. My system datastore have few gb free. But image is on ceph so it should not check system datastore free space! I will never have a lot of space on system datastore! Thanks, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] No system datastore with enough capacity form the VM
Hi, Could you paste the contents of the /var/log/one/sched.log file? It should have the amount of space that the VM needs for the system and image datastores. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 11, 2013 at 12:31 PM, Mario Giammarco mgiamma...@gmail.comwrote: Hello, I have created a 100gb image on ceph. My system datastore have few gb free. But image is on ceph so it should not check system datastore free space! I will never have a lot of space on system datastore! Thanks, Mario ___ 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
Re: [one-users] VMWare image on ONE 4.4
Hello Tino, Yes, I have a bridge_list with this datastore. And yes, the datastore seems to be successfully monitored Wed Dec 11 13:06:15 2013 [ImM][D]: Datastore default (1) successfully monitored. Here are the output of the show command DATASTORE ID1/ID UID0/UID GID0/GID UNAMEoneadmin/UNAME GNAMEoneadmin/GNAME NAMEdefault/NAME PERMISSIONS OWNER_U1/OWNER_U OWNER_M1/OWNER_M OWNER_A0/OWNER_A GROUP_U1/GROUP_U GROUP_M0/GROUP_M GROUP_A0/GROUP_A OTHER_U1/OTHER_U OTHER_M0/OTHER_M OTHER_A0/OTHER_A /PERMISSIONS DS_MADvmfs/DS_MAD TM_MADvmfs/TM_MAD BASE_PATH/var/lib/one/datastores/1/BASE_PATH TYPE0/TYPE DISK_TYPE0/DISK_TYPE CLUSTER_ID-1/CLUSTER_ID CLUSTER/ TOTAL_MB0/TOTAL_MB FREE_MB0/FREE_MB USED_MB0/USED_MB IMAGES ID4/ID /IMAGES TEMPLATE BASE_PATH![CDATA[/vmfs/volumes/]]/BASE_PATH BRIDGE_LIST![CDATA[gn905cb]]/BRIDGE_LIST CLONE_TARGET![CDATA[SYSTEM]]/CLONE_TARGET DISK_TYPE![CDATA[FILE]]/DISK_TYPE DS_MAD![CDATA[vmfs]]/DS_MAD LN_TARGET![CDATA[NONE]]/LN_TARGET TM_MAD![CDATA[vmfs]]/TM_MAD TYPE![CDATA[IMAGE_DS]]/TYPE /TEMPLATE /DATASTORE On Tue, Dec 10, 2013 at 4:24 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi Eduardo, Ok, we need to focus on this error then, seems like the monitoring of the host datastores is not working. Did you use a BRIDGE_LIST for the datastore template? Please send us the output of $ onedatastore show ds_id -x where ds_id is the id of the vmfs images datastore that claims it doesn't have space. Also, can you check if you see message in /var/log/one/oned.log resembling [ImM][D]: Datastore ds_name (ds_id) successfully monitored. If not, please send the error (with the previous and next 10 lines). Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Mon, Dec 9, 2013 at 5:45 PM, Eduardo Roloff rol...@gmail.com wrote: Tino, When I try to use a vmfs volume for image repository, It not works. I follow the instructions on the documentation, but ONE can't get the size of the volume. When I try to upload an image to this datastore, I receive the message not enough space Mon Dec 9 17:43:59 2013 [ReM][E]: Req:192 UID:0 ImageAllocate result FAILURE Not enough space in datastore Eduardo On Mon, Dec 9, 2013 at 1:50 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi Eduardo. On Mon, Dec 9, 2013 at 4:09 PM, Eduardo Roloff rol...@gmail.com wrote: DS_MADfs/DS_MAD That's the problem. The images datastore for VMware _must_ have a 'vmfs' DS drivers (as well as a BRIDGE_LIST). This explains why the .vmdk is getting renamed (as the 'fs' ds drivers don't know howto perform this renaming. Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ 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
[one-users] Cannot Create VMs
We are running ON version 3.8.1 and are not able to create VMs. The instantiation fails in different places, but here's an example of one that hangs in BOOT status: Tue Dec 10 22:36:13 2013 [DiM][I]: New VM state is ACTIVE. Tue Dec 10 22:36:13 2013 [LCM][I]: New VM state is PROLOG. Tue Dec 10 22:37:02 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/85fe9862a9c2f2f75de6d7ed2c024ceb in cday01a10:/var/lib/one//datastores/0/383/disk.0 Tue Dec 10 22:37:02 2013 [TM][I]: ExitCode: 0 Tue Dec 10 22:37:10 2013 [TM][I]: mkimage: Making filesystem of 25600M and type ext3 at cday01a10:/var/lib/one//datastores/0/383/disk.1 Tue Dec 10 22:37:10 2013 [TM][I]: ExitCode: 0 Tue Dec 10 22:37:11 2013 [TM][I]: context: Generating context block device at cday01a10:/var/lib/one//datastores/0/383/disk.2 Tue Dec 10 22:37:11 2013 [TM][I]: ExitCode: 0 Tue Dec 10 22:37:11 2013 [LCM][I]: New VM state is BOOT Tue Dec 10 22:37:11 2013 [VMM][I]: Generating deployment file: /var/lib/one/383/deployment.0 In log files under /var/log/libvirt/qemu we are seeing this error: block I/O error in device 'drive-ide0-0-0': Bad file descriptor (9) Also, in /var/log/one/oned.log, there are references to Duplicate key entries: error 1062 : Duplicate entry '97-1368677892' for key 'PRIMARY' Any suggestions would be appreciated. --Mike ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM in boot state for a very long time
This can be caused by several things. * There are already 15 actions being done by the VMM. By default the drivers are only allowed to execute 15 actions at the same time and the next actions are enqueued. Have you launched a batch of actions to lots of VMs? * There is already an action being executed in that host that is hanging. The drivers only execute one action per Host at the same time as sometimes libvirt does not play well with several actions. Can you check that there is no hanging action script executing in that host? A ps and check for script executions from /var/tmp/one is a good way to check for them. * The virtual network drivers are taking too much time. What are the network drivers you are using? Cheers On Tue, Dec 10, 2013 at 5:54 PM, Liu, Guang Jun (Gene) gene@alcatel-lucent.com wrote: Hi there, I am running 4.2 (RHEL6.4, KVM). I experienced that VM stays in BOOT state for a very long time (~15 minutes). The image copy is fast (VM state goes to BOOT from prolog). There is not any log and the servers (both the computing node/host, and one front-server) are idle. Can anyone suggest me where I should look at to figure out the cause of VM in BOOT so long? Thanks very much! -- Gene Liu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM in boot state for a very long time
Hi Javier, Thank you for your reply! After read this blog http://blog.opennebula.org/?p=3473 I started to concern some settings of my system. The test (a demo/show for my testing organization management team) I performed was that 20 VMs were initiated as a batch. We have 4 hosts as computing nodes. We use linux bridge network w/ external DHCP server. (we chose network mode as default) I use all the default settings from a fresh new installation. I tried to tune some of the parameters in oned.conf and sched.conf as below -- oned.conf: MANAGER_TIMER = 30 MONITORING_INTERVAL = 60 MONITORING_THREADS = 50 IM_MAD = [ name = kvm, executable = one_im_ssh, arguments = -r 0 -t 40 kvm ] VM_MAD = [ name = kvm, executable = one_vmm_exec, arguments = -t 40 -r 0 kvm, default= vmm_exec/vmm_exec_kvm.conf, type = kvm ] TM_MAD = [ executable = one_tm, arguments = -t 200 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph ] DATASTORE_MAD = [ executable = one_datastore, arguments = -t 200 -d dummy,fs,vmfs,iscsi,lvm,ceph ] HM_MAD = [ executable = one_hm ] sched.conf: SCHED_INTERVAL = 180 MAX_VM = 300 MAX_DISPATCH = 200 MAX_HOST = 1 LIVE_RESCHEDS = 0 HYPERVISOR_MEM = 0.1 DEFAULT_SCHED = [ policy = 0, RANK = RUNNING_VMS ] Regards, Gene Liu On Wed 11 Dec 2013 08:54:31 AM EST, Javier Fontan wrote: This can be caused by several things. * There are already 15 actions being done by the VMM. By default the drivers are only allowed to execute 15 actions at the same time and the next actions are enqueued. Have you launched a batch of actions to lots of VMs? * There is already an action being executed in that host that is hanging. The drivers only execute one action per Host at the same time as sometimes libvirt does not play well with several actions. Can you check that there is no hanging action script executing in that host? A ps and check for script executions from /var/tmp/one is a good way to check for them. * The virtual network drivers are taking too much time. What are the network drivers you are using? Cheers On Tue, Dec 10, 2013 at 5:54 PM, Liu, Guang Jun (Gene) gene@alcatel-lucent.com wrote: Hi there, I am running 4.2 (RHEL6.4, KVM). I experienced that VM stays in BOOT state for a very long time (~15 minutes). The image copy is fast (VM state goes to BOOT from prolog). There is not any log and the servers (both the computing node/host, and one front-server) are idle. Can anyone suggest me where I should look at to figure out the cause of VM in BOOT so long? Thanks very much! -- Gene Liu ___ 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
[one-users] Monitoring of a host can fail during a VM shutdown
Hello, On a ONE 4.2, we just encountered an transiant issue: [InM][I]: Monitoring host grichka (9) [InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 9 grichka; else exit 42; fi' [InM][I]: error: failed to get domain 'one-1547' [InM][I]: error: Domain not found: no domain with matching name 'one-1547' [InM][I]: ../../vmm/kvm/poll:70:in `block in get_vm_info': undefined method `[]' for nil:NilClass (NoMethodError) [InM][I]: from ../../vmm/kvm/poll:68:in `each' [InM][I]: from ../../vmm/kvm/poll:68:in `get_vm_info' [InM][I]: from ../../vmm/kvm/poll:35:in `get_all_vm_info' [InM][I]: from ../../vmm/kvm/poll:401:in `print_all_vm_template' [InM][I]: from ../../vmm/kvm/poll:440:in `main' [InM][E]: Error executing poll.sh [InM][I]: ExitCode: 1 [ONE][E]: Error monitoring Host grichka (9): Error executing poll.sh It looks like something list all the running VM and then call “get_vm_info” for each one. This result in an error if the VM disappears in the meantime, because of a shutdown for example. Is this something plausible, in which case I'll open an issue on the bug tracker? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpkL8XquZvt6.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VMWare image on ONE 4.4
Hi Eduardo, On Wed, Dec 11, 2013 at 1:08 PM, Eduardo Roloff rol...@gmail.com wrote: BASE_PATH/var/lib/one/datastores/1/BASE_PATH That's probably the reason why the DS is not getting properly monitored. The BASE_PATH needs to point to /vmfs/volumes, you can set it at DS creation time by adding it to the DS template. Best, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Snapshots and other.....
Hi, That's not looking good, the VM should not go to UNKNOWN after the snapshot... What is the output of virsh while the VM is in unknown? Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Mon, Dec 9, 2013 at 2:24 PM, Giancarlo De Filippis gdefilip...@ltbl.itwrote: Hi all, i've scheduled a snapshot-creation: (in snapshots view) *snapshot-create* *9/12/2013 12:00:00* *9/12/2013 12:00:21* It seems terminate after 21 seconds. If i look in VM log i see: Mon Dec 9 *12:48:58 2013 [VMM][I]: VM Snapshot successfully created.* Mon Dec 9 12:48:59 2013 [VMM][I]: VM running but it was not found. Boot and delete actions available or try to recover it manually Mon Dec 9 12:48:59 2013 [LCM][I]: New VM state is UNKNOWN Mon Dec 9 12:49:19 2013 [VMM][I]: VM found again, state is RUNNING . After 48 minutes. How i can check for this delay Image is qcow2, on kvm opennebula 4.4 and a shared storage glusterfs mounted on /var/lib/one/datastores. Another trouble tha vm clock ha a delay of about 60 minutesand i see this message with DMESG: Clocksource tsc unstable... Someone can help me Thanks... Cheers Giancarlo ___ 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
Re: [one-users] VMWare image on ONE 4.4
Tino, But I have the same configuration with datastore 0 and it works. Also I set the BASE_PATH in the template after the creation (they are the default datastores). BASE_PATH![CDATA[/vmfs/volumes]]/BASE_PATH Here is the output for the show command of the datastore 0 DATASTORE ID0/ID UID0/UID GID0/GID UNAMEoneadmin/UNAME GNAMEoneadmin/GNAME NAMEsystem/NAME PERMISSIONS OWNER_U1/OWNER_U OWNER_M1/OWNER_M OWNER_A0/OWNER_A GROUP_U1/GROUP_U GROUP_M0/GROUP_M GROUP_A0/GROUP_A OTHER_U0/OTHER_U OTHER_M0/OTHER_M OTHER_A0/OTHER_A /PERMISSIONS DS_MAD-/DS_MAD TM_MADvmfs/TM_MAD BASE_PATH/var/lib/one/datastores/0/BASE_PATH TYPE1/TYPE DISK_TYPE0/DISK_TYPE CLUSTER_ID-1/CLUSTER_ID CLUSTER/ TOTAL_MB511744/TOTAL_MB FREE_MB510771/FREE_MB USED_MB973/USED_MB IMAGES/ TEMPLATE BASE_PATH![CDATA[/vmfs/volumes]]/BASE_PATH SHARED![CDATA[YES]]/SHARED TM_MAD![CDATA[vmfs]]/TM_MAD TYPE![CDATA[SYSTEM_DS]]/TYPE /TEMPLATE /DATASTORE On Wed, Dec 11, 2013 at 12:53 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi Eduardo, On Wed, Dec 11, 2013 at 1:08 PM, Eduardo Roloff rol...@gmail.com wrote: BASE_PATH/var/lib/one/datastores/1/BASE_PATH That's probably the reason why the DS is not getting properly monitored. The BASE_PATH needs to point to /vmfs/volumes, you can set it at DS creation time by adding it to the DS template. Best, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Snapshots and other.....
Hi, the VM after is correctly running. But my question is: it's normal that the snapshot take 48 minutes and not 21 seconds as indicated in snapshot view? Il 11/12/2013 16:17, Carlos Martín Sánchez ha scritto: Hi, That's not looking good, the VM should not go to UNKNOWN after the snapshot... What is the output of virsh while the VM is in unknown? Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | cmar...@opennebula.org mailto:cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula On Mon, Dec 9, 2013 at 2:24 PM, Giancarlo De Filippis gdefilip...@ltbl.it mailto:gdefilip...@ltbl.it wrote: Hi all, i've scheduled a snapshot-creation: (in snapshots view) *snapshot-create* *9/12/2013 12:00:00**9/12/2013 12:00:21* It seems terminate after 21 seconds. If i look in VM log i see: Mon Dec 9 *12:48:58 2013 [VMM][I]: VM Snapshot successfully created.* Mon Dec 9 12:48:59 2013 [VMM][I]: VM running but it was not found. Boot and delete actions available or try to recover it manually Mon Dec 9 12:48:59 2013 [LCM][I]: New VM state is UNKNOWN Mon Dec 9 12:49:19 2013 [VMM][I]: VM found again, state is RUNNING . After 48 minutes. How i can check for this delay Image is qcow2, on kvm opennebula 4.4 and a shared storage glusterfs mounted on /var/lib/one/datastores. Another trouble tha vm clock ha a delay of about 60 minutesand i see this message with DMESG: Clocksource tsc unstable... Someone can help me Thanks... Cheers Giancarlo ___ Users mailing list Users@lists.opennebula.org mailto: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
Re: [one-users] NFS datastore file system
Hi Neelaya, that's actually a good question. Yes, you need to be able to ssh to the same host. cheers, Jaime On Wed, Dec 4, 2013 at 5:33 AM, Neelaya Dhatchayani neels.v...@gmail.comwrote: Hi Jaime, Thanks. My doubt is if my frontend is installed in a host called onedaemon, should i ve to ssh passwordless from onedaemon to onedaemon sorry if my question is silly.. regards neelaya On Tue, Dec 3, 2013 at 5:23 PM, Jaime Melis jme...@c12g.com wrote: Hi, Please reply to the mailing list as well. Yes. It is a basic requirement that all the nodes (frontend + hypervisors) should have a oneadmin account, and they should be able to ssh passwordlessly from any node to any other node. cheers, Jaime On Tue, Dec 3, 2013 at 12:39 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Jaime, Thanks a lot for your reply. I have one more doubt. Should I have to ssh passwordless to the frontend if I am using ssh transfer manager. I know that it has to be done for the hosts. neelaya On Tue, Dec 3, 2013 at 4:51 PM, Jaime Melis jme...@c12g.com wrote: Hi Neelaya, the frontend and the nodes must share /var/lib/one/datastores. Any node can export this share, preferably a NAS system, but if you don't have been, you can export it from the frontend. cheers, Jaime On Tue, Dec 3, 2013 at 12:16 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Can anyone tell me what has to be done on the frontend and hosts inorder to use shared transfer driver and with respect to NFS. Thanks in advance neelaya ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] tap:aio error
Hi Neelaya, can you please send us the whole vm template? onevm show 9 cheers, Jaime ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Errors, problems when creating VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore
Hi, OpenNebula 4.4 which has been just released has deprectated iSCSI. The main reason is that the tgt iSCSI daemon is not very flexible and we recommend using other storage mechanisms instead. OpenNebula 3.6.0 should be definitetly upgraded to newer versions. Regarding your specific problem, can you please detail what command and image file did you use to create the image? cheers, Jaime On Wed, Dec 4, 2013 at 7:25 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: Dear OpenNebula Community, 1) To create VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore, I create Front-end, NodeServer and iSCSIHost (an iSCSI target VM created within the NodeServer. The IP of iSCSIHost is 192.168.1.7). The required setup, configuration for Front-end, NodeServer and iSCSIHost looks fine. The host, image, vnet and datastore creation under NodeServer are ok (except of the VM creation in below 2) ), but when oneimage show 0, can't see output of SOURCE: iqn.2013-12.iSCSIHost:192.168.1.7.vg-one.lv-one-13 PATH: /var/lib/images/win-xp.qcow2 while only can see SOURCE: /var/lib/images/win-xp.qcow2. the opennebula 3.6.0 used was downloaded in more than one year ago. is it the correct version of opennebula to use? 2) the VM creation is failed and got error executing image transfer script: error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0. Below is the vm.log for this VM creation: Wed Dec 4 17:38:56 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 4 17:38:56 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 4 17:38:56 2013 [TM][I]: Command execution fail: /var/lib/one/var/remotes/tm/iscsi/clone Front-end:/var/lib/image/win-xp-2.qcow2 NodeServer:/var/lib/one/var//datastores/0/0/disk.0 0 101 Wed Dec 4 17:38:56 2013 [TM][E]: clone: Command set -e Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # get size Wed Dec 4 17:38:56 2013 [TM][I]: SIZE=$(sudo lvs --noheadings -o lv_size /dev//var/lib/image/win-xp-2/qcow2) Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # create lv Wed Dec 4 17:38:56 2013 [TM][I]: sudo lvcreate -L${SIZE} /var/lib/image/win-xp-2 -n qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # clone lv with dd Wed Dec 4 17:38:56 2013 [TM][I]: sudo dd if=/dev//var/lib/image/win-xp-2/qcow2 of=/dev//var/lib/image/win-xp-2/qcow2-0 bs=64k Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # new iscsi target Wed Dec 4 17:38:56 2013 [TM][I]: TID=$(sudo tgtadm --lld iscsi --op show --mode target | grep Target | tail -n 1 | awk '{split($2,tmp,:); print tmp[1]+1;}') Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode target --tid $TID --targetname Front-end:/var/lib/image/win-xp-2.qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op bind --mode target --tid $TID -I ALL Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode logicalunit --tid $TID --lun 1 --backing-store /dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgt-admin --dump |sudo tee /etc/tgt/targets.conf /dev/null failed: ssh: Could not resolve hostname /var/lib/image/win-xp-2.qcow2: Name or service not known Wed Dec 4 17:38:56 2013 [TM][E]: Error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: ExitCode: 255 Wed Dec 4 17:38:56 2013 [TM][E]: Error executing image transfer script: Error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [DiM][I]: New VM state is FAILED 3) the iSCSI INITIATOR is only installed in the NodeServer. the tgt (for tgt admin) is only installed in the iSCSIHost, so the /etc/tgt/targets.conf is only in the iSCSIHost. From the result, it doesn't look like the Front-end and NodeServer can well communicate with the iSCSIHost, can access the iSCSI storage partition created under the iSCSIHost target. It is much appreciated if anyone can help with the above. Thanks kindly, Q.S. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and
Re: [one-users] How to use ceph filesystem
Hi Mario, yes, the problem is that the datastore space reported by Ceph is the aggregate of all the pools, you can't ask for the available space of a specific pool, as far as I know. Happy to hear it worked in the end. Cheers, Jaime On Tue, Dec 10, 2013 at 7:11 PM, Mario Giammarco mgiamma...@gmail.comwrote: Sorry I this is my fault. I have created an rbd called one and not a pool. Now I created a pool called one and it works. Please note that I have found it only looking in logs for an error of qemu-img command. The gui gave me the correct size of the filesystem even without pool one created so I supposed that all was ok. 2013/12/10 Mario Giammarco mgiamma...@gmail.com I have checked the frontend node as oneadmin user. I have tried ceph -w ceph status ceph rbd ls and these commands work. I have also added user oneadmin to disk group. All these checks are ok but I am not able to add nothing to ceph one rbd. With previous installation of 4.2 and same ceph it was all ok. 2013/12/1 kenneth samonte kenn...@apolloglobal.net The first requirement is that the front end node is able to communicate with the ceph cluster. Veriy it by loggin in as the oneadmin user and issue the command ceph -w. The ceph cluster shoul respond HEALTH_OK. Then define it as a datastore in openebula as an image datastore. No further confiuration needed and when you uplaod images to he front end, you should choose the ceph image to save the omages in rbd format. Mario Giammarco mgiamma...@gmail.com wrote: Hello, I am a newbie but I would like to try opennebula with ceph filesystem. I start with default opennebula installation with three datastores: system, default and files. Now, even if they are configured as shared they are not an nfs mount, simply directories on the disk. Now I have installed ceph, I have created a ceph rbd and datastore but then? Should I delete existing repositories? How can I replace them with ceph? Do I need to replace them? Thanks, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] device onebrxxxx alreay exists can't create bridge with the same name
Hi, yes, this is a known bug which is already solved in OpenNebula = 4.0 by implementing locking mechanisms. http://dev.opennebula.org/issues/1722 cheers, Jaime On Wed, Dec 11, 2013 at 9:46 AM, cmcc.dylan dx10ye...@126.com wrote: Hi everyone! I find a problem when we create two or more instances on one host at the same time,we meet the error device onebr alreay exists can't create bridge with the same name. The reason is that instances all try to create their bridge,although they check whether or not their birdge is existed. because it's at the same time, they all get a result that their bridge is not existed, and then they create it. But when they really create, the same bridge has already been created by other instances. Has the problem been fixed now? I use opennebula-3.8.1. Look forward your answers! dylan. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] No system datastore with enough capacity form the VM
Here are some parts of the log, please note that I tried two things: - clean some requirements of the vm (datastore rank stripping); - adding another system datastore (I have one shared and one ssh); - please also note that system datastore with id 0 was never used because it was not part of the cluster or public; - I have also deleted and recreated VM; Wed Dec 11 10:02:06 2013 [SCHED][I]: Init Scheduler Log system Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting Scheduler Daemon Scheduler Configuration File DEFAULT_DS_SCHED=POLICY=1 DEFAULT_SCHED=POLICY=1 HYPERVISOR_MEM=0.1 LIVE_RESCHEDS=0 LOG=DEBUG_LEVEL=3,SYSTEM=file MAX_DISPATCH=30 MAX_HOST=1 MAX_VM=5000 ONED_PORT=2633 SCHED_INTERVAL=30 Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting scheduler loop... Wed Dec 11 10:02:06 2013 [SCHED][I]: Scheduler loop started. Wed Dec 11 10:08:36 2013 [VM][D]: Pending/rescheduling VM and capacity requirements: VM CPU Memory System DS Image DS 4 100 524288 0 DS 100: 0 Wed Dec 11 10:08:36 2013 [HOST][D]: Discovered Hosts (enabled): 0 Wed Dec 11 10:08:36 2013 [SCHED][D]: VM 4: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. Wed Dec 11 10:08:36 2013 [SCHED][I]: Scheduling Results: Virtual Machine: 4 PRI ID - HOSTS 0 0 PRI ID - DATASTORES 1 104 Wed Dec 11 10:08:36 2013 [VM][I]: Dispatching VM 4 to host 0 and datastore 104 Wed Dec 11 10:10:35 2013 [VM][D]: Pending/rescheduling VM and capacity requirements: VM CPU Memory System DS Image DS 5 100 524288 0 DS 100: 0 Wed Dec 11 10:10:35 2013 [HOST][D]: Discovered Hosts (enabled): 0 Wed Dec 11 10:10:35 2013 [SCHED][D]: VM 5: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. Wed Dec 11 10:10:35 2013 [SCHED][I]: Scheduling Results: Virtual Machine: 5 PRI ID - HOSTS 0 0 PRI ID - DATASTORES 1 104 Wed Dec 11 10:10:35 2013 [VM][I]: Dispatching VM 5 to host 0 and datastore 104 Wed Dec 11 11:24:20 2013 [VM][D]: Pending/rescheduling VM and capacity requirements: VM CPU Memory System DS Image DS 6 100 1048576 102400 DS 100: 0 Wed Dec 11 11:24:20 2013 [HOST][D]: Discovered Hosts (enabled): 0 Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 104 filtered out. Not enough capacity. Wed Dec 11 11:24:20 2013 [SCHED][I]: Scheduling Results: Wed Dec 11 11:24:50 2013 [VM][D]: Pending/rescheduling VM and capacity requirements: VM CPU Memory System DS Image DS 6 100 1048576 102400 DS 100: 0 Wed Dec 11 11:24:50 2013 [HOST][D]: Discovered Hosts (enabled): ... ... ed Dec 11 20:51:20 2013 [SCHED][I]: Scheduling Results: Virtual Machine: 7 PRI ID - HOSTS 0 0 PRI ID - DATASTORES 0 105 Wed Dec 11 20:51:20 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0 filtered out. Not enough capacity. Wed Dec 11 20:51:20 2013 [SCHED][I]: VM 7: No suitable System DS found for Host: 0. Filtering out host. Wed Dec 11 20:51:50 2013 [VM][D]: Pending/rescheduling VM and capacity requirements: VM CPU Memory System DS Image DS 7 100 1048576 102400 DS 100: 0 Wed Dec 11 20:51:50 2013 [HOST][D]: Discovered Hosts (enabled): 0 Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 104 filtered out. Not enough capacity. Wed Dec 11 20:51:50 2013 [SCHED][I]: Scheduling Results: Virtual Machine: 7 PRI ID - HOSTS 0 0 PRI ID - DATASTORES 0 105 Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0 filtered out. Not enough capacity. Wed Dec 11 20:51:50 2013 [SCHED][I]: VM 7: No suitable System DS found for Host: 0. Filtering out host. 2013/12/11 Carlos Martín Sánchez cmar...@opennebula.org Hi, Could you paste the contents of the /var/log/one/sched.log file? It should have the amount of space that the VM needs for the system and image datastores.
Re: [one-users] Errors, problems when creating VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore
Dear Jaime (and the OpenNebula Community members), Thanks for your reply. I will upgrade to OpenNebula 3.8.1/5 to see how it will go. 1) when run oneimage show 0, it should have below output: .. SOURCE: iqn.2013-12.iSCSIHost:192.168.1.7.vg-one.lv-one-13 PATH: /var/lib/images/win-xp.qcow2 .. but it have below output: .. SOURCE: /var/lib/images/win-xp.qcow2. .. For the above result, the image template file winxp.img is defined as below: NAME = Winxp-iscsi SOURCE = /var/lib/images/win-xp.qcow2 TYPE = OS PUBLIC = YES Image creation command is oneimage create winxp.img -d 100. 100 is the ID of in iSCSI Datastore. 2) In the winxp.img, change the SOURCE to PATH, create the image again, then when run oneimage show 0, the result is different, as shown below: .. SOURCE: PATH: /var/lib/images/win-xp.qcow2 .. The error message is Error copying image in the datastore: Error registering 192.168.1.1:/dev/vg-one/lv-one-3 This show it is still incorrect. 3) Will upgrade the OpenNebula to see the difference. It is much appreciated if you can email me the correct information on how to Create a winxp VM using OpenNebula 3.x.x in Ubuntu 12.04 with iSCSI datastore. Thanks kindly, Q.S. On Thu, Dec 12, 2013 at 6:43 AM, Jaime Melis jme...@c12g.com wrote: Hi, OpenNebula 4.4 which has been just released has deprectated iSCSI. The main reason is that the tgt iSCSI daemon is not very flexible and we recommend using other storage mechanisms instead. OpenNebula 3.6.0 should be definitetly upgraded to newer versions. Regarding your specific problem, can you please detail what command and image file did you use to create the image? cheers, Jaime On Wed, Dec 4, 2013 at 7:25 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: Dear OpenNebula Community, 1) To create VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore, I create Front-end, NodeServer and iSCSIHost (an iSCSI target VM created within the NodeServer. The IP of iSCSIHost is 192.168.1.7). The required setup, configuration for Front-end, NodeServer and iSCSIHost looks fine. The host, image, vnet and datastore creation under NodeServer are ok (except of the VM creation in below 2) ), but when oneimage show 0, can't see output of SOURCE: iqn.2013-12.iSCSIHost:192.168.1.7.vg-one.lv-one-13 PATH: /var/lib/images/win-xp.qcow2 while only can see SOURCE: /var/lib/images/win-xp.qcow2. the opennebula 3.6.0 used was downloaded in more than one year ago. is it the correct version of opennebula to use? 2) the VM creation is failed and got error executing image transfer script: error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0. Below is the vm.log for this VM creation: Wed Dec 4 17:38:56 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 4 17:38:56 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 4 17:38:56 2013 [TM][I]: Command execution fail: /var/lib/one/var/remotes/tm/iscsi/clone Front-end:/var/lib/image/win-xp-2.qcow2 NodeServer:/var/lib/one/var//datastores/0/0/disk.0 0 101 Wed Dec 4 17:38:56 2013 [TM][E]: clone: Command set -e Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # get size Wed Dec 4 17:38:56 2013 [TM][I]: SIZE=$(sudo lvs --noheadings -o lv_size /dev//var/lib/image/win-xp-2/qcow2) Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # create lv Wed Dec 4 17:38:56 2013 [TM][I]: sudo lvcreate -L${SIZE} /var/lib/image/win-xp-2 -n qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # clone lv with dd Wed Dec 4 17:38:56 2013 [TM][I]: sudo dd if=/dev//var/lib/image/win-xp-2/qcow2 of=/dev//var/lib/image/win-xp-2/qcow2-0 bs=64k Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # new iscsi target Wed Dec 4 17:38:56 2013 [TM][I]: TID=$(sudo tgtadm --lld iscsi --op show --mode target | grep Target | tail -n 1 | awk '{split($2,tmp,:); print tmp[1]+1;}') Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode target --tid $TID --targetname Front-end:/var/lib/image/win-xp-2.qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op bind --mode target --tid $TID -I ALL Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode logicalunit --tid $TID --lun 1 --backing-store /dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgt-admin --dump |sudo tee /etc/tgt/targets.conf /dev/null failed: ssh: Could not resolve hostname /var/lib/image/win-xp-2.qcow2: Name or service not known Wed Dec 4 17:38:56 2013 [TM][E]: Error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: ExitCode: 255 Wed Dec 4 17:38:56 2013 [TM][E]: Error executing image transfer script: Error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [DiM][I]: New VM state is FAILED 3) the iSCSI INITIATOR is
Re: [one-users] Ceph and thin provision
Hi, Can you elaborate more on what you want to achieve? If you have a 100GB image and it is set to persistent, you can instantiate that image immediately and deploy/live migrate it to any nebula node. Only one running instance of VM of this image is allowed. If it is a 100GB non persistent image, you'll have to wait for ceph to create a copy of it once you deploy it. But you can use this image multiple times simutaneously. --- Thanks, Kenneth Apollo Global Corp. On 12/11/2013 07:28 PM, Mario Giammarco wrote: Hello, I am using ceph with opennebula. I have created a 100gb disk image and I do not understand if it is thin or thick. I hope I can have thin provision. Thanks, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [1] Links: -- [1] 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
Re: [one-users] device onebrxxxx alreay exists can't create bridge with the same name
Hi,Jainme. I think curruent codes don't have solved the bug complelely. The key problems the the following snippets are executed parallel. class OpenNebulaHM OpenNebulaNetwork XPATH_FILTER = TEMPLATE/NIC[VLAN='YES'] def initialize(vm, deploy_id = nil, hypervisor = nil) super(vm,XPATH_FILTER,deploy_id,hypervisor) @bridges = get_interfaces end so bridges variable maybe have the same name bridge. because bridge is a ruby instance variable,not a ruby class variable. At 2013-12-12 01:53:18,Jaime Melis jme...@c12g.com wrote: Hi, yes, this is a known bug which is already solved in OpenNebula = 4.0 by implementing locking mechanisms. http://dev.opennebula.org/issues/1722 cheers, Jaime On Wed, Dec 11, 2013 at 9:46 AM, cmcc.dylan dx10ye...@126.com wrote: Hi everyone! I find a problem when we create two or more instances on one host at the same time,we meet the error device onebr alreay exists can't create bridge with the same name. The reason is that instances all try to create their bridge,although they check whether or not their birdge is existed. because it's at the same time, they all get a result that their bridge is not existed, and then they create it. But when they really create, the same bridge has already been created by other instances. Has the problem been fixed now? I use opennebula-3.8.1. Look forward your answers! dylan. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation.___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org