Re: [ovirt-users] [Gluster-users] Gluster command [] failed on server...
Hi, Can Any body help me on this ?? On Thu, Nov 27, 2014 at 9:29 AM, Punit Dambiwal wrote: > Hi Kaushal, > > Thanks for the detailed replylet me explain my setup first :- > > 1. Ovirt Engine > 2. 4* host as well as storage machine (Host and gluster combined) > 3. Every host has 24 bricks... > > Now whenever the host machine reboot...it can come up but can not join the > cluster again and through the following error "Gluster command [] > failed on server.." > > Please check my comment in line :- > > 1. Use the same string for doing the peer probe and for the brick address > during volume create/add-brick. Ideally, we suggest you use properly > resolvable FQDNs everywhere. If that is not possible, then use only IP > addresses. Try to avoid short names. > --- > [root@cpu05 ~]# gluster peer status > Number of Peers: 3 > > Hostname: cpu03.stack.com > Uuid: 5729b8c4-e80d-4353-b456-6f467bddbdfb > State: Peer in Cluster (Connected) > > Hostname: cpu04.stack.com > Uuid: d272b790-c4b2-4bed-ba68-793656e6d7b0 > State: Peer in Cluster (Connected) > Other names: > 10.10.0.8 > > Hostname: cpu02.stack.com > Uuid: 8d8a7041-950e-40d0-85f9-58d14340ca25 > State: Peer in Cluster (Connected) > [root@cpu05 ~]# > > 2. During boot up, make sure to launch glusterd only after the network is > up. This will allow the new peer identification mechanism to do its > job correctly. > >> I think the service itself doing the same job > > [root@cpu05 ~]# cat /usr/lib/systemd/system/glusterd.service > [Unit] > Description=GlusterFS, a clustered file-system server > After=network.target rpcbind.service > Before=network-online.target > > [Service] > Type=forking > PIDFile=/var/run/glusterd.pid > LimitNOFILE=65536 > ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid > KillMode=process > > [Install] > WantedBy=multi-user.target > [root@cpu05 ~]# > > > gluster logs :- > > [2014-11-24 09:22:22.147471] I [MSGID: 100030] [glusterfsd.c:2018:main] > 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.6.1 > (args: /usr/sbin/glusterd -p /var/run/glusterd.pid) > [2014-11-24 09:22:22.151565] I [glusterd.c:1214:init] 0-management: > Maximum allowed open file descriptors set to 65536 > [2014-11-24 09:22:22.151599] I [glusterd.c:1259:init] 0-management: Using > /var/lib/glusterd as working directory > [2014-11-24 09:22:22.155216] W [rdma.c:4195:__gf_rdma_ctx_create] > 0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device) > [2014-11-24 09:22:22.155264] E [rdma.c:4483:init] 0-rdma.management: > Failed to initialize IB Device > [2014-11-24 09:22:22.155285] E [rpc-transport.c:333:rpc_transport_load] > 0-rpc-transport: 'rdma' initialization failed > [2014-11-24 09:22:22.155354] W [rpcsvc.c:1524:rpcsvc_transport_create] > 0-rpc-service: cannot create listener, initing the transport failed > [2014-11-24 09:22:22.156290] I > [glusterd.c:413:glusterd_check_gsync_present] 0-glusterd: geo-replication > module not installed in the system > [2014-11-24 09:22:22.161318] I > [glusterd-store.c:2043:glusterd_restore_op_version] 0-glusterd: retrieved > op-version: 30600 > [2014-11-24 09:22:22.821800] I > [glusterd-handler.c:3146:glusterd_friend_add_from_peerinfo] 0-management: > connect returned 0 > [2014-11-24 09:22:22.825810] I > [glusterd-handler.c:3146:glusterd_friend_add_from_peerinfo] 0-management: > connect returned 0 > [2014-11-24 09:22:22.828705] I > [glusterd-handler.c:3146:glusterd_friend_add_from_peerinfo] 0-management: > connect returned 0 > [2014-11-24 09:22:22.828771] I [rpc-clnt.c:969:rpc_clnt_connection_init] > 0-management: setting frame-timeout to 600 > [2014-11-24 09:22:22.832670] I [rpc-clnt.c:969:rpc_clnt_connection_init] > 0-management: setting frame-timeout to 600 > [2014-11-24 09:22:22.835919] I [rpc-clnt.c:969:rpc_clnt_connection_init] > 0-management: setting frame-timeout to 600 > [2014-11-24 09:22:22.840209] E > [glusterd-store.c:4248:glusterd_resolve_all_bricks] 0-glusterd: resolve > brick failed in restore > [2014-11-24 09:22:22.840233] E [xlator.c:425:xlator_init] 0-management: > Initialization of volume 'management' failed, review your volfile again > [2014-11-24 09:22:22.840245] E [graph.c:322:glusterfs_graph_init] > 0-management: initializing translator failed > [2014-11-24 09:22:22.840264] E [graph.c:525:glusterfs_graph_activate] > 0-graph: init failed > [2014-11-24 09:22:22.840754] W [glusterfsd.c:1194:cleanup_and_exit] (--> > 0-: received signum (0), shutting down > > Thanks, > Punit > > > > > On Wed, Nov 26, 2014 at 7:14 PM, Kaushal M wrote: > >> Based on the logs I can guess that glusterd is being started before >> the network has come up and that the addresses given to bricks do not >> directly match the addresses used in during peer probe. >> >> The gluster_after_reboot log has the line "[2014-11-25 >> 06:46:09.972113] E [glusterd-store.c:2632:glusterd_resolve_all_bricks] >> 0-glusterd: resolve brick failed in restore". >> >> Brick re
[ovirt-users] ??????Re: Failed to execute stage 'Environment setup':Command'/bin/systemctl' failed to execute
Hi, Which version of the ovirt-hosted-engine-setup package you installed? I remeber the old version has this issue, but the lastest version was fixed it.___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] about supervdsmserver process
On Sat, Nov 29, 2014 at 10:41:35AM +0800, h...@wolk-tech.com wrote: > thank you. You are welcome ;-) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] about supervdsmserver process
On Sat, Nov 29, 2014 at 10:41:14AM +0800, h...@wolk-tech.com wrote: > yes,i using gluster volumes ,Excuse me 3.5.1 of when to release?Now have a > temporary solution? 3.5.1 is planned to be built tomorrow. However, two bugs are marked as release blockers 1168689 NEW Upgrading from 3.4.4 to 3.5.1 snapshot the vdsm rpm throw an exception 1160846 NEW Can't add disk to VM without specifying disk profile when the storage domain has more than one disk profile so I cannot guarantee the date right now. One option is to build vdsm yourself from the ovirt-3.5 branch. Another is to apply the two patches http://gerrit.ovirt.org/#/c/33950/2/vdsm/gluster/gfapi.py http://gerrit.ovirt.org/#/c/35256/3/vdsm/gluster/gfapi.py to your local /usr/share/vdsm/gluster/gfapi.py file. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt-shell command to move a disk
Le 30/11/2014 15:01, Michael Pasternak a écrit : Hi Nicolas, In oVit you can find /Disks under several locations /api/disks /api/vms/{vm:id}/disks /api/templates/{template:id}/disks /api/vms/{vm:id}/snapshots/{snapshot:id}/disks to move disk to a different domain, you have to use first one, e.g disk with no context [1], on ovirt-shell language it will look like [2]. [1] /disks/{disk:id}/move [2] action disk {disk:id} move -- storagedomain-name|--storagedomain-id [--action-async true] ... (use help/auto-completion to see command details/verbs) Hi Mickael, Thank you for your reply, but here is what I get : [oVirt shell (connected)]# action disk serv-fs-int1_Disk1 move --storagedomain-name data-vm-adm8 UNKNOWN ERROR = get() got an unexpected keyword argument 'name' I get the same when using the id instead of the names. -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest Interface Speed
- Original Message - > From: "Mohyedeen Nazzal" > To: "Doron Fediuck" > Cc: "users@ovirt.org" > Sent: Sunday, November 30, 2014 7:09:14 PM > Subject: Re: [ovirt-users] Guest Interface Speed > > Opened one ... https://bugzilla.redhat.com/show_bug.cgi?id=1169139 > > Thanks, > Mohyedeen. > > On Sun, Nov 30, 2014 at 5:37 PM, Doron Fediuck wrote: > > > > > > > - Original Message - > > > From: "Mohyedeen Nazzal" > > > To: "users@ovirt.org" > > > Sent: Sunday, November 30, 2014 2:20:16 PM > > > Subject: [ovirt-users] Guest Interface Speed > > > > > > Hi All, > > > > > > I wanted to report this long time ago, but as it's not functional issue i > > > have forget it ... > > > The Network Interface speed is not correct, on the guest VM the interface > > > speed is > > > 10G, while acctually it's 1G only ! > > > > > > > > > > > > > > > Note this is on all releases, including 3.5 > > > any idea ? > > > > > > Thanks, > > > Mohyedeen. > > > > > > > > > > Thanks Mohyedeen. > > Worth opening a bug in Bugzilla[1] to make sure we do not overlook > > this issue. > > > > Doron > > > > [1] https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt > > > Thanks Mohyedeen. The relevant people will soon dig into it. Doron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest Interface Speed
Opened one ... https://bugzilla.redhat.com/show_bug.cgi?id=1169139 Thanks, Mohyedeen. On Sun, Nov 30, 2014 at 5:37 PM, Doron Fediuck wrote: > > > - Original Message - > > From: "Mohyedeen Nazzal" > > To: "users@ovirt.org" > > Sent: Sunday, November 30, 2014 2:20:16 PM > > Subject: [ovirt-users] Guest Interface Speed > > > > Hi All, > > > > I wanted to report this long time ago, but as it's not functional issue i > > have forget it ... > > The Network Interface speed is not correct, on the guest VM the interface > > speed is > > 10G, while acctually it's 1G only ! > > > > > > > > > > Note this is on all releases, including 3.5 > > any idea ? > > > > Thanks, > > Mohyedeen. > > > > > > Thanks Mohyedeen. > Worth opening a bug in Bugzilla[1] to make sure we do not overlook > this issue. > > Doron > > [1] https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] No bootable device on Centos 7 - ovirt 3.5 hosted-engine install.
- Original Message - > From: "Lewis Shobbrook" > To: users@ovirt.org > Sent: Saturday, November 29, 2014 2:31:22 AM > Subject: [ovirt-users] No bootable device on Centos 7 - ovirt 3.5 > hosted-engine install. > > Hi Guys, > > I struck upon the same problem that I've seen posted to the list some time > ago, where attempts to install the hosted engine fail. > The problem of "No bootable device" on first reboot after the initial > installation of the hosted-engine via an iso based cdrom install, is > reproducible across different installation media. > To describe in a little more detail for clarity, after the initial reboot and > reconnection to the hosted-engine setup VM, one must select "Boot from local > drive" or the likes from install media to continue with the hosted-engine > setup. > At this point regardless of install media, (e.g. > CentOS-6.6-x86_64-minimal.iso or the Fed 20 equivalent, or even the Debian > Jessie net-install iso), the "No bootable device" error persists. > I did see some suggestion that the problem may have been related to iptables, > but my assessment this is not the case. > The work around that I found was to edit the grub entry for "Boot from local > drive" in the iso menu from ".localboot 0x" and changing it to > ".localboot 0x80" > > Essentially what I was able to gather about the problem was that it was new > to Centos7, and was not encountered in earlier versions nor alternate host > OS such as Fedora 20. > Also the apparent bug is related only to the ovirt-hosted-engine-setup > created instance. > Post installation, an ovirt 3.5 created VM hosted on Centos 7, using > identical media and booting back to the iso by default, does not exhibit the > "No bootable device" error. > I have also been able to reproduce the problem on different hardware with > fresh Centos 7 installs separated by 7 weeks, so it seems persistent since > early October at the RC stage til now. > > Other problems that I encountered with the hosted engine install relate to > the iptables installation on the hosts/nodes following successful > engine-setup, despite selecting the "No" option for iptables configuration > within the ovirt-hosted-engine-setup dialogue. > My memory from the 3.4 release is that when performing the New host task from > the GUI and unchecking the iptables option, that it would similarly > reconfigure iptables on the target host as well. > It appears that the selection is not honored and from my experience breaks > component hosts of glustered HA platforms. > > I will get to submitting on bugzilla soon, but thought it may help to share > this here too. > > Lew Thanks for sharing, Lew. These reports accompanied with bugs is what makes this community improve oVirt. Waiting for your bugs, Doron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Node issues
Hi Juan. it seems as you have connectivity issues with the storage: > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (DefaultQuartzScheduler_Worker-79) [be7203c] Correlation ID: null, Call > Stack: null, Custom Event ID: -1, Message: Failed to connect Host node3 to > the Storage Domains node1_image. And- > 2014-11-29 23:40:05,691 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (DefaultQuartzScheduler_Worker-79) [be7203c] Correlation ID: null, Call > Stack: null, Custom Event ID: -1, Message: The error message for connection > node1.monalisa.com.py:/nfs/image returned by VDSM was: Problem while trying > to mount target > 2014-11-29 23:40:05,695 ERROR > [org.ovirt.engine.core.bll.storage.NFSStorageHelper] > (DefaultQuartzScheduler_Worker-79) [be7203c] The connection with details > node1.monalisa.com.py:/nfs/image failed because of error code 477 and error > message is: problem while trying to mount target You should verify your configuration first. If it looks fine consider selinux issues as well. Doron - Original Message - > From: "Juan Carlos YJ. Lin" > To: users@ovirt.org > Sent: Sunday, November 30, 2014 4:57:30 AM > Subject: [ovirt-users] Node issues > > OVirt 3.5 hosted, installed new node, centos 6.5 minumal, updated, ovirt3.5 > repos, > > with ovirt interface, create on default datacenter try to add second host > the system installs and then occurs error > > the host cannot be up > > engine.log > > 2014-11-29 23:37:57,719 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] > (org.ovirt.thread.pool-8-thread-48) Activate finished. Lock released. > Monitoring can run now for host node3 from data-center Default > 2014-11-29 23:37:57,730 INFO > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (org.ovirt.thread.pool-8-thread-48) Correlation ID: 7cf0e41a, Job ID: > f4e3d0cb-e7f7-4c91-8fcd-f3323848d53a, Call Stack: null, Custom Event ID: -1, > Message: Host node3 was activated by admin. > 2014-11-29 23:37:57,762 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] > (org.ovirt.thread.pool-8-thread-48) Lock freed to object EngineLock > [exclusiveLocks= key: 447f5911-07b7-4b10-9eb6-15a5e06e535a value: VDS > , sharedLocks= ] > 2014-11-29 23:38:00,369 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] > (DefaultQuartzScheduler_Worker-79) START, GetHardwareInfoVDSCommand(HostName > = node3, HostId = 447f5911-07b7-4b10-9eb6-15a5e06e535a, > vds=Host[node3,447f5911-07b7-4b10-9eb6-15a5e06e535a]), log id: 737e2224 > 2014-11-29 23:38:00,382 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] > (DefaultQuartzScheduler_Worker-79) FINISH, GetHardwareInfoVDSCommand, log > id: 737e2224 > 2014-11-29 23:38:00,417 INFO > [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] > (DefaultQuartzScheduler_Worker-79) [d948749] Running command: > HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities affected : > ID: 447f5911-07b7-4b10-9eb6-15a5e06e535a Type: VDS > 2014-11-29 23:38:00,431 INFO [org.ovirt.engine.core.bll.InitVdsOnUpCommand] > (DefaultQuartzScheduler_Worker-79) [2abcada9] Running command: > InitVdsOnUpCommand internal: true. Entities affected : ID: > 0002-0002-0002-0002-0101 Type: StoragePool > 2014-11-29 23:38:00,445 INFO > [org.ovirt.engine.core.bll.storage.ConnectHostToStoragePoolServersCommand] > (DefaultQuartzScheduler_Worker-79) [be7203c] Running command: > ConnectHostToStoragePoolServersCommand internal: true. Entities affected : > ID: 0002-0002-0002-0002-0101 Type: StoragePool > 2014-11-29 23:38:00,453 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] > (DefaultQuartzScheduler_Worker-79) [be7203c] START, > ConnectStorageServerVDSCommand(HostName = node3, HostId = > 447f5911-07b7-4b10-9eb6-15a5e06e535a, storagePoolId = > 0002-0002-0002-0002-0101, storageType = NFS, connectionList = [{ > id: 2fc02401-37e2-4169-83e4-c302ac1e0eb2, connection: > 192.168.1.90:/mnt/storage1/ovirt_share/exports, iqn: null, vfsType: null, > mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };{ > id: 4454ad4c-be93-49e6-ab77-87befc141b21, connection: > node1.monalisa.com.py:/nfs/image, iqn: null, vfsType: null, mountOptions: > null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: > 653cab22 > 2014-11-29 23:40:05,676 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (DefaultQuartzScheduler_Worker-79) [be7203c] Correlation ID: null, Call > Stack: null, Custom Event ID: -1, Message: Failed to connect Host node3 to > the Storage Domains node1_image. > 2014-11-29 23:40:05,678 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] > (DefaultQuartzScheduler_Worker-79) [be7203c] FINISH, > ConnectStorageServerVDSCommand, return: > {4454ad4c-be93-49e6-ab77-87befc141b21=477, > 2fc02401-37e2-4169-83e4-c302ac1e0eb2=
Re: [ovirt-users] Guest Interface Speed
- Original Message - > From: "Mohyedeen Nazzal" > To: "users@ovirt.org" > Sent: Sunday, November 30, 2014 2:20:16 PM > Subject: [ovirt-users] Guest Interface Speed > > Hi All, > > I wanted to report this long time ago, but as it's not functional issue i > have forget it ... > The Network Interface speed is not correct, on the guest VM the interface > speed is > 10G, while acctually it's 1G only ! > > > > > Note this is on all releases, including 3.5 > any idea ? > > Thanks, > Mohyedeen. > > Thanks Mohyedeen. Worth opening a bug in Bugzilla[1] to make sure we do not overlook this issue. Doron [1] https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] How to stick VM to hosts?
Just for the record, affinity deals with the relation between VMs, and pinning is about the relation between a VM and a host. We're considering extending affinity to handle hosts as well, but it's not a trivial change. Doron - Original Message - > From: "Arman Khalatyan" > To: "Itamar Heim" > Cc: "users" > Sent: Sunday, November 30, 2014 3:30:19 PM > Subject: Re: [ovirt-users] How to stick VM to hosts? > > Thanks for ideas. > I will try http://www.ovirt.org/External_Scheduler_Samples looks nice. > Itamar the VM-Affinity selects the VMs, but not the hosts. > Would be nice in the next release to add some host pinning options as well. > Cheers, > Arman. > > > *** > Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik > Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany > *** > > On Sun, Nov 30, 2014 at 2:20 PM, Itamar Heim < ih...@redhat.com > wrote: > > > On 11/30/2014 12:58 PM, Artyom Lukianov wrote: > > > I am sure you know about vm pinning, but it promise that you can run vm only > on one specific vm, in your case you want to run vm on some range of hosts, > exclude some specific hosts. At the moment ovirt don't have such thing of > policy, but you can write your own filter for scheduler-proxy, that will > filter all hosts except ones that you need: > http://www.ovirt.org/Features/ oVirt_External_Scheduling_ Proxy > http://www.ovirt.org/External_ Scheduler_Samples > > You need to install package ovirt-scheduler-proxy and also enable it via > engine-config -s ExternalSchedulerEnabled=True. > Also additional info you can find under cd /usr/share/doc/ovirt- > scheduler-proxy* > > why - since 3.4 we have affinity support out of the box? > http://www.ovirt.org/Features/ VM-Affinity > > > > > > I hope it will help you. > Thanks > > - Original Message - > From: "Arman Khalatyan" < arm2...@gmail.com > > To: "users" < users@ovirt.org > > Sent: Friday, November 28, 2014 11:51:40 AM > Subject: [ovirt-users] How to stick VM to hosts? > > Hello, > I have 2 VMs with the negative Affinity. > I am looking some way to force the VMs running on different selected hosts. > Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and c4? > Thanks, > Arman. > > ** * > Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik > Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany > ** * > > __ _ > 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 > > > > > ___ > 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
Re: [ovirt-users] oVirt-shell command to move a disk
Hi Nicolas, In oVit you can find /Disks under several locations /api/disks/api/vms/{vm:id}/disks/api/templates/{template:id}/disks/api/vms/{vm:id}/snapshots/{snapshot:id}/disks to move disk to a different domain, you have to use first one,e.g disk with no context [1], on ovirt-shell language it will look like [2]. [1] /disks/{disk:id}/move[2] action disk {disk:id} move -- storagedomain-name|--storagedomain-id [--action-async true] ...(use help/auto-completion to see command details/verbs) On Saturday, November 29, 2014 12:56 AM, Nicolas Ecarnot wrote: Hello, I'm confused because though I'm using ovirt-shell to script many actions every day, and even after a large bunch of reading and testing, I can not find the correct syntax to move (offline/available) disks between storage domains. May you help me please? (oVirt 3.4.4) -- Nicolas Ecarnot ___ 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
Re: [ovirt-users] How to stick VM to hosts?
Thanks for ideas. I will try http://www.ovirt.org/External_Scheduler_Samples looks nice. Itamar the VM-Affinity selects the VMs, but not the hosts. Would be nice in the next release to add some host pinning options as well. Cheers, Arman. *** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany *** On Sun, Nov 30, 2014 at 2:20 PM, Itamar Heim wrote: > On 11/30/2014 12:58 PM, Artyom Lukianov wrote: > >> I am sure you know about vm pinning, but it promise that you can run vm >> only on one specific vm, in your case you want to run vm on some range of >> hosts, exclude some specific hosts. At the moment ovirt don't have such >> thing of policy, but you can write your own filter for scheduler-proxy, >> that will filter all hosts except ones that you need: >> http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy >> http://www.ovirt.org/External_Scheduler_Samples >> >> You need to install package ovirt-scheduler-proxy and also enable it via >> engine-config -s ExternalSchedulerEnabled=True. >> Also additional info you can find under cd /usr/share/doc/ovirt- >> scheduler-proxy* >> > > why - since 3.4 we have affinity support out of the box? > http://www.ovirt.org/Features/VM-Affinity > > > >> I hope it will help you. >> Thanks >> >> - Original Message - >> From: "Arman Khalatyan" >> To: "users" >> Sent: Friday, November 28, 2014 11:51:40 AM >> Subject: [ovirt-users] How to stick VM to hosts? >> >> Hello, >> I have 2 VMs with the negative Affinity. >> I am looking some way to force the VMs running on different selected >> hosts. >> Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and >> c4? >> Thanks, >> Arman. >> >> *** >> Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für >> Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany >> *** >> >> ___ >> 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 >> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Failed to execute stage 'Environment setup': Command'/bin/systemctl' failed to execute
- Original Message - > From: "Jürgen Brandl" > To: "鎖心□愛妳" > Cc: "users" > Sent: Sunday, November 30, 2014 2:12:32 PM > Subject: Re: [ovirt-users] Failed to execute stage 'Environment setup': > Command'/bin/systemctl' failed to execute > > Hello, > > I did a bit of debugging the issue, here are all the errors, which i found > useful: > # yum install ovirt-hosted-engine-setup > [...] > Installing : vdsm-4.16.7-1.gitdb83943.el7.x86_64 277/281 > SELinux: Could not downgrade policy file > /etc/selinux/targeted/policy/policy.29, searching for an older version. > SELinux: Could not open policy file <= > /etc/selinux/targeted/policy/policy.29: No such file or directory > /sbin/load_policy: Can't load policy: No such file or directory > libsemanage.semanage_reload_policy: load_policy returned error code 2. > SELinux: Could not downgrade policy file > /etc/selinux/targeted/policy/policy.29, searching for an older version. > SELinux: Could not open policy file <= > /etc/selinux/targeted/policy/policy.29: No such file or directory > /sbin/load_policy: Can't load policy: No such file or directory > libsemanage.semanage_reload_policy: load_policy returned error code 2. > Traceback (most recent call last): > File "/usr/bin/vdsm-tool", line 209, in main > return tool_command[cmd]["command"](*args) > File "/usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py", line 66, in > sebool_config > setup_booleans(True) > File "/usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py", line 53, in > setup_booleans > sebool_obj.finish() > File "/usr/lib/python2.7/site-packages/seobject/__init__.py", line 281, in > finish > self.commit() > File "/usr/lib/python2.7/site-packages/seobject/__init__.py", line 274, in > commit > raise ValueError(_("Could not commit semanage transaction")) > ValueError: Could not commit semanage transaction > [...] Since I assume you did this (yum install) prior to the next steps, I'd first try to solve this one. Seems like some failure running vdsm-tool related to selinux, during the %post scriptlet, perhaps 'vdsm-tool sebool-config'. What happens when you run this one? Is selinux generally installed/configured/enabled/working well? Please check/post also /var/log/yum.log and /var/log/vdsm. Thanks, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] How to stick VM to hosts?
On 11/30/2014 12:58 PM, Artyom Lukianov wrote: I am sure you know about vm pinning, but it promise that you can run vm only on one specific vm, in your case you want to run vm on some range of hosts, exclude some specific hosts. At the moment ovirt don't have such thing of policy, but you can write your own filter for scheduler-proxy, that will filter all hosts except ones that you need: http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy http://www.ovirt.org/External_Scheduler_Samples You need to install package ovirt-scheduler-proxy and also enable it via engine-config -s ExternalSchedulerEnabled=True. Also additional info you can find under cd /usr/share/doc/ovirt-scheduler-proxy* why - since 3.4 we have affinity support out of the box? http://www.ovirt.org/Features/VM-Affinity I hope it will help you. Thanks - Original Message - From: "Arman Khalatyan" To: "users" Sent: Friday, November 28, 2014 11:51:40 AM Subject: [ovirt-users] How to stick VM to hosts? Hello, I have 2 VMs with the negative Affinity. I am looking some way to force the VMs running on different selected hosts. Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and c4? Thanks, Arman. *** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany *** ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Guest Interface Speed
Hi All, I wanted to report this long time ago, but as it's not functional issue i have forget it ... The Network Interface speed is not correct, on the guest VM the interface speed is 10G, while acctually it's 1G only ! Note this is on all releases, including 3.5 any idea ? Thanks, Mohyedeen. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Failed to execute stage 'Environment setup': Command'/bin/systemctl' failed to execute
Hello, I did a bit of debugging the issue, here are all the errors, which i found useful: # yum install ovirt-hosted-engine-setup [...] Installing : vdsm-4.16.7-1.gitdb83943.el7.x86_64 277/281 SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version. SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.29: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version. SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.29: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. Traceback (most recent call last): File "/usr/bin/vdsm-tool", line 209, in main return tool_command[cmd]["command"](*args) File "/usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py", line 66, in sebool_config setup_booleans(True) File "/usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py", line 53, in setup_booleans sebool_obj.finish() File "/usr/lib/python2.7/site-packages/seobject/__init__.py", line 281, in finish self.commit() File "/usr/lib/python2.7/site-packages/seobject/__init__.py", line 274, in commit raise ValueError(_("Could not commit semanage transaction")) ValueError: Could not commit semanage transaction [...] # hosted-engine --deploy [ INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141130125118-ax6wm0.log Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supports virtualization [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ ERROR ] Failed to execute stage 'Environment setup': Command '/bin/systemctl' failed to execute [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination # cat /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141130125118-ax6wm0.log [...] 2014-11-30 12:51:22 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:866 execute-output: ('/bin/systemctl', 'start', 'vdsmd.service') stderr: Job for vdsmd.service failed. See 'systemctl status vdsmd.service' and 'journalctl -xn' for details. 2014-11-30 12:51:22 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py", line 155, in _late_setup state=True File "/usr/share/otopi/plugins/otopi/services/systemd.py", line 138, in state 'start' if state else 'stop' File "/usr/share/otopi/plugins/otopi/services/systemd.py", line 77, in _executeServiceCommand raiseOnError=raiseOnError File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 871, in execute command=args[0], RuntimeError: Command '/bin/systemctl' failed to execute [...] # journalctl -xn -- Logs begin at Sat 2014-11-29 22:42:03 CET, end at Sun 2014-11-30 12:54:48 CET. -- Nov 30 12:51:26 CentOS-70-64-minimal systemd[1]: Starting Virtual Desktop Server Manager... -- Subject: Unit vdsmd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit vdsmd.service has begun starting up. Nov 30 12:51:26 CentOS-70-64-minimal systemd[1]: vdsmd.service start request repeated too quickly, refusing to start. Nov 30 12:51:26 CentOS-70-64-minimal systemd[1]: Failed to start Virtual Desktop Server Manager. -- Subject: Unit vdsmd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit vdsmd.service has failed. -- -- The result is failed. Nov 30 12:51:26 CentOS-70-64-minimal systemd[1]: Unit vdsmd.service entered failed state. # systemctl status vdsmd vdsmd.service - Virtual Desktop Server Manager Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled) Active: failed (Result: start-limit) since Sun 2014-11-30 12:51:26 CET; 5min ago Process: 26400 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-s
Re: [ovirt-users] How to stick VM to hosts?
I am sure you know about vm pinning, but it promise that you can run vm only on one specific vm, in your case you want to run vm on some range of hosts, exclude some specific hosts. At the moment ovirt don't have such thing of policy, but you can write your own filter for scheduler-proxy, that will filter all hosts except ones that you need: http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy http://www.ovirt.org/External_Scheduler_Samples You need to install package ovirt-scheduler-proxy and also enable it via engine-config -s ExternalSchedulerEnabled=True. Also additional info you can find under cd /usr/share/doc/ovirt-scheduler-proxy* I hope it will help you. Thanks - Original Message - From: "Arman Khalatyan" To: "users" Sent: Friday, November 28, 2014 11:51:40 AM Subject: [ovirt-users] How to stick VM to hosts? Hello, I have 2 VMs with the negative Affinity. I am looking some way to force the VMs running on different selected hosts. Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and c4? Thanks, Arman. *** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany *** ___ 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
Re: [ovirt-users] ovirt report portal question
You can use JasperReports Studio to create reports and they will be saved if you use the "Saved Reports" folder. You can find guide to use this tool in the JasperSoft community website. Yaniv - Original Message - > From: "Shirly Radco" > To: "Demeter Tibor" > Cc: "users@ovirt.org List" , "Yaniv Dary" > Sent: Sunday, November 30, 2014 10:54:42 AM > Subject: Re: [ovirt-users] ovirt report portal question > > Hi Tibor, > > > You can't make your own queries using the reports portal, > but you can query directly from the ovirt_egine_history database using the > API views. > > There are the v3_5_statistics_vms_disks_resources_usage_samples /hourly > /daily views, They include vm disks usage data. > And join them with the other relevant views like > v3_5_configuration_history_vms > and v3_5_configuration_history_vms_disks. > > > We also plan on adding in 3.6 the vms disk usage including templates and > snapshots. > > Best regards, > --- > Shirly Radco > BI Software Engineer > Red Hat Israel Ltd. > > > - Original Message - > > From: "Demeter Tibor" > > To: "users@ovirt.org List" > > Sent: Thursday, November 27, 2014 5:26:12 PM > > Subject: [ovirt-users] ovirt report portal question > > > > > > Hi all, > > > > How can I make own querys in engine reports? > > > > I would like to see the CONSUMED disk usage of a VM /day or /month. > > > > Is it possible? > > Thanks in advance, > > > > Tibor > > > > > > > > ___ > > 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
Re: [ovirt-users] How to stick VM to hosts?
- Original Message - > From: "Arman Khalatyan" > To: "users" > Sent: Friday, November 28, 2014 11:51:40 AM > Subject: [ovirt-users] How to stick VM to hosts? > > Hello, > I have 2 VMs with the negative Affinity. > I am looking some way to force the VMs running on different selected hosts. > Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and c4? I think that this is wnat you are looking for http://www.ovirt.org/Features/oVirtScheduler If you have any questions, you can contact Gilad Chaplik (gchap...@redhat.com) Best regards Eli > Thanks, > Arman. > > *** > Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik > Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany > *** > > ___ > 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
Re: [ovirt-users] ovirt report portal question
Hi Tibor, You can't make your own queries using the reports portal, but you can query directly from the ovirt_egine_history database using the API views. There are the v3_5_statistics_vms_disks_resources_usage_samples /hourly /daily views, They include vm disks usage data. And join them with the other relevant views like v3_5_configuration_history_vms and v3_5_configuration_history_vms_disks. We also plan on adding in 3.6 the vms disk usage including templates and snapshots. Best regards, --- Shirly Radco BI Software Engineer Red Hat Israel Ltd. - Original Message - > From: "Demeter Tibor" > To: "users@ovirt.org List" > Sent: Thursday, November 27, 2014 5:26:12 PM > Subject: [ovirt-users] ovirt report portal question > > > Hi all, > > How can I make own querys in engine reports? > > I would like to see the CONSUMED disk usage of a VM /day or /month. > > Is it possible? > Thanks in advance, > > Tibor > > > > ___ > 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