Re: [ovirt-users] Newly deployed ovirt instance can not start a VM
Jeremy Utley jer...@ifuzioncorp.com schreef op 6 december 2014 00:21:22 CET: Hello everyone! I just finished setting up our new demo Ovirt implementation, but am having some issues once I get to the point of starting up a VM. Every time we try to start a VM, we get the error: The host {hostname} did not satisfy internal filter Network because network(s) are missing. Try looking at vdsm.log on the host where the vm is being started. You can force a host by using runonce and the host tab. Looking at engine.log migt also help This is trying to launch vm with the Cirros image from the OVirt glance repository. This is confusing, because we only have one network defined (the ovirtmgmt network), and each of our 4 nodes shows it attached and indicated as functional. Our nodes are all CentOS 6.6 installations, with the ovirtmgmt bridge bound to eth2. If I go to Networks/ovirtmgmt under my datacenter, and click on the Networks tab at the top, select the ovirtmgmt network, and Hosts tab at the bottom, it shows that ovirtmgmt network is up on all 4 nodes. Even if I tell the VM to not attach itself to any networks at all, the machine fails to start with the same error. Have done a lot of google searching to no avail. We're also worried we did not get our gluster storage network set up right. We added the Storage Domain as type Data (Master)/GlusterFS, but it looks like Ovirt is using Fuse rather than the new libgfapi functionality - since we can see the gluster mounted /rhev/data-center/mnt/glusterSD/ with fuse.glusterfs, which would indicate we are not using the native Gluster integration. However, the latest info I can find seems to indicate that the gluster integration should be working in latest CentOS builds. It should start working as soon as a patch is in mainline. It doesn't right now but it will if you use glusterfs as a data store. There is a recent thread on the ML about it with me as OP. Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] ksmd high cpu usage from almost a week with just one vm running
Hello All, I am using centos6.5 x64 on a server with 48 G RAM and 8 Cores.Managed by Ovirt There is only one running VM with RAM 34 G and with 6 VCPU (pinned to proper numa nodes) from top top - 06:42:48 up 67 days, 20:05, 1 user, load average: 0.26, 0.20, 0.17 Tasks: 285 total, 2 running, 282 sleeping, 0 stopped, 1 zombie Cpu(s): 1.0%us, 1.4%sy, 0.0%ni, 97.5%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 49356468k total, 33977684k used, 15378784k free, 142812k buffers Swap: 12337144k total,0k used, 12337144k free, 343052k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 101 root 25 5 000 R 27.4 0.0 5650:04 [ksmd] 26004 vdsm 0 -20 3371m 64m 9400 S 9.8 0.1 1653:27 /usr/bin/python /usr/share/vdsm/vdsm --pidfile /var/run/vdsm/vdsmd.pid 20963 qemu 20 0 38.5g 33g 6792 S 3.9 71.6 5225:43 /usr/libexec/qemu-kvm -name Cinder -S -M rhel6.5.0 -cpu Nehalem -enable-kvm -m 34096 -realtime mlock=off -smp 6,maxcpus=160,sockets=80,c from /sys/kernel/mm/ksm pages_unshared 7602322 pages_shared 207023 pages_to_scan 64 pages_volatile31678 Any idea why ksmd is not coming to normal CPU usage ,on a different server ksmd was disabled and for testing when i enabled it initially CPU usage was high but later settled down to 3% ,in that host i have 4 VMs running. Before turning off ksmd can any one help me find out why ksmd is behaving like this.Initially it had 2 virtual machines,because of high CPU utilization of this guest other is migrated to another host. Thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ksmd high cpu usage from almost a week with just one vm running
Memory usage 80%: ksm kicks in. There it will run at full speed until usage is below 80%. There is an open BZ from me. Bad behaviour is controlled by mom. Markus Am 06.12.2014 15:58 schrieb mad Engineer themadengin...@gmail.com: Hello All, I am using centos6.5 x64 on a server with 48 G RAM and 8 Cores.Managed by Ovirt There is only one running VM with RAM 34 G and with 6 VCPU (pinned to proper numa nodes) from top top - 06:42:48 up 67 days, 20:05, 1 user, load average: 0.26, 0.20, 0.17 Tasks: 285 total, 2 running, 282 sleeping, 0 stopped, 1 zombie Cpu(s): 1.0%us, 1.4%sy, 0.0%ni, 97.5%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 49356468k total, 33977684k used, 15378784k free, 142812k buffers Swap: 12337144k total,0k used, 12337144k free, 343052k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 101 root 25 5 000 R 27.4 0.0 5650:04 [ksmd] 26004 vdsm 0 -20 3371m 64m 9400 S 9.8 0.1 1653:27 /usr/bin/python /usr/share/vdsm/vdsm --pidfile /var/run/vdsm/vdsmd.pid 20963 qemu 20 0 38.5g 33g 6792 S 3.9 71.6 5225:43 /usr/libexec/qemu-kvm -name Cinder -S -M rhel6.5.0 -cpu Nehalem -enable-kvm -m 34096 -realtime mlock=off -smp 6,maxcpus=160,sockets=80,c from /sys/kernel/mm/ksm pages_unshared 7602322 pages_shared 207023 pages_to_scan 64 pages_volatile31678 Any idea why ksmd is not coming to normal CPU usage ,on a different server ksmd was disabled and for testing when i enabled it initially CPU usage was high but later settled down to 3% ,in that host i have 4 VMs running. Before turning off ksmd can any one help me find out why ksmd is behaving like this.Initially it had 2 virtual machines,because of high CPU utilization of this guest other is migrated to another host. Thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Ãber das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ksmd high cpu usage from almost a week with just one vm running
Thanks for the info Markus free -g total used free sharedbuffers cached Mem:47 32 14 0 0 0 % of usage is 68 . Why is ksmd not sleeping.Do you have any idea? regards, On Sat, Dec 6, 2014 at 8:45 PM, Markus Stockhausen stockhau...@collogia.de wrote: Memory usage 80%: ksm kicks in. There it will run at full speed until usage is below 80%. There is an open BZ from me. Bad behaviour is controlled by mom. Markus Am 06.12.2014 15:58 schrieb mad Engineer themadengin...@gmail.com: Hello All, I am using centos6.5 x64 on a server with 48 G RAM and 8 Cores.Managed by Ovirt There is only one running VM with RAM 34 G and with 6 VCPU (pinned to proper numa nodes) from top top - 06:42:48 up 67 days, 20:05, 1 user, load average: 0.26, 0.20, 0.17 Tasks: 285 total, 2 running, 282 sleeping, 0 stopped, 1 zombie Cpu(s): 1.0%us, 1.4%sy, 0.0%ni, 97.5%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 49356468k total, 33977684k used, 15378784k free, 142812k buffers Swap: 12337144k total,0k used, 12337144k free, 343052k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 101 root 25 5 000 R 27.4 0.0 5650:04 [ksmd] 26004 vdsm 0 -20 3371m 64m 9400 S 9.8 0.1 1653:27 /usr/bin/python /usr/share/vdsm/vdsm --pidfile /var/run/vdsm/vdsmd.pid 20963 qemu 20 0 38.5g 33g 6792 S 3.9 71.6 5225:43 /usr/libexec/qemu-kvm -name Cinder -S -M rhel6.5.0 -cpu Nehalem -enable-kvm -m 34096 -realtime mlock=off -smp 6,maxcpus=160,sockets=80,c from /sys/kernel/mm/ksm pages_unshared 7602322 pages_shared 207023 pages_to_scan 64 pages_volatile31678 Any idea why ksmd is not coming to normal CPU usage ,on a different server ksmd was disabled and for testing when i enabled it initially CPU usage was high but later settled down to 3% ,in that host i have 4 VMs running. Before turning off ksmd can any one help me find out why ksmd is behaving like this.Initially it had 2 virtual machines,because of high CPU utilization of this guest other is migrated to another host. Thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Don't start vm
Hi, My config: vdsm host - CentOS 7, oVirt 3.5 Could you please share from hypervisor the /var/log/vdsm/vdsm.log too? my /var/log/vdsm/vdsm.log Thread-283375::DEBUG::2014-12-06 21:20:40,219::stompReactor::163::yajsonrpc.StompServer::(send) Sending response Thread-283376::DEBUG::2014-12-06 21:20:40,252::lvm::288::Storage.Misc.excCmd::(cmd) SUCCESS: err = ' WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!\n'; rc = 0 Thread-283376::DEBUG::2014-12-06 21:20:40,253::lvm::454::Storage.LVM::(_reloadlvs) lvs reloaded Thread-283376::DEBUG::2014-12-06 21:20:40,254::lvm::454::Storage.OperationMutex::(_reloadlvs) Operation 'lvm reload operation' released the operation mutex Thread-283376::WARNING::2014-12-06 21:20:40,254::lvm::600::Storage.LVM::(getLv) lv: fb8466c9-0867-4e73-8362-2c95eea89a83 not found in lvs vg: 9d53ecef-8bfc-470b-8867-836bfa7df137 response Thread-283376::ERROR::2014-12-06 21:20:40,254::task::866::Storage.TaskManager.Task::(_setError) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 873, in _run return fn(*args, **kargs) File /usr/share/vdsm/logUtils.py, line 45, in wrapper res = f(*args, **kwargs) File /usr/share/vdsm/storage/hsm.py, line 3099, in getVolumeSize apparentsize = str(dom.getVSize(imgUUID, volUUID)) File /usr/share/vdsm/storage/blockSD.py, line 622, in getVSize size = lvm.getLV(self.sdUUID, volUUID).size File /usr/share/vdsm/storage/lvm.py, line 893, in getLV raise se.LogicalVolumeDoesNotExistError(%s/%s % (vgName, lvName)) LogicalVolumeDoesNotExistError: Logical volume does not exist: (u'9d53ecef-8bfc-470b-8867-836bfa7df137/fb8466c9-0867-4e73-8362-2c95eea89a83',) Thread-283376::DEBUG::2014-12-06 21:20:40,255::task::885::Storage.TaskManager.Task::(_run) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::Task._run: cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd (u'9d53ecef-8bfc-470b-8867-836bfa7df137', u'0002-0002-0002-0002-010b', u'7deace0a-0c83-41c8-9122-84079ad949c2', u'fb8466c9-0867-4e73-8362-2c95eea89a83') {} failed - stopping task Thread-283376::DEBUG::2014-12-06 21:20:40,255::task::1217::Storage.TaskManager.Task::(stop) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::stopping in state preparing (force False) Thread-283376::DEBUG::2014-12-06 21:20:40,255::task::993::Storage.TaskManager.Task::(_decref) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::ref 1 aborting True Thread-283376::INFO::2014-12-06 21:20:40,255::task::1171::Storage.TaskManager.Task::(prepare) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::aborting: Task is aborted: 'Logical volume does not exist' - code 610 Thread-283376::DEBUG::2014-12-06 21:20:40,255::task::1176::Storage.TaskManager.Task::(prepare) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::Prepare: aborted: Logical volume does not exist Thread-283376::DEBUG::2014-12-06 21:20:40,256::task::993::Storage.TaskManager.Task::(_decref) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::ref 0 aborting True Thread-283376::DEBUG::2014-12-06 21:20:40,256::task::928::Storage.TaskManager.Task::(_doAbort) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::Task._doAbort: force False Thread-283376::DEBUG::2014-12-06 21:20:40,256::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-283376::DEBUG::2014-12-06 21:20:40,256::task::595::Storage.TaskManager.Task::(_updateState) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::moving from state preparing - state aborting Thread-283376::DEBUG::2014-12-06 21:20:40,256::task::550::Storage.TaskManager.Task::(__state_aborting) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::_aborting: recover policy none Thread-283376::DEBUG::2014-12-06 21:20:40,256::task::595::Storage.TaskManager.Task::(_updateState) Task=`cb86d3c3-77f7-46c8-aec0-4c848f1eb2cd`::moving from state aborting - state failed Thread-283376::DEBUG::2014-12-06 21:20:40,257::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-283376::DEBUG::2014-12-06 21:20:40,257::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-283376::ERROR::2014-12-06 21:20:40,257::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': {'message': Logical volume does not exist: (u'9d53ecef-8bfc-470b-8867-836bfa7df137/fb8466c9-0867-4e73-8362-2c95eea89a83',), 'code': 610}} # My comment:Realy, this is volume is present! I mount it in the vdsm host! But, mount /dev/block/253:20 , no present in /dev/9d53ecef-8bfc-470b-8867-836bfa7df137/ Thread-283376::DEBUG::2014-12-06 21:20:40,257::vm::2289::vm.Vm::(_startUnderlyingVm) vmId=`d1ccb04d-bda8-42a2-bab6-7def2f8b2a00`::_ongoingCreations released Thread-283376::ERROR::2014-12-06 21:20:40,257::vm::2326::vm.Vm::(_startUnderlyingVm) vmId=`d1ccb04d-bda8-42a2-bab6-7def2f8b2a00`::The vm start process failed Traceback (most recent
Re: [ovirt-users] Integration of ovirt-engine GUI with the CLI
Hi, Thanks for all comments. I am planning to do GUI-GUI interaction rather than GUI-CLI-GUI. In CLI, for updating the XML we had used curl -x PUT in that we had passed username password. So do we need to pass the same while in GUI as well? Because I am getting the error as Method not found -Nikita On 28/11/2014 10:31 pm, Vojtech Szocs vsz...@redhat.com wrote: - Original Message - From: Einav Cohen eco...@redhat.com To: Itamar Heim ih...@redhat.com, jennykan...@gmail.com, Greg Sheremeta gsher...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Nikita Kodkani nikita.kodk...@gmail.com, users Users@ovirt.org Sent: Tuesday, November 25, 2014 9:56:49 PM Subject: Re: [ovirt-users] Integration of ovirt-engine GUI with the CLI vojtech - how about adding a very simple samples-portals with it to the repo? I believe that Jenny is already working on a ovirt.js-based portal? Yes, AFAIK Jenny is already working on UserPortal-like web application based on oVirtJS. @Jenny: sounds like your work may be a good fit for our Sample User Portals repository (more details in [1])? +1 [1] http://www.ovirt.org/Sample_user_portals - Original Message - From: Itamar Heim ih...@redhat.com Sent: Wednesday, November 12, 2014 5:03:37 PM On 11/06/2014 02:59 PM, Vojtech Szocs wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: Nikita Kodkani nikita.kodk...@gmail.com Cc: users Users@ovirt.org, Vojtech Szocs vsz...@redhat.com Sent: Wednesday, November 5, 2014 12:37:21 AM Subject: Re: Fwd: [ovirt-users] Integration of ovirt-engine GUI with the CLI On 11/04/2014 01:54 PM, Nikita Kodkani wrote: Hi, To add further... I read it somewhere on google, that to execute the shell commands in the JavaScript we have to use node.js at the backend. We don't want to spend time on learning the technology in this time frame. -Does ovirt-engine provide API's for executing the shell commands? its the other way around - the cli/shell commands are using the engine python-sdk, which uses the engine REST API. if your solution is html/javascript based, i think using ovirt.js (which wraps calling to the engine rest api 'nicely', vs. you doing it yourself from your code) is the way to go. Exactly, the main use case for oVirtJS is to allow working with Engine from within a JavaScript environment. HTML/JS web application is the primary use case, we also plan to support server-side JS code running on Node.js as another use case, so that people can potentially write custom server-side JS to work with Engine. vojtech - how about adding a very simple samples-portals with it to the repo? http://lists.ovirt.org/pipermail/users/2014-June/025198.html http://www.ovirt.org/Features/Design/Using_REST_API_In_Web_UI http://lists.ovirt.org/pipermail/devel/2014-August/008502.html http://lists.ovirt.org/pipermail/devel/attachments/20140819/a35caa44/attachment-0001.pdf Thanks, Nikita Nikita Kodkani On Tue, Nov 4, 2014 at 4:20 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 11:47 AM, Nikita Kodkani wrote: It is designed in javascript/HTML. We had initially designed some feature using CLI. But now we just want to execute command when we hit the button/tab. vojtech - sounds like ovirt.js could be the best fit here? -Nikita i On Tue, Nov 4, 2014 at 4:09 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 06:30 AM, Nikita Kodkani wrote: Hi, I have the CLI designed for the RHEV-M. I have also designed some GUI in ovirt-engine. Now I am stuckup with the integration. Could you suggest how to connect the ovirt-engine GUI with the backend CLI commands? which language is your gui? why use the CLI instead of the python or java SDKs (or ruby or javascript ones) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users