Re: [one-users] Official Debian packages
Hi, Should I rebase[2] all my branches on master directly and then follow the OpenNebula releases or is there a path to merge master and one-4.10? Hmm, writing the question seems to gives my answer, it looks like the cherry-picking of master commits on the one-version branches are the reasons of the merge conflicts. Yes... that's the way we usually do it: by cherry picking the commits. Unfortunately we don't think there's an easier way. -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] LVM over iSCSI or NFS for OpenNebula
Hi, - I can create VMs successfully but very very slow performance. Are you using virtio drivers? I also recommend playing with the 'cache' parameter. How well does it perform compared with I/O operations in the hypervisor? Is the storage the problem here or the Virtualization layer? - Also when I created VM on node1 and try to migrate it other vm it does not work as logical volume of that VM on node2 is inactive. have you set up cLVMd? I think for your setup the best approach is: http://docs.opennebula.org/4.10/administration/storage/fs_lvm_ds.html Or something like GFS2. cheers, Jaime On Tue, Feb 10, 2015 at 12:08 PM, ngur...@neeleshgurjar.co.in wrote: Hi, I am setting up OpenNebula on 2 nodes and 1 storage on 1Gb Network. - installed Nexenta Community Version on Storage and created iSCSI LUN. - Access those LUNs on both nodes and created Volume Group on it. - Configured LVM Block Datastore in OpenNebula. - I can create VMs successfully but very very slow performance. - Also when I created VM on node1 and try to migrate it other vm it does not work as logical volume of that VM on node2 is inactive. What do you recommend for this type of setup for Shared Storage LVM, NFS? Please note that I need to use 1GbE copper due to budget limitations. Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula'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] about firewall
Hi, you are right, we don't have this. I just created this in order to document http://dev.opennebula.org/issues/3602 Answering your specific question: What is not clear is about the tm driver. An ssh connection is open from oned admin server to the hypervisors, to run the clone/cp/etc actions. I need to know if the hypervisor will in those actions initiate some SSH connection back to the oned admin server? (we are using ssh, shared, and lvm drivers). We want to block this king of traffic (ssh to oned admin server from the nodes). The ssh connection to the frontend from the nodes **is** required. It's used in actions like undeploy or stop. In any case as you say, creating a reference guide for the connections in OpenNebula would come in very handy. cheers, Jaime On Fri, Feb 6, 2015 at 11:07 AM, Madko madk...@gmail.com wrote: Hi, Is there any documentation about the ports and network traffic in use with OpenNebula? To go in production we need to have a firewall between our oned admin server and the hypervisors nodes. So I need to know if there is any network traffic to be initiated (state NEW) from the hypervisor nodes to the oned admin server? So far I found the UDP port 4124 for collectd, with metrics comming from the hypervisors. What is not clear is about the tm driver. An ssh connection is open from oned admin server to the hypervisors, to run the clone/cp/etc actions. I need to know if the hypervisor will in those actions initiate some SSH connection back to the oned admin server? (we are using ssh, shared, and lvm drivers). We want to block this king of traffic (ssh to oned admin server from the nodes). To sum up, here is what we know for sure: oned 4124/udp = nodes oned = 22/tcp nodes We need to know what traffic and who initiate it. I don't see anything about it in the documentation. If anyone has this information that would be of great help. Untill then I will try to find it out myself by playing with iptables. Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Official Debian packages
Hello Alberto, yes, of course. But due to resources we can only try and help out people from the community like yourself or Daniel who want to collaborate in creating these packages. We can assist and try to change this around in the codebase to make things easier for package maintainers. On Tue, Feb 17, 2015 at 10:14 AM, Alberto Zuin - Liste li...@albertozuin.eu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jamie and Daniel, I perfectly understand the problems with Debian official packaging guidelines. I asked this, because at the moment I'm collaborating with Devuan, an upcoming Debian fork which is aimed to not have systemd mandatory. Could be interesting for you, in the near future, to have official packages for this distro? Cheers, Alberto Il 17/02/2015 8:53 am, Jaime Melis ha scritto: Hi Alberto, I can confirm what Daniel said. We have no current plans of updating the offical Debian package of OpenNebula. Debian packaing guidelines are very strict and as Daniel mentioned it's a very big job. Daniel, I apologize, but somehow I was not aware of #3129. I will update the ticket now. regards, Jaime -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQIcBAEBAgAGBQJU4wZfAAoJEAzproFXfBTIVTMP/ikHyyCGKeyZtEIWRLZXaGi8 tlve4syO0xqhRCJz6vHjodaPjFoBPGFf33uoJfJUj9RurMIaxuL6ry6bAc3cSil0 2MEDcOlbM2q6J778BHzLUN5viFJ0lx+bTElD75WmEO0MYjV0dhxnW/h7gw5R4Laa DXs6qSuIrcjlxLAz3+C7PiRuo8E7cxNA59x9/20WbLMEwcTeF8jpGbK70LZbxehv ZKU7RteWx+vo1MQ+9VZTQpLAvYqqO6Cv03SFTnQlIdEZZqNJTtRdo97lR4XSHXQO 9E+KW9ZZ4Jw8oR/dsPzLmDClz9STeqGAFhZsZXcDoPrrxAJv7kWNvcRD/QiXWm6E MHNeaIoF1ILy4Hzcat3jjYDHOvCeqBIwE1VsG7DdueuYzRgVFREM0rhKvjgWxD7C uFnC3gesNyILGMHEcfBjozIjCkjDxmRSKC3dq+SmsGdmIO6A7W9DHSPUL91hSfq3 P0Enn0odAGfw9G59OwSjsVnb/lFS85lL5JK2pxKnWKnr8kBazUZ/YGr7+yz69D/w cNvrquOTGi6cdJxjc3tgCUwxwKAY2KFEDLSd/1pW1KYak7Yj3jqfyqvWgy2EXIWO bTURrWb4ihfp8rqdRnCRrNbwZMzqjTUfOSQekenRu8gIg4kQosORQf7DxrpLtLwV +C9nghRVk7QD8ROaIi3N =5AYH -END PGP SIGNATURE- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Virtual Router
Hi Roman, you are right, the Virtual Router is not working with the new networking schema. I have just added a field in the appliance to let users know that the last compatible release was 4.6. http://marketplace.opennebula.systems/appliance/53d108268fb81d0b1e01 I've also added a know issue. We will be fixing this soon. I'll ket you know when we do. Regards, Jaime On Tue, Jan 13, 2015 at 1:42 AM, Roman Naumenko ro...@naumenko.ca wrote: Is anybody using Virtual Router image? I'm trying to create a vm from OpenNebula Virtual Router image with 2 NICs to route traffic between networks. The context is below, and the problem that vm interfaces are not configured after it started up, although IP are assigned. CONTEXT=[NETWORK=YES,ROOT_PASSWORD=blahblah,SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY]] CPU=1 DHCP=YES DISK=[IMAGE=OpenNebula Virtual Router1,IMAGE_UNAME=oneadmin,READONLY=no] DNS=8.8.4.4 8.8.8.8 FORWARDING=8080:172.16.50.253:80 GATEWAY=172.16.50.253 GRAPHICS=[LISTEN=0.0.0.0,TYPE=VNC] MEMORY=384 NIC=[IP=172.16.100.253,NETWORK=Internal apps,NETWORK_UNAME=oneadmin] NIC=[IP=172.16.50.220,NETWORK=internal,NETWORK_UNAME=oneadmin] NTP_SERVER=172.16.50.253 OS=[ARCH=x86_64,BOOT=hd] PRIVNET=$NETWORK[TEMPLATE, NETWORK=\Internal apps\] PUBNET=$NETWORK[TEMPLATE, NETWORK=\internal\] SEARCH=local.domain TARGET=hdb TEMPLATE=$TEMPLATE Log after vm is initiated: Sun Jan 11 22:44:03 2015 [DiM][I]: New VM state is ACTIVE. Sun Jan 11 22:44:03 2015 [LCM][I]: New VM state is PROLOG. Sun Jan 11 22:44:04 2015 [LCM][I]: New VM state is BOOT Sun Jan 11 22:44:04 2015 [VMM][I]: Generating deployment file: /var/lib/one/vms/17/deployment.0 Sun Jan 11 22:44:05 2015 [VMM][I]: ExitCode: 0 Sun Jan 11 22:44:05 2015 [VMM][I]: Successfully execute network driver operation: pre. Sun Jan 11 22:44:05 2015 [VMM][I]: ExitCode: 0 Sun Jan 11 22:44:05 2015 [VMM][I]: Successfully execute virtualization driver operation: deploy. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-vsctl set Port vnet0 tag=100. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=18,arp,dl_src=02:00:ac:10:64:fd,priority=45000,actions=drop. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=18,arp,dl_src=02:00:ac:10:64:fd,nw_src=172.16.100.253,priority=46000,actions=normal. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=18,dl_src=02:00:ac:10:64:fd,priority=4,actions=normal. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=18,priority=39000,actions=drop. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-vsctl set Port vnet1 tag=16. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=19,arp,dl_src=02:00:ac:10:32:dc,priority=45000,actions=drop. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=19,arp,dl_src=02:00:ac:10:32:dc,nw_src=172.16.50.220,priority=46000,actions=normal. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=19,dl_src=02:00:ac:10:32:dc,priority=4,actions=normal. Sun Jan 11 22:44:06 2015 [VMM][I]: post: Executed sudo ovs-ofctl add-flow br0 in_port=19,priority=39000,actions=drop. Sun Jan 11 22:44:06 2015 [VMM][I]: ExitCode: 0 Sun Jan 11 22:44:06 2015 [VMM][I]: Successfully execute network driver operation: post. Sun Jan 11 22:44:06 2015 [LCM][I]: New VM state is RUNNING Could somebody point me in right direction to troubleshoot this? All OpenNebula components reside on same physical host. Thanks, --Roman ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula'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] Enable LVM Opennebula 4.8
Hi Adriano, as I said on the other thread, what problems are you facing exactly? On Thu, Jan 22, 2015 at 12:40 PM, Adriano Vogel adrianovoge...@gmail.com wrote: Hello list I am trying to enable LVM datastores in an environment based on OpenNebula 4.8, KVM as a Hypervisor and Ubuntu 14.04. But, I did not find updated documentation about it. Do you guys have some updated guides that I may follow? Thank you! -- Cordially Adriano Vogel ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula Sunstone Bug?
Hi Anandharaj, yes, that is a bug. It is already fixed in the master branch. For the time being simply create those directories (/var/run/one and /var/lock/one) at the top of the sunstone init script. cheers, Jaime On Thu, Jan 22, 2015 at 8:30 AM, Anandharaj Subramaniam anandharaj.man...@mimos.my wrote: Hi, I encounter an issue with OpenNebula 4.10.2 (CentOS 7). In my setup, the Sunstone is installed on separate server. Upon the server reboot, the Sunstone service will not able to start. Below is the error message. [root@sunstone ~]# service opennebula-sunstone status opennebula-sunstone.service - LSB: start and stop opennebula-sunstone Loaded: loaded (/etc/rc.d/init.d/opennebula-sunstone) Active: failed (Result: exit-code) since Thu 2015-01-22 14:56:46 MYT; 23min ago Process: 623 ExecStart=/etc/rc.d/init.d/opennebula-sunstone start (code=exited, status=1/FAILURE) Jan 22 14:56:44 sunstone.domain.local systemd[1]: Starting LSB: start and stop opennebula-sunstone... Jan 22 14:56:44 sunstone.domain.local runuser[642]: pam_unix(runuser:session): session opened for user oneadmin by (uid=0) Jan 22 14:56:44 sunstone.domain.local opennebula-sunstone[623]: Starting Sunstone Server daemon: touch: cannot touch ‘/var/lock/one/.sunstoneectory Jan 22 14:56:44 sunstone.domain.local opennebula-sunstone[623]: Error creating lock file Jan 22 14:56:46 sunstone.domain.local opennebula-sunstone[623]: VNC server is not running Jan 22 14:56:46 sunstone.domain.local opennebula-sunstone[623]: [FAILED] Jan 22 14:56:46 sunstone.domain.local systemd[1]: opennebula-sunstone.service: control process exited, code=exited status=1 Jan 22 14:56:46 sunstone.domain.local systemd[1]: Failed to start LSB: start and stop opennebula-sunstone. Jan 22 14:56:46 sunstone.domain.local systemd[1]: Unit opennebula-sunstone.service entered failed state. To fix, I need to manually create /var/lock/one directory and assign oneadmin as owner. Checking at init script (/etc/init.d/opennebula***), nothing is configured to use /var/lock/one as they are configured to use /var/lock/subsys/. So I believe the /var/lock/one is actuality hardcoded in the sunstone-server binary itself. -- Regards, Anandharaj -- *DISCLAIMER:* This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments). MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. -- - - DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may contain confidential information. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message. MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e- mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] About libvirt cpu tune and topology
I think you are looking for the MACHINE attribute in this table: http://docs.opennebula.org/4.10/user/references/template.html#os-and-boot-options-section cheers, Jaime On Wed, Feb 4, 2015 at 9:43 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi all You can set the Cpu model and topology since 0.7.5 version but, do you know if this feature will be also supported by opennebula? At this moment we can add a RAW section in our template to include this: RAW=[ DATA=vcpu8/vcpucputopology sockets='2' cores='4' threads='1'//cpucpu mode='host-passthrough'/, TYPE=kvm ] but we don't know if this feature could have also been included into the capacity section in our vm template.. Thanks in advance! Alvaro ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Lost ceph datastore after upgrade from 4.8 to 4.10.
What OS are you using? What Ceph release? you're using cephx, right? (I assuume you are because of the CEPH_USER attribute). Have you made any modifications to the remotes? ( did you also sync the remotes again after ugprade? What is the relevant error in the oned.log? can you run a command like rados --id libvirt df as oneadmin in node-01? On Wed, Jan 28, 2015 at 8:34 PM, Leszek Master keks...@gmail.com wrote: Hi i updated today my opennebula to 4.10 from 4.8. The VMs are still running but i can't create a new one. My ceph datastore: DATASTORE 100 INFORMATION ID : 100 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/100 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 0M FREE: : 0M USED: : 0M LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BRIDGE_LIST=node-01 node-03 node-04 node-05 CEPH_HOST=node-01:6789 node-03:6789 node-04:6789 node-05:6789 CEPH_SECRET=heres the secret CEPH_USER=libvirt CLONE_TARGET=SELF DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one RBD_FORMAT=2 TM_MAD=ceph TYPE=IMAGE_DS I can't create a new VM and new image. Maybe update of the packages removed some critical package? Please help me get this working. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Hi Madko, I think we could do that for 4.12. Anyone else agrees with this? I'd like to get a bunch more +1s on this ;-) cheers, Jaime On Wed, Jan 21, 2015 at 5:13 PM, Madko madk...@gmail.com wrote: Hi, Had the same problem about conf files renamed to .rpmsave, and therefor opennebula was enable to start. Hopefully I saw this thread ;) Is it possible to change this behavior and have .rpmnew instead, to prevent breaking everything after an upgrade? %config(noreplace) in the spec file should do the trick, and it's a good practice. best regards Le Mon Jan 19 2015 at 19:45:48, Jaime Melis jme...@opennebula.org a écrit : Hi, as Joaquin mentioned the configuration files were replaced, so you simply need to restore them (merge the conf changes you did on the *.rpmsave files into the main files). However the files under /var/lib/one/.one should not be replaced automatically, I believe there was something in your manual procedure that removed those files. Anyways, to recover the files under /var/lib/one/.one you have to do as follows, as oneadmin: echo serveradmin:newpass /var/lib/one/.one/sunstone_auth echo serveradmin:newpass /var/lib/one/.one/occi_auth echo serveradmin:newpass /var/lib/one/.one/ec2_auth echo serveradmin:newpass /var/lib/one/.one/onegate_auth echo serveradmin:newpass /var/lib/one/.one/oneflow_auth oneuser passwd --sha1 serveradmin newpass cheers, Jaime On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Joaqui, I fixed it but in a different way, I did not had the .one folder backup however I had another setup of opennebula and I copied sunstone_auth from that setup to the non-working setup then retrived the password from mysql (user_pool table) (Serveradmin user) from working setup and inserted it into the non working setup using command oneuser passwd serveradmin encrypted-password-from-mysql, Restarted one and sunstone and then I was able to login. Serveradmin password is generated by openebula, If I could have known the password then it would be much easier as I coud have encodeded the password using oneuser encode username password and saved it in sunstone_auth. Is there any other procedure if I do not have .one folder backup? Regards Kiran Ranjane On Sat, Jan 17, 2015 at 5:41 PM, Joaquin Villanueva jvillanu...@acb.es wrote: Hi Kiran, I'm missed the important files for auth failing: restore the /var/lib/one/.one auth files (one_auth, one_key,sunstone_auth, etc) from your backup. Seems these files were also replaced by the package updates. Regards, Joaquin Villanueva El 17/01/15 a las 04:52, kiran ranjane escribió: Hi, I upgraded opennebula from 4.10.1 to 4.10.2 using ubuntu repo and after upgrade I am unable to login to any users. tried running onedb fsck and getting error - You need to specify the SQLite or MySQL connection options. Attached logs to this mail Any idea how do I fix this issue. Regards Kiran Ranjane ___ Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org *Asociación Clubs de Baloncesto* Tel. +34 93 417 24 04 - Fax +34 93 418 23 94 C/ Iradier, 37 - 08017 – Barcelona http://www.acb.com -- *Advertencia de privacidad: Este mensaje y los documentos que en su caso consten como anexos, son confidenciales. Así pues, si lo reciben por error, les solicitamos nos lo comuniquen y se abstengan de realizar copias del mismo o entregarlo a otro destinatario. A los efectos de la Ley 15/1999, de Protección de Datos de Carácter Personal, les informamos que los datos de carácter personal que figuran en esta comunicación están incluidos en un fichero automatizado cuyo responsable es ACB. Si desea ejercitar los derechos de acceso, rectificación, cancelación y oposición, diríjanse por escrito a la dirección de c/ Iradier, 37 – 08017 (Barcelona) o al siguiente correo electrónico:secreta...@acb.es secreta...@liga-acb.es* *Privacy warning: This message and any attachments are confidential. Therefore, if you are not the intended addressee of this message, please delete it immediately without copying or forwarding it and inform the sender. For the purpose of the Law 15/1999, about protection of personal data, we inform you that the personal data contained in this message are included in a database, responsibility of ACB. In order to access, rectify, cancel and opposite any of these data, please write to C/ Iradier, 37 – 08017 (Barcelona) or to secreta...@acb.es secreta...@acb.es.* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Can you open a feature request? On Wed, Jan 21, 2015 at 6:48 PM, Madko madk...@gmail.com wrote: Here is the documentation on this point: http://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files Should be great to have this on 4.12, thanks :) Le Wed Jan 21 2015 at 17:53:42, Jaime Melis jme...@opennebula.org a écrit : Hi Madko, I think we could do that for 4.12. Anyone else agrees with this? I'd like to get a bunch more +1s on this ;-) cheers, Jaime On Wed, Jan 21, 2015 at 5:13 PM, Madko madk...@gmail.com wrote: Hi, Had the same problem about conf files renamed to .rpmsave, and therefor opennebula was enable to start. Hopefully I saw this thread ;) Is it possible to change this behavior and have .rpmnew instead, to prevent breaking everything after an upgrade? %config(noreplace) in the spec file should do the trick, and it's a good practice. best regards Le Mon Jan 19 2015 at 19:45:48, Jaime Melis jme...@opennebula.org a écrit : Hi, as Joaquin mentioned the configuration files were replaced, so you simply need to restore them (merge the conf changes you did on the *.rpmsave files into the main files). However the files under /var/lib/one/.one should not be replaced automatically, I believe there was something in your manual procedure that removed those files. Anyways, to recover the files under /var/lib/one/.one you have to do as follows, as oneadmin: echo serveradmin:newpass /var/lib/one/.one/sunstone_auth echo serveradmin:newpass /var/lib/one/.one/occi_auth echo serveradmin:newpass /var/lib/one/.one/ec2_auth echo serveradmin:newpass /var/lib/one/.one/onegate_auth echo serveradmin:newpass /var/lib/one/.one/oneflow_auth oneuser passwd --sha1 serveradmin newpass cheers, Jaime On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Joaqui, I fixed it but in a different way, I did not had the .one folder backup however I had another setup of opennebula and I copied sunstone_auth from that setup to the non-working setup then retrived the password from mysql (user_pool table) (Serveradmin user) from working setup and inserted it into the non working setup using command oneuser passwd serveradmin encrypted-password-from-mysql, Restarted one and sunstone and then I was able to login. Serveradmin password is generated by openebula, If I could have known the password then it would be much easier as I coud have encodeded the password using oneuser encode username password and saved it in sunstone_auth. Is there any other procedure if I do not have .one folder backup? Regards Kiran Ranjane On Sat, Jan 17, 2015 at 5:41 PM, Joaquin Villanueva jvillanu...@acb.es wrote: Hi Kiran, I'm missed the important files for auth failing: restore the /var/lib/one/.one auth files (one_auth, one_key,sunstone_auth, etc) from your backup. Seems these files were also replaced by the package updates. Regards, Joaquin Villanueva El 17/01/15 a las 04:52, kiran ranjane escribió: Hi, I upgraded opennebula from 4.10.1 to 4.10.2 using ubuntu repo and after upgrade I am unable to login to any users. tried running onedb fsck and getting error - You need to specify the SQLite or MySQL connection options. Attached logs to this mail Any idea how do I fix this issue. Regards Kiran Ranjane ___ Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org *Asociación Clubs de Baloncesto* Tel. +34 93 417 24 04 - Fax +34 93 418 23 94 C/ Iradier, 37 - 08017 – Barcelona http://www.acb.com -- *Advertencia de privacidad: Este mensaje y los documentos que en su caso consten como anexos, son confidenciales. Así pues, si lo reciben por error, les solicitamos nos lo comuniquen y se abstengan de realizar copias del mismo o entregarlo a otro destinatario. A los efectos de la Ley 15/1999, de Protección de Datos de Carácter Personal, les informamos que los datos de carácter personal que figuran en esta comunicación están incluidos en un fichero automatizado cuyo responsable es ACB. Si desea ejercitar los derechos de acceso, rectificación, cancelación y oposición, diríjanse por escrito a la dirección de c/ Iradier, 37 – 08017 (Barcelona) o al siguiente correo electrónico:secreta...@acb.es secreta...@liga-acb.es* *Privacy warning: This message and any attachments are confidential. Therefore, if you are not the intended addressee of this message, please delete it immediately without copying or forwarding it and inform the sender. For the purpose of the Law 15/1999, about protection of personal data, we inform you that the personal data contained in this message are included in a database, responsibility of ACB. In order to access, rectify, cancel and opposite any of these data, please write to C/ Iradier, 37 – 08017 (Barcelona
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Hi, as Joaquin mentioned the configuration files were replaced, so you simply need to restore them (merge the conf changes you did on the *.rpmsave files into the main files). However the files under /var/lib/one/.one should not be replaced automatically, I believe there was something in your manual procedure that removed those files. Anyways, to recover the files under /var/lib/one/.one you have to do as follows, as oneadmin: echo serveradmin:newpass /var/lib/one/.one/sunstone_auth echo serveradmin:newpass /var/lib/one/.one/occi_auth echo serveradmin:newpass /var/lib/one/.one/ec2_auth echo serveradmin:newpass /var/lib/one/.one/onegate_auth echo serveradmin:newpass /var/lib/one/.one/oneflow_auth oneuser passwd --sha1 serveradmin newpass cheers, Jaime On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Joaqui, I fixed it but in a different way, I did not had the .one folder backup however I had another setup of opennebula and I copied sunstone_auth from that setup to the non-working setup then retrived the password from mysql (user_pool table) (Serveradmin user) from working setup and inserted it into the non working setup using command oneuser passwd serveradmin encrypted-password-from-mysql, Restarted one and sunstone and then I was able to login. Serveradmin password is generated by openebula, If I could have known the password then it would be much easier as I coud have encodeded the password using oneuser encode username password and saved it in sunstone_auth. Is there any other procedure if I do not have .one folder backup? Regards Kiran Ranjane On Sat, Jan 17, 2015 at 5:41 PM, Joaquin Villanueva jvillanu...@acb.es wrote: Hi Kiran, I'm missed the important files for auth failing: restore the /var/lib/one/.one auth files (one_auth, one_key,sunstone_auth, etc) from your backup. Seems these files were also replaced by the package updates. Regards, Joaquin Villanueva El 17/01/15 a las 04:52, kiran ranjane escribió: Hi, I upgraded opennebula from 4.10.1 to 4.10.2 using ubuntu repo and after upgrade I am unable to login to any users. tried running onedb fsck and getting error - You need to specify the SQLite or MySQL connection options. Attached logs to this mail Any idea how do I fix this issue. Regards Kiran Ranjane ___ Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org *Asociación Clubs de Baloncesto* Tel. +34 93 417 24 04 - Fax +34 93 418 23 94 C/ Iradier, 37 - 08017 – Barcelona http://www.acb.com -- *Advertencia de privacidad: Este mensaje y los documentos que en su caso consten como anexos, son confidenciales. Así pues, si lo reciben por error, les solicitamos nos lo comuniquen y se abstengan de realizar copias del mismo o entregarlo a otro destinatario. A los efectos de la Ley 15/1999, de Protección de Datos de Carácter Personal, les informamos que los datos de carácter personal que figuran en esta comunicación están incluidos en un fichero automatizado cuyo responsable es ACB. Si desea ejercitar los derechos de acceso, rectificación, cancelación y oposición, diríjanse por escrito a la dirección de c/ Iradier, 37 – 08017 (Barcelona) o al siguiente correo electrónico:secreta...@acb.es secreta...@liga-acb.es* *Privacy warning: This message and any attachments are confidential. Therefore, if you are not the intended addressee of this message, please delete it immediately without copying or forwarding it and inform the sender. For the purpose of the Law 15/1999, about protection of personal data, we inform you that the personal data contained in this message are included in a database, responsibility of ACB. In order to access, rectify, cancel and opposite any of these data, please write to C/ Iradier, 37 – 08017 (Barcelona) or to secreta...@acb.es secreta...@acb.es.* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Change hardware configuration of Windows KVM VM on Opennebula 4.10
Hi Marcus, I think you'll probably have moved on from this issue, but right now that is not supported, although at some point we will add the feature. Cheers, Jaime On Wed, Dec 10, 2014 at 9:38 PM, Marcus Havranek marcus.havra...@havranek.co.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Guys, I have a small (one machine) Opennebula setup (just upgraded to v4.10 - jipie!). Now I am trying to find the best way to change the network card configured for a Windows Server VM (KVM). Unfortunately when the template was created we forgot to set virtio as model in the configuration (we were still learning the details of ONE) and we are now stuck with the Realtek 10/100 card - which is not very performant. Is there an easy way to update the configuration and somehow make the VM reread the configuration? I know where the configuration file is stores (local datastore, deployment.0 file for the VM) - would changing this file have any impact (just rebooting the machine obviously does not do the trick). So in short, how do I get opennebula/kvm to reread the VMs configuration without having to recreate the VM? Thanks a lot, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlSIr18ACgkQYX/KWvIHpPgzPwD/SbvITmXplcWTBGkwy4192m9n orVChaRcQiToAU29IpwA/06j1jUzEQkhb6OONa50Ial7gbOt6Jxofa4h+C9c3cZD =QZQa -END PGP SIGNATURE- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Queries regarding Storage Backend for DataStore
Hi, - Very first is how actually these datastore works in comparison with Cinder and Glance of OpenStack ? The best thing to do here is to read the documentation and let us know if there's something you don't understand. http://docs.opennebula.org/4.10/administration/storage/sm.html - Which Datastore I can put on faster connectivity and which on slower? I don't understand the question, the only thing I can say is that the storage subsystem is something OpenNebula relies on. You will get the same performance on your VMs with or without OpenNebula, as it depends on the hypervisor hardware and storage. So when thinking about this, think about it in terms of general performance. - Suppose I launched 2 VMs from one image, where the images are stored of Both VMs? In OpenStack I need to create Volume and attached as a RootDisk to instance, how should I go ahead in OpenNebula? You register an image, which will be stored in the datastore of choice, and then you create a template that references that image. When you instantiate it, OpenNebula will clone that image, and depending on the datastore driver it will clone it somewhere. Read the guide for each datastore type for more info. - How to calculate required IOPS to decide Storage Backend eg. Number of Drives, RAID level, Connectivity, etc. Best thing to do here is to run some benchmarks, as it largely depends on the whole setup - I was planning to use iSCSI with Nexenta based storage. Is that ok or should I go with Ceph ? will Ceph or NFS give performance ? Yes, Ceph will have better performane than NFS. - Any suggestions to design the storage backend for DataStore. It depends on each driver - Do I need fiber connectivity between Compute Nodes and Storage ? No, but the better the connectivity is, the less chances you have of having a bottleneck. Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula node (ubuntu 14.04) saying Error executing collectd-client.rb when creating a host.
$ /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 49 kvm1 ./collectd-client.rb:122:in `main': undefined method `split' for nil:NilClass (NoMethodError) ERROR MESSAGE --8-- Error executing collectd-client.rb ERROR MESSAGE --8-- 2014-12-22 17:48 GMT-05:00 Hamada, Ondrej ondrej.ham...@acision.com: Hi Manuel, According to the log, can you please verify that the script /var/tmp/one/im/run_probes: 1) is present on the newly added node 2) is accessible by oneadmin user 3) is executable by oneadmin user Cheers, Ondra *From:* Users [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Manuel Lanazca *Sent:* Monday, December 22, 2014 7:44 PM *To:* users@lists.opennebula.org *Subject:* [one-users] Opennebula node (ubuntu 14.04) saying Error executing collectd-client.rb when creating a host. Hello OpenNebula Team, I am having an issue adding a new host to OpenNebula. I hope someone can help me. OpenNebula releaase: 4.10.1-1 Hypervisor: Ubuntu 14.04 / 3.13.0-43-generic libvirt-bin 1.2.2-0ubuntu13.1.7 LOG: Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 50 kvm1; else exit 42; fi' Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: cat: /tmp/one-collectd-client.pid: No such file or directory Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: line 34: 37231 Aborted (core dumped) ./$i $ARGUMENTS Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][E]: Error executing collectd-client.rb Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134 Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 50 kvm1; else exit 42; fi' Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: cat: /tmp/one-collectd-client.pid: No such file or directory Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: line 34: 37433 Aborted (core dumped) ./$i $ARGUMENTS Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][E]: Error executing collectd-client.rb Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134 Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 50 kvm1; else exit 42; fi' Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: cat: /tmp/one-collectd-client.pid: No such file or directory Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: line 34: 37573 Aborted (core dumped) ./$i $ARGUMENTS Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][E]: Error executing collectd-client.rb Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134 I have tried to perform some debug ++ ./collectd-client.rb kvm /var/lib/one//datastores 4124 20 49 kvm1 ./collectd-client.rb:122:in `main': undefined method `split' for nil:NilClass (NoMethodError) ++ EXIT_CODE=1 ++ '[' x1 '!=' x0 ']' ++ error_message 'Error executing collectd-client.rb' ++ echo 'ERROR MESSAGE --8--' ERROR MESSAGE --8-- ++ echo 'Error executing collectd-client.rb' Error executing collectd-client.rb ++ echo 'ERROR MESSAGE --8--' ERROR MESSAGE --8-- ++ exit 1 + data= + EXIT_CODE=1 + echo '' + exit 1 -- This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding. -- This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding. -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] RAW section
]]/NETWORK_UNAME /NIC NPTYPE![CDATA[NPERNLM]]/NPTYPE OS ARCH![CDATA[x86_64]]/ARCH BOOT![CDATA[hd]]/BOOT /OS RAW DATA![CDATA[ devices serial type='pty' target port='0'/ /serial console type='pty' target type='serial' port='0'/ /console /devices]]/DATA TYPE![CDATA['kvm']]/TYPE /RAW REQUIREMENTS![CDATA[HYPERVISOR=kvm HOSTNAME=cloudworker*]]/ REQUIREMENTS SCHED_RANK![CDATA[FREE_MEM]]/SCHED_RANK VCPU![CDATA[1]]/VCPU /TEMPLATE /VMTEMPLATE [root@fermicloud198 timm]# On Tue, 16 Dec 2014, Jaime Melis wrote: Hi, Can you send us onevm show -x of the VM and the onetemplate show -x? Regards, Jaime On Dec 15, 2014 11:47 PM, Steven Timm t...@fnal.gov wrote: Under OpenNebula 3.2 we used the RAW section to declare a serial console in libvirt which could then be attached to on the hypervisor via virsh console. (this comes in very handy if you are dealing with windows or mac desktops which don't have a very good X emulation for VNC viewers). Template syntax looked like this: RAW=[ DATA= devices serial type='pty' target port='0'/ /serial console type='pty' target type='serial' port='0'/ /console /devices, TYPE=kvm ] And this is what the corresponding xml in deployment.0 looks like. devices serial type='pty' target port='0'/ /serial console type='pty' target type='serial' port='0'/ /console /devices - In OpenNebula 4.8 I have exactly the same syntax and according to the docs it should work. the fields from the template show up in onevm show but they do not show up in deployment.0. That means this is not a libvirt error, it's an opennebula error and somehow the code that generates the kvm-based xml from the template isn't working right. Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Office: Wilson Hall room 804 Fermilab Scientific Computing Division, Currently transitioning from: Scientific Computing Services Quadrant Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing To: Scientific Computing Facilities Quadrant., Experimental Computing Facilities Dept., Project Lead for Virtual Facility Project. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Office: Wilson Hall room 804 Fermilab Scientific Computing Division, Currently transitioning from: Scientific Computing Services Quadrant Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing To: Scientific Computing Facilities Quadrant., Experimental Computing Facilities Dept., Project Lead for Virtual Facility Project. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] RAW section
I wonder how they got there in the first place. Do you think it was human error, or a migration error? On Jan 13, 2015 7:56 PM, Steven Timm t...@fnal.gov wrote: On Tue, 13 Jan 2015, Jaime Melis wrote: Hi Steven, apologies for the delay. I think I just realised what's wrong. If you look at the output of onetemplate show: TYPE![CDATA['kvm']]/TYPE There are single and double quotes there that should not be there, it should read: TYPE![CDATA[kvm]]/TYPE If I'm right, if you do onetemplate update id you willl see something like: TYPE='kvm'\ What I saw was TYPE=kvm\ which are unmatched quotes. Removing the \ gave me TYPE=kvm and a console that works. thanks very much. Steve Which is of course wrong, you need to change it to: TYPE=kvm Let me know if that fixes the issue. Regards, Jaime On Mon, Dec 29, 2014 at 11:04 PM, Steven Timm t...@fnal.gov wrote: Jaime. Sorry I didn't see this earlier, before the holidays. Output of onevm show -x and onetemplate show -x is attached. Steve Timm [root@fermicloud198 timm]# onevm show 21579 -x VM ID21579/ID UID5/UID GID1/GID UNAMEnova/UNAME GNAMEusers/GNAME NAMESLF6routeprivatecw_2-21579/NAME PERMISSIONS OWNER_U1/OWNER_U OWNER_M1/OWNER_M OWNER_A0/OWNER_A GROUP_U0/GROUP_U GROUP_M0/GROUP_M GROUP_A0/GROUP_A OTHER_U0/OTHER_U OTHER_M0/OTHER_M OTHER_A0/OTHER_A /PERMISSIONS LAST_POLL1419890528/LAST_POLL STATE3/STATE LCM_STATE3/LCM_STATE RESCHED0/RESCHED STIME1419882518/STIME ETIME0/ETIME DEPLOY_IDone-21579/DEPLOY_ID MEMORY1945600/MEMORY CPU0/CPU NET_TX1999450/NET_TX NET_RX269083560/NET_RX TEMPLATE AUTOMATIC_REQUIREMENTS![CDATA[CLUSTER_ID = 100 !(PUBLIC_CLOUD = YES)]]/AUTOMATIC_REQUIREMENTS CONTEXT DISK_ID![CDATA[1]]/DISK_ID EC2_KEYNAME![CDATA[SSH_gwmsfactorygpvm2 fnal gov 9618_schedd_glideins2 gwmsfactorygpvm2 fnal gov 14701 0 1419876793]]/EC2_KEYNAME EC2_USER_DATA![CDATA[VzJkc2FXUmxhVzVmYzNSaGNuUjFjRj BLWVhKbmN5QTlJQzEySUhOMFpDQXRibUZ0WlNCblptRmpkRzl5ZVY5 cGJuTjBZVzVqWlNBdFpXNTBjbmtnUm1WeWJXbGpiRzkxWkY5UVVGOVFVa2xX SUMxamJHbGxiblJ1WVcxbElHWnBabVZpWVhSamFHZHdkbTFv WldGa01sOVBVMGRmWjFkTlUwWnliMjUwWlc1a0xtWmxjbTFwWTJ4dmRXUmZj SEJmY0hKcGRpQXRjMk5vWldSa0lITmphR1ZrWkY5bmJHbGta V2x1Y3pKQVozZHRjMlpoWTNSdmNubG5jSFp0TWk1bWJtRnNMbWR2ZGlBdFpt RmpkRzl5ZVNCblptRmpkRzl5ZVY5bmQyMXpabUZqZEc5eWVX ZHdkbTB5TG1adVlXd3VaMjkySUMxM1pXSWdhSFIwY0RvdkwyZDNiWE5tWVdO MGIzSjVaM0IyYlRJdVptNWhiQzVuYjNZdlptRmpkRzl5ZVM5 emRHRm5aU0F0YzJsbmJpQXpOek01TVRsaFltUmpOakpqTm1RNU56RXlPVGxs WlRrNFlXWTFOVEptTkdNd01EbGhaVEptSUMxemFXZHVaVzUw Y25rZ01UUmlNelZrWmpCak16SXdOelJoTWpJd1pUSmtNRGd6TXpNd056STBP RFZqT1RNMVltUTNOaUF0YzJsbmJuUjVjR1VnYzJoaE1TQXRa R1Z6WTNKcGNIUWdaR1Z6WTNKcGNIUnBiMjR1WldNNVpreFlMbU5tWnlBdFpH VnpZM0pwY0hSbGJuUnllU0JrWlhOamNtbHdkR2x2Ymk1bFlX ZGlWMUV1WTJabklDMWthWElnTGlBdGNHRnlZVzFmUjB4SlJFVkpUbDlEYkds bGJuUWdabWxtWldKaGRHTm9aM0IyYldobFlXUXlYMDlUUjE5 blYwMVRSbkp2Ym5SbGJtUXVabVZ5YldsamJHOTFaRjl3Y0Y5d2NtbDJJQzF6 ZFdKdGFYUmpjbVZrYVdRZ056ZzNNVGMzSUMxemJHOTBjMnho ZVc5MWRDQndZWEowYVhScGIyNWhZbXhsSUMxamJHbGxiblIzWldJZ2FIUjBj RG92TDJacFptVmlZWFJqYUdkd2RtMW9aV0ZrTWk1bWJtRnNM bWR2ZGk5MmIyWnliMjUwWlc1a0wzTjBZV2RsSUMxamJHbGxiblJ6YVdkdUlH Tm1ZV1UzTVRReE1qRTJaRGMzT0ROaE1EWTRNMkV4TVRNNE56 WTFNalV3TVdKaE9XUmlZbVVnTFdOc2FXVnVkSE5wWjI1MGVYQmxJSE5vWVRF Z0xXTnNhV1Z1ZEdSbGMyTnlhWEIwSUdSbGMyTnlhWEIwYVc5 dUxtVTJkV1JQYWk1alptY2dMV05zYVdWdWRHZHliM1Z3SUdabGNtMXBZMnh2 ZFdSZmNIQmZjSEpwZGlBdFkyeHBaVzUwZDJWaVozSnZkWEFn YUhSMGNEb3ZMMlpwWm1WaVlYUmphR2R3ZG0xb1pXRmtNaTVtYm1Gc0xtZHZk aTkyYjJaeWIyNTBaVzVrTDNOMFlXZGxMMmR5YjNWd1gyWmxj bTFwWTJ4dmRXUmZjSEJmY0hKcGRpQXRZMnhwWlc1MGMybG5ibWR5YjNWd0lE UmtPVFU0WXpJNU1UQTROV1F6TldJMFlqSXlOemN4WW1aaE1q WmlaVGcyTmpGa01EVmpNemNnTFdOc2FXVnVkR1JsYzJOeWFYQjBaM0p2ZFhB Z1pHVnpZM0pwY0hScGIyNHVaVGx4T1V0d0xtTm1aeUF0Y0dG eVlXMWZRMDlPUkU5U1gxWkZVbE5KVDA0Z1pHVm1ZWFZzZENBdGNHRnlZVzFm UjB4SlJFVkRURWxGVGxSZlVtVnhUbTlrWlNCbmQyMXpabUZq ZEc5eWVXZHdkbTB5TG1SdmRDeG1ibUZzTG1SdmRDeG5iM1l1WTI5c2IyNHNP VFl4T0NBdGNHRnlZVzFmVmsxZlRVRllYMHhKUmtWVVNVMUZJ REV5TURrMk1EQWdMWEJoY21GdFgwZE1TVVJGUTB4SlJVNVVYMUpoYm1zZ01T QXRjR0Z5WVcxZlIweEpSRVZKVGw5U1pYQnZjblJmUm1GcGJH VmtJRTVGVmtWU0lDMXdZWEpoYlY5V1RWOUVTVk5CUWt4RlgxTklWVlJFVDFk T0lFWmhiSE5sSUMxd1lYSmhiVjlEVDA1RVQxSmZRVkpEU0NC a1pXWmhkV3gwSUMxd1lYSmhiVjlIVEVsRVJVbE9YME5RVlZNZ1lYVjBieUF0 Y0dGeVlXMWZWVk5GWDAxQlZFTklYMEZWVkVnZ1ZISjFaU0F0 Y0dGeVlXMWZRMDlPUkU5U1gwOVRJSEpvWld3MUlDMXdZWEpoYlY5SFRFbEVS VWxPWDBOdmJHeGxZM1J2Y2lCbWFXWmxZbUYwWTJobmNIWnRh R1ZoWkRFdVpHOTBMR1p1WVd3dVpHOTBMR2R2ZGk1amIyeHZiaXc1TmpJd0xt MXBiblZ6TERrMk16QXVjMlZ0YVdOdmJHOXVMR1pwWm1WaVlY
Re: [one-users] RAW section
Hi, Can you send us onevm show -x of the VM and the onetemplate show -x? Regards, Jaime On Dec 15, 2014 11:47 PM, Steven Timm t...@fnal.gov wrote: Under OpenNebula 3.2 we used the RAW section to declare a serial console in libvirt which could then be attached to on the hypervisor via virsh console. (this comes in very handy if you are dealing with windows or mac desktops which don't have a very good X emulation for VNC viewers). Template syntax looked like this: RAW=[ DATA= devices serial type='pty' target port='0'/ /serial console type='pty' target type='serial' port='0'/ /console /devices, TYPE=kvm ] And this is what the corresponding xml in deployment.0 looks like. devices serial type='pty' target port='0'/ /serial console type='pty' target type='serial' port='0'/ /console /devices - In OpenNebula 4.8 I have exactly the same syntax and according to the docs it should work. the fields from the template show up in onevm show but they do not show up in deployment.0. That means this is not a libvirt error, it's an opennebula error and somehow the code that generates the kvm-based xml from the template isn't working right. Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Office: Wilson Hall room 804 Fermilab Scientific Computing Division, Currently transitioning from: Scientific Computing Services Quadrant Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing To: Scientific Computing Facilities Quadrant., Experimental Computing Facilities Dept., Project Lead for Virtual Facility Project. ___ 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] vOneCloud Issue
Hi Adam, can you provide us with some extra info? * Please send us whatever gets generated in /var/log/one/oned.log when you import the templates (take a look at the timestamp, we only need that relevant bit) * What is the path to the folder that contains the templates in the Datastore? Is it a flat path or does it have many subfolders? * Does the templates or the paths have any special characters, including spaces? * Can you run the import command from the CLI to debug this issue and send us the output? $ onevcenter templates --vcenter vcenter_hostname --vuser user --vpass pass Regards, Jaime ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vOneCloud Issue
Hi, instead of $ onevcenter templates --vcenter vcenter_hostname --vuser user --vpass pass This might be a bit more useful: $ ruby -dw /usr/bin/onevcenter templates --vcenter vcenter_hostname --vuser user --vpass pass regards, Jaime On Fri, Dec 12, 2014 at 11:45 AM, Jaime Melis jme...@opennebula.org wrote: Hi Adam, can you provide us with some extra info? * Please send us whatever gets generated in /var/log/one/oned.log when you import the templates (take a look at the timestamp, we only need that relevant bit) * What is the path to the folder that contains the templates in the Datastore? Is it a flat path or does it have many subfolders? * Does the templates or the paths have any special characters, including spaces? * Can you run the import command from the CLI to debug this issue and send us the output? $ onevcenter templates --vcenter vcenter_hostname --vuser user --vpass pass Regards, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Appmarket 2.0.3 / Sunstone issues
Hi Manuel, this looks like an issue with the indentation of the sunstone views yaml files. Can you upload them to a service like pastebin and send us the link? cheers, Jaime On Thu, Nov 27, 2014 at 3:45 PM, Manuel Lanazca manuel81...@gmail.com wrote: Hello Team, I installed the last opennebula version (4.10.1) and all is working fine, but when I have installed and configured the appmarket (2.0.3) the sunstone's right side does not show anything. I have installed these ruby versions root@ubuntu:/usr/bin# ruby ruby ruby1.8ruby1.9.1 ruby1.9.3 root@ubuntu:/usr/bin# ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] root@ubuntu:/usr/bin# root@ubuntu:/usr/bin# gem gem gem1.8gem1.9.1 gem1.9.3 root@ubuntu:/usr/bin# gem -v 1.8.15 root@ubuntu:/usr/bin# root@ubuntu:/usr/bin# gem env | grep 'RUBY EXECUTABLE' - RUBY EXECUTABLE: /usr/bin/ruby1.8 root@ubuntu:/usr/bin# Can someone help me please ? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Bare Metal provisioning with OpenNebula
Hi, OpenNebula provides no such feature out of the box. You can run a VM with OpenNebula with such a software installed in order to provision other VMs or even physical nodes in the datacenter. But other than querying OpenNebula for the MAC and IP of the VMs, this is a project completely decoupled from OpenNebula. Cheers, Jaime On Thu, Dec 4, 2014 at 5:59 AM, ngur...@neeleshgurjar.co.in wrote: Hi, Can I configure Bare Metal Provisioning or Metal As a Service with OpenNebula ? Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Multiple probes running on a node
Absolutely, and we will stop using du, hopefully in the next version. On Wed, Dec 3, 2014 at 2:21 PM, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Hello, One of our ONE 4.8 node has tons of monitor_ds.sh probes running. All the “du” are marked in uninterruptible sleep 5903 ? Ss 0:00 \_ sshd: oneadmin [priv] 5905 ? S 0:00 \_ sshd: oneadmin@notty 5906 ? Ss 0:00 \_ bash -c if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor; else exit 42; fi 5907 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5914 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5915 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5920 ? S 0:00 \_ /bin/bash ./collectd-client_control.sh kvm /var/lib/one//datastores 4124 60 8 igor 5927 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5934 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5935 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5988 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5991 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5992 ? D 0:00 \_ du -sLm /var/lib/one//datastores 5993 ? S 0:00 \_ cut -f1 I think that instead of trying to run the probes again and again adding more contention on the disk, ONE should report the node as ERROR. Should I open a bug? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF ___ 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] problem when attachin volatile disks
Right, that might be a bit confusing. FS Format (FSTYPE in the code) is used to generate and format the new datablock. Take a look at this: https://github.com/OpenNebula/one/blob/master/src/mad/sh/scripts_common.sh#L284 Qcow2 is a bit of an exception: all the other datablocks are created with 'dd', but qcow2 is created with 'qemu-img'. The Driver is passed directly to the hypervisor to indicate what format the image is. That is, the driver ends up being an argument in the final qemu-kvm command's disk section. cheers, Jaime On Wed, Nov 26, 2014 at 5:02 PM, Madko madk...@gmail.com wrote: I will try that. Do you now what is the distinction between FS Format and Driver ? FS Format is the actual format on the datastore passed to qemu-img create? And driver is the part that goes in the domain xml? 2014-11-26 16:06 GMT+01:00 Jaime Melis jmelis@opennebula.systems: You would need: - FS format: qcow2 - Driver: qcow2 - Device prefix: vd On Wed, Nov 26, 2014 at 3:35 PM, Madko madk...@gmail.com wrote: Hi, When I add a new disk to a running instance, I type raw (or anything else) in the FS format, qcow2 in the driver field and choose vd as device prefix. I then have an error that the disk.2 is not a qcow2 format. Qemu-img shows that in fact it's a raw format image that have been created. So I retry with a raw format and then it works. So how do we attach a disk in qcow2 format? Moreover, if I choose read only, I still can write/format this disk in the VM. Is it normal? best regards, -- Edouard Bourguignon ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula's thanks you for your cooperation. -- Edouard Bourguignon ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula'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] problem when attachin volatile disks
You would need: - FS format: qcow2 - Driver: qcow2 - Device prefix: vd On Wed, Nov 26, 2014 at 3:35 PM, Madko madk...@gmail.com wrote: Hi, When I add a new disk to a running instance, I type raw (or anything else) in the FS format, qcow2 in the driver field and choose vd as device prefix. I then have an error that the disk.2 is not a qcow2 format. Qemu-img shows that in fact it's a raw format image that have been created. So I retry with a raw format and then it works. So how do we attach a disk in qcow2 format? Moreover, if I choose read only, I still can write/format this disk in the VM. Is it normal? best regards, -- Edouard Bourguignon ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula'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] blacklist ports with openvswitch
It would be great if we could figure out a way to provide this functionality for Open vSwitch. It is a top priority in OpenNebula's roadmap, so any ideas are very welcome! What do you mean by adapting OpenvSwitch.rb? What changes do you need in the short-term? On Wed, Nov 26, 2014 at 4:59 PM, Madko madk...@gmail.com wrote: Thanks Jaime for this explaination. Right now openflow is not really a top priority for us and OpenNebula 4.12 seems quite interesting. So we could wait for this release. We will certainly switch from OpenStack to OpenNebula because of all this mess they have done on the network stack (ovs = bridge = iptables + network namespace etc). Your Keep It Simple approach is very reconforting. But we really need openvswitch support, so I will try to adapt OpenvSwitch.rb. 2014-11-26 16:04 GMT+01:00 Jaime Melis jme...@opennebula.org: Hi, Unfortunately WHITE_PORTS_* is not supported for the Open vSwitch drivers (see here: http://docs.opennebula.org/4.10/administration/networking/openvswitch.html#network-filtering ) We'd like very much to be able to provide this feature, but as far as we know there's no way to do this satisfactorily. There is nothing similar to 'in_port' but that matches the outgoing switch port, i.e. there's no 'out_port'. We are currently re-evaluating this, because in OpenNebula 4.12 we're going to provide a new resource type: Security Groups, and you can define a lot of things: INBOUND, or OUTBOUND, protocol (TCP, UDP, ICMP, IPSEC) ICMP_TYPE, Port ranges, and best of all, specific networks, so for example you can block out all the traffic to port 22 except if they're on the same network. And we can't do this for Open vSwitch. AFAIK OpenStack does this by sending the traffic to an ad-hoc linux bridge, running iptables rules on it, and sending it back to Open vSwitch. Which is something we would like to avoid at all costs! With regard to your first message, it's very strange, the rules look perfectly fine, not sure why it's not working... On Wed, Nov 26, 2014 at 3:53 PM, Madko madk...@gmail.com wrote: Hi, I also have tested WHITE_PORTS_TCP but it seems worse since I don't have any specific openflow rules: cookie=0x0, duration=819.774s, table=0, n_packets=0, n_bytes=0, idle_age=819, icmp,dl_vlan=199,dl_dst=02:00:c0:a8:c7:05 actions=drop cookie=0x0, duration=819.800s, table=0, n_packets=2, n_bytes=134, idle_age=798, priority=4,in_port=3,dl_src=02:00:c0:a8:c7:05 actions=NORMAL cookie=0x0, duration=819.825s, table=0, n_packets=4, n_bytes=168, idle_age=806, priority=45000,arp,in_port=3,dl_src=02:00:c0:a8:c7:05 actions=drop cookie=0x0, duration=2952.547s, table=0, n_packets=41, n_bytes=5323, idle_age=803, priority=0 actions=NORMAL cookie=0x0, duration=819.813s, table=0, n_packets=4, n_bytes=168, idle_age=803, priority=46000,arp,in_port=3,dl_src=02:00:c0:a8:c7:05,arp_spa=192.168.199.5 actions=NORMAL cookie=0x0, duration=819.786s, table=0, n_packets=0, n_bytes=0, idle_age=819, priority=39000,in_port=3 actions=drop Only the icmp drop rule is added. Is it normal? Is there anyone here using OpenNebula with OpenVswitch? 2014-11-21 9:33 GMT+01:00 Madko madk...@gmail.com: Hi, I'm using OpenNebula 4.10 on CentOS 7 and I'm trying to use some network filtering. I'm following the documentation found here: http://docs.opennebula.org/4.10/administration/networking/openvswitch.html#openvswitch Here is my VM network definition: NIC=[ AR_ID=0, BLACK_PORTS_TCP=80, BRIDGE=br0, ICMP=drop, IP=192.168.2.50, MAC=02:00:c0:a8:02:32, NETWORK=LAN, NETWORK_ID=0, NETWORK_UNAME=oneadmin, NIC_ID=0, VLAN=YES, VLAN_ID=2 ] But on my hypervisor where this VM is running, here are the openflows rules: [root@node02 ~]# ovs-ofctl dump-flows br0 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=1893.122s, table=0, n_packets=0, n_bytes=0, idle_age=1893, icmp,dl_vlan=2,dl_dst=02:00:c0:a8:02:32 actions=drop cookie=0x0, duration=1893.173s, table=0, n_packets=6360, n_bytes=649693, idle_age=4, priority=4,in_port=3,dl_src=02:00:c0:a8:02:32 actions=NORMAL cookie=0x0, duration=4295.078s, table=0, n_packets=1444549, n_bytes=3534959110, idle_age=0, priority=0 actions=NORMAL cookie=0x0, duration=1893.208s, table=0, n_packets=2, n_bytes=84, idle_age=1870, priority=45000,arp,in_port=3,dl_src=02:00:c0:a8:02:32 actions=drop cookie=0x0, duration=1893.189s, table=0, n_packets=11, n_bytes=462, idle_age=559, priority=46000,arp,in_port=3,dl_src=02:00:c0:a8:02:32,arp_spa=192.168.2.50 actions=NORMAL cookie=0x0, duration=1893.139s, table=0, n_packets=0, n_bytes=0, idle_age=1893, tcp,dl_vlan=2,dl_dst=02:00:c0:a8:02:32,tp_dst=80 actions=drop cookie=0x0, duration=1893.156s, table=0, n_packets=0, n_bytes=0, idle_age=1893, priority=39000,in_port=3 actions=drop is it correct? I can see the relevant rule here: cookie=0x0, duration=1893.139s, table=0, n_packets=0, n_bytes=0, idle_age=1893, tcp
[one-users] AppMarket 2.0.3 released
Dear all, We have just released a new version of AppMarket. It fixes these issues: - Feature: Add opennebula_version to the creation form - Feature: Add dev_prefix and driver to the creation form - Feature: Fill opennebula_template input in update form - Bug: Remove original appliance not the newly converted one - Bug: Display first level app attributes for hypervisor, os-arch and format in the Sunstone tables - Bug: Remove testing gems from Gemfile - Bug: Delete job is now parsing correctly the CONF file - Bug: Handle properly urls that contain error prone chars like [], etc... - Bug: Remove csrftoken from the job creation method - Bug: Mime-types gem latest version can't be installed in ruby 1.8.7 - Bug: Fix input layout when the import fails Read more here: - http://opennebula.org/appmarket-2-0-3-released/ - https://github.com/OpenNebula/addon-appmarket/blob/master/doc/release_notes/appmarket-2.0.3.md - https://github.com/OpenNebula/addon-appmarket/blob/master/README.md Enjoy! Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Getting Ceph VM to boot--Re: Configuring Ceph datastore 4.6
+PC9ESVNLX1RZUEU+PERTX01BRD48IVtDREFUQVtjZXBoXV 0+PC9EU19NQUQ+PExOX1RBUkdFVD48IVtDREFUQVtOT05FXV0+PC9MTl9UQVJHRVQ+ PFBPT0xfTkFNRT48IVtDREFUQVtvbmVdXT48L1BPT0xfTkFNRT48U1RBR0lOR19ESVI+ PCFbQ0RBVEFbL3Zhci9saWIvb25lL2NlcGgtdG1wXV0+ PC9TVEFHSU5HX0RJUj48VE1fTUFEPjwhW0NEQVRBW2NlcGhdXT48L1RNX01B RD48L1RFTVBMQVRFPjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg== 18 Wed Sep 10 13:10:44 2014 [ImM][I]: cp: Copying local image /cloud/images/timm/40gb.qcow2 to the image repository Wed Sep 10 13:10:44 2014 [ImM][E]: cp: Command set -e Wed Sep 10 13:10:44 2014 [ImM][I]: Wed Sep 10 13:10:44 2014 [ImM][I]: if [ = 2 ]; then Wed Sep 10 13:10:44 2014 [ImM][I]: FORMAT=$(qemu-img info /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c | grep ^file format: | awk '{print }') Wed Sep 10 13:10:44 2014 [ImM][I]: Wed Sep 10 13:10:44 2014 [ImM][I]: if [ $FORMAT != raw ]; then Wed Sep 10 13:10:44 2014 [ImM][I]: qemu-img convert -O raw /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c.raw Wed Sep 10 13:10:44 2014 [ImM][I]: mv /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c.raw /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c Wed Sep 10 13:10:44 2014 [ImM][I]: fi Wed Sep 10 13:10:44 2014 [ImM][I]: Wed Sep 10 13:10:44 2014 [ImM][I]: rbd import --format 2 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c one/one-18 Wed Sep 10 13:10:44 2014 [ImM][I]: else Wed Sep 10 13:10:44 2014 [ImM][I]: qemu-img convert /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c rbd:one/one-18 Wed Sep 10 13:10:44 2014 [ImM][I]: fi Wed Sep 10 13:10:44 2014 [ImM][I]: Wed Sep 10 13:10:44 2014 [ImM][I]: # remove original Wed Sep 10 13:10:44 2014 [ImM][I]: rm -f /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c failed: Unknown protocol 'rbd:one/one-18' Wed Sep 10 13:10:44 2014 [ImM][E]: Error registering one/one-18 in one4dev Wed Sep 10 13:10:44 2014 [ImM][I]: ExitCode: 1 Wed Sep 10 13:10:44 2014 [ImM][E]: Error copying image in the datastore: Error registering one/one-18 in one4dev --- Clear we are afailed to register the rbd, but not clear why.. any or clues on why we failed are helpful. Several places in the docs refer to libvirt 1.x. Has anyone made this work on RHEL6/Centos 6 (we are running the newer kernel so we do have the rbd.o kernel module available, and rbd import/export works from the command line.) Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula's thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: OpenVswitch and host crash
Hi Daniel, I feel it's best not to trigger automatic recovery actions when a host fails. The complexity of developing heuristics to deal with all the technologies OpenNebula leverages would be enormous. And the commands you had to run in this particular case might change in future Open vSwitch releases... That said, I would personally do this outside of OpenNebula, in an rc.local sort of place. But if you really want to do this within OpenNebula you can always create a probe that is executed with all the other IM actions, that checks if Open vSwitch is up and healthy, and otherwise fixes it. cheers, Jaime On Mon, Oct 13, 2014 at 10:02 AM, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Hello, We had a power failure on a test ONE 4.8, the frontend and the two hosts crashed. I can not resume nor boot the powered off VMs, libvirt told me: error : virNetDevOpenvswitchRemovePort:187 : Unable to delete port (null) from OVS: Operation not permitted error : virCommandWait:2426 : internal error: Child process (ovs-vsctl --timeout=5 -- --may-exist add-port inetrnal vnet0 -- set Interface vnet0 'external-ids:attached-mac=02:00:c0:a8:00:6e' -- set Interface vnet0 'external-ids:iface-id=2a9321ad-2b7e-4ca5-9c81-a3f54d04807b' -- set Interface vnet0 'external-ids:vm-id=c486c111-e3fe-4338-99b0-8eed4c043cff' -- set Interface vnet0 external-ids:iface-status=active) unexpected exit status 1: ovs-vsctl: --may-exist add-port internal vnet0 but vnet0 is actually attached to bridge external To come back to normal, I had to run the following command: for switch in external internal do for port in $(ovs-vsctl list-ports $switch | grep '^vnet') do ovs-vsctl del-port $switch $port done done Any idea to perform such operation automatically after a recovery? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] error when create image on ceph datastore
Hi Ndhuynh, you have to install qemu-img (qemu-utils package). cheers, Jaime On Thu, Nov 13, 2014 at 8:02 AM, Huynh Dac Nguyen ndhu...@spsvietnam.vn wrote: Hi All I added ceph to datastore successful but can't create image on it. *[oneadmin@ho-srv-cloudlab-01 ~]$ *oneimage create centos65min.one --datastore ceph_2 --persistent --type CDROM --disk_type CDROM Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: cp: Copying local image /var/lib/one/images/CentOS-6.5-x86_64-minimal.iso to the image repository Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: cp: Command set -e Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: FORMAT=$(qemu-img info /var/tmp/2f6f4e105d2aea3b28c214e005e97e26 | grep ^file format: | awk '{print }') Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: if [ $FORMAT != raw ]; then Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: qemu-img convert -O raw /var/tmp/2f6f4e105d2aea3b28c214e005e97e26 /var/tmp/2f6f4e105d2aea3b28c214e005e97e26.raw Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: mv /var/tmp/2f6f4e105d2aea3b28c214e005e97e26.raw /var/tmp/2f6f4e105d2aea3b28c214e005e97e26 Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: fi Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: rbd import --image-format 2 /var/tmp/2f6f4e105d2aea3b28c214e005e97e26 one/one-29 Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: # remove original Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: rm -f /var/tmp/2f6f4e105d2aea3b28c214e005e97e26 failed: Warning: Permanently added 'ho-srv-ceph-03,10.10.15.69' (RSA) to the list of known hosts. Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: sh: line 5: qemu-img: command not found Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: sh: line 8: qemu-img: command not found Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: Error registering one/one-29 in ho-srv-ceph-03 Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: ExitCode: 127 Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: Error copying image in the datastore: Error registering one/one-29 in ho-srv-ceph-03 *[oneadmin@ho-srv-cloudlab-01 ~]$ *onedatastore show 120 DATASTORE 120 INFORMATION ID : 120 NAME : ceph_2 USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/120 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 186.9G FREE: : 143.3G USED: : 43.5G LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=ho-srv-ceph-03 CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one RBD_FORMAT=2 SAFE_DIRS=/var/lib/one/images TM_MAD=ceph TYPE=IMAGE_DS IMAGES 29 *[oneadmin@ho-srv-cloudlab-01 ~]$* cat centos65min.one NAME = CentOS-6.5-x86_64-minimal TYPE = CDROM PATH = /var/lib/one/images/CentOS-6.5-x86_64-minimal.iso DESCRIPTION = CentOS-6.5-x86_64-minimal.iso *Note:* ho-srv-ceph-03: my ceph MON the one pool is just used after created and do nothing more OS: CentOS 6.6 Opennebula 4.8.0-1 Is that a bug or did i do wrong? Regards, Ndhuynh This e-mail message including any attachments is for the sole use of the intended(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Do we need to mount /var/lib/one with ceph
attachments is for the sole use of the intended(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] opennebula 4.8 can't detect the capacity
You have to configure ceph in such a way that oneadmin can run the rados command without sudo. You need to make a keyring file available for the oneadmin user that can monitor the pools On Wed, Nov 19, 2014 at 12:19 PM, Huynh Dac Nguyen ndhu...@spsvietnam.vn wrote: Hi All, After search some articles and mailing list and try my best, my ceph datastore can't monitor the capacity. 1) How can opennebula detect the size of ceph? - Opennebula is a ceph-mon? If yes, how can oneadmin user can run the rados command to show the capacity, only root can do that? It must be sudo rados, right? - The opennebula accesses to ceph-mon(font-end) with password-less to run ssh ho-srv-ceph-02 rados df | grep Total If yes, i need an user oneadmin in ceph-mon and ability to run rados df without sudo, so how? only root can run rados in this case. 2) Was any step i missed ? Some description for my system: *Ceph: * - Deploy:ho-srv-ceph-01 - MON,OSD: ho-srv-ceph-02,ho-srv-ceph-03,ho-srv-ceph-04 - Sudo: ceph ALL = (root) NOPASSWD:ALL for all *Opennebula:* For testing ceph datastore only, i use one standalone server with oneadmin user Opennebula: cloudlab-02 Prepare for ceph: - password-less from ceph-deploy - Sudo:ceph ALL = (root) NOPASSWD:ALL for all - in ceph-deploy [root@ho-srv-ceph-01 ~]#ceph-deploy install cloudlab-02 I use use ceph to access from ceph to opennebula and user oneadmin to access from opennebula to ceph *Following the official document: * - in ceph monitor [root@ho-srv-ceph-02 ~]# ceph osd pool create one 64 - in opennebula front-end [oneadmin@cloudlab-02 ~]$ cat ceph.one NAME = ceph DS_MAD= ceph TM_MAD= ceph DISK_TYPE = RBD POOL_NAME = one BRIDGE_LIST = ho-srv-ceph-02 [oneadmin@cloudlab-02 ~]$ vi ceph.one [oneadmin@cloudlab-02 ~]$ onedatastore create ceph ceph1.one ceph2.one ceph.one [oneadmin@cloudlab-02 ~]$ onedatastore create ceph.one ID: 105 Thank you. Regards, ndhuynh This e-mail message including any attachments is for the sole use of the intended(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Getting Ceph VM to boot--Re: Configuring Ceph datastore 4.6
Oh ok, that makes sense. Thanks, Jaime On Wed, Nov 19, 2014 at 4:59 PM, Steven Timm t...@fnal.gov wrote: Hi Jaime..yes we did figure it out eventually. Turned out the image I had stored in CEPH was not a good image. Once I loaded another image into ceph and booted that, I was fine. the version of libvirt I was running only supported RAW images over ceph, not qcow2, and my first raw image had been truncated in some bad way. Steve Timm On Wed, 19 Nov 2014, Jaime Melis wrote: Hi Steven, Sorry, but this email fell through the cracks. Did you ever manage to launch a Ceph VM? Or you are still stumped by this issue here? if it's still not working for you, can you send us the output of onedatastore show -x id where id is the ceph's ds id. Regards, Jaime On Wed, Sep 24, 2014 at 4:49 PM, Steven Timm t...@fnal.gov wrote: Now have upgraded to opennebula 4.8.0 and still struggling with successfully launching a Ceph VM. We have worked out all permissions issues on the client host and in the Ceph datastore and have gotten to the point where opennebula can deploy the VM from RBD and the virtual machine starts.. but we get Geom Error on the console of the VM and that is all. Has anyone seen this error before and have any idea how to deal with it? I presume that it means that the virtual machine can not even find the boot sector of the disk that it sees as /dev/vda but I can't find any information on this error anywhere. Any help is appreciated. We are trying to replace an old san-gfs file store with Ceph but need better success than that if this is going to work. Steve Timm On Wed, 10 Sep 2014, Steven Timm wrote: The first and most obvious problem below was that we were running an old version of qemu-img and qemu-kvm that ships with RHEL6/Centos6/SL6 that doesn't support the rbd format. We were able to find a modified version that the Ceph people had back-ported and now we can import an image into the datastore and have gotten as far to getting a deployment.0 written on the hypervisor. It can't contact Ceph as yet, is getting connection refused but we think that is an authentication issue. http://ceph.com/packages/qemu-kvm/redhat/x86_64/ is where these packages for 6.2 live. Hopefully this all gets easier pretty soon now that RedHat has bought Ceph and all the right packages will be in RHEL7. Or will they be only proprietarily available in Redhat Enterprise Virtualization? Has anyone tried yet? Steve On Wed, 10 Sep 2014, Steven Timm wrote: I have configured a Ceph datastore on one 4.6 and have gotten as far as to get opennebula to accept the datastore. But when we try to do the first oneimage create into the datastore we get the following error in oned.log : Wed Sep 10 13:10:44 2014 [ImM][I]: Command execution fail: /var/lib/one/remotes/datastore/ceph/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4PC9JRD48VUlEPjA8L1VJRD 48R0lEPjA8L0dJRD48VU5BTUU+b 25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+ Y2VwaHRlc3Q8L05BTUU+PFBFUk1JU1NJT05TPjx PV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC 9PV05FUl9BPjxHUk9VUF9VPjA8L0dST 1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC 9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00 +MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PFRZUEU+ MDwvVFlQRT48RElTS19UWVBFPjM8L 0RJU0tfVFlQRT48UEVSU0lTVEVOVD4wPC9QRVJTSVNURU5UPjxSRUdUSU1FP jE0MTAzNzI1NTU8L1JFR1RJTUU+PFNPVVJDRT4 8L1NPVVJDRT48UEFUSD4vY2xvdWQvaW1hZ2VzL3RpbW0vNDBnYi5xY293Mjw vUEFUSD48RlNUWVBFPjwvRlNUWVBFPjxTSVpFP jQwOTYwPC9TSVpFPjxTVEFURT40PC9TVEFURT48UlVOTklOR19WTVM+ MDwvUlVOTklOR19WTVM+PENMT05JTkdfT1BTPjA8L0N MT05JTkdfT1BTPjxDTE9OSU5HX0lEPi0xPC9DTE9OSU5HX0lEPjxEQVRBU1RPUkVfSUQ+ MTAzPC9EQVRBU1RPUkVfSUQ+PERBV EFTVE9SRT5jZXBoX2RhdGFzdG9yZTwvREFUQVNUT1JFPjxWTVM+PC9WTVM+ PENMT05FUz48L0NMT05FUz48VEVNUExBVEU+PER FU0NSSV BUS U9OPjwhW0NEQVRBW3Rlc3QgY2VwaCBnb2xkZW4gaW1nXV0+ PC9ERVNDUklQVElPTj48REVWX1BSRUZJWD48IVtDREFUQVtoZF 1dPjwvREVWX1BSRUZJWD48RFJJVkVSPjwhW0NEQVRBW3Fjb3cyXV0+PC9EUklWRVI+ PC9URU1QTEFURT48L0lNQUdFPjxEQVRB U1RPUkU+PElEPjEwMzwvSUQ+PFVJRD4wPC9VSUQ+PEdJRD4wPC9HSUQ+ PFVOQU1FPm9uZWFkbWluPC9VTkFNRT48R05BTUU+b2 5lYWRtaW48L0dOQU1FPjxOQU1FPmNlcGhfZGF0YXN0b3JlPC9OQU1FPjxQRV JNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9V PjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC 9HUk9VUF9VPjxHUk9VUF9NPjA8L0 dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC 9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00
Re: [one-users] Stopping a VM erases it
As long as you are not doing something like migrating a vm or saving it you can restart libvirtd without any problems On Wed, Nov 19, 2014 at 5:19 PM, Sergi s...@okitup.com wrote: Hello Jaime, qemu.conf is ok : # grep -vE '^($|#)' /etc/libvirt/qemu.conf user = oneadmin group = oneadmin dynamic_ownership = 0 I found that : - user qemu belongs to group 'kvm', but oneadmin doesn't - I have no libvirtd group - /etc/libvirt/libvirtd.conf had listen_tcp=1 commented - /etc/sysconfig/libvirtd had LIBVIRTD_ARGS=--listen commented Can I restart libvirt without affecting running VMs? Thanks, regards, Sergi On 19/11/14 16:47, Jaime Melis wrote: Hi, I think this is due to a misconfigured qemu.conf. Does it have this? ( http://docs.opennebula.org/4.10/administration/virtualization/kvmg.html#kvm-configuration ) $ grep -vE '^($|#)' /etc/libvirt/qemu.conf user = oneadmin group = oneadmin dynamic_ownership = 0 cheers, Jaime On Wed, Nov 5, 2014 at 6:21 PM, Sergi s...@okitup.com wrote: Hello, we are using OpenNebula 4.6.2 under CentOS 6.5. We have 2 hosts, one of these has also Sunstone and exports shared datastores (system, image and file), named 'localhost'. We also have another system datastore using the ssh driver. We have an issue with stopping VMs ... from sunstone gui, powering off a VM on the ssh system datastore and starting it again works; but stopping (option on menu that includes undeploy and undeploy hard) deletes the VM files and when trying to start it again, kvm cannot find the files (i.e. checkpoint). Wed Oct 29 10:55:45 2014 [LCM][I]: New VM state is SAVE_STOP Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0 Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully execute virtualization driver operation: save. Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0 Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully execute network driver operation: clean. Wed Oct 29 10:55:51 2014 [LCM][I]: New VM state is EPILOG_STOP Wed Oct 29 10:55:52 2014 [DiM][I]: New VM state is STOPPED Wed Oct 29 10:58:07 2014 [DiM][I]: New VM state is PENDING. Wed Oct 29 10:58:21 2014 [DiM][I]: New VM state is ACTIVE. Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is PROLOG. Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is BOOT Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 0 Wed Oct 29 10:58:22 2014 [VMM][I]: Successfully execute network driver operation: pre. Wed Oct 29 10:58:22 2014 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore '/var/lib/one//datastores/100/61/checkpoint' 'localhost' 'one-61' 61 localhost Wed Oct 29 10:58:22 2014 [VMM][E]: restore: Command virsh --connect qemu:///system restore /var/lib/one//datastores/100/61/checkpoint failed: error: Failed to restore domain from /var/lib/one//datastores/100/61/checkpoint Wed Oct 29 10:58:22 2014 [VMM][I]: error: Failed to create file '/var/lib/one//datastores/100/61/checkpoint': L’operació no és permesa Wed Oct 29 10:58:22 2014 [VMM][E]: Could not restore from /var/lib/one//datastores/100/61/checkpoint Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 1 Wed Oct 29 10:58:22 2014 [VMM][I]: Failed to execute virtualization driver operation: restore. Wed Oct 29 10:58:22 2014 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one//datastores/100/61/checkpoint Wed Oct 29 10:58:22 2014 [LCM][I]: Fail to boot VM. New VM state is EPILOG_STOP Wed Oct 29 10:58:22 2014 [DiM][I]: New VM state is STOPPED Thanks, regards, Sergi * -- [image: okITup S.L.] https://www.okitup.com Infraestructures de hosting a mida Administració i Programació de Sistemes email: i...@okitup.com http://up.com telef.: 93 176 39 76 -- La información de este correo electrónico es confidencial, personal e intransferible y sólo está dirigida a la(s) dirección(es) indicada(s) arriba. Si usted lee este mensaje por equivocación, le informamos que está prohibida su divulgación, uso o distribución, completos o parciales; le rogamos que lo notifique inmediatamente al remitente y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo. Gracias. La informació d'aquest correu electrònic és confidencial, personal i intransferible, i només està dirigida a l'adreça(ces) indicada(des). Si vostè llegeix aquest missatge per error, l'informem que n'està prohibida la propagació, l'ús o la distribució, complets o parcials; li demanem que ho notifiqui immediatament a la persona que li ha enviat i esborri el missatge original amb les dades adjuntes sense llegir-lo ni desar-lo. Gràcies. This e-mail contains confidential information. The information is intended for exclusive use by the abovementioned recipient. If you have received this e-mail in error, please notify us immediately to arrange for the confidential information to be returned to us. We hereby inform you that it is strictly prohibited to disclose, copy, distribute or take any action based on this information
Re: [one-users] Debian packages
They are inside this file, in the source directory: http://downloads.opennebula.org/packages/opennebula-4.10.0/Debian-7/Debian-7-opennebula-4.10.0-1.tar.gz On Tue, Nov 18, 2014 at 2:31 PM, Sander Klein roe...@roedie.nl wrote: Hi, I want to build my own Debian packages for opennebula, but I cannot seem to find the scripts which do this. Are they available in some git repo? Greets, Sander ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to fix hosts with deleted /var/tmp/one files
Hi Steven, In several occasions in the past I have forgotten to tell my tmpwatch utility not to delete files out of /var/tmp/one and thus I have seen most of the remotes get deleted off of my cloud hosts, but opennebula 4.8 doesn't report any problems. You are right, when we decided to set /var/tmp/one as the default remotes directory we weren't aware of the tmpwatch utility. However, in our case, when we remove /var/tmp/one the driver resends the probes automatically: Mon Nov 17 11:07:04 2014 [Z0][InM][D]: Monitoring host localhost (0) Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 0 localhost; else exit 42; fi' Mon Nov 17 11:07:05 2014 [Z0][InM][I]: ExitCode: 42 Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Remote worker node files not found Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Updating remotes Mon Nov 17 11:07:10 2014 [Z0][InM][D]: Host localhost (0) successfully monitored. Can you find something similar to that in your log file? If you are not seeing something like that there might be a bug somewhere or a configuration problem. It would be great to narrow it down. I try to fix the remotes by doing onehost sync and nothing happens. I try to disable/enable the host and nothing happens there either. The only thing that seems to revive it is if I actually onehost delete/ onehost create. Right, you should do onehost sync --force Take a look at this section: http://docs.opennebula.org/4.10/administration/hosts_and_clusters/host_guide.html#sync In a nutshell you can version the probes and update specific nodes/cluster. If there is no version change onehost sync will not do anything unless --force is used. IS it possible for the remotes to add an integrity check? They should not be reporting the host is on if the datastores directory of remotes has been totally deleted. The automatic redeployment of probes is our way to deal with this. Let's see if we can see why it's no working for you. Also is it possible to configure the directory other than the default /var/tmp/one? Yes: /etc/one/oned.conf:71:SCRIPTS_REMOTE_DIR=/var/tmp/one Finally is it possible to redistribute the remotes short of a onehost delete / onehost create? With the --force flag. Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to fix hosts with deleted /var/tmp/one files
By the way, I'm considering the option of marking the 'tmpwatch' package as a conflict with opennebula-node-kvm. Do you think this is a good idea? On Mon, Nov 17, 2014 at 11:14 AM, Jaime Melis jme...@opennebula.org wrote: Hi Steven, In several occasions in the past I have forgotten to tell my tmpwatch utility not to delete files out of /var/tmp/one and thus I have seen most of the remotes get deleted off of my cloud hosts, but opennebula 4.8 doesn't report any problems. You are right, when we decided to set /var/tmp/one as the default remotes directory we weren't aware of the tmpwatch utility. However, in our case, when we remove /var/tmp/one the driver resends the probes automatically: Mon Nov 17 11:07:04 2014 [Z0][InM][D]: Monitoring host localhost (0) Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 0 localhost; else exit 42; fi' Mon Nov 17 11:07:05 2014 [Z0][InM][I]: ExitCode: 42 Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Remote worker node files not found Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Updating remotes Mon Nov 17 11:07:10 2014 [Z0][InM][D]: Host localhost (0) successfully monitored. Can you find something similar to that in your log file? If you are not seeing something like that there might be a bug somewhere or a configuration problem. It would be great to narrow it down. I try to fix the remotes by doing onehost sync and nothing happens. I try to disable/enable the host and nothing happens there either. The only thing that seems to revive it is if I actually onehost delete/ onehost create. Right, you should do onehost sync --force Take a look at this section: http://docs.opennebula.org/4.10/administration/hosts_and_clusters/host_guide.html#sync In a nutshell you can version the probes and update specific nodes/cluster. If there is no version change onehost sync will not do anything unless --force is used. IS it possible for the remotes to add an integrity check? They should not be reporting the host is on if the datastores directory of remotes has been totally deleted. The automatic redeployment of probes is our way to deal with this. Let's see if we can see why it's no working for you. Also is it possible to configure the directory other than the default /var/tmp/one? Yes: /etc/one/oned.conf:71:SCRIPTS_REMOTE_DIR=/var/tmp/one Finally is it possible to redistribute the remotes short of a onehost delete / onehost create? With the --force flag. Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] CfP FOSDEM '15
Dear all, as you may already know, OpenNebula participates annually in FOSDEM [1]. We are preparing our talk proposals and we would like to invite you to join the fun! We'd like to invite you to come meet us in FOSDEM this year and if you are up for it to send talk proposals. There are many interesting talks OpenNebula users could contribute with, ideas like (but not limited to): - OpenNebula and Networking: Do you have experience with Open vSwitch, VxLan integrations, SDNs? - OpenNebula and Storage: Storage is the very heart and blood vessels of the datacenter. Care to share your knowledge with us? - OpenNebula and Hypervisor optimizations: Do you have any tips to make your VMs run absurdly fast? Are you using bleeding-edge hypervisor functionalities and getting amazing results? - OpenNebula and CFGMGMT Tools: Able to deploy OpenNebula clusters and manage VMs all within your favourite CM tool? - OpenNebula Tuning: Have you deployed OpenNebula and want to share your workflows, tips and tricks? - Extensions: Have you developed an awesome OpenNebula extension and you want to share it with the world? - Integrations: Have you integrated OpenNebula with your other favourite software and want to show it in action? That is a bunch of ideas, but anything goes! We'd love to hear you talk about these and other things! If you are not ready -yet- to submit talk proposals, what would you like other fellow OpenNebula users to talk about at FOSDEM? This also applies to us, the OpenNebula Core Team, as we are open to talk suggestions and ideas! Make yourself heard and we will oblige! If you finally decide to submit proposals, here's how: - IaaS Devroom - Deadline: 1 December - CfP: https://lists.fosdem.org/pipermail/fosdem/2014-October/002055.html And if you are coming to FOSDEM at all, don't forget to give us a shout so we can go grab some beers together! [1] https://fosdem.org/2015/ cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] disable the deletion of an instance
Hi Vincent, maybe you're looking for the image persistent option? By setting an image persistent it will not be deleted when the vm ends. On Fri, Nov 14, 2014 at 9:30 AM, vinc...@vanderkussen.org wrote: Hi, On our ONE cloud we deploy images that are part of our core infrastructure (dns, DB's, Git, ...)and are not volatile at all. Currently these instances are viewable between all the other instances that come and go. Is there a way to disable the deletion of such instances so that it's not possible to delete this by accident. I was thinking about doing something with ACLs but is there an easier way? Grts, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula'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] disable the deletion of an instance
Right, after re-reading the email, I don't think that's what you're looking for. In this page you can see that the deletion of a VM requires the MANAGE permissions: http://docs.opennebula.org/4.10/integration/system_interfaces/api.html#onevm I can only think of removing the MANAGE permission of these VMs. And only enabling it temporarily whenever you need to. On Fri, Nov 14, 2014 at 3:55 PM, Jaime Melis jmelis@opennebula.systems wrote: Hi Vincent, maybe you're looking for the image persistent option? By setting an image persistent it will not be deleted when the vm ends. On Fri, Nov 14, 2014 at 9:30 AM, vinc...@vanderkussen.org wrote: Hi, On our ONE cloud we deploy images that are part of our core infrastructure (dns, DB's, Git, ...)and are not volatile at all. Currently these instances are viewable between all the other instances that come and go. Is there a way to disable the deletion of such instances so that it's not possible to delete this by accident. I was thinking about doing something with ACLs but is there an easier way? Grts, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Jaime Melis Senior Infrastructure Architect at OpenNebula Systems (formerly C12G Labs) jmelis@opennebula.systems | @OpenNebula -- 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula's thanks you for your cooperation. -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Bugs in documentation - CentOS
___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Call for Hosts - OpenNebula TechDays
Dear all, We are looking for more volunteers to host more editions of the OpenNebula Cloud Techdays. We would be particularly thrilled to find hosts located in Europe or in USA/East Coast. The OpenNebula Cloud TechDays are full day events to learn about OpenNebula with a hands-on cloud installation and operation workshop, and presentations from community members and users that focus on: - Sharing cloud use cases and deployment experiences - Introducing new integrations and ecosystem developments - Describing other related cloud open-source projects and tools The emphasis is to find local speakers and users to come together to share stories from their experiences using OpenNebula. OpenNebula TechDays has been inspired in the successful CentOS Dojo events. We already have a very nice collection of past TechDays, which have turned out fantastically: - Ede, The Netherlands, 26 March 2014, hosted by bit.nl - Antwerp, Belgium, 7 April 2014, hosted by LOADays - Almendralejo, Spain, 9 April 2014, hosted by CENATIC - Boca Raton, Florida, 19 June 2014, hosted by TransUnion - Fremont, California, 24 June 2014, hosted by SYNNEX/Hyve Solutions - Timisoara, Romania, 26-27 September 2014, hosted by Cloud Base Solutions - Santiago de Compostela, Spain, 8 October 2014, hosted by Agasol A host should be able to provide: - A venue for 50 people approximately. - The host would also cover coffee break/lunch. Alternatively the catering would be covered by a sponsor or by the registration fees. Note that these are not-for-profit events, registration fees and sponsors would cover the catering and OpenNebula expert travel expenses, or at least part of them. We will try hard to make the events be as low priced as possible (0-50 euros/person). Read more about the TechDays here: http://opennebula.org/community/techdays/ Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot create a VM snapshot
not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Public IP addresses issue?
Hi Vedran, it's possible as long as you do it in the following way: - create a bridge attached to a physical interface that has access to the internet - the bridge may or may not have an ip - create a new network with the list of public ips you have and referencing BRIDGE=name_of_public_bridge cheers, Jaime On Wed, Oct 1, 2014 at 11:39 AM, vedran valaj...@gmail.com wrote: Hello, *I'm just wondering, IS IT POSSIBLE to assign public ip addresses to my virtual machines directly at all?* i installed KVM and opennebula on top of it, everything pretty much works fine but the IP addresses mapping/routing ... I got 8 IP addresses + main one (for server) from a provider and as i create virtual machine, i can't assign any of those public ip addresses directly to it. So i always have to make some virtual interface, like virtual local network on main server, and than to reroute it to public interface. p.s. i know there is many more things that i should explain about what i did, but for the start, please just answer me this. Thank You ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ONE 4.8: Some OVS / cgroups / spice questions?
Hi Jhon, 1. Open VSwitch - bridge creation. TL;DR: you just need one bridge per physical interface. OpenNebula will manage the vlan tagging automatically. It works like the 'dummy' network system, not like the 802.1Q. In the dummy network drivers you typically have one bridge per physical interface, and simply attach the virtual nic to the bridge, thus enabling connectity through the physical intertaface. When VLANs come into play, in 802.1Q we need one bridge per VLAN id, so OpenNebula creates those bridges. However this is not necessary for the OpenvSwitch drivers. We just have one bridge (manually created and attached to the physical interface) and the drivers only need that bridge. When the VM is instantiated it simply connects the virtual nic to the ovs switch and then tags each virtual nic, so we don't new bridges. On Mon, Sep 29, 2014 at 3:08 PM, Jhon Masschelein jhon.masschel...@surfsara.nl wrote: Hi, I am installing a new Opennebula 4.8 cluster. (Been running a 3.2 cluster for the last couple of years and finally upgrading.) At this point, I have a split oned+mm_sched / sunstone (nginx+passenger) cluster with two hypervisor hosts and I can successfully start VMs, so the basic setup is good. I now have a few questions I hope I can get some pointers on: 1. Open VSwitch - bridge creation. Using the open VSwitch network driver, I cannot add a PHYSDEV. Does this mean that I need to create the bridges on the hosts manually? Considering that for regular 802.1Q bridges, opennebula does this for me, I expected it to be done automatically for OVS too? Is there a technical reason why this would not be possible? 2. cGroups I am installing on CentOS7 and the whole cgroup system has been merged with systemd. I am having troubles matching the cgroup info on the documentation site with the new cgroup in systemd and was wondering if any prior art already exists? Is the current implementation of cgroup in opennebula 4.8 supposed to work with the systemd setup? (I am comfortable working with systemd.) 3. SPICE client How am I supposed to connect to the spice socket? I have a local spice client and from the deployment file I can get the port number, but what IP should I connect too? Is there a ws-proxy like thing to set up? I can't seem to find any info in the documentation… Or do I need to make the hypervisor hosts available directly on the internet? (Not something I am really willing to do.) Thank you for reading and thanks for any info! Best regards, Jhon ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Public Private Network - HowTo
Hi, am I assuming correctly that eth0 is your private network and eth1 is your public network? So, your private network setup looks fine: create br0, attach eth0, create new virtual network that reference BRIDGE=br0 and add IPs that are reachable from wherever you want. The public network in your case looks more problematic since you're using DHCP. There is no out-of-the-box way to make interfaces in OpenNebula's VMs using DHCP, you need to work a bit for that. I guess you have two options (they both require that you do something similar with the interfaces as you did with the private network: br1 - attach br1): - stop using DHCP, ask what block of IPs you can use that will not be assigned by a DHCP - Or continue using DHCP in which case you will need to connect eth1 to br1, leaving eth1 with BOOTPROTO=none and br1 with BOOTPROTO=dhcp. Inside the VMs you will need to run dhcp on your public network interface, which is something that OPenNebula will not do automatically. You can do that either manually or writing a small shell script (init.sh) and executing that [1]. Note that the IPs that OpenNebula will report will *not* match the real public IPs inside the VMs, therefore it's a bit of a lacking solution. [1] http://docs.opennebula.org/4.8/user/virtual_machine_setup/cong.html#generic-contextualization cheers, Jaime On Wed, Sep 10, 2014 at 3:00 AM, christian xavier ccx...@gmail.com wrote: Good Day, New here, have installed OpenNebulla 4.8, bit confused on the Public and Private Network I have currently : DEVICE=eth0 BOOTPROTO=none NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet BRIDGE=br0 DEVICE=br0 TYPE=Bridge #HWADDR=D4:AE:52:CF:EA:01 IPADDR=62.210.82.35 NETMASK=255.255.255.0 ONBOOT=yes BOOTPROTO=static NM_CONTROLLED=no eth1 DEVICE=eth1 BOOTPROTO=dhcp DHCP_HOSTNAME=sd-648257 HWADDR=D4:AE:52:CF:EA:01 NM_CONTROLLED=yes ONBOOT=no TYPE=Ethernet UUID=dc642201-ef0b-42e6-975b-004ec6cc5d5b I have a Block of /27 Public IP's and I assigned few of these to Private Network. Or I am I oing it wrong to assign few IP's from Public IP and attached it to br0. I created VNET private with br0 and deployed two VM's I can launch them through VNC. I understand this becomes private? For Public Network: Do I need to create another Bridge from eth1 as eth2, but my eth1 is DHCP , how do i make Public Network? Sorry, If this might have answered earlier. Please help this Student here. Thanks in Advance Cx ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Extra IP's not reachable from outside worl
Hi Johan, can you send us ip ro on the VM, the hypervisor and the server you're trying to connect from? cheers, Jaime On Thu, Sep 18, 2014 at 7:59 AM, Johan Kooijman m...@johankooijman.com wrote: Do you use OpenvSwitch? Do you have arp cache poisoning prevention enabled? See /var/lib/one/remotes/vnm/OpenNebulaNetwork.conf. If so, OpenvSwitch prevents ARP on interfaces other than the one it has OpenFlow rules configured for. See ovs-ofctl add-flow logging in oned log to check what ip's have been configured on what interface(s) and/or check ovs-ofctl dump-flows bridge_name on the hypervisor. No OVS in this setup, it's a plain ol' dummy network with no fancy stuff enabled. -- Met vriendelijke groeten / With kind regards, Johan Kooijman ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ONE Virtual Router routing from inside to outside
Hi, no, this is currently not supported, but as you say you could do this with an iptables script using OpenNebula hooks. I'm not sure whether using the VR is a good idea since you will route all you're traffic through it, which would work I think, but it implies changing your current setup. I would go for the iptables hook. cheers, Jaime On Tue, Sep 23, 2014 at 10:26 PM, Hüning, Christian christian.huen...@haw-hamburg.de wrote: Hi, I have a Virtual Router Appliance working with a VLAN isolated (powered by open vSwitch) network of VMs. I can route/forward from the outside network to the inner VMs. Now I am facing the requirement to make a connection from a VM inside the isolation network to a VM in the outside world. Is there an easy or defined way to do that (e.g. easily activating NAT’ting in the VR appliance)? Or would I rather have to build something on my own with iptables etc? Cheers, Christian --- Christian Hüning, BSc. Fakultät Technik und Informatik, Department Informatik Berliner Tor 7 20099 Hamburg Tel.: +49 40 / 42875 - 8436 Mobil: +49 40 / 180 55 44 5 Web: http://www.mars-group.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] undefined method `rstrip!'
It looks you don't have the one_auth file set properly: this is the piece of the code that is doing the search: if ENV[ONE_AUTH] and !ENV[ONE_AUTH].empty? and File.file?(ENV[ONE_AUTH]) one_auth = File.read(ENV[ONE_AUTH]) elsif File.file?(ENV[HOME]+/.one/one_auth) one_auth = File.read(ENV[HOME]+/.one/one_auth) end one_auth.rstrip! You probably need to create a file in $HOME/.one/one_auth with the username:password content On Wed, Aug 27, 2014 at 12:18 PM, Tobias Honacker t.honac...@googlemail.com wrote: Hi guys, after installing and starting opennebula-gate i got this error: root@sunstone ~]# tail /var/log/one/onegate.error /usr/lib/one/ruby/opennebula/oneflow_client.rb:315:in `initialize': undefined method `rstrip!' for nil:NilClass (NoMethodError) from /usr/lib/one/onegate/onegate-server.rb:84:in `new' from /usr/lib/one/onegate/onegate-server.rb:84:in `main' onegate-server.conf standard configured, only changed: :host: 0.0.0.0 Setup is CentOS 7 with OpenNebula 4.8 Any hints? Best regards, Tobias ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Fwd: Add New Storage Box
Hi, I don't entirely understand the difference between both options, could you explain in more detail what you mean by distributing the datastore to all the nodes? Assuming your configuration is as follows: NFS Server exports datastores 0 and 1 - Mounted in Frontend + Nodes I recommend the following option: - Create a new Image datastore (it will have ID = 100, in this example we will assume it has ID: 100) - Create a new exports directive in your new storage box, for example /storage/datastores/100 - Mount that mountpoint in all the nodes including the frontend in the following path: /var/lib/one/datastores/100 Now you can register more images in the new datastore (ID: 100), and since they are all persistent they will not take space in the system datastore (ID: 0) Best regards, Jaime On Tue, Aug 26, 2014 at 6:05 AM, Rhesa Mahendra rh...@lintasmediadanawa.com wrote: Guys, please help. Original Message Subject: Add New Storage Box Date: Mon, 25 Aug 2014 16:21:13 +0700 From: Rhesa Mahendra rh...@lintasmediadanawa.com rh...@lintasmediadanawa.com To: users@lists.opennebula.org users@lists.opennebula.org users@lists.opennebula.org, Javier Fontan jfon...@opennebula.org jfon...@opennebula.org Guys, We have plan to add a new storage box, Our existing storage : /var/lib/one/datastore/0 = system /var/lib/one/datastore/1 = image /var/lib/one/datastore/2 = file All type are from one storage box. We did internal discuss and we get result with two options: 1. We add a new storage box as an image type and define it as /var/lib/one/datastore/3 = image2. Or 2. We will distribute /var/lib/one/datastore/0 = system and /var/lib/one/datastore/2 = file to all nodes (all node are synced), then we add the new storage box as /var/lib/one/datastore/3 = image2 So with this second option, the nodes only mount two path from the storage box (/var/lib/one/datastore/1 = image [from existing storage box] and /var/lib/one/datastore/3 = image2 [from new storage box]). All the images are persistent Please give us some advise with pros and cons within this two options, thanks. Rhesa ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Fwd: Add New Storage Box
Rhesa, the problem is datastore 0, it's the system datastore. If you move it to the local nodes, it will not be shared and synchronized across the nodes, therefore you will lose many benefits like live-migration and instant persintant image VM deployment. Why is it that you want to move datastore 0 to the frontend + nodes? On Tue, Aug 26, 2014 at 8:44 AM, Rhesa Mahendra rh...@lintasmediadanawa.com wrote: Jaime, Thanks for your reply, now datastore 0 and datastore 2 are in existing storage box, mounted in frontend + nodes, we want to move datastore 0 and datastore 2 from existing storage box to frontend + nodes, could it be done? So in existing storage box just have datastore 1 and in new storage box just have datastore 100. Rhesa. On 08/26/2014 01:34 PM, Jaime Melis wrote: Hi, I don't entirely understand the difference between both options, could you explain in more detail what you mean by distributing the datastore to all the nodes? Assuming your configuration is as follows: NFS Server exports datastores 0 and 1 - Mounted in Frontend + Nodes I recommend the following option: - Create a new Image datastore (it will have ID = 100, in this example we will assume it has ID: 100) - Create a new exports directive in your new storage box, for example /storage/datastores/100 - Mount that mountpoint in all the nodes including the frontend in the following path: /var/lib/one/datastores/100 Now you can register more images in the new datastore (ID: 100), and since they are all persistent they will not take space in the system datastore (ID: 0) Best regards, Jaime On Tue, Aug 26, 2014 at 6:05 AM, Rhesa Mahendra rh...@lintasmediadanawa.com wrote: Guys, please help. Original Message Subject: Add New Storage Box Date: Mon, 25 Aug 2014 16:21:13 +0700 From: Rhesa Mahendra rh...@lintasmediadanawa.com rh...@lintasmediadanawa.com To: users@lists.opennebula.org users@lists.opennebula.org users@lists.opennebula.org, Javier Fontan jfon...@opennebula.org jfon...@opennebula.org Guys, We have plan to add a new storage box, Our existing storage : /var/lib/one/datastore/0 = system /var/lib/one/datastore/1 = image /var/lib/one/datastore/2 = file All type are from one storage box. We did internal discuss and we get result with two options: 1. We add a new storage box as an image type and define it as /var/lib/one/datastore/3 = image2. Or 2. We will distribute /var/lib/one/datastore/0 = system and /var/lib/one/datastore/2 = file to all nodes (all node are synced), then we add the new storage box as /var/lib/one/datastore/3 = image2 So with this second option, the nodes only mount two path from the storage box (/var/lib/one/datastore/1 = image [from existing storage box] and /var/lib/one/datastore/3 = image2 [from new storage box]). All the images are persistent Please give us some advise with pros and cons within this two options, thanks. Rhesa ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Latest CentOS Dojo presentations
Dear all, we've just published the talks of the two recent Dojos: http://opennebula.org/aftermath-of-the-latest-centos-dojos-cologne-and-paris/ regards, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] The Cloud View Gets OneFlow Services
Dear all, we just published this new blog post entry: http://opennebula.org/opennebula-4-8-the-cloud-view-gets-oneflow-services/ You might be interested in taking a look at it, it explains many interesting things that come with 4.8 and that you might not be aware of: - oneflow integration into sunstone - cloud view and services - dynamic networks - user inputs Enjoy, and as always, we are looking forward to your feedback! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to create a non-volatile disk to attach to VM
Hi Robert, yes it's possible. Are you getting an error or something? You first need to create the image and have it in 'READY' status, and then go to the attach-button, in the VM's extended information, and add it. You might need to refresh the image list within that dialog for it to appear. cheers, Jaime On Fri, Aug 15, 2014 at 9:53 PM, Robert Foote rfo...@bpsnode.com wrote: Hello: I am trying to figure out how to create a Non-volatile disk to attach to a VM. From what I can see, I can only attach volatile disks to VM’s. I need to be able to create a 2TB blank disk, that can then be attached to a customers VM image. Is this possible? Thanks, Robert Foote bpsNode www.bpsnode.com -- http://www.avast.com/ This email is free from viruses and malware because avast! Antivirus http://www.avast.com/ protection is active. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Change the way reschedule works
Yes, you can change the default behaviour in /etc/one/sched.conf. Remember to restart OpenNebula afterwards. On Mon, Aug 18, 2014 at 8:17 AM, Johan Kooijman m...@johankooijman.com wrote: Hi all, When rescheduling VM's, ONE takes them offline and boot's them on another host. Is it possible to use live migration in order to do this? -- Met vriendelijke groeten / With kind regards, Johan Kooijman ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebula at the CentOS Dojo in Paris, August 25th
Dear all, we will be present at the CentOS Dojo that will be held in Paris this next August 25th. You can register and read more about it here: - http://opennebula.org/opennebula-at-centos-paris-dojo/ - http://wiki.centos.org/Events/Dojo/Paris2014 - http://www.eventbrite.co.uk/e/centos-dojo-paris-france-25th-aug-2014-tickets-12060670791 It'd be great to meet you there! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] New QuicksStart guide to deploy OpenNebula under CentOS 7
Dear all, you might be interested in taking a look at this new QS guide: http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_centos7_kvm.html Enjoy! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] New QuicksStart guide to deploy OpenNebula under CentOS 7
Hi Vladislav, thanks a lot for those notes, they're really useful. Would you like to send a pull request to the docs repo? I'd be very happy to merge it. Otherwise I'll revisit the guide at some point and apply your suggestions. cheers, Jaime On Aug 15, 2014 2:37 PM, Vladislav Gorbunov vadi...@gmail.com wrote: Sone notes: 1. You can use SELINUX=enforcing with kvm, just run: setsebool -P virt_use_nfs 1 setsebool -P virt_use_execmem 1 2. Return ethX interfaces names: Edit /etc/default/grub At the end of GRUB_CMDLINE_LINUX line append net.ifnames=0 run grub2-mkconfig -o /boot/grub2/grub.cfg reboot 3. It's easy to configure bridged network with nmcli: nmcli con add ifname br0 con-name br0 type bridge stp no ip4 10.166.10.11/24 gw4 10.166.10.1 nmcli con mod br0 ipv4.dns 10.166.10.2 8.8.8.8 nmcli con mod br0 ipv4.dns-search example.com nmcli con add ifname eth0 con-name eth0 type bridge-slave master br0 nmcli con mod br0 ipv4.method link-local 4. It's bad idea to mount nfs with soft option. 5. Delete default libvirt network: virsh net-autostart default --disable virsh net-destroy default 6. Disable requiretty options for sudo: sed -i 's/Defaultsrequiretty/#Defaultsrequiretty/' /etc/sudoers 7. Disable firewall systemctl stop firewalld systemctl disable firewalld.service 2014-08-15 23:31 GMT+12:00 Jaime Melis jme...@opennebula.org: Dear all, you might be interested in taking a look at this new QS guide: http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_centos7_kvm.html Enjoy! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Could not read from CDROM (code 0004)
Hi, can you send us this file from the hypervisor: /var/lib/one/datastores/0/vmid/deployment.0 and run this command: $ file /var/lib/one/datastores/0/vmid/* On Mon, Aug 11, 2014 at 12:25 PM, IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru wrote: Hello! I set up a cluster of 3 nodes Opennebula and Ceph. Operating system Ubuntu 14.04. libvirt version: libvirt-bin - 1.2.2-0ubuntu13.1.2 libvirt0 - 1.2.2-0ubuntu13.1.2 qemu version: qemu - 2.0.0+dfsg-2ubuntu1.2 qemu-common - 2.0.0+dfsg-2ubuntu1.2 qemu-keymaps - 2.0.0+dfsg-2ubuntu1.2 qemu-kvm - 2.0.0+dfsg-2ubuntu1.2 qemu-system - 2.0.0+dfsg-2ubuntu1.2 qemu-system-arm - 2.0.0+dfsg-2ubuntu1.2 qemu-system-common - 2.0.0+dfsg-2ubuntu1.2 qemu-system-mips - 2.0.0+dfsg-2ubuntu1.2 qemu-system-misc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-ppc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-sparc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-x86 - 2.0.0+dfsg-2ubuntu1.2 qemu-user - 2.0.0+dfsg-2ubuntu1.2 qemu-utils - 2.0.0+dfsg-2ubuntu1.2 Try to install Debian using debian iso. VM template: CPU=0.5 DISK=[ IMAGE=debian 7, IMAGE_UNAME=jakal ] DISK=[ IMAGE=Debian, IMAGE_UNAME=jakal, READONLY=yes ] FEATURES=[ ACPI=yes ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=VNC ] MEMORY=512 NIC=[ NETWORK=LAN, NETWORK_UNAME=jakal ] OS=[ BOOT=cdrom ] But when the virtual machine starts, I get the following message: Booting from DVD/CD... Boot failed: Could not read from CDROM (code 0004) No bootable device. I tried looking for this problem on the internet and I have not found the cause of this error. Tell me, please, what can I do to resolve this situation? Thanks in advance for your assistance. Best regards, Aleksey Zolotukhin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula using iSCSI Storage
But, does it have a distributed file system? If I'm understanding correctly, in your setup you could corrupt the filesystem quite easily On Thu, Jul 17, 2014 at 12:18 PM, Adam Fyfe adam.fy...@gmail.com wrote: so is it supported that, i copy /var/lib/one to the iscsi storage, and then symlink it from the master node and other nodes ? therefore all my storage is on the san On 11 July 2014 16:30, Adam Fyfe adam.fy...@gmail.com wrote: Hi, I have 1 ON server and 1 additional ON host. I would like the setup so that ALL storage / datastores are on the iSCSI SAN. The iSCSI volume is mounted on each server ext4 netdev iSCSI using native CentOS drivers. The question is, i read that the /var/lib/one should be shared using NFS from the master server and then mounted on the hosts Does anyone have any experience of this type of setup and could share their experienece ? thanks adam ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] /var/lib/one/vms directory
Hi Thomas, yes, it's created in the package. What package exactly did you use? On Thu, Jul 17, 2014 at 9:40 AM, Thomas Stein himbe...@meine-oma.de wrote: Hola. Is the dirrectory /var/lib/one/vms supposed to be created during installation process? I'm asking because this directory was missing on my installation and deploying of vms failed because of the very that reason. cheers t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Full system datastore
Hi, Can you run these commands and send us the output: (in OpenNebula frontend) $ for i in /var/lib/one/datastores/{,*}; do echo $i; df -h $i; done (in a KVM hypervisor) $ for i in /var/lib/one/datastores/{,*}; do echo $i; df -h $i; done Also, what OpenNebula version do you have currently installed? (Distro and package version) Answering your questions: how can system datastore move from frontend to kvm? Can it be moved manually? By default OpenNebula assumes that the default system datastore: /var/lib/one/datastores/0 is shared accross all the nodes using a distributed file system. It can be set up as local to the hypervisors by changing the TM_MAD of the system datastore to 'ssh' instead of 'shared'. what is the system datastore used for? To hold volatile disks (swap disks etc created on the fly not associated for an Image), to hold vm checkpoints for migrations/suspends and primarily stores cloned disks. wouldn't it be better if system datastore be placed on ceph and is it possible that it can be placed on ceph? It can be placed on CephFS, yes. As long as you setup a shared filesystem accross all the nodes, including frontend of /var/lib/one/datastores/0 it doesn't really matter what technology you're using: NFS, CephFS, GlusterFS, etc... cheers, Jaime On Wed, Aug 13, 2014 at 8:25 AM, pawel.orzechow...@budikom.net wrote: Hi, Again, does anybody has some ideas about this. We need to recreate all VM's and it is not solution for production environment (good that it was just a begining of migration from XenServer) . Here are the steps we did: - no machine can be run because ON says that system data store is full (it shows it has 500GB instead of 7GB), - we stopped all the VM's and then restarted frontend - it did not helped - the we restarted kvm - it did not helped - we deleted this 500GB /var/tmp/8d187572e1d5ec159420701f9177150c file - again machines were unable to start - so we deleted VMs and created them again - good they had a template, but unfortunately now the VM's got new IP addresses so it blocked access to them from outside world due to firewall rules - now after above steps system datastore has magically moved to frontend and has again correct capacity of 7GB So the questions now: - how can system datastore move from frontend to kvm? Can it be moved manually? - what is the system datastore used for? - wouldn't it be better if system datastore be placed on ceph and is it possible that it can be placed on ceph? Regards Pawel --- Paweł orzechowskipawel.orzechow...@budikom.net*budikom.net http://budikom.net* ul. Trzy Lipy 3, GPNT, bud. C 80-172 Gdańsk tel.: +48 58 58 58 708 email: bi...@budikom.net W dniu 2014-08-05 08:32, Mateusz Skała napisał(a): Hi, I run some VM's on OpenNebula, but after few machines system datastore are full. As Image backend we are using ceph datastore (and there is enough disk space), but system datastore is probably from kvm host, from file /var/tmp/8d187572e1d5ec159420701f9177150c. How can I make some free space? It is possible to move system datastore on Ceph? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem with network bridge from VMs to physical network.
IP_START : 192.168.254.1 IP_END : 192.168.254.253 USED LEASES LEASE=[ MAC=02:00:c0:a8:fe:01, IP=192.168.254.1, IP6_LINK=fe80::400:c0ff:fea8:fe01, USED=1, VID=92 ] VIRTUAL MACHINES ID USER GROUPNAMESTAT UCPUUMEM HOST TIME 92 adminusersDebian 7.5 Base runn0256M HOMPLMPKRS 0d 11h23 If someone realize what I'm doing wrong and could give me an advise? May also, it is not the best way to bridge the connection of the VMs to the physical network, but I did not found other way of doing it on the documentation, or at least I did not understood. More detailed information about the templates I'm using, below is the public network template(provides leases of 192.168.254.0/24), that is the one I want to bridge to the local network (192.168.7.0/24). And after the network template, the information of the VM template, where the NIC usingpublic network template is assigned. oneadmin@HOMPLMPKRSV0001:/root$ onevnet list ID USER GROUPNAMECLUSTER TYPE BRIDGE LEASES 47 oneadmin usersPrivate - R Vbr0 1 48 oneadmin usersPublic - R Vbr0 1 oneadmin@HOMPLMPKRSV0001:/root$ onevnet show 48 VIRTUAL NETWORK 48 INFORMATION ID : 48 NAME : Public USER : oneadmin GROUP : users CLUSTER: - TYPE : RANGED BRIDGE : Vbr0 VLAN : No USED LEASES: 1 PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- VIRTUAL NETWORK TEMPLATE BRIDGE=Vbr0 DESCRIPTION= DNS=192.168.7.254 GATEWAY=192.168.254.254 NETWORK_ADDRESS=192.168.254.0 NETWORK_MASK=255.255.255.0 PHYDEV= VLAN=NO VLAN_ID= RANGE IP_START : 192.168.254.1 IP_END : 192.168.254.253 USED LEASES LEASE=[ MAC=02:00:c0:a8:fe:01, IP=192.168.254.1, IP6_LINK=fe80::400:c0ff:fea8:fe01, USED=1, VID=92 ] VIRTUAL MACHINES ID USER GROUPNAMESTAT UCPUUMEM HOST TIME 92 adminusersDebian 7.5 Base runn0256M HOMPLMPKRS 1d 10h57 oneadmin@HOMPLMPKRSV0001:/root$ onetemplate list ID USERGROUP NAME REGTIME 17 oneadminusers Test 07/17 10:57:06 18 oneadminusers Debian 7.5 Base 256 MB 07/18 12:02:33 oneadmin@HOMPLMPKRSV0001:/root$ onetemplate show 18 TEMPLATE 18 INFORMATION ID : 18 NAME : Debian 7.5 Base 256 MB USER : oneadmin GROUP : users REGISTER TIME : 07/18 12:02:33 PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ HOSTNAME=$NAME, NETWORK=YES ] CPU=0.5 DISK=[ BUS=ide, IMAGE=Debian 7.5, IMAGE_UNAME=admin ] MEMORY=256 NAME=Debian 7.5 Base 256 MB NIC=[ NETWORK=Public, NETWORK_UNAME=oneadmin ] NIC=[ NETWORK=Private, NETWORK_UNAME=oneadmin ] OS=[ ARCH=x86_64, BOOT=hd ] RAW=[ TYPE=kvm ] TEMPLATE_ID=18 VCPU=1 Thanks in advance and best regards!! ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ 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 -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] opennebula openvswitch loosing connectivity.
Hi Leszek, this is quite intriguing. It looks more like it's an issue related to Open VSwitch... have you asked around there? did you get any debugging tips for this? cheers, Jaime On Thu, Jul 17, 2014 at 11:42 AM, Leszek Master keks...@gmail.com wrote: I've got weird problem. My OpenNebula cloud is now used widely, and we noticed weird things happening. I'm using openvswitch with vlans and i did 2 vm's one with haproxy and second one with apache. Sometimes my haproxy are serving 504 errors, like it have lost connection with apache backend, but it hasn't (no ping lost since last 24h). Also my scp script to upload files to apache backend shows me connection lost error sometimes. Did anyone had connection issues similiar to me? How to track down the problem root? Any clues will be helpfull. I'm out of ideas. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running
operation: pre. Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/102/10/deployment.0' '192.168.0.199' 10 192.168.0.199 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed to create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=gluster+tcp:// 192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none : could not open disk image gluster+tcp://192.168.0.199:24007/fc- img/10/disk.0: No such file or directory Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All subvolumes are down. Going offline until atleast one of them comes back up. Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG E 10 Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 ExitCode: 255 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Failed to execute virtualization driver operation: deploy. [oneadmin@fc-server 102]$ more /var/log/one/10.log Fri Jul 11 14:35:26 2014 [DiM][I]: New VM state is ACTIVE. Fri Jul 11 14:35:27 2014 [LCM][I]: New VM state is PROLOG. Fri Jul 11 14:35:32 2014 [LCM][I]: New VM state is BOOT Fri Jul 11 14:35:32 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/10/deployment.0 Fri Jul 11 14:35:32 2014 [VMM][I]: ExitCode: 0 Fri Jul 11 14:35:32 2014 [VMM][I]: Successfully execute network driver operation: pre. Fri Jul 11 14:35:33 2014 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/102/10/deployment.0' '192.168.0.199 ' 10 192.168.0.199 Fri Jul 11 14:35:33 2014 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][I]: error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=gluster+tcp://192.168.0.199:24007/fc-i mg/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0: No such file or direc tory Fri Jul 11 14:35:33 2014 [VMM][I]: [2014-07-11 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All subvolumes are down. Going offline unt il atleast one of them comes back up. Fri Jul 11 14:35:33 2014 [VMM][I]: Fri Jul 11 14:35:33 2014 [VMM][E]: Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][I]: ExitCode: 255 Fri Jul 11 14:35:33 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Jul 11 14:35:33 2014 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:35 2014 [DiM][I]: New VM state is FAILED qemu-kvm: -drive file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0 I think it should be gluster+tcp://192.168.0.199:24007/fc-sys/10/disk.0 What advice do you have.Thanks. Hi, I've been setting up our Opennebula private cloud over the last few weeks and I'm also using Gluster for the storage backend. Not all info to make it work is available in the Opennebula docs and I was planning on submitting the necessary info. After reading your post I decided to no longer postpone it. have a look at this pull request : https://github.com/vincentvdk/docs/commit/98e70a83b40b58d84e00d3180023671263e2b787 Adding the 'virt' group should fix your problem. Regards, Vincent ___ 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 -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] live migration without shared storage
Hi, yes, you need shared storage for live migration. However, please note that regular migration will work perfectly and the machine state will be preserved. cheers, Jaime On Fri, Jul 11, 2014 at 8:19 PM, Thomas Stein himbe...@meine-oma.de wrote: Hello Is it right opennebula currently does not support live migration without shared storage? I get this error when trying. Fri Jul 11 22:14:32 2014 [VMM][E]: migrate: Command virsh --connect qemu:///system migrate --live one-11 qemu+ssh://192.168.122.200/system failed: error: unable to resolve '/var/lib/one//datastores/0/11/disk.1': No such file or directory thanks and best regards t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Xen4 issues with nic-attach and ebtables vnm driver
Hi Jorge, this is due to a bug in OpenNebula that has been fixed in 4.8. You have apply this change in /var/lib/one/remotes/vnm/OpenNebulaNetwork.rb: - :xm = sudo xm, + :xm = sudo xl, And remember to update the hosts with: onehost sync --force cheers, Jaime On Fri, Aug 1, 2014 at 2:51 PM, Jorge Calás Lozano ca...@speedyrails.com wrote: Hello, We are testing opennebula 4.6 with xen4 drivers on debian 7 servers, it looks really great. We created our own storage drivers to match our current setup, we did it using ruby and they are working great so far. We are now testing the network drivers as well as adding/removing nics/ips to a running vm. In our current setup we add ip aliases to the vm's eth0 nic and add some ebtables rules on the hypervisor host. How is this supposed to be done in opennebula? We tried the onevm nic-attach command and it hot-plugged the nic correctly, but it is lost from the vm once it is rebooted. The vm template keeps the nic, but xen is not aware of it, the deployment file is not changed. If we re-deploy (undeploy resume) the deployment file is correctly updated and xen is aware of the interface, but it needs a downtime we can not always afford. Is this a bug? is there something I'm missing? Does anyone have a similar issue/solution? Another issue we have found is with the ebtables VNM driver, it just won't add any rule. Firewall rules are correctly implemented but not the ebtables ones. On the logs we found the following message: [VMM][D]: Message received: LOG E 10 A different toolstack (xl) have been selected! We found that NicXen class on OpenNebulaNic.rb doesn't use the new xl command but xm from xen3, we changed the code to use xl command but we still get the same message and no rules are added. I guess there other piece of code still using xm but I couldn't find it. Do you have any advice on where to look? Thanks in advance, Jorge ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem to create CDROM image
Hi Maria, you might be affected by the 2984 bug: http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html#sunstone Can you try applying the fix described in that document and try again? On Wed, Aug 13, 2014 at 2:59 PM, Maria Jular maria.ju...@fcsc.es wrote: Hello, I’am working with OpenNebula 4.6.2 and when I create an image TYPE: CDROM with an ISO from Sunstone shows this message “Image upload successfully” but finally this image not appears. What it’s the problem? With image type DATABLOCK or OS not fails… Thank you! *María Jular Castañeda* *Técnico de Sistemas* Tfn: +34-987-29 33 23 / e-mail: maria.ju...@fcsc.es x...@fcsc.es http://www.fcsc.es Edificio CRAI-TIC. Campus de Vegazana, s/n. Universidad de León 24071 León [image: cid:image004.jpg@01CEDEE4.54E4BEB0] [image: logoFCSCL_bn.png] Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si Vd. no es el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. La Fundación Centro de Supercomputación de Castilla y León no asume ninguna responsabilidad por estas circunstancias. This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundación Centro de Supercomputación de Castilla y León does not assume any liability for those circumstances. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ceph datastore monitoring in OpenNebula
Hi Alvaro, Could you also provide a patch for the documentation? On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Javier We have modified the ceph monitor to take into account the datastore ceph pool and also the ceph user. This is a generic solution that could be useful for other datacenters as well, we have created a pull request in github if you are agree about this change and you want to include it in the next release. https://github.com/OpenNebula/one/pull/27 We only have modified these lines in /var/lib/one/remotes/datastore/ceph/monitor: --- monitor.orig.1906142014-06-19 14:35:24.022755989 +0200 +++ monitor2014-06-19 14:49:34.043187892 +0200 @@ -46,10 +46,12 @@ while IFS= read -r -d '' element; do XPATH_ELEMENTS[i++]=$element done ($XPATH
Re: [one-users] Ceph datastore monitoring in OpenNebula
By the way, unfortunately this won't make it 4.8 as it's already feature freeze (and about to be released). I know you reported this a while back and in the end we didn't include it because we weren't sure. Sorry for not revisiting this issue earlier :S Before providing the patch for the docs, let me discuss this with the team, see if we can include it for 4.8.1 ... cheers, Jaime On Mon, Aug 11, 2014 at 10:25 AM, Jaime Melis jme...@opennebula.org wrote: Hi Alvaro, Could you also provide a patch for the documentation? On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Javier We have modified the ceph monitor to take into account the datastore ceph pool and also the ceph user. This is a generic solution that could be useful for other datacenters as well, we have created a pull request
Re: [one-users] Opennebula node (CentOS, Xen host) saying Error executing collectd-client.rb when creating a host.
++ EXIT_CODE=134 ++ '[' x134 '!=' x0 ']' ++ error_message 'Error executing collectd-client.rb' ++ echo 'ERROR MESSAGE --8--' ERROR MESSAGE --8-- ++ echo 'Error executing collectd-client.rb' Error executing collectd-client.rb ++ echo 'ERROR MESSAGE --8--' ERROR MESSAGE --8-- ++ exit 134 + data= + EXIT_CODE=134 + echo ''+ exit 134 I must admit that I'm quite lost here (and frustrated, since it worked on this very same machine last week but I decided to format since I played around a bit with it...) and have no idea about what could cause it. Any help would be appreciated, thanks in advance and have a nice day. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem with network bridge from VMs to physical network.
TEMPLATE 18 INFORMATION ID : 18 NAME : Debian 7.5 Base 256 MB USER : oneadmin GROUP : users REGISTER TIME : 07/18 12:02:33 PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ HOSTNAME=$NAME, NETWORK=YES ] CPU=0.5 DISK=[ BUS=ide, IMAGE=Debian 7.5, IMAGE_UNAME=admin ] MEMORY=256 NAME=Debian 7.5 Base 256 MB NIC=[ NETWORK=Public, NETWORK_UNAME=oneadmin ] NIC=[ NETWORK=Private, NETWORK_UNAME=oneadmin ] OS=[ ARCH=x86_64, BOOT=hd ] RAW=[ TYPE=kvm ] TEMPLATE_ID=18 VCPU=1 Thanks in advance and best regards!! ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebula at the Cologne CentOS Dojo
Dear all, we are happy to announce that we will be present at the Cologne CentOS Dojo which will take place on August 4th. We will be doing a tutorial. Read more here: http://opennebula.org/opennebula-at-centos-cologne-dojo/ Se you there! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] LVM / shared datastores running OS inside a USB stick
Hi Pablo, LVM provides a few advantages in some scenarios, but generally a shared file system like NFS fits more uses cases. In a nutshell the difference between these two datastores is: * lvm: images are registered into LV. When a VM is instantiated, the LV is cloned to another LV in the same VG. The drawback is that it takes up a lot of space * fs_lvm: images are stored as files. When a VM is instantiated, the file is dumped into an LV in the VG with the name vg-one-system_ds_id In either case, the system datastore is a file-based datastores:. Take a look at the table in this section: http://docs.opennebula.org/4.6/administration/storage/sm.html#planning-your-storage Only shared and ssh can be system datastores (and vmfs for VMware). cheers, Jaime On Wed, Jul 23, 2014 at 3:47 AM, Pablo Hinojosa Nava pablo...@gmail.com wrote: HI all, I have rent a single dedicated server with OVH and I run the OS inside a USB stick. While I am setting up the datastores I cannot use LVM datastore driver (fs_lvm) to system datastore, so the default system datastore is on the USB stick. Which combination of types should I use for system, images and files datastores? I am having problems mixing system shared datastores with images fs_lvm datastores. How should I make the partitions to have a good configuration? all shared with partitions? mixed (lvm + partitions)? all LVM (would be possible?)? is fs_LVM much better than shared? Cheers, Pablo Hinojosa. PabloHinojosa.is http://pablohinojosa.is/this?utm_source=firmautm_medium=correoutm_campaign=firma ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula using iSCSI Storage
Hi Adam, In your case I would set up a clustered file system on the iSCSI volume. For OpenNebula that will be transparant, simply configure it as shared. You can also use the LVM drivers for this: http://docs.opennebula.org/4.6/administration/storage/fs_lvm_ds.html I wouldn't use NFS if I were you for this setup. let me know if this helps. cheers, Jaime On Fri, Jul 11, 2014 at 5:30 PM, Adam Fyfe adam.fy...@gmail.com wrote: Hi, I have 1 ON server and 1 additional ON host. I would like the setup so that ALL storage / datastores are on the iSCSI SAN. The iSCSI volume is mounted on each server ext4 netdev iSCSI using native CentOS drivers. The question is, i read that the /var/lib/one should be shared using NFS from the master server and then mounted on the hosts Does anyone have any experience of this type of setup and could share their experienece ? thanks adam ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot check QEMU binary /usr/bin/kvm: No such file or directory
Sure, take a look at this section. It can be customized globally in the vmm_exec_kvm.conf http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#default-attributes On Fri, Jul 11, 2014 at 12:06 PM, Thomas Stein himbe...@meine-oma.de wrote: Hello. Opennebula complains about the non-existing binary called /usr/bin/kvm. I'm on gentoo and there is no such binary anymore. It's called qemu-system-x86_64. I could make a symlink yes, but is it also possible to tell opennebula where to look? thanks and best regards t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OneFlow - 4.6 - Sunstone errors
Are you using the 4.6.2 sunstone-server.conf file? In particular, do you have this part (it should right at the very end): --- :routes: - oneflow -- On Wed, Jul 9, 2014 at 1:12 PM, Robert Tanase robert.tan...@appnor.com wrote: Hi all , Regarding OneFlow, in Sunstone interface, I am receiving two error messages: - Error: service resource not supported - Error: service_template resource not supported OneFlow template could not be saved. I am using now the latest One (4.6.2) - Debian apt version. The oneflow-server is configured and started . There is no record regarding mentioned errors In log files /var/log/one/oneflow.error /var/log/one/oneflow.log In Suntone log == /var/log/one/sunstone.log == GET /service_template?timeout=falsecsrftoken=b68b0ec72aeb16a7e2591cd2e3ccf383 HTTP/1.1 404 - 0.0018 GET /service?timeout=falsecsrftoken=b68b0ec72aeb16a7e2591cd2e3ccf383 HTTP/1.1 404 - 0.0018 Please any hints? -- *Thank you Robert Tanase* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OneFlow - 4.6 - Sunstone errors
Hi Robert, here you go. Please report if its working for you. http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html#oneflow (look for 3024) Thank you for testing :) cheers, Jaime On Wed, Jul 9, 2014 at 4:17 PM, Robert Tanase robert.tan...@appnor.com wrote: Thank you for quick response. I'll watch the mailing lists for patch announcement. Best Regards, Robert Tanase On Wed, Jul 9, 2014 at 5:00 PM, Jaime Melis jme...@opennebula.org wrote: Hi Robert, I'm precisely developing right now a patch for that known issue. It'll probably be finished within a couple of hours. Cheers, Jaime On Wed, Jul 9, 2014 at 3:44 PM, Robert Tanase robert.tan...@appnor.com wrote: Thank you for hint. This part was missing from sunstone-server.conf. I added this part and than I restarted sunstone-server service. When I was trying to add a new OneFlow template I got the following error: KEY: csrftoken not allowed; SCHEMA: typeobjectpropertiesshutdown_actiontypestringrequiredfalseenumshutdownshutdown-hardnametypestringrequiredtruedeploymenttypestringenumnonestraightdefaultnonerolestypearrayrequiredtrueitemstypeobjectpropertiesmin_vmstypeintegerrequiredfalseminimum0shutdown_actiontypestringrequiredfalseenumshutdownshutdown-hardelasticity_policiestypearrayitemstypeobjectpropertiesexp It seems that I have an authentication configuration issue. Best Regards, Robert Tanase On Wed, Jul 9, 2014 at 4:30 PM, Jaime Melis jme...@opennebula.org wrote: Are you using the 4.6.2 sunstone-server.conf file? In particular, do you have this part (it should right at the very end): --- :routes: - oneflow -- On Wed, Jul 9, 2014 at 1:12 PM, Robert Tanase robert.tan...@appnor.com wrote: Hi all , Regarding OneFlow, in Sunstone interface, I am receiving two error messages: - Error: service resource not supported - Error: service_template resource not supported OneFlow template could not be saved. I am using now the latest One (4.6.2) - Debian apt version. The oneflow-server is configured and started . There is no record regarding mentioned errors In log files /var/log/one/oneflow.error /var/log/one/oneflow.log In Suntone log == /var/log/one/sunstone.log == GET /service_template?timeout=falsecsrftoken=b68b0ec72aeb16a7e2591cd2e3ccf383 HTTP/1.1 404 - 0.0018 GET /service?timeout=falsecsrftoken=b68b0ec72aeb16a7e2591cd2e3ccf383 HTTP/1.1 404 - 0.0018 Please any hints? -- *Thank you Robert Tanase* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- *Best regards, Robert TANASESoftware Developer - Appnor MSP S.A. US: (+1) 650 336 57 50 %28%2B1%29%20650%20336%2057%2050 RO: (+4) 021 569 46 56 %28%2B4%29%20021%20569%2046%2056 http://www.appnor.com http://www.appnor.com/* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- *Best regards, Robert TANASESoftware Developer - Appnor MSP S.A. US: (+1) 650 336 57 50 %28%2B1%29%20650%20336%2057%2050 RO: (+4) 021 569 46 56 %28%2B4%29%20021%20569%2046%2056 http://www.appnor.com http://www.appnor.com/* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Known issue: oneflow creation not working in 4.6.2 due to csrftoken patch
Hi, as the title says, we have a new known issue. If you are using flows you might be affected by this. http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html#oneflow (Issue 3024) cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM basic networking (NAT / Bridge)
Hi, Although it can be done we generally not recommend doing NAT, only bridge network. To do so the typical requirements are to: For all hypervisors: - create a bridge(for example: br0) - add a physical interface to that bridge (for example eth0) In the OpenNebula Frontend - connect the VMs to that bridge by specifying it in the network resource If you have already done this, it will typically be a routing problem. You will need to send us ip route run *both* in the server you are trying to connect from and in the VM. regards, Jaime On Thu, Jul 3, 2014 at 7:44 AM, Anandharaj Subramaniam anandharaj.man...@mimos.my wrote: Hi All, Im setting up test environment to evaluate and understand more about OpenNebula. Everything is completed without any issues, but for VM virtual network, I cant figure out how to configure. How can I use like NAT / bridge network in VM so that the VM can have network connection? Currently, I added the Host with dummy network driver and created a new virtual network with default driver. The VM detected the network card but the connection doesn’t work. Is there anything that I have missed? -- Regards, Anandharaj -- *DISCLAIMER:* This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments). MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM running on multiple hosts
As far as I know, the shared_lvm hasn't been updated lately: - https://github.com/OpenNebula/addon-shared-lvm-single-lock - http://community.opennebula.org/shared_lvm On Fri, Jun 27, 2014 at 9:40 PM, Miloš Kozák milos.ko...@lejmr.com wrote: Hi, it is great to know, is it related to the improved monitoring in ONE? I am getting ready for trials of ONE 4.6. We are using shared_lvm driver, so I would like to know if the new LVM driver is compatible with it? Or I can expect some major issues? I havent had enough time to check.. Thanks Milos Dne 14-06-27 12:18 PM, Tino Vazquez napsal(a): Hi, Issues with delete and shutdown have been greatly improved in OpenNebula 4.4+, I would recommend upgrading as far as possible. 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. On 26 June 2014 16:42, Steven Timm t...@fnal.gov wrote: We have also seen this behavior in OpenNebula 3.2. It appears that the failure mode occurs because the onevm delete (or shutdown or migrate) doesn't correctly verify that the virtual machine has gone away. It sends the acpi terminate signal to the virtual machine but if that fails, the VM will keep running. There is no signal sent to libvirt to kill the machine regardless. OpenNebula deletes the disk.0 from underneath it but that doesn't stop the vm from running, it stays running on the deleted file handle. On the plus side, I once was able to recover the full disk image of a VM that shouldn't have been deleted, that way, by going to the /proc file system and dd'ing from the still-open file handle of the process. We've written a set of utilities to check the consistency of the leases database with what is actually running on the cloud, and alert us if there are any differences. Steve Timm On Thu, 26 Jun 2014, Milos Kozak wrote: Hi, I would like to add that I have experienced it few times with ONE 3.8.. On 6/26/2014 9:34 AM, Robert Tanase wrote: Hi all, We are using Opennebula 4.2 system with several hosts ( KVM + network storage) . Recently we have discovered, by having disk r/w issues on a VM, that after a delete - recreate action, specific VM is running on two different hosts: the old placement host and the new placement host. We are using the hooks system for host failure and a cron job at 5 minutes which is (re)deploying pending machines on available running hosts. By checking oned log files we couldn't find any abnormal behavior and we are stuck. Please guide us to find the root cause of this issue if is possible. -- Thank you, Robert Tanase ___ 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 -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ 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 -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ceph datastore monitoring in OpenNebula
: --- $ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 0 system114.8G 85% - 0 sys - shared 1 default 114.9G 84% - 2 img fs ssh 2 files 114.9G 84% - 0 fil fs ssh 103 ceph 0M - - 0 img ceph ceph but if we run rados as oneadmin user: $ rados df -p one --id libvirt pool name category KB objects clones degraded unfound rdrd KB wr wr KB one - 0 00 0 00 000 total used 1581852 37 total avail 140846865180 total space 140848447032 It's working correctly (we are using one pool and libvirt ceph id) the oned.log only shows this info: Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore default (1) Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore files (2) Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore ceph (103) Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore default (1) successfully monitored. Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore files (2) successfully monitored. Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore ceph (103) successfully monitored. Any clue about how to debug this issue? Thanks in advance! Alvaro ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can't upload image through browser
Hi, I can confirm this is a bug introduced in the 4.6.2 maintanance release as a consequence of the csrf vulnerability fix. We are working on realasing a patch for this. http://dev.opennebula.org/issues/2984 cheers, Jaime On Sun, Jun 15, 2014 at 7:10 PM, Vladislav Solovei vlad...@ukr.net wrote: Hi, all! CentOS 6.5 x86_64 Opennebula 4.6.2 I can't upload image through web-interface. Even very small image (empty 10gb from marketplace) In sunstone.log i have a error: Sun Jun 15 20:06:55 2014 [I]: x.x.x.x - - [15/Jun/2014 20:06:55] POST /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Empty%22%2C% 22DESCRIPTION%22%3A%2210gb+empty+img%22%2C%22TYPE%22%3A% 22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A% 22101%22%7Dfile=Empty10G.bz2qqfile=Empty10G.bz2 HTTP/1.1 401 - 0.0014 HTTP error 401. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Known Issue: Broken image upload in Sunstone OpenNebula 4.6.2
Dear all, The image upload in Sunstone is currently broken in OpenNebula 4.6.2. You can find the patch here: http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html (issue 2984) Regards, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] New maintenance release 4.6.2
transmiten ni su integridad o correcta recepci?n. La Fundaci?n Centro de Supercomputaci?n de Castilla y Le?n no asume ninguna responsabilidad por estas circunstancias. This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundaci?n Centro de Supercomputaci?n de Castilla y Le?n does not assume any liability for those circumstances. De: Tino Vazquez [mailto:cvazq...@c12g.com] Enviado el: mi?rcoles, 11 de junio de 2014 19:01 Para: Maria Jular CC: users Asunto: Re: [one-users] ERROR instantiate VM from cdrom On 11 June 2014 18:49, Maria Jular maria.ju...@fcsc.es wrote: Yes, /var/lib/one/tmp was full because I have tried to upload multiple images iso and all had failed. I don?t understand why this path is full because I?m working with datastores NOT local Whenever an image is uploaded using Sunstone, it uses that temp folder to store the images. You can safely discard them if there is no upload in process. I've released all the space but the boot order type cdrom keeps crashing. Please send us the contents of (where vid is the id of the VM that crashed): /var/log/one/vid.log /var/lib/one/vms/vid/deployment.1 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. -- Message: 3 Date: Thu, 12 Jun 2014 13:10:58 +0200 From: Javier Fontan jfon...@opennebula.org To: users@lists.opennebula.org users@lists.opennebula.org Subject: [one-users] New maintenance release 4.6.2 Message-ID: CAK+uMM-X2cmrrNTJUP=c2hvL0+rk+b_CpbWQ1nUr92xy9MRpDg@mail. gmail.com Content-Type: text/plain; charset=UTF-8 We have just released a new maintenance release 4.6.2. This time it does not come with new features, just bug fixes. One of them is a security vulnerability in Sunstone and you should upgrade your installation. Thanks to Dennis Felsch and Mario Hei?de?rich from Horst G?rtz Institute for IT-Security, Ruhr-University Bochum for telling us about it. [1] Other fixes are as follows: * Xen localtime feature broke the deployment file [2] * Fix some problems with double quotes in Sunstone [3] * CentOS Sunstone start scripts did not start novnc [4] In case you have 4.6.1 installed the upgrade is straightforward as the config files have not changed. http://docs.opennebula.org/4.6/release_notes/release_notes/index.html Happy upgrading. [1] http://dev.opennebula.org/issues/2979 [2] http://dev.opennebula.org/issues/2948 [3] http://dev.opennebula.org/issues/2936 [4] http://dev.opennebula.org/projects/opennebula/repository/revisions/ d3943c6383846f0cb9d252ae87fdc9b24c137ded ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] monitor_ds.sh in a shared storage environement
Hi Armin, apologies for the delay in the reponse. The problem here is that ideally we want to report the maximum size of the images if they are sparse images. If we have a 10G sparse image that is taking up only 1G in space, we would like to report the 10G amount, and not 1G, since we would like to guarantee available space in the datastore. That's why we cannot use `df`. In any case, the system now in place is not properly reporting the image size, since we would need to be using `du --aparent-size`. So as for now, switching from `du` to `df` should be a plausible workaround with no real impact, except better performance. On the other hand, as you have reported `du` generates a lot of I/O, so ideally we would need to be doing is to get the USED disk space directly from OpenNebula. To sum it up, we have these two related issues to improve this: http://dev.opennebula.org/issues/2783 http://dev.opennebula.org/issues/2402 As for your particular case, I think you should modify monitor_ds.sh with a call to `df` instead of `du`. - is it needed to check the datastores from every single host (if it is a shared environment and the opennebula server itself has access to the datastores)? The monitorization driver is very simple (in order to be easily adapted), and there is no way to orchestrate this. It would be a very nice thing to have though, feel free to open a feature request to implement this. - why is the base_path checked at all? isn't it enough to check the datastores? there is du run on all the directories twice and du is very resource consuming ... This is a tricky one. If the mountpoint does not exist (/var/lib/one/datastores/id) it can be created automatically by opennebula, but only when the first VM is executed. OpenNebula needs to know in this case if there will be enough space in the datastore, and it assumes that if the mountpoint doesn't exist yet it will have the same space available as the parent folder, which is the datastore location: /var/lib/one/datastores. That's why we need to be checking that too. Regards, Jaime On Fri, Jun 6, 2014 at 2:57 PM, Armin Deliomini armin.deliom...@runtastic.com wrote: Hi! Platform: Ubuntu 12.04 + KVM Opennebula 4.6.1 I recently upgraded from opennebula 4.2 to 4.6.1 ending up in hosts not beeing monitored anymore. After some investigation I found out, that there is a new remote monitoring script, monitor_ds.sh. I have a shared storage environment (some central Netapps sharing NFS) and so my question is: the script is executed on all the hosts, so all hosts run a du -sLm on all datastores and the base_path (/var/lib/on/datastores) which can consume quite some storage performance unnecessarily. In my case hosts haven't been monitored at all, because there was a driectory containing millions of small files in one of the datastores (used as a temp location without thinking of the consequences) and du would never finish in time. There are two questions: - is it needed to check the datastores from every single host (if it is a shared environment and the opennebula server itself has access to the datastores)? - why is the base_path checked at all? isn't it enough to check the datastores? there is du run on all the directories twice and du is very resource consuming ... Is there a reason for this I am missing? Thx, Armin -- runtastische Grüße · runtastic regards *Armin Deliomini* *Infrastructure engineer* *Virtualization specialist * *Storage engineer* *DevOPS* *OPS* *[image: runtastic - makes sports funtastic] http://www.runtastic.com* runtastic GmbH Pluskaufstraße 7 · Business Center 4061 Pasching / Linz (Austria) Tel. +43(0)67689692450 Fax. +43(0)7229.23327 armin.deliom...@runtastic.com www.runtastic.com http://www.facebook.com/runtastic http://www.twitter.com/runtastic http://www.youtube.com/user/runtastic ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] 4.4 Installation instructions are incorrect
Hi, Nikolay is right, 4.6 is the last stable (and production ready) release, and the one you should be installing. However it's somewhat confusing that the 4.4 docs state that 4.6 is a devel version, so apologies for that, we've already fixed it. In any case http://docs.opennebula.org will always redirect to the last stable. regards, Jaime On Tue, Jun 10, 2014 at 9:30 AM, kna...@gmail.com wrote: I assume the logic behind is the following: user starts from OpenNebula home page (opennebula.org), then click on Documentation ( http://opennebula.org/documentation/) which contains the documentation on the latest stable release. Currently it is written the following: OpenNebula 4.6 Guides (Latest Stable). kerryhall . wrote on 10/06/14 11:23: http://docs.opennebula.org/4.4/ It says 4.4 (Stable) and 4.6 (Devel) On Tue, Jun 10, 2014 at 12:23 AM, kerryhall . kerryh...@gmail.com mailto:kerryh...@gmail.com wrote: On this page here: On Tue, Jun 10, 2014 at 12:19 AM, kna...@gmail.com mailto: kna...@gmail.com wrote: Hello Kerry! What makes you think that 4.6 is development version? As far as I know it is a stable one (there is even 4.6.1 with bug fixes). Have a loot at Release cycle [1] Best regards, Nikolay. [1] http://opennebula.org/__software/release/ http://opennebula.org/software/release/ kerryhall . wrote on 10/06/14 02:45: Hi folks, I followed the instructions here: http://docs.opennebula.org/4.__4/design_and_installation/__ quick_starts/qs_centos_kvm.__html#qs-centos-kvm http://docs.opennebula.org/4.4/design_and_installation/ quick_starts/qs_centos_kvm.html#qs-centos-kvm But I end up with version 4.6, not version 4.4. 4.6 is nice, but I would like to use the stable version for my use, not the development version. I managed to work around this by manually telling yum to install version 4.4.1-1, but whenever I try to do yum update, it updates these packages to 4.6. Of course, I could exclude these packages from yum updates which seems to work. It might be nice to do whatever is necessary to allow one package to not replace the other, perhaps in the same way that mysql 5.6 and mysql 5.5 can coexist on a system. I would also like to see the documentation to be updated and correct. I would be happy to collaborate on this with whoever has permissions to edit the documentation. Thanks, Kerry _ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/__listinfo.cgi/users-opennebula. __org http://lists.opennebula.org/listinfo.cgi/users-opennebula. org _ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/__listinfo.cgi/users-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 -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] virtual network cannot get out
on an identical host cloud2 running openvswitch, but using virsh or virt-manager, and they start and run fine. They connect to the network and can route traffic fine. I have 6 VMs running on cloud2 and have tested them and they all work fine. I can ssh to them, they network fine. When I instantiate a VM using ONE on cloud1, the host I'm working with, network fails to work. -- Neil Schneider Systems Administrator IFX 12750 High Bluff Drive, Suite 460 San Diego, CA 92130 Phone 858-724-1024 | Fax 858-724-1043 | http://www.ifxonline.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hint with snapshot
Hi Ale, that error does not ring any bells, however snapshotting will only work with qcow2 images. I'm not sure if you can snapshot it with Ceph? regards, Jaime On Wed, May 28, 2014 at 12:08 PM, Ale ale...@gmail.com wrote: Hi all, I'm apparently successfully installed opennebula, all seems to works fine except for the snapshot. As datastore i use ceph, with rbd_format=2, when i try to execute onevm snapshot-create log show [VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/snapshot_create ]; then /var/tmp/one/vmm/kvm/snapshot_create one-17 0 17 10.5.90.67; else exit 42; fi' [VMM][I]: Warning: Permanently added '10.5.90.67' (ECDSA) to the list of known hosts. [VMM][I]: error: operation failed: Error -95 while writing VM [VMM][I]: [VMM][E]: Could not create snapshot for domain one-17. [VMM][I]: ExitCode: 255 [VMM][E]: Error creating new VM Snapshot: Could not create snapshot for domain one-17. and libvrtd.log show on the node show error : qemuMonitorTextCreateSnapshot:2739 : operation failed: Error -95 while writing VM Onestly if i execute the same command of snapshot_create virsh snapshot-create one-17 the result is the same, so i suppose that i've misconfigured something, but i can't find it. Could someone give me any hint? Opennebula (4.6.1) is installed on Ubuntu 14.04, while ceph is ceph version 0.79. Regards Alessandro ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Transfer/bandwidth limits?
Hi Susan, we don't have this as of yet, it would be a nice thing to have and not very difficult. If you know how to apply QoS to a VM manually we can automate the process in the networking drivers. And I think Shankhadeep is right, with opensvswitch it would be even easier, but the fact reimans that it's not yet supported in OpenNebula. cheers, Jaime On Sat, May 31, 2014 at 4:51 AM, Shankhadeep Shome shank15...@gmail.com wrote: Have you looked into openvswitch? It may have the features you need. On Fri, May 30, 2014 at 3:52 PM, Susan Curtis su...@virtovo.com wrote: First time posting here, so apologies if I have missed any conventions information required. I've managed to deploy a multi node setup with OpenNebula and am evaluating it against some other cloud platforms. It's been a real breeze to setup and I really like the ease of use within Sunstone. I've looked through the documentation and past messages on this list and cannot find any up to date info on the subject (there was a patch mentioned a while back for an earlier version). Is there any way to set bandwidth limits per instances? Or at very least rate limit the NIC? If we deployed OpenNebula we'd need some way to limit bandwidth for instances. Regards Susan ___ 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 -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Error attaching NIC on the fly to running VM
I've created an issue to review this: http://dev.opennebula.org/issues/2961 OpenNebula should be creating the interface, there might be a configuration problem somewhere. regards, Jaime On Mon, Jun 2, 2014 at 2:46 PM, Valerio Schiavoni valerio.schiav...@gmail.com wrote: Hello, when trying to attach a new NIC to a running VM, the following error occurs. It seems to me the system doesn't manage to create the new bridge interface onebr52. But, isn't that supposed to be created automatically by OpenNebula ? We're using OpenNebula 4.4 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 Successfully execute network driver operation: pre. Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 Command execution fail: /var/tmp/one/vmm/kvm/attach_nic 'one-4020' '02:00:c0:a8:80:dc' 'onebr52' 'virtio' '802.1Q' 4020 newcluster-34 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG E 4020 attach_nic: Command virsh --connect qemu:///system attach-device one-4020 ( Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 cat EOT Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 interface type='bridge' Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 source bridge='onebr52'/ Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 mac address='02:00:c0:a8:80:dc'/ Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 model type='virtio'/ Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 /interface Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 EOT Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 ) failed: error: Failed to attach device from /dev/fd/63 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 error: Cannot get interface MTU on 'onebr52': No such device Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG E 4020 Could not attach () to one-4020 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 ExitCode: 1 Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 Failed to execute virtualization driver operation: attach_nic. Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: ATTACHNIC FAILURE 4020 Could not attach () to one-4020 Thanks, Valerio ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Talk about Ceph in the OpenNebula Techday in Fremont, CA June 24th
Dear all, we are quite happy to include a Ceph talk by a member of Inktank in the Techday in Fremont: http://opennebula.org/community/techdays/bayarea2014/ Be sure to drop by if you are around! Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ubuntu installation on VM
Hi Christope, can you share the template of ubuntu_hdd ? Are you using qcow2? if you are, have you also set the FSTYPE to qcow2 (as well as the DRIVER)? What DEV_PREFIX are you using? Can you try with a larger disk? Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Live migration leads to UNKNOWM state
Hi Stefan, Apologies, but I still don't understand if there's a bug here or not. Could you please open a bug report with instructions on how to replicate the issue? Regards, Jaime On Wed, May 7, 2014 at 10:00 AM, Stefan Ivanov s.iva...@maxtelecom.bgwrote: We have 3 datastores with the following ids: 0 - system 101 - ceph_data 102 - system_mc Live migration happens without a problem when we move the data from the datastore directory to the migration target machine datastore directory before that. *From:* Jaime Melis [mailto:jme...@opennebula.org] *Sent:* 05 май 2014 г. 12:54 ч. *To:* Stefan Ivanov *Cc:* users@lists.opennebula.org *Subject:* Re: [one-users] Live migration leads to UNKNOWM state Hi Stefan, what changes did you make? is this a bug you're reporting? cheers, Jaime On Wed, Apr 30, 2014 at 2:57 PM, Stefan Ivanov s.iva...@maxtelecom.bg wrote: Hello Jaime Problem is resolved, After little modification of live migrate scripts everything is fine. The problem is that: checkpoint and deployment file not copied to target node. Right now I upgrade to 4.6 and test how is live migration I this version. Thanks and best regards, Stefan Ivanov *From:* Jaime Melis [mailto:jme...@opennebula.org] *Sent:* 30 април 2014 г. 15:50 ч. *To:* Stefan Ivanov *Cc:* users@lists.opennebula.org *Subject:* Re: [one-users] Live migration leads to UNKNOWM state Hi Stefan, can you verify if after a while the vms reverts back to the RUNNING state. Can you also manually confirm that the VM is indeed in the target server (by running virsh -c qemu:///system list) cheers, Jaime On Thu, Apr 24, 2014 at 11:46 AM, Stefan Ivanov s.iva...@maxtelecom.bg wrote: I`m running OpenNebula + CEPH + KVM. When I try to make live migration from one host to other everything looks good, no have errors, process is running on right host but Virtual machine go to UNKNOWN state(RUNNING(host1) - MIGRATE - RUNNING(host2) - UNKNOWN(host2)). In vm log I see this: VM running but it was not found. Boot and delete actions available or try to recover it manually, New VM state is UNKNOWN. About my configuration: Ceph datastore: ID 101 Nameceph_data Cluster SunSystem Base path /var/lib/one/datastores/101 Capacity Total 36.4TB Used3.4TB Free33TB Limit - System datastores: system /var/lib/one//datastores/0 SHARED NO TM_MAD ssh TYPESYSTEM_DS system_mc /var/lib/one//datastores/102 SHARED NO TM_MAD ssh TYPESYSTEM_DS VM LOG: Thu Apr 24 12:15:49 2014 [LCM][I]: New VM state is MIGRATE Thu Apr 24 12:15:49 2014 [VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate. Thu Apr 24 12:15:49 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:49 2014 [VMM][I]: Successfully execute network driver operation: pre. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute virtualization driver operation: migrate. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute network driver operation: clean. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute network driver operation: post. Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute transfer manager driver operation: tm_postmigrate. Thu Apr 24 12:15:55 2014 [LCM][I]: New VM state is RUNNING Thu Apr 24 12:16:04 2014 [VMM][I]: VM running but it was not found. Boot and delete actions available or try to recover it manually Thu Apr 24 12:16:04 2014 [LCM][I]: New VM state is UNKNOWN Version of OpenNebula 4.4.1 CONFIDENTIALITY NOTICE The information contained in this message (including any attachments) is confidential and may be legally privileged or otherwise protected from disclosure. This message is intended solely for the addressee(s). If you are not the intended recipient, please notify the sender by return e-mail and delete this message from your system. Any unauthorised use, reproduction, or dissemination of this message is strictly prohibited. Any liability arising from any third party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. Please note that e-mails are susceptible to change. Max Telecom shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org
Re: [one-users] Missing internet connection in the VMs
Hi, Could this be a routing problem? Can you report the output of ip ro from the frontend, hypervisor and vm guest? cheers, Jaime On Mon, May 12, 2014 at 7:40 PM, Br4ve bendix_harr...@web.de wrote: Sorry I noticed a mistake in the my question. The node and the frontend are connected via eth1 to the internet instead of eth0. Further more I'll give you some information about the virtual network I used: output of onevnet show: VIRTUAL NETWORK 1 INFORMATION ID : 1 NAME : net0 USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : FIXED BRIDGE : lan0 VLAN : No USED LEASES: 1 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- Best regards 2014-05-12 19:26 GMT+02:00 Br4ve bendix_harr...@web.de: Hi, i got some issues about the connectivity of my VMs to the internet. I'm running Opennebula 4.4 on Ubuntu. I got a node and a frontend, which are both connected to the internet via eth0. My Bridge (lan0) is connected to that interface as well and I'm using the bridge in a fixed virtual network. I'm using the Ubuntu 12.04 LTS Image from the Marketplace, so that it shouldn't be a problem with the image itself I guess!? the brctl show command: bridge name bridge id STP enabled interfaces lan08000.d4bed9a3d25f no eth1 vnet0 virbr0 8000. yes the bridge part in /etc/network/interfaces is: auto lan0 iface lan0 inet dhcp bridge_ports eth1 bridge_stp off bridge_fd 9 Whats wrong with my setup? Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula ceph snapshots problem.
Hi Leszek, using Ceph and qcow2 is not something we have leveraged. Maybe someone from the community can report their experiences? I've created a feature report to see if we can add support for this. http://dev.opennebula.org/issues/2947 Regards, Jaime On Thu, May 15, 2014 at 9:32 AM, Leszek Master keks...@gmail.com wrote: I can't migrate to NFS because the disk io performance won't handle my VM's. There isn't any sunstone modification to use rbd v2 images snapshots ? I can create them using rbd snap create, but don't have the possibility to use it via sunstone. 2014-05-14 16:31 GMT+02:00 Vladislav Gorbunov vadi...@gmail.com: Can you write me what i need to do to migrate to qcow2 format? I've got running vm's that cannot be deleted. I tried migrating them form rbd v1 to v2 but this doesn't solved my problem. You need NFS datastore. Only NFS or SSH datastore support qcow2 file format. But Opennebula can't move image between datastores. 1. Shutdown vm 2. Convert from ceph to qcow2 format: export image=vm-disk-1; qemu-img convert -O qcow2 rbd:`oneimage show $image|awk '/^SOURCE/ {print $3}'` /var/lib/one/datastore/123/$image.qcow2 3. Rename ceph image: oneimage rename $image $image.bak 4. Import qcow2 image to NFS datastore with id 123 for example: oneimage create -d nfsdatastorename --name $image --type os --persistent --source /var/lib/one/datastores/123/$image.qcow2 --driver qcow2 --size `rbd info rados/$image|awk '/size/ {print $5*4}'` 5. Start vm 2014-05-14 22:08 GMT+12:00 Leszek Master keks...@gmail.com: Can you write me what i need to do to migrate to qcow2 format? I've got running vm's that cannot be deleted. I tried migrating them form rbd v1 to v2 but this doesn't solved my problem. 2014-04-30 12:41 GMT+02:00 Javier Fontan jfon...@opennebula.org: I'm not sure I follow you with that. Just changing the TM from ceph to qcow2 is something that probably doesn't work. One of the things that can be failing is that getting the free space from ceph and qcow2 is totally different and it may be that the datastore is reporting 0 bytes free. In this case the scheduler will never start a VM that uses that datastore. On Wed, Apr 23, 2014 at 9:18 AM, Leszek Master keks...@gmail.com wrote: I tried to change rbd image version from 1 to 2 but it doesn't work. But when i changed in my ceph datastore TM_MAD to qcow2 the new VM instantized from image that was in the datastore stuck on PENDING. Is there any way to get this working with existing images? 2014-04-21 14:53 GMT+02:00 Stuart Longland stua...@vrt.com.au: On 17/04/14 01:18, Leszek Master wrote: 1) I'm using OpenNebula 4.4 with ceph datastore. When i try to make snapshot i've got error: 3) Is there any way to use copy-on-write in opennebula 4.4 ? I did some experimental work on this with our OpenNebula 4.4 instance. It relies on modern kernel's ability to map version-2 RBD images using the kernel rbd driver, so it needs kernel 3.10 (? Not sure of exact version; we're using 3.13). This newer format allows copy-on-write cloning. Hot snapshots work, however I haven't managed to trigger a deferred snapshot, so that's untested. The driver also makes use of hypervisor-side cache using FlashCache, allocating slices of a nominated LVM volume to boost performance. I've thrown my work into a git repository for now, consider this very much pre-alpha. If you're brave, feel free to give it a go: git clone git:// git.longlandclan.yi.org/opennebula-ceph-flashcache.git Regards, -- Stuart Longland Systems Engineer _ ___ \ /|_) | T: +61 7 3535 9619 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699 SYSTEMSMilton QLD 4064 http://www.vrt.com.au ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Public Cloud Guest Isolation
Hi Samuel, In OpenNebula, network isolation relies mostly in VLANs, which may or not use Open vSwitch. In other words, a network is isolated in L2. If you want to connect two L3 networks in the same L2, you will need to add a regular VM acting as a router. If they're sitting on different L2 network, you will need to create GRE-tunnels, VPNs, etc... cheers, Jaime On Mon, May 19, 2014 at 7:30 PM, Samuel Winchenbach swinc...@gmail.comwrote: Hi All, What options do I have for guest network isolation from one group to another? How about guest networks crossing L3 boundaries? I am mostly interested in Open vSwitch implementations. The documentation sees to cover the APIs for Public cloud, but there isn't much on the networking side. Thanks, Sam ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Maintenance release of AppMarket 2.0.1
Dear community, we are happy to announce the availability of AppMarket 2.0.1. In this release we have mostly addressed issues reported by the community. You can read more about it here: http://opennebula.org/appmarket-2-0-1-released/ Release notes: https://github.com/OpenNebula/addon-appmarket/blob/master/doc/release_notes/appmarket-2.0.1.md Cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] One month left for the TechDays in the US
Dear community, a gentle remindler that next 19th and 24th of June, two Techdays will take place, one in Florida and the other one in California. You can read more about them here: - Boca Raton, Florida, 19 June 2014, hosted by TransUnion http://opennebula.org/community/techdays/bocaraton2014/ - Fremont, California, 24 June 2014, hosted by SYNNEX/Hyve Solutions http://opennebula.org/community/techdays/bayarea2014/ I hope to see you there! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] AppMarket 2.0 released
Dear community, we are happy to announce the final release of AppMarket 2.0. This new release brings many new exciting features, with many changes from previous stable releases: - Build your own marketplace - Share virtual appliances across several OpenNebula instances - Distribute internally developed virtual appliances - Provide appliances from a catalog and portal - Tight integration with OpenNebula - Appliances can define multiple files and an OpenNebula template - Appliances can be created from an OVA file - Appliances can be converted to different formats (raw, qcow2, vmdk, vdi) - Appliances can be grouped in catalogs Read more about the release here: http://opennebula.org/appmarket-2-0/ Installation Configuration https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md Usage https://github.com/OpenNebula/addon-appmarket/blob/master/doc/usage.md AppMarket Worker Installation and Configuration https://github.com/OpenNebula/addon-appmarket/blob/master/doc/appmarket_worker_installation_and_configuration.md Release Notes https://github.com/OpenNebula/addon-appmarket/blob/master/doc/release_notes/appmarket-2.0.0.md Enjoy! cheers, Jaime -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org