Re: [one-users] error creating vm
On 11/21/2013 07:01 PM, vishnu e divakaran wrote: Even i got same kind of error,please help. Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG I 37 Command execution fail: /var/lib/one/var/remotes/tm/shared/clone ubuntu:/var/lib/one/var/datastores/1/6662ffb9a604409eff654f9aef4382fe onevmhost:/var/lib/one/datastores/0/37/disk.0 37 1 Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG I 37 /usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir /var/lib/one in PATH, mode 040777 Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG I 37 clone: Cloning /var/lib/one/datastores/1/6662ffb9a604409eff654f9aef4382fe in onevmhost:/var/lib/one/datastores/0/37/disk.0 Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG E 37 clone: Command cd /var/lib/one/datastores/0/37; cp /var/lib/one/datastores/1/6662ffb9a604409eff654f9aef4382fe /var/lib/one/datastores/0/37/disk.0 failed: cp: cannot stat `/var/lib/one/datastores/1/6662ffb9a604409eff654f9aef4382fe': No such file or directory Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG E 37 Error copying ubuntu:/var/lib/one/var/datastores/1/6662ffb9a604409eff654f9aef4382fe to onevmhost:/var/lib/one/datastores/0/37/disk.0 Are your hosts ubuntu and onevmhost accessible ? Are directories available on each of those hosts ? on ubuntu: /var/lib/one/var/datastores/1/6662ffb9a604409eff654f9aef4382fe on onevmhost: /var/lib/one/var/datastores/1/6662ffb9a604409eff654f9aef4382fe AND /var/lib/one/datastores/0/37 Olivier Thu Nov 21 23:23:04 2013 [TM][D]: Message received: LOG I 37 ExitCode: 1 Thu Nov 21 23:23:04 2013 [TM][D]: Message received: TRANSFER FAILURE 37 Error copying ubuntu:/var/lib/one/var/datastores/1/6662ffb9a604409eff654f9aef4382fe to onevmhost:/var/lib/one/datastores/0/37/disk.0 On 21 November 2013 17:20, Valentin Bud valentin@gmail.com mailto:valentin@gmail.com wrote: Hi Neelaya, The error states that it cannot connect to host onehost2 via SSH because of Permission denied. Can oneadmin SSH without a password (read private/public key) to onehost2? See the docs [1] how to achieve that. [1]: http://opennebula.org/documentation:rel4.2:ignc#secure_shell_access_front-end Cheers and Goodwill, On Thu, Nov 21, 2013 at 8:42 AM, Neelaya Dhatchayani neels.v...@gmail.com mailto:neels.v...@gmail.com wrote: Hi I tried creating vm using tm_ssh . i got the error as unable to login to onedaemon (the host which holds the opennebula frontend). Then i started the sshd on onedaemon. Again i got the error . It asks me to login to onedaemon through ssh passwordless. I do not understand why should i login to frontend through ssh the following is the error message i m receiving Mon Nov 18 22:57:22 2013 [DiM][I]: New VM state is FAILED Mon Nov 18 23:04:28 2013 [DiM][I]: New VM state is CLEANUP. Mon Nov 18 23:04:28 2013 [DiM][I]: New VM state is PENDING Mon Nov 18 23:04:50 2013 [DiM][I]: New VM state is ACTIVE. Mon Nov 18 23:04:50 2013 [LCM][I]: New VM state is PROLOG. Mon Nov 18 23:04:51 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/ssh/clone onedaemon:/var/lib/one/datastores/1/04d23a705c946ca0584501de685c7ec4 onehost2:/var/lib/one//datastores/0/1/disk.0 1 1 Mon Nov 18 23:04:51 2013 [TM][I]: clone: Cloning onedaemon:/var/lib/one/datastores/1/04d23a705c946ca0584501de685c7ec4 in /var/lib/one/datastores/0/1/disk.0 Mon Nov 18 23:04:51 2013 [TM][E]: clone: Command scp -r onedaemon:/var/lib/one/datastores/1/04d23a705c946ca0584501de685c7ec4 onehost2:/var/lib/one//datastores/0/1/disk.0 failed: Permission denied, please try again. Mon Nov 18 23:04:51 2013 [TM][I]: Permission denied, please try again. Mon Nov 18 23:04:51 2013 [TM][I]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Mon Nov 18 23:04:51 2013 [TM][E]: Error copying onedaemon:/var/lib/one/datastores/1/04d23a705c946ca0584501de685c7ec4 to onehost2:/var/lib/one//datastores/0/1/disk.0 Mon Nov 18 23:04:51 2013 [TM][I]: ExitCode: 1 Mon Nov 18 23:04:51 2013 [TM][E]: Error executing image transfer script: Error copying onedaemon:/var/lib/one/datastores/1/04d23a705c946ca0584501de685c7ec4 to onehost2:/var/lib/one//datastores/0/1/disk.0 Mon Nov 18 23:04:51 2013 [DiM][I]: New VM state is FAILED pls any one knows about this thanks neels ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Valentin Bud http://databus.pro |
[one-users] 4.2 - snapshot creation hang.
Hi all... this is the VM template: SNAPSHOT SNAPSHOT_ID 0 NAMETestuno TIME1385109979 HYPERVISOR_ID ACTIVE YES AUTOMATIC_REQUIREMENTS CLUSTER_ID = 100 GRAPHICS LISTEN 0.0.0.0 TYPEVNC PASSWD pippo PORT5901 MEMORY 512 DISK TM_MAD shared TARGET hda SAVEYES PERSISTENT YES DRIVER qcow2 READONLYNO IMAGE_ID2 DEV_PREFIX hd CLONE NO DATASTORE default CLUSTER_ID 100 TYPEFILE DISK_ID 0 DATASTORE_ID1 SOURCE /var/lib/one/datastores/1/4c528e7310f5bc47d8b43af453fc4d78 IMAGE CentOS-6.4_x86_64 CPU 1 VMID7 CONTEXT TARGET hdb SSH_PUBLIC_KEY ETH0_NETWORKxxx ETH0_MASK 255.255.255.224 NETWORK YES ETH0_GATEWAYx DISK_ID 1 ETH0_IP ETH0_DNS8.8.8.8 TEMPLATE_ID 1 OS ARCHx86_64 NIC NETWORK_ID 0 IP xx VLANNO BRIDGE vbr0 NIC_ID 0 CLUSTER_ID 100 NETWORK External LAN MAC 02:00:b2:21:43:e1o IP6_LINK Hypervisor is KVM on centos 6.4. When a select : Take a snapshot the VM remain in pausing state and the snapshot creation hangs. Someone can help me? Thanks... ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] (RESEND) need to create Flows? for openvswitch-based ONE (4.2) setup -- (passed on ebtables)
Hello Mark, On Thu, Nov 21, 2013 at 01:01:17PM -0600, Mark Biggers wrote: Hello Valentin, thanks for the reply. On 11/21/2013 03:30 AM, Valentin Bud wrote: Hello Mark, Before pointing you to the problem I think your config has you should also check that you have routing enabled in the machine Are you speaking of ip route routes? Or some sysconf variable? Or, route(s) on the VMs themselves?? I was actually speaking about IP Forwarding, to be precise. That is attained via a sysctl. It should be set to 1. To make the changes persistent after reboot you have /etc/sysctl.conf. NOTE: Paths, configs might be different, I have once used OpenSuse, a billion years ago. # sysctl net.ipv4.ip_forward I have attempted ip route, to route to the VMs 10.0.0.0/24 network Where's 10.0.0.1 supposed be -- on the vbr0? Yes, 10.0.0.1 should be configured on the vbr0 interface and eth0 shouldn't be part of your Open vSwitch. and if you want Internet connectivity for VMs also NAT vbr0 over eth0. I want (1) internet connectivity to the VMs (VLANs) and connectivity out of the VMs network. Not sure how to get this going, though it appears the OVSwitch has all the MAC-addr info, for the VMs... Don't forget to NAT your 10/24 network over eth0 to have Internet connectivity available in the machines. Also you should have a DNS server running at 10.0.0.1 or change DNS from vnet to some recursive DNS server you have in your network. I suspect 192.168.1.1 is your DNS recursive server. If you want services from the VMs accessible from 192.168.1/24 network you can forward ports to specific VMs from your laptop (host) using iptables. Let's say you want to access a Web Server located on the VM with IP Address 10.0.0.100. You'd have to DNAT port 80 from eth0 IP Address to 10.0.0.100 port 80. And have your webserver available at http://eth0.ip.addr.ess. This might not be the case if your router has routes to 10/24 network through your laptop's eth0 interface. Currently, it does not. Just attempted, and can't ping to 10.0.0.3 VM. (output, below). If you want to access your VMs from the 192.168.1.0/24 you shouldn't NAT the 10/24 network over eth0 but configure your Netgear router with a route to 10/24 via your eth0's IP Address. I would recommend to enter a MAC address - IP binding in the router so your laptop receives the same IP Address on eth0 every time it connects to the network. Reading once again your config I see you've inserted eth0 in the vbr0 OvS bridge and that it has an IP address from the 192.168.1.0/24http://192.168.1.0/24 network. I suspect that is your local network. Yes, 192.168.1.0/24 is my external (laptop) network, including a Netgear router at 192.168.1.1. Do you have connectivity between your VMs using this setup? You should from what your setup tells me. The VMs, at 10.0.0.3 and 10.0.0.4 can ping each other, and ssh works between them just fine. They can only see the 10.0.0.0/24 network, and can't ping 10.0.0.1. They can't ping 10.0.0.1 because that IP Address hasn't been configured on any interface. Please follow the steps I have outlined in my previous E-Mail if you want NAT-ed setup. That should get you started in no time. Here they are: # ovs-vsctl del-port vbr0 eth0 # dhclient eth0 ( or set its IP address manually) # ovs-vsctl set Port vbr0 tag=0 # ip addr add 10.0.0.1/24 dev vbr0 # iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d 0.0.0.0/0 -o eth0 -j MASQUERADE thank you, mark Hope it helps. Cheers and Goodwill, r...@sealion.ine.corp:~mailto:r...@sealion.ine.corp:~ # route add -net 10.0.0.0/24 gw 192.168.1.250 dev eth0 SIOCADDRT: Network is unreachable r...@sealion.ine.corp:~mailto:r...@sealion.ine.corp:~ # route add -net 10.0.0.0/24 gw 192.168.1.250 dev vbr0 r...@sealion.ine.corp:~mailto:r...@sealion.ine.corp:~ # ping 10.0.0.3 PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data. From 192.168.1.250 icmp_seq=1 Destination Host Unreachable From 192.168.1.250 icmp_seq=2 Destination Host Unreachable From 192.168.1.250 icmp_seq=3 Destination Host Unreachable From 192.168.1.250 icmp_seq=4 Destination Host Unreachable ^C --- 10.0.0.3 ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms pipe 4 r...@sealion.ine.corp:~mailto:r...@sealion.ine.corp:~ # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0 0 vbr0 10.0.0.0192.168.1.250 255.255.255.0 UG0 0 0 vbr0 67.139.46.149 192.168.1.1 255.255.255.255 UGH 0 0 0 vbr0 127.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 lo 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vbr0
Re: [one-users] 4.2 - snapshot creation hang.
You should look at your oned.log but it might be that your libvirtd version is not recent enough. The snapshot requires a recent (don't remember version) libvirtd. If too old it fails and remains stuck (I faced the case) Olivier On 11/22/2013 10:48 AM, Giancarlo wrote: Hi all... this is the VM template: SNAPSHOT SNAPSHOT_ID 0 NAME Testuno TIME 1385109979 HYPERVISOR_ID ACTIVEYES AUTOMATIC_REQUIREMENTSCLUSTER_ID = 100 GRAPHICS LISTEN0.0.0.0 TYPE VNC PASSWDpippo PORT 5901 MEMORY512 DISK TM_MADshared TARGEThda SAVE YES PERSISTENTYES DRIVERqcow2 READONLY NO IMAGE_ID 2 DEV_PREFIXhd CLONE NO DATASTORE default CLUSTER_ID100 TYPE FILE DISK_ID 0 DATASTORE_ID 1 SOURCE/var/lib/one/datastores/1/4c528e7310f5bc47d8b43af453fc4d78 IMAGE CentOS-6.4_x86_64 CPU 1 VMID 7 CONTEXT TARGEThdb SSH_PUBLIC_KEY ETH0_NETWORK xxx ETH0_MASK 255.255.255.224 NETWORK YES ETH0_GATEWAY x DISK_ID 1 ETH0_IP ETH0_DNS 8.8.8.8 TEMPLATE_ID 1 OS ARCH x86_64 NIC NETWORK_ID0 IPxx VLAN NO BRIDGEvbr0 NIC_ID0 CLUSTER_ID100 NETWORK External LAN MAC 02:00:b2:21:43:e1o IP6_LINK Hypervisor is KVM on centos 6.4. When a select : Take a snapshot the VM remain in pausing state and the snapshot creation hangs. Someone can help me? Thanks... ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: updating TEMPLATE from hooks
Hi, I see that feature allowing to update the vm template from a hook has been integrated ( http://dev.opennebula.org/issues/1556), but I do not see how in the hook documentation page (nor elsewhere). I see how to get the template but not how to modify it. How can we do this ? Thanks Olivier -- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] 4.2 - snapshot creation hang.
Thanks. This is my libvirt version: 013-11-22 13:11:33.511+: 18442: info : libvirt version: 0.10.2, package: 18.el6_4.15 (CentOS BuildSystem http://bugs.centos.org, 2013-11-13-10:44:00, c6b8.bsys.dev.centos.org) Il 22/11/2013 14:08, Olivier Sallou ha scritto: You should look at your oned.log but it might be that your libvirtd version is not recent enough. The snapshot requires a recent (don't remember version) libvirtd. If too old it fails and remains stuck (I faced the case) Olivier On 11/22/2013 10:48 AM, Giancarlo wrote: Hi all... this is the VM template: SNAPSHOT SNAPSHOT_ID 0 NAMETestuno TIME1385109979 HYPERVISOR_ID ACTIVE YES AUTOMATIC_REQUIREMENTS CLUSTER_ID = 100 GRAPHICS LISTEN 0.0.0.0 TYPEVNC PASSWD pippo PORT5901 MEMORY 512 DISK TM_MAD shared TARGET hda SAVEYES PERSISTENT YES DRIVER qcow2 READONLYNO IMAGE_ID2 DEV_PREFIX hd CLONE NO DATASTORE default CLUSTER_ID 100 TYPEFILE DISK_ID 0 DATASTORE_ID1 SOURCE /var/lib/one/datastores/1/4c528e7310f5bc47d8b43af453fc4d78 IMAGE CentOS-6.4_x86_64 CPU 1 VMID7 CONTEXT TARGET hdb SSH_PUBLIC_KEY ETH0_NETWORKxxx ETH0_MASK 255.255.255.224 NETWORK YES ETH0_GATEWAYx DISK_ID 1 ETH0_IP ETH0_DNS8.8.8.8 TEMPLATE_ID 1 OS ARCHx86_64 NIC NETWORK_ID 0 IP xx VLANNO BRIDGE vbr0 NIC_ID 0 CLUSTER_ID 100 NETWORK External LAN MAC 02:00:b2:21:43:e1o IP6_LINK Hypervisor is KVM on centos 6.4. When a select : Take a snapshot the VM remain in pausing state and the snapshot creation hangs. Someone can help me? Thanks... ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebula 4.4 RC (4.3.90) Retina is Out!
Dear Community, After the release and evaluation of the second beta of OpenNebula 4.4 RC (4.3.90) Retina, the OpenNebula project announces the immediate availability of the release candidate of OpenNebula 4.4 Retina. Several improvements have been made to the cloud bursting model, including better scheduler support, better storage management (ie, prolog and epilog bypassing when cloud bursting) and improved AWS EC2 functionality support (broader monitoring, drop CLI for Ruby SDK, etc). We are now set to basically bug-fixing and feature-freeze. Note that this is a beta release aimed at testers and developers to try the new features, and send a more than welcomed feedback for the final release. As usual OpenNebula releases are named after a Nebula. The Retina Nebula (IC 4406) is a planetary nebula near the western border of the constellation Lupus, the Wolf. It has dust clouds and has the shape of a torus. The OpenNebula Team LINKS * Release Notes: http://www.opennebula.org/software:rnotes:rn-rel4.4rc * Download: http://opennebula.org/software:software * Documentation: http://opennebula.org/documentation:rel4.4 -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Can't log on to tinycore linux
*I was successfully ** deploy log on into ttylinux virtual machine. After that, I decided deploy ** tinycore linux to cluster nodes, the tinycore virtual machine in “runn” state. ** But, when I try to log on into tinycore linux after deployed via OpenNebula, I ** got the error: ** “Boot failed: could not boot into hard disk. ** Fatal error: no bootable device”. **So, I decided to log on tinycore not via OpenNebula, I used this ** command: ** kvm -m 128 /path/to/linux-tinycore-3.4.img ** and I successfully logged on tinycore linux and used it normally. I don'tZ** understand why? Why when i used OpenNebula to deploy to cluster nodes, it's ** state is runn but i can't log on. Can someone give me a hint for this **problem?* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org