[one-users] OpenVswitch and host crash
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 signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Images backup
Hi, On Thu, Oct 9, 2014 at 11:35 AM, Bruno Grandjean bruno.grandj...@mife90.org wrote: Hi Carlos Thanks a lot for replying to me so quickly In fact I would like to cron the backup with a simple script: # create hot snap from the running VM $ onevm snapshot-create 68 My initial image is already persistent But how can I manage and especially delete the succesive snapshots? For instance I would like to remove the snapshots older than 1 week Is that possible to do that? thanks in advance, Bruno Each snapshot has a timestamp, so it's easy to find them in your cron script with xpath. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Centos7/RHEL7 cgroups questions?
Hi, I did some testing with it and I am still not sure if it is actually working. What does work is that: - OpenNebula creates a good libvirt template containing the cputune-shares option - The VM is put in a machine.slice unit so it is handled by the cgroup system. - a virsh schedinfo VMID shows the correct value for cpu shares What does not work, or at least what I find to be strange is finding out if the shares setting is actually enforced. When I use the systemd show command on a VM scope, CPUShares is always 1024, no matter what I put for CPU (or VCPU) Does anybody have an idea if this is ok or if something is going wrong? Wkr, Jhon An example: A running VM's cgroup output using the systemctl command gives: # systemctl show machine-qemu\x2done\x2d61 | grep CPU LimitCPU=18446744073709551615 CPUSchedulingPolicy=0 CPUSchedulingPriority=0 CPUSchedulingResetOnFork=no CPUAccounting=no CPUShares=1024 - Only 1024 CPUShares while it was started with 8 cpu's (and 16 VPCU's) Here is how it is defined and interpreted : The VM Template: - CPU=8 VCPU=16 MEMORY=512 FEATURES=[ACPI=yes,APIC=yes,LOCALTIME=yes,PAE=yes] OS=[ARCH=x86_64,BOOT=hd,ROOT=vda1] DISK=[IMAGE=ttylinux - kvm_file0,IMAGE_UNAME=oneadmin] Gives a libvirt template: domain type='kvm' nameone-61/name uuid1d8d3e34-a1e1-40d9-9493-2724578dcdd2/uuid memory unit='KiB'524288/memory currentMemory unit='KiB'524288/currentMemory vcpu placement='static'16/vcpu cputune shares8192/shares /cputune resource partition/machine/partition /resource os type arch='x86_64' machine='pc-i440fx-rhel7.0.0'hvm/type boot dev='hd'/ /os features acpi/ apic/ pae/ /features …. A virsh schedinfo gives: Scheduler : posix cpu_shares : 8192 vcpu_period: 10 vcpu_quota : -1 emulator_period: 10 emulator_quota : -1 And systemd-cgls gives: - ... └─machine.slice └─machine-qemu\x2done\x2d61.scope ├─emulator │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu15 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu14 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu13 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu12 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu11 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu10 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu9 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu8 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu7 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu6 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu5 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu4 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu3 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu2 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ├─vcpu1 │ └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets └─vcpu0 └─63798 /usr/libexec/qemu-kvm -name one-61 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 16,sockets ___ 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
[one-users] econe-run-instances idempotent?
Hi, We are using HTCondor to launch VMs in OpenNebula using ec2 interface and would like to know if the submit calls are idempotent. Thanks Regards +== | Parag Mhashilkar | Fermi National Accelerator Laboratory, MS 120 | Wilson Kirk Road, Batavia, IL - 60510 |-- | Phone: 1 (630) 840-6530 Fax: 1 (630) 840-3109 |-- | Wilson Hall, 806E (Nov 8, 2012 - To date) | Wilson Hall, 867E (Nov 17, 2010 - Nov 7, 2012) | Wilson Hall, 863E (Apr 24, 2007 - Nov 16, 2010) | Wilson Hall, 856E (Mar 21, 2005 - Apr 23, 2007) +== smime.p7s Description: S/MIME cryptographic signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org