Re: [ovirt-users] Error: Storage format V3 is not supported
I've reported the issue: https://bugzilla.redhat.com/show_bug.cgi?id=1323462 A verified workaround is to change the metadata Version to 0. Checksum should be compromised by it, so follow http://lists.ovirt.org/pipermail/users/2012-April/007149.html if you have any issues with adjusting it. Please let me know how this worked out for you. Regards, Vered On Thu, Mar 31, 2016 at 5:28 AM, Alex Rwrote: > I am trying to import a domain that I have used as an export on a previous > install. The previous install was no older then v3.5 and was built with > the all-in-one-plugin. Before destroying that system I took a portable > drive and made an export domain to export my VMs and templates. > > The new system is up to date an was built as a hosted engine. When I try > to import the domain I get the following error: > > "Error while executing action: Cannot add Storage. Storage format V3 is > not supported on the selected host version." > > I just need to recover the VMs. > > I connect the USB hard drive to the host and make an export directory just > like I did on the old host. > > # ls -ld /mnt/export_ovirt > drwxr-xr-x. 5 vdsm kvm 4096 Mar 6 11:27 /mnt/export_ovirt > > I have tried both doing an NFS mount > # cat /etc/exports.d/ovirt.exports > /home/engineha 127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash) > /mnt/backup-vm/ 10.3.1.0/24(rw,anonuid=36,anongid=36,all_squash) > 127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash) > > # cat > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/dom_md/metadata > CLASS=Backup > DESCRIPTION=eport_storage > IOOPTIMEOUTSEC=10 > LEASERETRIES=3 > LEASETIMESEC=60 > LOCKPOLICY= > LOCKRENEWALINTERVALSEC=5 > POOL_UUID=053926e4-e63d-450e-8aa7-6f1235b944c6 > REMOTE_PATH=/mnt/export_ovirt/images > ROLE=Regular > SDUUID=4be3f6ac-7946-4e7b-9ca2-11731c8ba236 > TYPE=LOCALFS > VERSION=3 > _SHA_CKSUM=2e6e203168bd84f3dc97c953b520ea8f78119bf0 > > # ls -l > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf > > -rw-r--r--. 1 vdsm kvm 9021 Mar 6 11:50 > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf > > Thanks, > Alex > > ___ > 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] Error: Storage format V3 is not supported
Hi Alex, This looks like a bug occurring with export domain on local storage, which I'm currently trying to reproduce. In the meantime, please try the following work around: Create an export domain in your new setup. Copy the images and vms directly to the mounted export directory (from old export mount path to new export mount path) Do not copy the metadata, it looks like this is the origin of the problem. I will report back once I confirm the issue. Regards, Vered On Thu, Mar 31, 2016 at 5:28 AM, Alex Rwrote: > I am trying to import a domain that I have used as an export on a previous > install. The previous install was no older then v3.5 and was built with > the all-in-one-plugin. Before destroying that system I took a portable > drive and made an export domain to export my VMs and templates. > > The new system is up to date an was built as a hosted engine. When I try > to import the domain I get the following error: > > "Error while executing action: Cannot add Storage. Storage format V3 is > not supported on the selected host version." > > I just need to recover the VMs. > > I connect the USB hard drive to the host and make an export directory just > like I did on the old host. > > # ls -ld /mnt/export_ovirt > drwxr-xr-x. 5 vdsm kvm 4096 Mar 6 11:27 /mnt/export_ovirt > > I have tried both doing an NFS mount > # cat /etc/exports.d/ovirt.exports > /home/engineha 127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash) > /mnt/backup-vm/ 10.3.1.0/24(rw,anonuid=36,anongid=36,all_squash) > 127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash) > > # cat > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/dom_md/metadata > CLASS=Backup > DESCRIPTION=eport_storage > IOOPTIMEOUTSEC=10 > LEASERETRIES=3 > LEASETIMESEC=60 > LOCKPOLICY= > LOCKRENEWALINTERVALSEC=5 > POOL_UUID=053926e4-e63d-450e-8aa7-6f1235b944c6 > REMOTE_PATH=/mnt/export_ovirt/images > ROLE=Regular > SDUUID=4be3f6ac-7946-4e7b-9ca2-11731c8ba236 > TYPE=LOCALFS > VERSION=3 > _SHA_CKSUM=2e6e203168bd84f3dc97c953b520ea8f78119bf0 > > # ls -l > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf > > -rw-r--r--. 1 vdsm kvm 9021 Mar 6 11:50 > /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf > > Thanks, > Alex > > ___ > 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] is it possible to change IOS and Export domain?
You can put your domains to maintenance, then detach them from the DC they're in, and them import and attach them to a different dc than they're in now. You cannot change the functionality of a storage domain from ISO to EXPORT, or any other change. On Sun, Aug 9, 2015 at 4:32 AM, Will K yetanotherw...@yahoo.com wrote: hi, I have oVirt 3.3.3-2.el6 on a 2-node setup. Node1 has an ISO domain through NFS while node2 has a NFS export domain. It does't sound right after extensive usage on this setup. I would like to change them to an export on another NFS server. On the overt GUI, I'm not allowed to change the ISO and the NFS domain. I'm allowed to add another Data/GlusterFS domain. Please let me know if it is possible to make changes to the ISO and NFS domain. Thanks Will ___ 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+gluster+NFS : storage hicups
On Thu, Aug 6, 2015 at 3:24 PM, Nicolas Ecarnot nico...@ecarnot.net wrote: Hi Vered, Thanks for answering. Le 06/08/2015 11:08, Vered Volansky a écrit : But from times to times, there seem to appear a severe hicup which I have great difficulties to diagnose. The messages in the web gui are not very precise, and not consistent: - some tell about some host having network issues, but I can ping it from every place it needs to be reached (especially from the SPM and the manager) Ping doesn't say much as the ssh protocol is the one being used. Please try this and report. Try what? ssh instead of ping. Please attach logs (engine+vdsm). Log snippets would be helpful (but more important are full logs). I guess that what will be most useful is to provide logs at or around the precise moment s**t is hitting the fan. But this is very difficult to forecast : There are times I'm trying hard to break it (see dumb user tests previously described) and oVirt is doing well at coping with these situations. And at the opposite, there are times where even zero VM is running, and I see the DC appearing as non operational for some minutes. So I'll send logs the next time I see such situation. You can send logs and just point us to the time your problems occurred. They are rotated, so unless you removed them they should be available to you at any time. Just make sure they have the time in question and we'll dig in. In general it smells like an ssh/firewall issue. On this test setup, I disabled the firewall on my hosts. And you're right, it appears I forgot to disable it on one of the three hosts. On the one I forgot, a brief look at the iptables rules seemed like very conform with what I'm use to see as managed by oVirt, nothing weird. Anyway, it is now completely disabled. Good :) On host serv-vm-al01, Error: Network error during communication with the Host This host had no firewall activated... -- Nicolas ECARNOT ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt+gluster+NFS : storage hicups
- Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users@ovirt.org Users@ovirt.org Sent: Wednesday, August 5, 2015 5:32:38 PM Subject: [ovirt-users] ovirt+gluster+NFS : storage hicups Hi, I used the two links below to setup a test DC : http://community.redhat.com/blog/2014/05/ovirt-3-4-glusterized/ http://community.redhat.com/blog/2014/11/up-and-running-with-ovirt-3-5-part-two/ The only thing I did different is I did not usea hosted engine, but I dedicated a solid server for that. So I have one engine (CentOS 6.6), and 3 hosts (CentOS 7.0) As in the doc above, my 3 hosts are publishing 300 Go of replicated gluster storage, above which ctdb is managing a floating virtual ip that is used by NFS as the master storage domain. The last point is that the manager is also presenting a NFS storage I'm using as an export domain. It took me some time to plug all this setup as it is a bit more complicated as my other DC with a real SAN and no gluster, but it is eventually working (I can run VMs, migrate them...) I have made many severe tests (from a very dumb user point of view : unplug/replug the power cable of this server - does ctdb floats the vIP? does gluster self-heals?, does the VM restart?...) When precisely looking each layer one by one, all seems to be correct : ctdb is fast at managing the ip, NFS is OK, gluster seems to reconstruct, fencing eventually worked with the lanplus workaround, and so on... But from times to times, there seem to appear a severe hicup which I have great difficulties to diagnose. The messages in the web gui are not very precise, and not consistent: - some tell about some host having network issues, but I can ping it from every place it needs to be reached (especially from the SPM and the manager) Ping doesn't say much as the ssh protocol is the one being used. Please try this and report. Please attach logs (engine+vdsm). Log snippets would be helpful (but more important are full logs). In general it smells like an ssh/firewall issue. On host serv-vm-al01, Error: Network error during communication with the Host - some tell that some volume is degraded, when it's not (gluster commands are showing no issue. Even the oVirt tab about the volumes are all green) - Host serv-vm-al03 cannot access the Storage Domain(s) UNKNOWN attached to the Data Center Just by waiting a couple of seconds lead to a self heal with no action. - Repeated Detected change in status of brick serv-vm-al03:/gluster/data/brick of volume data from DOWN to UP. but absolutely no action is made on this filesystem. At this time, zero VM is running in this test datacenter, and no action is made on the hosts. Though, I see some looping errors coming and going, and I find no way to diagnose. Amongst the *actions* that I had the idea to use to solve some issues : - I've found that trying to force the self-healing, and playing with gluster commands had no effect - I've found that playing with gluster adviced actions find /gluster -exec stat {} \; ... seem to have no either effect - I've found that forcing ctdb to move the vIp (ctdb stop, ctdb continue) DID SOLVE most of these issue. I believe that it's not what ctdb is doing that helps, but maybe one of its shell hook that is cleaning some troubles? As this setup is complexe, I don't ask anyone a silver bullet, but maybe you may know which layer is the most fragile, and which one I should look at more closely? -- 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] Testing Ovirt 3.6
Looks like by now a bz was opened for this: https://bugzilla.redhat.com/show_bug.cgi?id=1249671 - Original Message - From: wodel youchi wodel.you...@gmail.com To: Sandro Bonazzola sbona...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, August 4, 2015 2:28:44 AM Subject: Re: [ovirt-users] Testing Ovirt 3.6 Hi, I redid the installation with Fc22 for the host and the VM engine, I still have the same problems - No VM engine on the webui - Cannot start a created VM, DB error Then I tested with Fc22 for th host and Centos7 for the VM engine - Still no VM engine on webui - But this time no DB error and the created VM did start. Regards. 2015-08-03 14:40 GMT+01:00 Sandro Bonazzola sbona...@redhat.com : No, no specific known issue. On Sat, Aug 1, 2015 at 8:57 PM, Maor Lipchuk mlipc...@redhat.com wrote: Sandro, Eyal, Is there any known issue of this specific build? Regards, Maor - Original Message - From: wodel youchi wodel.you...@gmail.com To: Maor Lipchuk mlipc...@redhat.com Cc: users users@ovirt.org Sent: Saturday, August 1, 2015 3:24:21 PM Subject: Re: [ovirt-users] Testing Ovirt 3.6 Hi, Here are the logs engine.log hosted-engine setup log vdsm.log agent and broker logs About the postgresql function, it's exists gethostnetworksbycluster(uuid) but the webgui is calling it with parameters not defined. 2015-07-31 22:05:20,449 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (default task-23) [7acb8bf] Data access error during C anDoActionFailure.: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select * fro m gethostnetworksbycluster(?, ?, ?)]; nested exception is org.postgresql.util.PSQLException: ERROR: function gethostnetworks bycluster(uuid, unknown, character varying) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Regards 2015-08-01 10:01 GMT+01:00 Maor Lipchuk mlipc...@redhat.com : Hi wodel, can u please attach the engine.log, also the hosted engine log. Regards, Maor - Original Message - From: wodel youchi wodel.you...@gmail.com To: users users@ovirt.org Sent: Saturday, August 1, 2015 1:01:57 AM Subject: [ovirt-users] Testing Ovirt 3.6 Hi, I have installed ovirt 3.6 hosted-engine on Fedora22 for test. using NFS4 as storage for the vm engine, vms, iso and export. I am using ovirt-release- master repository I have some problems 1 - the VM engine is not showing up on the webgui. 2 - I cannot start a VM after it's creation, I get an error about a failed connection to DB, in the engine's error log I have an exception about a none existant function ' gethostne tworksbycluster'. 3 - I couldn't import my old export domain 4 - I couldn't import my old vm domain. thanks in advance. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ 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] Switch from Fedora 20 to CentOS 7.1
Hi Soeren, oVirt Clusters support one host distribution (all hosts must be of the same distribution). If the cluster is empty at one point, you can add a host of a different distribution than the cluster occupied before. But there can't be two type of distributions at the same time in one cluster. Regards, Vered - Original Message - From: Soeren Malchow soeren.malc...@mcon.net To: users@ovirt.org Sent: Wednesday, May 20, 2015 2:58:11 PM Subject: [ovirt-users] Switch from Fedora 20 to CentOS 7.1 Dear all, Would it be possible to switch from fedora 20 to centos 7.1 (as far as i understood it has live merge support now) within one cluster, meaning * take out one compute host * Reinstall that compute host with Centos 7.1 * Do a hosted-engine —deploy * Migrate VM to the CentOS 7.1 host * Take the next fedora host and reinstall Any experiences, recommendations or remarks on that ? Regards Soeren ___ 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] VM failed to start | Bad volume specification
- Original Message - From: Punit Dambiwal hypu...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Sunday, March 1, 2015 4:58:02 PM Subject: Re: [ovirt-users] VM failed to start | Bad volume specification Hi Vered, Please find the below required details :- hosts :- 8 Hosts domains :- Internal Do you mean local? vms :- more then 500 statuses :- running and some are down versions :- Ovirt :- 3.5.1 Glusterfs :- 3.6.1 Earlier it was working fine but after reboot one of the storage node...problem started I don't understand this sentence. What kind of storage is it? and now i am not able to create any VM...each time it throws the same error VM 2c810a8d40e1abf67aa6d94d430b9574 is down with error. Exit message: Bad volume specification {'index': 0, 'iface': 'virtio', 'type': 'disk', 'format': 'raw', 'bootOrder': '1', 'address': {'slot': '0x07', 'bus': '0x00', 'domain': '0x', 'type': 'pci', 'function': '0x0'}, 'volumeID': '70951592-ddd3-460f-a1d0-942f197120d7', 'apparentsize': '21474836480', 'imageID': '7247a929-6bc9-4267-9086-f643eeda7596', 'specParams': {}, 'readonly': 'false', 'domainID': 'e732a82f-bae9-4368-8b98-dedc1c3814de', 'reqsize': '0', 'deviceId': '7247a929-6bc9-4267-9086-f643eeda7596', 'truesize': '888942592', 'poolID': '0002-0002-0002-0002-0145', 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'optional': 'false'}. I still need logs in order to help out. Thanks, Punit On Thu, Feb 26, 2015 at 2:19 PM, Vered Volansky ve...@redhat.com wrote: Hi Punit, Engine log does not contain the snippet you quoted before. It does have an occurrence of the same issue with another vm, but with almost only logins and logout, making it, once again, impossible to understand the context. Please give me some information as to your environment - hosts, domains, vms, statuses, versions, I also need more context as to what actions you were performing before this failure, statuses before and after this specific action, but also some scenarion that led to this issue. I would still need the logs of the relevant timeframe. Pleas verify that what you send next time is indeed the relevant logs. Regards, Vered - Original Message - From: Punit Dambiwal hypu...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Wednesday, February 25, 2015 2:15:02 PM Subject: Re: [ovirt-users] VM failed to start | Bad volume specification Hi Vered, Yes... it's new VM...even some of the old vm those can run previousely but now can not run now... On Wed, Feb 25, 2015 at 3:07 PM, Vered Volansky ve...@redhat.com wrote: - Original Message - From: Punit Dambiwal hypu...@gmail.com To: users@ovirt.org Sent: Wednesday, February 25, 2015 6:19:53 AM Subject: [ovirt-users] VM failed to start | Bad volume specification Hi, I try to start the VM but it's failed to start...and through the following error :- VM vm1 is down with error. Exit message: Bad volume specification {'index': 0, 'iface': 'virtio', 'type': 'disk', 'format': 'raw', 'bootOrder': '1', 'address': {'slot': '0x07', 'bus': '0x00', 'domain': '0x', 'type': 'pci', 'function': '0x0'}, 'volumeID': '60c73bf0-d190-420b-917c-04aa00e52f10', 'apparentsize': '1073741824', 'imageID': '8ca66096-bd47-460d-9e09-2966e45b471b', 'specParams': {}, 'readonly': 'false', 'domainID': 'e732a82f-bae9-4368-8b98-dedc1c3814de', 'reqsize': '0', 'deviceId': '8ca66096-bd47-460d-9e09-2966e45b471b', 'truesize': '1054048256', 'poolID': '0002-0002-0002-0002-0145', 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'optional': 'false'}. Please help me to solve this issue Thanks, Punit ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Please send engine and vdsm logs, it's impossible to help you without context. What's the history of the VM you were unable to start? Is it a new VM? ___ 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] Sync Error on Master Domain after adding a second one
Please specify the exact flow building to this error, in terms of adding a new domain, the statuses of both domains when an operation is performed, etc. What are the statuses of both domains? In case this is not the same issue, we'll need to have a look at the full engine vdsm logs. - Original Message - From: Stefano Stagnaro stefa...@prisma-eng.com To: users@ovirt.org Sent: Wednesday, February 25, 2015 1:18:41 PM Subject: [ovirt-users] Sync Error on Master Domain after adding a second one I'm testing oVirt 3.5.2 nightly with 1 host for engine, 2 for virt (v10,v11) and 2 for GlusterFS (s20,s21). The Master Data Domain (named DATA) rely on GlusterFS. I've added second Data Domain (named DATA_R3) in order to switch the Master role and remove the old one. Every time I try to put the old Data Domain in maintenance I got the following error: Sync Error on Master Domain between Host v10 and oVirt Engine. Domain: DATA_R3 is marked as Master in oVirt Engine database but not on the Storage side. Please consult with Support on how to fix this issue. Same error if I try to put DATA in maintenance from the shell: # action storagedomain '62a034ca-63df-44f2-9a87-735ddd257a6b' deactivate --datacenter-identifier '0002-0002-0002-0002-022f' I cannot switch to the new Master Data Domain neither I can put the Data Center in maintenance. I'm not sure if it is related to bug 1183977. I've already upgraded to ovirt-engine-3.5.2-0.0.master.20150224122113.git410d88b.el6.noarch but the problem still happen. Thanks, -- Stefano Stagnaro Prisma Engineering S.r.l. Via Petrocchi, 4 20127 Milano – Italy Tel. 02 26113507 int 339 e-mail: stefa...@prisma-eng.com skype: stefano.stagnaro ___ 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] VM failed to start | Bad volume specification
Hi Punit, Engine log does not contain the snippet you quoted before. It does have an occurrence of the same issue with another vm, but with almost only logins and logout, making it, once again, impossible to understand the context. Please give me some information as to your environment - hosts, domains, vms, statuses, versions, I also need more context as to what actions you were performing before this failure, statuses before and after this specific action, but also some scenarion that led to this issue. I would still need the logs of the relevant timeframe. Pleas verify that what you send next time is indeed the relevant logs. Regards, Vered - Original Message - From: Punit Dambiwal hypu...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Wednesday, February 25, 2015 2:15:02 PM Subject: Re: [ovirt-users] VM failed to start | Bad volume specification Hi Vered, Yes... it's new VM...even some of the old vm those can run previousely but now can not run now... On Wed, Feb 25, 2015 at 3:07 PM, Vered Volansky ve...@redhat.com wrote: - Original Message - From: Punit Dambiwal hypu...@gmail.com To: users@ovirt.org Sent: Wednesday, February 25, 2015 6:19:53 AM Subject: [ovirt-users] VM failed to start | Bad volume specification Hi, I try to start the VM but it's failed to start...and through the following error :- VM vm1 is down with error. Exit message: Bad volume specification {'index': 0, 'iface': 'virtio', 'type': 'disk', 'format': 'raw', 'bootOrder': '1', 'address': {'slot': '0x07', 'bus': '0x00', 'domain': '0x', 'type': 'pci', 'function': '0x0'}, 'volumeID': '60c73bf0-d190-420b-917c-04aa00e52f10', 'apparentsize': '1073741824', 'imageID': '8ca66096-bd47-460d-9e09-2966e45b471b', 'specParams': {}, 'readonly': 'false', 'domainID': 'e732a82f-bae9-4368-8b98-dedc1c3814de', 'reqsize': '0', 'deviceId': '8ca66096-bd47-460d-9e09-2966e45b471b', 'truesize': '1054048256', 'poolID': '0002-0002-0002-0002-0145', 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'optional': 'false'}. Please help me to solve this issue Thanks, Punit ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Please send engine and vdsm logs, it's impossible to help you without context. What's the history of the VM you were unable to start? Is it a new VM? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM failed to start | Bad volume specification
- Original Message - From: Punit Dambiwal hypu...@gmail.com To: users@ovirt.org Sent: Wednesday, February 25, 2015 6:19:53 AM Subject: [ovirt-users] VM failed to start | Bad volume specification Hi, I try to start the VM but it's failed to start...and through the following error :- VM vm1 is down with error. Exit message: Bad volume specification {'index': 0, 'iface': 'virtio', 'type': 'disk', 'format': 'raw', 'bootOrder': '1', 'address': {'slot': '0x07', 'bus': '0x00', 'domain': '0x', 'type': 'pci', 'function': '0x0'}, 'volumeID': '60c73bf0-d190-420b-917c-04aa00e52f10', 'apparentsize': '1073741824', 'imageID': '8ca66096-bd47-460d-9e09-2966e45b471b', 'specParams': {}, 'readonly': 'false', 'domainID': 'e732a82f-bae9-4368-8b98-dedc1c3814de', 'reqsize': '0', 'deviceId': '8ca66096-bd47-460d-9e09-2966e45b471b', 'truesize': '1054048256', 'poolID': '0002-0002-0002-0002-0145', 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'optional': 'false'}. Please help me to solve this issue Thanks, Punit ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Please send engine and vdsm logs, it's impossible to help you without context. What's the history of the VM you were unable to start? Is it a new VM? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Zombie disks failed to remove..
Please send vdsm and engine logs so we can see why this happened. Regards, Vered - Original Message - From: Punit Dambiwal hypu...@gmail.com To: users@ovirt.org, gluster-us...@gluster.org, Martin Pavlik mpav...@redhat.com, Martin Perina mper...@redhat.com Sent: Tuesday, February 24, 2015 8:50:04 PM Subject: [ovirt-users] Zombie disks failed to remove.. Hi, In my ovirt infra...ovirt (3.5.1) with glusterfs (3.6.1)now when i try to remove the vm...the vm remove successfully but the vm disk (vdisk) remain there.if i try to remove this unattached disk..it's failed to remove Thanks, Punit ___ 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] Error: Validating CPU Compatibility
- Original Message - From: ronald suza ronal...@optonline.net To: users@ovirt.org Sent: Wednesday, February 25, 2015 8:08:18 AM Subject: [ovirt-users] Error: Validating CPU Compatibility I am still a newbie and going through the ovirt engine-setup And I am getting an error --- AIO: Validating CPU Compatibility... [ ERROR ] oVirt Engine will be installed using the following configuration: = http-port: 80 https-port: 443 host-fqdn: ovirtmgr.localdomain auth-pass: org-name: home default-dc-type: NFS db-remote-install: local db-local-pass: nfs-mp: /mnt/iso iso-domain-name: iso override-iptables: no config-allinone: yes storage-path: /mnt/data superuser-pass: Proceed with the configuration listed above? (yes|no): yes Installing: AIO: Validating CPU Compatibility... [ ERROR ] Error: Could not start libvirt service. Please try starting it manually and rerun the setup. Please check log file /var/log/ovirt-engine/engine-setup_2015_02_24_23_49_33.log for more information I examined the log /var/log/ovirt-engine/engine-setup_2015_02_24_23_49_33.log: It consists of the following info: File /usr/share/ovirt-engine/scripts/plugins /all_in_one_100.py , line 184, in startLibvirt raise Exception(ERROR_LIBVIRT_START) Exception: Error: Could not start libvirt service. Please try starting it manually and rerun the setup. And did you try to start libvirt manually? What does it say? Please find the attached file /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py Appreciate your help. ___ 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] Replace Failed Master Data Domain
What exactly is your status, what's the scenario? In general, you don't decide for yourself which storage domain is your master, though it's usually the first attached one. So when you do add a storage domain, it should become master - if there is no master already. Vered - Original Message - From: Jerry Champlin j...@absolute-performance.com To: users@ovirt.org Sent: Wednesday, December 17, 2014 2:19:39 AM Subject: [ovirt-users] Replace Failed Master Data Domain List: What is the process for replacing a master data domain. The storage attached to this was corrupted and has been replaced. We need to get the data domain back. Any pointers greatly appreciated. -Jerry Jerry Champlin Absolute Performance Inc. Phone: 303-565-4401 -- Enabling businesses to deliver critical applications at lower cost and higher value to their customers. NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately. ___ 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] Can not connect to Storage domain data
I you determine there is indeed a bug, We'd appreciate you opening one in bugzilla, along with the workaround. Thanks, Vered - Original Message - From: Cong Yue cong_...@alliedtelesis.com To: users@ovirt.org Sent: Friday, December 19, 2014 2:18:34 AM Subject: Re: [ovirt-users] Can not connect to Storage domain data I found the workaround for this. For some reason my Storage domain of data can not be mounted. I just mount it manually, like mount –t nfs nfs2-3:/data /rhev/data-center/mnt/nfs2-3:_data Actually, the folder of “/rhev/data-center/mnt/nfs2-3:_data” has been created. I think this may be some bug as for in my environment, I will reproduce it always if I try to deploy the host from second time. Thanks, Cong From: Yue, Cong Sent: Thursday, December 18, 2014 2:17 PM To: 'users@ovirt.org' Subject: RE: Can not connect to Storage domain data I think the problems for my issue are related with the NFS version. From the second, if I change the value of Defaultver /etc/nfsmount.conf from “Defaultvres=4” to “Defaulvers=3”, the mount can not be done. When I changed it back to “Defaultvers=4”, it will work. Also from /proc/mounts, it shows the nfs version is nfs4. But for my first host, it is nfs3. Do somebody have the similar issue about thi? Thank in advance, Cong From: Yue, Cong Sent: Thursday, December 18, 2014 9:52 AM To: users@ovirt.org Subject: Can not connect to Storage domain data Hi I successfully deployed the first ovirt host with hosted-engine –deploy. Engine VM works well. While, when I try to create the second host with the same way as the guide of http://community.redhat.com/blog/2014/11/up-and-running-with-ovirt-3-5-part-two/ I am not using GlusterFS, and just use one external storage(nfs) in my environment. The issue I have is in the engine administration menu, it says “can not connect to storage domain data” In the second host, I checked with nfs-check.py for both storage and data domain. It shows the status is ok. http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues During deployment of the second host, how the data domain is trying to be mounted? Thanks, This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator. ___ 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] Backup and Restore of VMs
Please take a look at: http://www.ovirt.org/Features/Backup-Restore_API_Integration Specifically: http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups Regards, Vered - Original Message - From: Soeren Malchow soeren.malc...@mcon.net To: Users@ovirt.org Sent: Friday, December 19, 2014 1:44:38 PM Subject: [ovirt-users] Backup and Restore of VMs Dear all, ovirt: 3.5 gluster: 3.6.1 OS: CentOS 7 (except ovirt hosted engine = centos 6.6) i spent quite a while researching backup and restore for VMs right now, so far I have come up with this as a start for us - API calls to create schedule snapshots of virtual machines This is or short term storage and to guard against accidential deletion within the VM but not for storage corruption - Since we are using a gluster backend, gluster snapshots I wasn’t able so far to really test it since the LV needs to be thin provisioned and we did not do that in the setup For the API calls we have the problem that we can not find any existing scripts or something like that to do those snapshots (and i/we are not developers enough to do that). As an additional information, we have a ZFS based storage with deduplication that we use for other backup purposes which does a great job especially because of the deduplication (we can storage generations of backups without problems), this storage can be NFS exported and used as backup repository. Are there any backup and restore procedure you guys are using for backup and restore that works for you and can you point me into the right direction ? I am a little bit list right now and would appreciate any help. Regards Soeren ___ 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] Backup and Restore of VMs
Well, real world is community... Maybe change the name of the thread in order to make this more clear for someone from the community that might be able to could help. Maybe something like: Request for sharing real world example of VM backups. We obviously use it as part as developing, but I don't have what you're asking for. If you try it yourself and stumble onto questions in the process, please ask the list and we'll do our best to help. Best Regards, Vered - Original Message - From: Blaster blas...@556nato.com To: Vered Volansky ve...@redhat.com Cc: Users@ovirt.org Sent: Tuesday, December 23, 2014 5:56:13 AM Subject: Re: [ovirt-users] Backup and Restore of VMs Vered, It sounds like Soeren already knows about that page. His issue seems to be, as well as the issue of others judging by comments on here, is that there aren’t any real world examples of how the API is used. On Dec 22, 2014, at 9:26 AM, Vered Volansky ve...@redhat.com wrote: Please take a look at: http://www.ovirt.org/Features/Backup-Restore_API_Integration Specifically: http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups Regards, Vered - Original Message - From: Soeren Malchow soeren.malc...@mcon.net To: Users@ovirt.org Sent: Friday, December 19, 2014 1:44:38 PM Subject: [ovirt-users] Backup and Restore of VMs Dear all, ovirt: 3.5 gluster: 3.6.1 OS: CentOS 7 (except ovirt hosted engine = centos 6.6) i spent quite a while researching backup and restore for VMs right now, so far I have come up with this as a start for us - API calls to create schedule snapshots of virtual machines This is or short term storage and to guard against accidential deletion within the VM but not for storage corruption - Since we are using a gluster backend, gluster snapshots I wasn’t able so far to really test it since the LV needs to be thin provisioned and we did not do that in the setup For the API calls we have the problem that we can not find any existing scripts or something like that to do those snapshots (and i/we are not developers enough to do that). As an additional information, we have a ZFS based storage with deduplication that we use for other backup purposes which does a great job especially because of the deduplication (we can storage generations of backups without problems), this storage can be NFS exported and used as backup repository. Are there any backup and restore procedure you guys are using for backup and restore that works for you and can you point me into the right direction ? I am a little bit list right now and would appreciate any help. Regards Soeren ___ 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] Debug Environment for RHEVM
Hi, It's not that you can't debug RHEV at all, it's just that the instructions in the link you cited is will not work as is. The packaging, hierarchy and even file names are different. Regards, Vered - Original Message - From: Chao Xie xiec.f...@cn.fujitsu.com To: users@ovirt.org Sent: Monday, December 22, 2014 3:55:13 AM Subject: [ovirt-users] Debug Environment for RHEVM HI, I found there is a debug environment for oVirt: http://wiki.ovirt.org/OVirt_Engine_Development_Environment Is it also useful for RHEVM source code? Best Regards, Xie ___ 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] Cannot activate storage domain
Adding Sahina. - Original Message - From: Brent Hartzell brent.hartz...@outlook.com To: users@ovirt.org Sent: Thursday, December 18, 2014 3:38:11 AM Subject: [ovirt-users] Cannot activate storage domain Have the following: 6 hosts – virt + Gluster shared Gluster volume is distributed-replicate – replica 2 Shutting down servers one at a time all work except for 1 brick. If we shut down one specific brick (1 brick per host) – we’re unable to activate the storage domain. VM’s that were actively running from other bricks continue to run. Whatever was running form that specific brick fails to run, gets paused etc. Error log shows the entry below. I’m not certain what it’s saying is read only…nothing is read only that I can find. 2014-12-17 19:57:13,362 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand] (DefaultQuartzScheduler_Worker-47) [4e9290a2] Command SpmStatusVDSCommand(HostName = U23.domainame.net, HostId = 0db58e46-68a3-4ba0-a8aa-094893c045a1, storagePoolId = 7ccd6ea9-7d80-4170-afa1-64c10c185aa6) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SpmStatusVDS, error = [Errno 30] Read-only file system, code = 100 2014-12-17 19:57:13,363 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] (DefaultQuartzScheduler_Worker-47) [4e9290a2] hostFromVds::selectedVds - U23.domainname.net, spmStatus returned null! According to Ovirt/Gluster, if a brick goes down, the VM should be able to be restarted from another brick without issue. This does not appear to be the case… If we take other bricks offline, it appears to work as expected. Something with this specific brick cases everything to break which then makes any VM’s that were running from the brick unable to start. ___ 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] [STORAGE] Adding posix compliant FS
Hi Julian, IIUC the you have a self-created lvm, to which you're trying to connect as posix using ovirt. If that's the case please try to manually change the device's permissions to 36:36 under /dev/your_VG. If that doesn't work try the actual device it's mapped to (which is what vdsm actually tries to mount). If that also doesn't work please send us the output of: ls -lh /dev/your_VG . Regards, Vered - Original Message - From: Julian De Marchi jul...@jdcomputers.com.au To: users@ovirt.org Sent: Wednesday, December 17, 2014 3:35:34 AM Subject: Re: [ovirt-users] [STORAGE] Adding posix compliant FS Think I found some more clues. Thread-21910::DEBUG::2014-12-17 11:26:07,277::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/sudo -n /sbin/lvm vgs --config ' devices { preferred_names = [^/dev/mapper/] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 obtain_device_list_from_udev=0 filter = [ '\''r|.*|'\'' ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 use_lvmetad=0 } backup { retain_min = 50 retain_days = 0 } ' --noheadings --units b --nosuffix --separator '|' --ignoreskippedcluster -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free,lv_count,pv_count,pv_name 3ba06bee-861e-4868-8e89-f29f785bab65 (cwd None) Thread-21910::DEBUG::2014-12-17 11:26:07,348::lvm::288::Storage.Misc.excCmd::(cmd) FAILED: err = ' Volume group 3ba06bee-861e-4868-8e89-f29f785bab65 not found\n Skipping volume group 3ba06bee-861e-4868-8e89-f29f785bab65\n'; rc = 5 Thread-21910::WARNING::2014-12-17 11:26:07,350::lvm::370::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 [] [' Volume group 3ba06bee-861e-4868-8e89-f29f785bab65 not found', ' Skipping volume group 3ba06bee-861e-4868-8e89-f29f785bab65'] Thread-21910::DEBUG::2014-12-17 11:26:07,351::lvm::407::Storage.OperationMutex::(_reloadvgs) Operation 'lvm reload operation' released the operation mutex But I still don't understand what it's trying to do. Just to recap, I do see it create the dir and mount the device. But when it fails it umounts everything. I tried to manually create the DIR it is expecting, but ovirt seems to remove it and re-create it which then ends up with root:root. I can see this as when I add the storage I run watch ls -lh and can see it all occur. Any help would still be greatly appreciated! On 12/16/14 19:46, Julian De Marchi wrote: On 16/12/14 17:20, Aharon Canan wrote: Did you chown 36:36 the folder to get the right permissions for adding to ovirt? That's the thing. Ovirt actually creates that dir when I go and try to add the storage. It mounts the LVM device to that dir then fails. In the logs I posted at http://pastebin.com/fzN9ktAX you can see it is failing with a permission denied error. The command that is above the error is touch. I think it is trying to touch a file to ensure all is well and when that fails it gives the error. If I knew where in the code to prefix the touch command with sudo and add a line to the sudoers entry I can test this idea. [...] - Original Message - From: Julian De Marchi jul...@jdcomputers.com.au To: users@ovirt.org Sent: Tuesday, December 16, 2014 4:40:04 AM Subject: Re: [ovirt-users] [STORAGE] Adding posix compliant FS On 12/16/14 08:57, Julian De Marchi wrote: Heya-- I'm using ovirt 3.5 and trying to add a posix compliant FS to a node in my cluster. The storage I'm trying to add is contained within LVM. Below is a link to my log files on the node where I'm trying to attach the storage. http://pastebin.com/fzN9ktAX I've read the ovirt manual for adding posix compliant storage and believe I'm doing everything correct. Any help to get this storage added would be great thanks and if I forgot to include any info please ask. More info to add. I was doing an ls on the dir it does the mount in and saw the dir was owned by root:root with different perms to the ones mounted via NFS. [root@blade01 libvirt]# ls /rhev/data-center/mnt/ -lh total 20K drwxrwxrwx 4 root root 4.0K Dec 11 09:00 10.106.200.100:_VM__IMAGES drwxrwxrwx 3 root root 4.0K Oct 17 09:42 10.106.200.22:_opt_vmexport drwxrwxrwx 4 root root 4.0K Oct 17 09:39 10.106.200.22:_var_lib_libvirt_images drwxr-xr-x 3 root root 4.0K Dec 15 16:52 _dev_mapper_VolGroup-lv__images This could explain why the touch command fails. Still at a loss over the issue though. ___ 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] disk ordering
Hi Paul, Please explain what disk ordering you are referring to. Disk ordering displayed when and where exactly? Thanks, Vered - Original Message - From: Paul Jansen vla...@yahoo.com.au To: users users@ovirt.org Sent: Wednesday, December 17, 2014 3:12:50 AM Subject: [ovirt-users] disk ordering Hello. I've noticed issues with inconsistent disk ordering when doing installs from time to time (on VMs with two disks). I came across this post from Itamar from October 2013 where 'disk ordering' is mentioned as a roadmap item: [Users] oVirt Roadmap feature requests - Summary I haven't found anything more when doing searches. Has any work been done on this, or is there a workaround? This is a little annoying. I never run into this issue under Vmware's ESXi. [Users] oVirt Roadmap feature requests - Summary [Users] oVirt Roadmap feature requests - Summary Itamar Heim iheim at redhat.com Sun Oct 6 15:55:33 EDT 2013 Previous message: [Users] so, what do you want next in oVirt? View on lists.ovirt.org Preview by Yahoo ___ 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] disk ordering
Paul, This does not suppose to happen, so we'll need much more data in order to pin-point the problem, I hope you'll be able to do this for us. We'll need the exact flow in both cases (bootable is sda or sbd). Is this a new VM with new installations? An old VM? Are all the VMs based on the same template? If not what are the differences? Is it always EL6? What version are you using? Please add anything else that differentiate the two flows, and what's the same. Shahar may have more questions for you about this before you get your answer. Thanks in advance, Shahar, for your help on this. Regards, Vered - Original Message - From: Paul Jansen vla...@yahoo.com.au To: Vered Volansky ve...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, December 17, 2014 1:46:06 PM Subject: Re: [ovirt-users] disk ordering Hello Vered. This is when doing an EL6 install. Disk 1 - which also has the bootable flag turned on in ovirt - sometime does not show up as SDA inside the OS. The secondary disk shows as SDA and the first disk shows as SDB. This is with both disks as virtio -scsi disks. Unfortunately this behaviour is not consistent, it does happen every now and then though.. A colleague hit this issue again last night. From: Vered Volansky ve...@redhat.com To: Paul Jansen vla...@yahoo.com.au Cc: users users@ovirt.org Sent: Wednesday, 17 December 2014, 22:10 Subject: Re: [ovirt-users] disk ordering Hi Paul, Please explain what disk ordering you are referring to. Disk ordering displayed when and where exactly? Thanks, Vered - Original Message - From: Paul Jansen vla...@yahoo.com.au To: users users@ovirt.org Sent: Wednesday, December 17, 2014 3:12:50 AM Subject: [ovirt-users] disk ordering Hello. I've noticed issues with inconsistent disk ordering when doing installs from time to time (on VMs with two disks). I came across this post from Itamar from October 2013 where 'disk ordering' is mentioned as a roadmap item: [Users] oVirt Roadmap feature requests - Summary I haven't found anything more when doing searches. Has any work been done on this, or is there a workaround? This is a little annoying. I never run into this issue under Vmware's ESXi. [Users] oVirt Roadmap feature requests - Summary [Users] oVirt Roadmap feature requests - Summary Itamar Heim iheim at redhat.com Sun Oct 6 15:55:33 EDT 2013 Previous message: [Users] so, what do you want next in oVirt? View on lists.ovirt.org Preview by Yahoo ___ 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] [STORAGE] Adding posix compliant FS
Hi Julian, Please see my questions inline. Vered - Original Message - From: Julian De Marchi jul...@jdcomputers.com.au To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Wednesday, December 17, 2014 4:29:36 PM Subject: Re: [ovirt-users] [STORAGE] Adding posix compliant FS On 17/12/14 21:38, Vered Volansky wrote: Hi Julian, Hey Vered, IIUC the you have a self-created lvm, to which you're trying to connect as posix using ovirt. If that's the case please try to manually change the device's permissions to 36:36 under /dev/your_VG. If that doesn't work try the actual device it's mapped to (which is what vdsm actually tries to mount). If that also doesn't work please send us the output of: ls -lh /dev/your_VG . Still failed mate after a chmod 36:36. The thing is though, it _does_ mount the device for a moment before failing and unmounting it... Is this the same behaviour as before? [root@blade01 ~]# ls /dev/VolGroup/lv_images -lh lrwxrwxrwx 1 root root 7 Dec 15 16:52 /dev/VolGroup/lv_images - ../dm-2 I see /dev/VolGroup/lv_images are still root:root. Please chown 36:36 as well. Please state the all the chown you tried. [root@blade01 ~]# ls /dev/dm-2 -lh brw-rw 1 vdsm kvm 253, 2 Dec 15 16:52 /dev/dm-2 Regards, Vered - Original Message - From: Julian De Marchi jul...@jdcomputers.com.au To: users@ovirt.org Sent: Wednesday, December 17, 2014 3:35:34 AM Subject: Re: [ovirt-users] [STORAGE] Adding posix compliant FS Think I found some more clues. Thread-21910::DEBUG::2014-12-17 11:26:07,277::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/sudo -n /sbin/lvm vgs --config ' devices { preferred_names = [^/dev/mapper/] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 obtain_device_list_from_udev=0 filter = [ '\''r|.*|'\'' ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 use_lvmetad=0 } backup { retain_min = 50 retain_days = 0 } ' --noheadings --units b --nosuffix --separator '|' --ignoreskippedcluster -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free,lv_count,pv_count,pv_name 3ba06bee-861e-4868-8e89-f29f785bab65 (cwd None) Thread-21910::DEBUG::2014-12-17 11:26:07,348::lvm::288::Storage.Misc.excCmd::(cmd) FAILED: err = ' Volume group 3ba06bee-861e-4868-8e89-f29f785bab65 not found\n Skipping volume group 3ba06bee-861e-4868-8e89-f29f785bab65\n'; rc = 5 Thread-21910::WARNING::2014-12-17 11:26:07,350::lvm::370::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 [] [' Volume group 3ba06bee-861e-4868-8e89-f29f785bab65 not found', ' Skipping volume group 3ba06bee-861e-4868-8e89-f29f785bab65'] Thread-21910::DEBUG::2014-12-17 11:26:07,351::lvm::407::Storage.OperationMutex::(_reloadvgs) Operation 'lvm reload operation' released the operation mutex But I still don't understand what it's trying to do. Just to recap, I do see it create the dir and mount the device. But when it fails it umounts everything. I tried to manually create the DIR it is expecting, but ovirt seems to remove it and re-create it which then ends up with root:root. I can see this as when I add the storage I run watch ls -lh and can see it all occur. Any help would still be greatly appreciated! On 12/16/14 19:46, Julian De Marchi wrote: On 16/12/14 17:20, Aharon Canan wrote: Did you chown 36:36 the folder to get the right permissions for adding to ovirt? That's the thing. Ovirt actually creates that dir when I go and try to add the storage. It mounts the LVM device to that dir then fails. In the logs I posted at http://pastebin.com/fzN9ktAX you can see it is failing with a permission denied error. The command that is above the error is touch. I think it is trying to touch a file to ensure all is well and when that fails it gives the error. If I knew where in the code to prefix the touch command with sudo and add a line to the sudoers entry I can test this idea. [...] - Original Message - From: Julian De Marchi jul...@jdcomputers.com.au To: users@ovirt.org Sent: Tuesday, December 16, 2014 4:40:04 AM Subject: Re: [ovirt-users] [STORAGE] Adding posix compliant FS On 12/16/14 08:57, Julian De Marchi wrote: Heya-- I'm using ovirt 3.5 and trying to add a posix compliant FS to a node in my cluster. The storage I'm trying to add is contained within LVM. Below is a link to my log files on the node where I'm trying to attach the storage. http://pastebin.com/fzN9ktAX I've read the ovirt manual for adding posix compliant storage and believe I'm doing everything correct. Any help to get this storage added would be great thanks and if I forgot to include any info please ask. More info to add. I was doing an ls on the dir it does the mount in and saw the dir was owned by root:root with different perms to the ones mounted via
Re: [ovirt-users] Fwd: Are there some general strategyhow to Iscsi strorage domain?
Backup of a whole storage domain is problematic with regards to the data consistency. I would assume the important entities are specific VM disks and templates and you should try to backup the most important ones more frequently than others. It would be more correct to take a live snapshot of a disk and then use dd or DRBD as you suggested, as frequently as you need. This also ensure the data consistency much better than a whole storage domain. To better answer your question, What is the general use of your domains? What is the general number of disks you have there? What percentage are the most important ones? Do you really want all of them backed-up? How often do you need the backup to take place? Regards, Vered - Original Message - From: Arman Khalatyan arm2...@gmail.com To: users users@ovirt.org Sent: Thursday, October 23, 2014 11:11:43 AM Subject: [ovirt-users] Fwd: Are there some general strategyhow to Iscsi strorage domain? -- Forwarded message -- From: Arman Khalatyan arm2...@gmail.com Date: Thu, Oct 23, 2014 at 10:11 AM Subject: Re: [ovirt-users] Are there some general strategyhow to Iscsi strorage domain? To: Trey Dockendorf treyd...@gmail.com Thank you Trey for sharing your setup. I have also one test system with zvol exported with iscsi over 10G. Unfortunately the difference in performance of zfs over raid controller is huge, particularly where VM running mysql. I did not try HBAs yet, I have only LSI/Adaptec/Areca RaidControllers they dont have IT mode. Maybe that can be the reason. For sure always one need to find the sweet edge between performance and reliability. Just for comparison with yours I get on random IO: zvol/16Disks/Raid2/tgtd/iscsi/10G- on VM multiple rsync - ~100-150MB/s, Same HW but disks with Areca RAID6 - 650MB/s stable even more in some cases. The best performance I got on FDR iser- 80% of bare metal performance: 1500MB/s but ovirt goes mad claiming that Network and Disk devices are saturated. My VM goes time by time to paused state. It is due to that the Ovirt treating all ib devices as 10Gbit cards(in terms of speed).:( On Thu, Oct 23, 2014 at 8:30 AM, Trey Dockendorf treyd...@gmail.com wrote: Not sure if it's a solution for you, but ZFS. My domains are all ZFS (using ZFS on Linux in EL6.5) and my backup server receives incremental snapshots from primary storage which includes both NFS exports and iSCSI. ZFS makes creating block devices for iSCSI very easy, and they are included in snapshot replication. The replication is not HA but disaster recovery and off site. I've hit 300MB/s using ZFS send over IPoIB on my DDR fabric, which isn't amazing but not terrible for an old DDR fabric. ZFS is probably not an easy solution as requires rebuilding your storage, but maybe for future use or other readers it will give some useful ideas. - Trey On Oct 22, 2014 11:56 AM, Arman Khalatyan arm2...@gmail.com wrote: Hi, I have 2x40TB domains each are exported with iser/iscsi with ib and 10Gb interfaces. For sure they are RAID6 storage little bit save on failure. But I was wondered if any way to backup those domains. particularly master one. I was thinking somehow DRBD based replication, with lvm snapshots etc. But it looks like overkill. Will be nice somehow to deploy replicated/HA Master domain with ability to backp on tapes as well. Any ideas are welcome. Thanks, Arman. ___ 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] Import FC Storage as iSCSI
- Original Message - From: Raul Laansoo raul.laan...@bigbank.ee To: users users@ovirt.org Sent: Thursday, October 23, 2014 10:59:30 AM Subject: [ovirt-users] Import FC Storage as iSCSI Hello. I have created an FC Storage Domain and made snapshots of all LUNs on the SAN. Now I want to use those snapshots on another Data Center over iSCSI connection to test recovery. I can import the domain, but the domains Storage Type is FC and I can't attach it to host. Is it possible to change domain type to iSCSI or some other way to import storage domain. Just select iSCSI as thetype when you import it. This is the type of the new domain. Vered Thank you. Raul ___ 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] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi Nicolas, The vdsm log doesn't have the correlating time span of when I estimate the error occurred on the engine log. Please check if it was rotated and send the relevant log (I see a discovery error on 2014-10-22 09:11:36 ). I'd like to better understand what you did. The flow when adding as iSCSI domain is first discover targets by pressing the 'Discover' button, and only then pressing the 'log in' button. As far as I can see in the engine log, you already hit the wall by discovering, not even getting to log in. After this button is hit is also when you should see the LUNs, but you say you hit the login button and that it functions well, so I don't exactly understand the flow. Vered - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Wednesday, October 22, 2014 11:24:50 AM Subject: Re: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN Hi Vered, Le 22/10/2014 09:40, Vered Volansky a écrit : Hi, Please attach send the full engine and vdsm logs to the list. Here they are (I don't know if they will be authorized?) Also - what version are you using. Is this an upgrade? If so - which versions? This is a clean new install. [root@serv-mvm-adms01 tmp]# rpm -qa|grep -i virt ovirt-engine-lib-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.4.4-1.el6.noarch ovirt-engine-setup-3.4.4-1.el6.noarch ovirt-engine-backend-3.4.3-1.el6.noarch ovirt-engine-dbscripts-3.4.3-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.4.4-1.el6.noarch ovirt-engine-websocket-proxy-3.4.4-1.el6.noarch ovirt-iso-uploader-3.4.4-1.el6.noarch ovirt-release34-1.0.3-1.noarch ovirt-engine-webadmin-portal-3.4.3-1.el6.noarch ovirt-engine-sdk-python-3.4.4.0-1.el6.noarch ovirt-host-deploy-1.2.3-1.el6.noarch ovirt-host-deploy-java-1.2.3-1.el6.noarch ovirt-image-uploader-3.4.3-1.el6.noarch ovirt-engine-cli-3.4.0.5-1.el6.noarch ovirt-engine-tools-3.4.3-1.el6.noarch ovirt-engine-3.4.3-1.el6.noarch ovirt-engine-setup-base-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.4.4-1.el6.noarch ovirt-engine-restapi-3.4.3-1.el6.noarch ovirt-engine-userportal-3.4.3-1.el6.noarch [root@serv-vm-adms02 tmp]# rpm -qa|grep -i virt libvirt-python-0.10.2-29.el6_5.12.x86_64 libvirt-client-0.10.2-29.el6_5.12.x86_64 libvirt-0.10.2-29.el6_5.12.x86_64 libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64 ovirt-release34-1.0.3-1.noarch -- Nicolas Ecarnot Vered - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN Hi, Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them. On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working. We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point. Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side (iscsiadm -m session -P3). So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one : Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk I don't know what is missing? May you help me? -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- 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] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
So just to keep the list updated this was resolved offline by disconnecting the iscsi session (iscsiadm -m session -u), then logging into it again. What probably happened is that there was an existing bad session, and since it's existing, one can't login again. Once logged out, a new good session is created. A bad session can result from a wrong/stale /etc/iscsi/initiatorname.iscsi . The aboce is what should be sone in this case. If there's just a name change, restart iscsid before trying to login. And thank you Nir for your help in helping :) - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN Hi, Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them. On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working. We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point. Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side (iscsiadm -m session -P3). So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one : Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk I don't know what is missing? May you help me? -- 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] Recovering iSCSI domain (Was: Changing iSCSI LUN host IP and changing master domain)
Trey, I see you got answers offline and on similar topics. Is this still relevant? Regards, Vered - Original Message - From: Trey Dockendorf treyd...@gmail.com To: Sandra Taylor jtt77...@gmail.com, users users@ovirt.org Sent: Tuesday, October 21, 2014 11:59:23 PM Subject: [ovirt-users] Recovering iSCSI domain (Was: Changing iSCSI LUN host IP and changing master domain) Somehow my NFS domain got to be master again. I went into the database and updated the connections for NFS and I noticed that once I updated the IP for the ISCSI in the storage_server_connections table that the interface kept moving (master) between the iSCSI and NFS domain...very odd. I did these commands and now NFS is up. update storage_server_connections set connection='10.0.0.10:/tank/ovirt/data' where id='a89fa66b-8737-4bb8-a089-d9067f61b58a'; update storage_server_connections set connection='10.0.0.10:/tank/ovirt/import_export' where id='521a8477-9e88-4f2d-96e2-d3667ec407df'; update storage_server_connections set connection='192.168.202.245:/tank/ovirt/iso' where id='fb55cfea-c7ef-49f2-b77f-16ddd2de0f7a'; update storage_server_connections set connection='10.0.0.10' where id='d6da7fbf-5056-44a7-9fc8-e76a1ff9f525'; Once I activated the NFS master domain all my other domains went to active, including iSCSI. My concern now is whether the iSCSI domain is usable. The API path at /api/storagedomains/4eeb8415-c912-44bf-b482-2673849705c9/storageconnections shows storage_connections/ If I go to edit the iSCSI domain and check the LUN the warning I get is this: This operation might be unrecoverable and destructive! The following LUNs are already in use: - 1IET_00010001 (Used by VG: 3nxXNr-bIHu-9YS5-Kfzc-A2Na-sMhb-jihwdt) That alone makes me very hesitant to approve the operation. I could use some wisdom if this is safe or not. Thanks, - Trey On Tue, Oct 21, 2014 at 3:17 PM, Trey Dockendorf treyd...@gmail.com wrote: John, Thanks for reply. The Discover function in GUI works...it's once I try and login (Click the array next to target) that things just hang indefinitely. # iscsiadm -m session tcp: [2] 10.0.0.10:3260 ,1 iqn.2014-04.edu.tamu.brazos.vmstore1:ovirt-data_iscsi # iscsiadm -m node 10.0.0.10:3260 ,1 iqn.2014-04.edu.tamu.brazos.vmstore1:ovirt-data_iscsi # multipath -ll 1IET_00010001 dm-3 IET,VIRTUAL-DISK size=500G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 8:0:0:1 sdd 8:48 active ready running 1ATA_WDC_WD5003ABYZ-011FA0_WD-WMAYP0DNSAEZ dm-2 ATA,WDC WD5003ABYZ-0 size=466G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 3:0:0:0 sdc 8:32 active ready running The first entry, 1IET_00010001 is the iSCSI LUN. The log when I click the array in the interface for the target is this: Thread-14::DEBUG::2014-10-21 15:12:49,900::BindingXMLRPC::251::vds::(wrapper) client [192.168.202.99] flowID [7177dafe] Thread-14::DEBUG::2014-10-21 15:12:49,901::task::595::TaskManager.Task::(_updateState) Task=`01d8d01e-8bfd-4764-890f-2026fdeb78d9`::moving from state init - state preparing Thread-14::INFO::2014-10-21 15:12:49,901::logUtils::44::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=3, spUUID='----', conList=[{'connection': '10.0.0.10', 'iqn': 'iqn.2014-04.edu.tamu.brazos.) Thread-14::DEBUG::2014-10-21 15:12:49,902::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) '/usr/bin/sudo -n /sbin/iscsiadm -m node -T iqn.2014-04.edu.tamu.brazos.vmstore1:ovirt-data_iscsi -I default -p 10.0.0.10:3260 ,1 --op=new' (cwd None) Thread-14::DEBUG::2014-10-21 15:12:56,684::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) SUCCESS: err = ''; rc = 0 Thread-14::DEBUG::2014-10-21 15:12:56,685::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) '/usr/bin/sudo -n /sbin/iscsiadm -m node -T iqn.2014-04.edu.tamu.brazos.vmstore1:ovirt-data_iscsi -I default -p 10.0.0.10:3260 ,1 -l' (cwd None) Thread-14::DEBUG::2014-10-21 15:12:56,711::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) SUCCESS: err = ''; rc = 0 Thread-14::DEBUG::2014-10-21 15:12:56,711::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) '/usr/bin/sudo -n /sbin/iscsiadm -m node -T iqn.2014-04.edu.tamu.brazos.vmstore1:ovirt-data_iscsi -I default -p 10.0.0.10:3260 ,1 -n node.startup -v manual --op) Thread-14::DEBUG::2014-10-21 15:12:56,767::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) SUCCESS: err = ''; rc = 0 Thread-14::DEBUG::2014-10-21 15:12:56,767::lvm::373::OperationMutex::(_reloadvgs) Operation 'lvm reload operation' got the operation mutex Thread-14::DEBUG::2014-10-21 15:12:56,768::lvm::296::Storage.Misc.excCmd::(cmd) '/usr/bin/sudo -n /sbin/lvm vgs --config devices { preferred_names = [\\^/dev/mapper/\\] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3) Thread-14::DEBUG::2014-10-21 15:12:56,968::lvm::296::Storage.Misc.excCmd::(cmd)
Re: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi, Please attach send the full engine and vdsm logs to the list. Also - what version are you using. Is this an upgrade? If so - which versions? Vered - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN Hi, Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them. On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working. We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point. Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side (iscsiadm -m session -P3). So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one : Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk I don't know what is missing? May you help me? -- 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] Acctual disk size is missing
Hi, You should choose the Images radio button in order to see this information (among more info). Vered - Original Message - From: Mohyedeen Nazzal mohyedeen.naz...@gmail.com To: users@ovirt.org Users@ovirt.org Sent: Tuesday, October 21, 2014 9:16:47 AM Subject: [ovirt-users] Acctual disk size is missing Hi All, After upgrading to ovirt-engine 3.5, the acctual size column is missing under the disk tab. Thanks, Mohyedeen. ___ 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] OVIRT-3.5-TEST-DAY-3 - hosted engine over iSCSI
On my first try to hosted-engine --deploy I used screen as suggested by this command when using ssh. Then it wasn't clear that the egnine's host FQDN should be in /etc/hosts . Once over this issue with Toni's help, I went forward with the installation, which ultimately failed. Opened bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1142707 - Hosted-engine --deploy fails using screen with iscsi https://bugzilla.redhat.com/show_bug.cgi?id=1143817 - Hosted Engine - Instructions for FQDN are not clear enough By my second try I was assigned a new iscsi lun, so I used this one for a fresh start. This installation just went on forever, until I bumped into a broken pipe. Openned bz: https://bugzilla.redhat.com/show_bug.cgi?id=1143820 - Hosted-engine --deploy with iscsi stuck The third try was with the same target as the previous. Installation went further this time but I got a message: [ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs Opened bz: https://bugzilla.redhat.com/show_bug.cgi?id=1143830 - hosted-engine --deploy: Failed to execute stage 'Closing up' with iscsi target Regards, Vered ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] How long can a disk snapshot exist for?
- Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Vered Volansky ve...@redhat.com, users users@ovirt.org Sent: Thursday, August 28, 2014 7:53:17 PM Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Thanks that's exactly the explanation I was looking for. Sure, happy to help :) -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-28-14 9:29 AM To: Groten, Ryan; users Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Hi Ryan, Should have replied to all, my bad. See my answer embedded below: - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Vered Volansky ve...@redhat.com Sent: Thursday, August 28, 2014 5:50:12 PM Subject: RE: [ovirt-users] How long can a disk snapshot exist for? Thanks for the reply! So when keeping a snapshot for a long time I have to keep an eye on how large it will get over time. The snapshot's size itself is determined when it's taken according to the disks size at the time. It then stays the same. When taking a snapshot, the active image of the disk is frozen at this point in time, and a new, empty active image is created to hold the new data on the disk. The new data is saved in the form of diffs, so if there are mainly additions to the snapshot time, the space difference of the snapshot is negligible. But if the diffs include many reductions from the snapshot's state - this might consume a lot of space, again, depending on your usage. Note that you're also limited by the disk's size. But there's no (or very little) performance impact or potential issues from keeping snapshots (other than the storage pool filling up maybe)? All the vm operations take into consideration snapshots. Storage is an issue, but so is every operation you'll make on the vm. When you have one image, the vm is handled only through this image. But when you have several, for each operation the right layer will search for the existence/ability to do the operation in all the snapshots (worst case). So there is in fact an impact, but it's due to the mere existence of the snapshots and their number, not their age. We support 26 snapshots per VM, but you should only use it if you actually need the backup. If you need RT performance, try to avoid it as possible. Thanks, Ryan -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-27-14 11:19 PM To: Groten, Ryan Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Ryan, Disk snapshots consume fixed storage space (fixed since time of creation). The more differences there are from on your disk since the snapshot was taken, the more space is consumed, but that happens with no relation to the snapshot. If your frequent changes are in the form of adding data to you disks (on top of data snapshot time), then the space consumption of the snapshot is negligible. If you are undoing stuff from the snapshot time, there is actually more space consumed (to save the differences), otherwise the space would have just been released. Vered - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: users@ovirt.org Sent: Thursday, August 28, 2014 12:49:02 AM Subject: [ovirt-users] How long can a disk snapshot exist for? Is there any limit/performance considerations to keeping a disk snapshot for extended periods of time? What if the disk is changing frequently vs mostly static? Thanks, Ryan ___ 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] How long can a disk snapshot exist for?
Hi Ryan, Should have replied to all, my bad. See my answer embedded below: - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Vered Volansky ve...@redhat.com Sent: Thursday, August 28, 2014 5:50:12 PM Subject: RE: [ovirt-users] How long can a disk snapshot exist for? Thanks for the reply! So when keeping a snapshot for a long time I have to keep an eye on how large it will get over time. The snapshot's size itself is determined when it's taken according to the disks size at the time. It then stays the same. When taking a snapshot, the active image of the disk is frozen at this point in time, and a new, empty active image is created to hold the new data on the disk. The new data is saved in the form of diffs, so if there are mainly additions to the snapshot time, the space difference of the snapshot is negligible. But if the diffs include many reductions from the snapshot's state - this might consume a lot of space, again, depending on your usage. Note that you're also limited by the disk's size. But there's no (or very little) performance impact or potential issues from keeping snapshots (other than the storage pool filling up maybe)? All the vm operations take into consideration snapshots. Storage is an issue, but so is every operation you'll make on the vm. When you have one image, the vm is handled only through this image. But when you have several, for each operation the right layer will search for the existence/ability to do the operation in all the snapshots (worst case). So there is in fact an impact, but it's due to the mere existence of the snapshots and their number, not their age. We support 26 snapshots per VM, but you should only use it if you actually need the backup. If you need RT performance, try to avoid it as possible. Thanks, Ryan -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-27-14 11:19 PM To: Groten, Ryan Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Ryan, Disk snapshots consume fixed storage space (fixed since time of creation). The more differences there are from on your disk since the snapshot was taken, the more space is consumed, but that happens with no relation to the snapshot. If your frequent changes are in the form of adding data to you disks (on top of data snapshot time), then the space consumption of the snapshot is negligible. If you are undoing stuff from the snapshot time, there is actually more space consumed (to save the differences), otherwise the space would have just been released. Vered - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: users@ovirt.org Sent: Thursday, August 28, 2014 12:49:02 AM Subject: [ovirt-users] How long can a disk snapshot exist for? Is there any limit/performance considerations to keeping a disk snapshot for extended periods of time? What if the disk is changing frequently vs mostly static? Thanks, Ryan ___ 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] oVirt 3.5 2nd test day report: 1124143, 1124379, 1124688
This is a summation of Yoav's work as well as mine (some apart, some in parallel, and some together): Verfied: 1063064 - Allow big ranges in MacPoolManager 1063064 - add an explanation tool-tip to the 'Feedback' button 1083065 - EL 7 guest compatibility Work with existing up-to-date engine and vdsm from snapshot repo - Started by installing RHEL7 on an appropriate VM. Had several issues with actual installation, reported on - https://bugzilla.redhat.com/show_bug.cgi?id=1124379 - faulty free-space recognition on disk when installing on virtual machine. https://bugzilla.redhat.com/show_bug.cgi?id=1124688 - installer options are invalid for no reason Finally managed to work-around the issues and installation had started. Was very very slow. Verified there shouldn't be anything interrupting this. At this point tried to work with VMs, but couldn't get the SPICE console to work (BTW, initally SPICE didn't work on the VM in the local environment as well. It then just miraculously started to work). Then tried master again (another environment, let the installation complete on the other VM's installation, but this version of engine did not work). Also opened bz1124143 . ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
Hello Andy, Thanks for your reply. I think I understand what's going on there. I think your running the VM in stateless mode, which means that what happened is exactly what should have happened. When you run a VM in stateless mode, What's actually happening is that a snapshot is being taken and the VM runs on this snapshot. When the VM is rebooted the snapshot is deleted (with everything installed on it) and the VM goes back to the previous state (with the previous Active Image). This is the point of the Run stateless feature. If you want the installations to persist, just run the VM, not statelessly. Is it possible that this is what happened? lease let me know if you need any further assistance. Best Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 10, 2014 8:57:48 AM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, Sorry for the late reply. You did more than try. With your help I resolved my problem. I was busy doing my job. This is only a side thing according to my boss but he doesn't know how much time we will safe if we have a decent and easy to use test enviroment to see why something happen in the real world at our customers. But anyways ... I have the following setup. One server with the engine on and this one also delivers the storage via nfs. On another server I have only the VDSM setup. When I say I'm trying to put the disk in stateless mode (off a VM machine) I' mean that I'm trying to install new software on a VM but when I reboot everything is back the way it was before the changed situation of the new software. Kind regards. 2014-07-06 8:27 GMT+02:00 Vered Volansky ve...@redhat.com : Hi Andy, Happy to (try to) help :) What do you mean by putting the disks in stateless mode? By server do you mean the storage server, I presume? If so, I can see how this might have caused corruption. Still Would like to be sure what you mean to better understand the issue. Unfortunately, vdsm log was not helpful due to the gap, but the engine log might help out if I knew what operation I was looking for. BTW, Was the vdsm log on the SPM machine? If not, and you do still have it (or a rotation of it), I'd like to take a look and see if we have a bug hiding there. Thanks, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 6:03:42 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, We where trying to put the disks i stateless mode and the user was impatient and also started the server. I have changed the lock status now but the machine was broken. I 'm already creating a new VM as these are test machines and I don't care about the data in these VM's. Thank you very much for your assistance so far. I 'm curious still what happened though so if you have questions I will give additional info if needed. Kind regards. 2014-07-03 14:57 GMT+02:00 Vered Volansky ve...@redhat.com : Sorry, got sent in the middle. Andy, What operation did you try to attempt that caused the disks to lock? You do have a working engine, right? Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab (Id column). The images GUIDs are available in the DB (images table) and through vdsClient getVolumesList sdUUID spUUID [imgUUID] imgUUID should be the disk's GUID in the engine. You should be able to get that data from vdsClient as well: getImagesList sdUUID relevant sql query: select image_guid, imagestatus from images; *image status 2 is locked... The spUUID: Either the datacenter GUID in the engine, or - vdsClient -s 0 getConnectedStoragePoolsList, or in the db: select * from storage_pool; The StorageDomain's can be retrieved either by DB (bellow) or vdsClient: getStorageDomainsList spUUID (from above). sql query: select storage_name, id from storage_domains where storage_pool_id='spUUID'; - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 3:09:41 PM Subject: Re: [ovirt-users] Disk's locked of VM Vered, Where can I find the images GUIDs ? Kind regards.snapshots' 2014-06-30 17:40 GMT+02:00 Vered Volansky ve...@redhat.com : Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them
Re: [ovirt-users] Disk's locked of VM
Hi Andy, Happy to (try to) help :) What do you mean by putting the disks in stateless mode? By server do you mean the storage server, I presume? If so, I can see how this might have caused corruption. Still Would like to be sure what you mean to better understand the issue. Unfortunately, vdsm log was not helpful due to the gap, but the engine log might help out if I knew what operation I was looking for. BTW, Was the vdsm log on the SPM machine? If not, and you do still have it (or a rotation of it), I'd like to take a look and see if we have a bug hiding there. Thanks, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 6:03:42 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, We where trying to put the disks i stateless mode and the user was impatient and also started the server. I have changed the lock status now but the machine was broken. I 'm already creating a new VM as these are test machines and I don't care about the data in these VM's. Thank you very much for your assistance so far. I 'm curious still what happened though so if you have questions I will give additional info if needed. Kind regards. 2014-07-03 14:57 GMT+02:00 Vered Volansky ve...@redhat.com : Sorry, got sent in the middle. Andy, What operation did you try to attempt that caused the disks to lock? You do have a working engine, right? Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab (Id column). The images GUIDs are available in the DB (images table) and through vdsClient getVolumesList sdUUID spUUID [imgUUID] imgUUID should be the disk's GUID in the engine. You should be able to get that data from vdsClient as well: getImagesList sdUUID relevant sql query: select image_guid, imagestatus from images; *image status 2 is locked... The spUUID: Either the datacenter GUID in the engine, or - vdsClient -s 0 getConnectedStoragePoolsList, or in the db: select * from storage_pool; The StorageDomain's can be retrieved either by DB (bellow) or vdsClient: getStorageDomainsList spUUID (from above). sql query: select storage_name, id from storage_domains where storage_pool_id='spUUID'; - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 3:09:41 PM Subject: Re: [ovirt-users] Disk's locked of VM Vered, Where can I find the images GUIDs ? Kind regards.snapshots' 2014-06-30 17:40 GMT+02:00 Vered Volansky ve...@redhat.com : Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment
Re: [ovirt-users] Orphaned record in the engine DB prevents host removal
Hi Federico, If we are to debug this issue engine.log should be helpful, as Oved suggested. Please attach it if you still have it. Vered - Original Message - From: Federico Alberto Sayd fs...@uncu.edu.ar To: Oved Ourfali oourf...@redhat.com Cc: Arik Hadas aha...@redhat.com, users users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, July 4, 2014 11:56:18 PM Subject: Re: [ovirt-users] Orphaned record in the engine DB prevents host removal On 04/07/14 14:45, Oved Ourfali wrote: Is there a migration of this VM in progress? Did it migrate recently? Thank you Oved, I have already solved the problem, I have posted the solution to the list. However I don't understand how the data is recorded in the table vm_dyanmic. I guess that in this table the engine records the current status data of the vm's in the datacenter. In my engine DB almost all the registries in the vm_dynamic table have a vm id in the migrating_to_vds field, this id is the same in the run_on_vds field. Is it right that the migrating_to_vds field have a value after the vm has been migrated?? My setup: oVirt Engine Version: 3.4.0-1.el6 Nodes (vds's, hosts, etc.): Centos 6.5 ovirt-node 3.4, vdsm-4.14.6-0.el6 Thank you, and happy weekend! Federico I suggest to attach the engine log here as well, if possible, for examination. Cc-ing some guys that might help but bare in mind that for some of them it is already weekend. Oved On Jul 4, 2014 6:07 PM, Federico Alberto Sayd fs...@uncu.edu.ar wrote: Hello People: I am trying to remove a host from ovirt-engine but I have fouHello People: I am trying to remove a host from ovirt-engine but I have found that a orphaned record in the engine DB prevents the removal of the host. The host is in maintenance mode, it doesn't have vm's running on it. The engine logs says that there is a reference to the id of the host (vds_id in the table vds_static) in the field migrating_to_vds in the table dynamic_vds. Obviously this is a orphaned record, but a constraint in the table dynamic_vds prevents the removal of the host. How can I solve this? Someone that knows the internals of engine's DB that can confirm if I can remove the problematic registry in order to remove the host?? Another solution? I really need to remove this host. Please help and 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
- Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 2:31:06 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, Unfortunately do the log files for vdsm go back that far. Don't they rotate? The engine.log does. It happend on the 10the of june. Kind regards. 2014-06-30 17:40 GMT+02:00 Vered Volansky ve...@redhat.com : Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
- Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 2:54:44 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, I didnt change anything after installing the engine on a clean CentOS 6.5 minimal install. I see logs of the format vdsm.log.1.xz up to vdsm.log.100.xz which is as old as the 15th of june and some older logs with an other naming convention like vdsm.log-20140522.xz. Yes, these are the rotated logs. If you'll be able to find the log(s) from that date it might give us some more insight. Kind regards. 2014-07-03 13:43 GMT+02:00 Vered Volansky ve...@redhat.com : - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 2:31:06 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello Vered, Unfortunately do the log files for vdsm go back that far. Don't they rotate? The engine.log does. It happend on the 10the of june. Kind regards. 2014-06-30 17:40 GMT+02:00 Vered Volansky ve...@redhat.com : Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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 ___ 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] Disk's locked of VM
Sorry, got sent in the middle. Andy, What operation did you try to attempt that caused the disks to lock? You do have a working engine, right? Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab (Id column). The images GUIDs are available in the DB (images table) and through vdsClient getVolumesList sdUUID spUUID [imgUUID] imgUUID should be the disk's GUID in the engine. You should be able to get that data from vdsClient as well: getImagesList sdUUID relevant sql query: select image_guid, imagestatus from images; *image status 2 is locked... The spUUID: Either the datacenter GUID in the engine, or - vdsClient -s 0 getConnectedStoragePoolsList, or in the db: select * from storage_pool; The StorageDomain's can be retrieved either by DB (bellow) or vdsClient: getStorageDomainsList spUUID (from above). sql query: select storage_name, id from storage_domains where storage_pool_id='spUUID'; - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, July 3, 2014 3:09:41 PM Subject: Re: [ovirt-users] Disk's locked of VM Vered, Where can I find the images GUIDs ? Kind regards.snapshots' 2014-06-30 17:40 GMT+02:00 Vered Volansky ve...@redhat.com : Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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] Disk's locked of VM
- Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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] status disks locked
Hi Andy, Are we talking about the same issue as the other thread? - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:56:08 PM Subject: Re: [ovirt-users] status disks locked Hello, Can I check the status of the disks somewhere else then the engine ? And if so how ? Kind regards. On Jun 30, 2014 7:07 AM, Vered Volansky ve...@redhat.com wrote: Andy, Did what Sven suggested helped you out? What's the status of you disks? Regards, Vered - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Wednesday, June 25, 2014 2:17:14 PM Subject: Re: [ovirt-users] status disks locked Am 25.06.2014 10 :33, schrieb Andy Michielsen: Hello, I have a vm in my ovirt setup which has it's disks locked after I wanted to take a snapshot. I have a separate node and an engine and already rebooted them both but it still keeps on telling me it's disks are locked. Where does this info come from and what can I do to rectify the situation. Hi, afaik you can try 2 things: 1. in webadmin rightclick the rebooted node, and select host has been rebooted 2. restart ovirt-engine but ymmv HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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] Disk's locked of VM
Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian/etc/postgresql/*/main/pg_hba.conf Gentoo/etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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] ISO_DOMAIN issue
What do you have in the host under /rhev/data-center/ ? - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, June 25, 2014 7:54:21 AM Subject: Re: [ovirt-users] ISO_DOMAIN issue Ok, thanx. Now when I try to remove the connection I get this: [oVirt shell ( connec...@vega.brusselsairport.aero )]# remove storageconnection 91fca941-d9f3-496c-908f- 92d31bce6a64 == ERROR === status: 404 reason: Not Found detail: Entity not found: null 2014-06-24 15:53 GMT+02:00 Dafna Ron d...@redhat.com : the destroy should clean the db only and any cleanup on the storage/hosts side should be done manually by the user. cleaning the iso domain from the vms would be a nice addition if not done today - can you please open a bug on this? Please check if your hosts have old mount to the iso side and umount it. restart of vdsm service on the hosts and engine service should clean any leftovers after that. if not, please file a bug since old connection should be clean from the db. Dafna On 06/24/2014 01:53 PM, Sven Kieske wrote: well as far as I know you should put any domain first into maintenance, then detach from all DCs and then remove it. by force destroying you get what you now have: old connections which are dead and log spam. So I assume it would be safe to delete the connection to this storage domain, but ymmv. Am 24.06.2014 14 :45, schrieb Koen Vanoppen: By destroying it in ovirt management interface... -- Dafna Ron ___ 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] status disks locked
Andy, Did what Sven suggested helped you out? What's the status of you disks? Regards, Vered - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Wednesday, June 25, 2014 2:17:14 PM Subject: Re: [ovirt-users] status disks locked Am 25.06.2014 10:33, schrieb Andy Michielsen: Hello, I have a vm in my ovirt setup which has it's disks locked after I wanted to take a snapshot. I have a separate node and an engine and already rebooted them both but it still keeps on telling me it's disks are locked. Where does this info come from and what can I do to rectify the situation. Hi, afaik you can try 2 things: 1. in webadmin rightclick the rebooted node, and select host has been rebooted 2. restart ovirt-engine but ymmv HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [Users] Reimporting storage domains after reinstalling ovirt
Hi Boudewijn, First of all, the wiki page you are referring to is a feature page that was never implemented. We are currently working on the same feature, this is the correct feature page: http://www.ovirt.org/Features/ImportStorageDomain . I will ask that the irrelevant page be removed to avoid any further confusion. Second, currently, the only way to import a domain is to create an export domain and import it. Can you get the old setup-up and create an export domain? If not, we'll try to help and work around this is issue, but this is going to be very complex, since this is not supported. Just to have a general understanding of your setup - your storage on the same machine as ovirt engine? I'm assuming you're using web-admin. What exactly are you doing there? We don't have the import option there as you mentioned, so I don't understand how you could import an SD that was not export. Adding the entry to /etc/exports is meaningless. Do you have the ovfs of the old VMs available? In the meantime checking for an easier solution than the above, will get back to you on that. Regards, Vered - Original Message - From: Boudewijn Ector boudew...@boudewijnector.nl To: users@ovirt.org Sent: Sunday, March 9, 2014 3:48:41 AM Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt On 09-03-14 02:12, Boudewijn Ector wrote: Hi Guys, Currently I've got a Centos machine running the latest ovirt-release. This machine is using a local raid set containing a directory with ovirt-based VMs from my previous install. The ovirt install is a completely fresh install, no storage/VMs have been created yet. What's the best way to reimport those? I might try to create a new storage domain and copy all old VMs into it (if that works anyway...) , or just reimport the old domain from the web-interface. Does either trick have any advantage, or is there a best practice I should adhere to? Cheers, Boudewijn ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I just tried reimporting my old storage domains but that doesn't seem to work: [root@server data]# pwd /raid/ovirt-old/data [root@server data]# ls 1979444d-b79a-494c-8c1a-bcc132e31a04 __DIRECT_IO_TEST__ This is the old data domain I used, and the 1979444d-b79a-494c-8c1a-bcc132e31a04 contains quite a lot of VMs. When going to the webinterface and doing : - Storage - Import domain - Type: NFS - export path: $IP:/raid/ovirt-old/data (and $IP:/raid/ovirt-old/data/1979444d-b79a-494c-8c1a-bcc132e31a04) Of course I created an entry in /etc/exports in order to be able to mount this domain by NFS: [root@leiden data]# exportfs /raid/ovirt 192.168.1.44/255.255.255.255 /raid/ovirt-old 192.168.1.44/255.255.255.255 And ownership is by user vdsm. Despite of this it doesn't work. Unfortunately this page (http://www.ovirt.org/Features/Import_an_existing_Storage_Domain) isn't of much use either. How should I do this? Cheers, Boudewijn ___ 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: [Users] disks successfully removed with torage failure message
Gianluca, Huntxu It looks like huntxu's solution is the way to go. I'd appreciate it if any of you will open a bug on this issue and inform the list. If there's anything else regarding this issue please ask. Thanks, Vered - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users users@ovirt.org, huntxu mhun...@gmail.com Sent: Saturday, December 14, 2013 11:10:35 AM Subject: Re: [Users] disks successfully removed with torage failure message On Dec 14, 2013 9:41 AM, Vered Volansky ve...@redhat.com wrote: Hi, I've looked at the logs and will have to discuss the issue with some people, which I will only be able to do tomorrow. In the mean time, When the message to manually remove the disks appear, it actually means manually - not through the engine at all, if that helps for now. This means through the DB, which it not recommended and I'd prefer to wait till tomorrow and figure this out. Regards, Vered OK. Let me know when you have something for me to try. I'm going to analyze the other user suggestion too Gianluca ___ 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: [Users] errors in engine log and tones of sync messages
I think Sahina is qualified to answer this question, Sahina? - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Vered Volansky ve...@redhat.com Cc: Juan Pablo Lorier jplor...@gmail.com, users users@ovirt.org Sent: Sunday, December 15, 2013 6:52:07 PM Subject: Re: [Users] errors in engine log and tones of sync messages On Sun, Dec 15, 2013 at 8:33 AM, Vered Volansky wrote: Hi Juan, The following patch should handle the messages: http://gerrit.ovirt.org/#/c/22287 Can we safely run the sql statements referred in that patch against a running environment, eventually stopping engine service before: so against the engine db only run select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.0'); select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.1'); select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.2'); select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.3'); ? Thanks, Gianluca ___ 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: [Users] disks successfully removed with torage failure message
Hi, I've looked at the logs and will have to discuss the issue with some people, which I will only be able to do tomorrow. In the mean time, When the message to manually remove the disks appear, it actually means manually - not through the engine at all, if that helps for now. This means through the DB, which it not recommended and I'd prefer to wait till tomorrow and figure this out. Regards, Vered - Original Message - From: huntxu mhun...@gmail.com To: users@ovirt.org Sent: Friday, December 13, 2013 5:59:37 AM Subject: Re: [Users] disks successfully removed with torage failure message On Thu, 12 Dec 2013 21:39:32 +0800, Gianluca Cecchi gianluca.cec...@gmail.com wrote: Hello, 3.3.2 beta on Fedora 19 engine with 2 Fedora 19 hosts and GusterFS Hi, I think I have met the same problem this Monday and I've worked out a solution[1]. Would you please give it a try? I didn't verify whether it's exactly the same because I couldn't download your log due to my bad Internet connection. Does the log look like below: - Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 857, 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 1529, in deleteImage dom.deleteImage(sdUUID, imgUUID, volsByImg) File /usr/share/vdsm/storage/fileSD.py, line 342, in deleteImage currImgDir = getImagePath(sdUUID, imgUUID) File /usr/share/vdsm/storage/fileSD.py, line 97, in getImagePath return os.path.join(getDomPath(sdUUID), 'images', imgUUID) File /usr/share/vdsm/storage/fileSD.py, line 89, in getDomPath raise se.StorageDomainDoesNotExist(sdUUID) StorageDomainDoesNotExist: Storage domain does not exist: ('74867fea-da26-42ce-b57a-1dda70015fc7',) - [1]. http://gerrit.ovirt.org/#/c/22359/ -- regards, hunt ___ 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: [Users] errors in engine log and tones of sync messages
Hi Juan, The following patch should handle the messages: http://gerrit.ovirt.org/#/c/22287 This looks like the issue mentioned in thread: https://www.mail-archive.com/users@ovirt.org/msg12378.html Regards, Vered - Original Message - From: Juan Pablo Lorier jplor...@gmail.com To: users users@ovirt.org Sent: Friday, December 13, 2013 6:23:41 PM Subject: [Users] errors in engine log and tones of sync messages Hi, I'm trying to debug why I can't import a VM to my brand new glusterfs domain and I see that engine.log is full of gluster volumelist calls and less but often, errors of not been able to call async, I'm I missing any package to install in the engine other than vdsm-gluster? Is there a way not to log all the VolumeList commands (without lowering log level) to avoid having so many entries that difficult searching in the log? Regards, : 5c8baf53 2013-12-13 13:27:58,504 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler_Worker-33) Failed to invoke scheduled method gluster_async_task_poll_event: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) [:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) [scheduler.jar:] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:] Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method glusterTasksList is not supported (Failed with error VDS_NETWORK_ERROR and code 5022) at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) [bll.jar:] at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:] at org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60) [bll.jar:] at org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28) [bll.jar:] at org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67) [bll.jar:] at org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56) [bll.jar:] ... 6 more 2013-12-13 13:28:00,655 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-68) START, GlusterVolumesListVDSCommand(HostName = Dell4, HostId = 001f72ef-fac6-42bc-be8e-b17e249e80bd), log id: 75cbf869 2013-12-13 13:28:00,692 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-68) FINISH, GlusterVolumesListVDSCommand, return: {30759593-86cf-47d3-8527-d36623674ea6=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@ac95f510}, log id: 75cbf869 2013-12-13 13:28:05,743 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-67) START, GlusterVolumesListVDSCommand(HostName = Dell3, HostId = 342b037f-e4ab-4c3b-b804-806d3ec30ba9), log id: 76386ce 2013-12-13 13:28:07,241 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-67) FINISH, GlusterVolumesListVDSCommand, return: {30759593-86cf-47d3-8527-d36623674ea6=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@ee3bee7d}, log id: 76386ce ___ 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: [Users] moving ovirt controller
Yes, did that already. - Original Message - From: Ayal Baron aba...@redhat.com To: Vered Volansky ve...@redhat.com Cc: Rob Abshear rabsh...@citytwist.net, users@ovirt.org Sent: Thursday, December 12, 2013 9:08:10 AM Subject: Re: [Users] moving ovirt controller - Original Message - Ohad, can you have a look? Still no Ohad. Just forward him the email as attachment (that way he can reply to original mail) - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, December 11, 2013 2:31:10 PM Subject: Re: [Users] moving ovirt controller I'm not sure what is it that you'd like to accomplish. You mention a DB and then packaging. Do you just want the current DB working in the new server? If so just restore it and upgrade (packaging/dbscripts/upgrade.sh). In case this is not what you mean, maybe another eye on this would help, Ohad? - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Wednesday, December 11, 2013 12:54:47 AM Subject: [Users] moving ovirt controller I am running ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a server and I want to move it to another physical server. I did a fresh install on the new server and it is running ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I want to migrate the database from the old server to the new server. How can I upgrade the old server so that the package versions match the new server? Or, how can I downgrade the new server so that the packages match the old server? -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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 ___ 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: [Users] moving ovirt controller
Hi Rob, Did you try to upgrade the DB? Restoring it is only the beginning. Like I said before, under the engine, under packaging/dbscripts, run upgrade.sh . I'm also trying to get another eye on this, will update. Regards, Vered - Original Message - From: Rob Abshear rabsh...@citytwist.net To: Vered Volansky ve...@redhat.com Sent: Wednesday, December 11, 2013 3:43:50 PM Subject: Re: [Users] moving ovirt controller I just want to move the current controller to new hardware. That is my goal. My issue, if I may re-explain it, is that the package versions on the current controller are older than those on the new controller. The research I have done regarding migrating a controller is that the package versions must be the same in order for the database to migrate correctly. I have attempted to backup the database and restore it with the version differences, and it does restore, but the web interface is blank. Maybe I'm just missing something. I have been following the instructions at this URL: http://www.ovirt.org/User:Adrian15/oVirt_engine_migration http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#Original_package_versions On 12/11/2013 07:36 AM, Vered Volansky wrote: Ohad, can you have a look? - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, December 11, 2013 2:31:10 PM Subject: Re: [Users] moving ovirt controller I'm not sure what is it that you'd like to accomplish. You mention a DB and then packaging. Do you just want the current DB working in the new server? If so just restore it and upgrade (packaging/dbscripts/upgrade.sh). In case this is not what you mean, maybe another eye on this would help, Ohad? - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Wednesday, December 11, 2013 12:54:47 AM Subject: [Users] moving ovirt controller I am running ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a server and I want to move it to another physical server. I did a fresh install on the new server and it is running ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I want to migrate the database from the old server to the new server. How can I upgrade the old server so that the package versions match the new server? Or, how can I downgrade the new server so that the packages match the old server? -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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 -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] moving ovirt controller
Hi Rob, What you need to do is upgrade the engine using engine-setup and the SHA of the version you want. If you have the rpm for the newer version use it with engine-seyup. If not, you'll have to build on your own, the use engine-setup. Then you can migrate the DB. This, BTW, is highly not recommended, though this is the way to work. It's recommended to work with stable versions. Let me know us this works for you. Regards, Vered - Original Message - From: Rob Abshear rabsh...@citytwist.net To: Vered Volansky ve...@redhat.com Sent: Wednesday, December 11, 2013 3:43:50 PM Subject: Re: [Users] moving ovirt controller I just want to move the current controller to new hardware. That is my goal. My issue, if I may re-explain it, is that the package versions on the current controller are older than those on the new controller. The research I have done regarding migrating a controller is that the package versions must be the same in order for the database to migrate correctly. I have attempted to backup the database and restore it with the version differences, and it does restore, but the web interface is blank. Maybe I'm just missing something. I have been following the instructions at this URL: http://www.ovirt.org/User:Adrian15/oVirt_engine_migration http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#Original_package_versions On 12/11/2013 07:36 AM, Vered Volansky wrote: Ohad, can you have a look? - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, December 11, 2013 2:31:10 PM Subject: Re: [Users] moving ovirt controller I'm not sure what is it that you'd like to accomplish. You mention a DB and then packaging. Do you just want the current DB working in the new server? If so just restore it and upgrade (packaging/dbscripts/upgrade.sh). In case this is not what you mean, maybe another eye on this would help, Ohad? - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Wednesday, December 11, 2013 12:54:47 AM Subject: [Users] moving ovirt controller I am running ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a server and I want to move it to another physical server. I did a fresh install on the new server and it is running ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I want to migrate the database from the old server to the new server. How can I upgrade the old server so that the package versions match the new server? Or, how can I downgrade the new server so that the packages match the old server? -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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 -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Host offline due to storage error
Hi Ian, I can't see any activity in the vdsm log around the time you cited from the engine log. Are you sure the vdsmd libvirtd deamons are running? Please run service vdsmd status service libvirtd status on the node. If they are indeed running, please check the BRIDGE settings on said node, they should be as follows: http://www.ovirt.org/Installing_VDSM_from_rpm#Configuring_the_bridge_Interface Please let me know the outcome of the above. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Ian Mordey ian.mor...@wandisco.com Cc: users users@ovirt.org Sent: Wednesday, December 11, 2013 2:19:02 PM Subject: Re: [Users] Host offline due to storage error Adding the list, my bad. - Original Message - From: Ian Mordey ian.mor...@wandisco.com To: Vered Volansky ve...@redhat.com Sent: Wednesday, December 11, 2013 2:11:46 PM Subject: Re: [Users] Host offline due to storage error I've attached the whole of /var/log/ovirt-engine and the vdsm.log from one of the nodes. This is a CentOS6 manager box and F19 nodes. Please let me know if you need more info. Thanks! Ian On Wed, Dec 11, 2013 at 12:00 PM, Vered Volansky ve...@redhat.com wrote: Hi Ian, Would you please send full logs? Also - Is there a point in time during this process when the Storage Domain is active? Regards, vered - Original Message - From: Ian Mordey ian.mor...@wandisco.com To: users@ovirt.org Sent: Tuesday, December 10, 2013 10:48:11 PM Subject: [Users] Host offline due to storage error Hi there I've got a 3 node oVirt 3.3.1 setup connecting to an Equallogic iSCSI SAN array. My nodes keep going offline with these errors: Host reports about one of the Active Storage Domains as Problematic. Host cannot access one of the Storage Domains attached to the Data Center DC Setting Host state to Non-Operational The host is then fenced, reboots and comes back up normally. I see some of these errors prior to the event: 2013-12-10 13:36:49,442 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand] (DefaultQuartzScheduler_Worker-14) Command ListVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused 2013-12-10 13:36:49,448 WARN [org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler_Worker-14) Failed to refresh VDS , vds = 7f74b28a-149a-4f87-9689-b23db6d435f7 : hostname , VDS Network Error, continuing. 2013-12-10 13:36:52,490 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-59) Command GetCapabilitiesVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused Any ideas where to look? I can't see any errors on the switches or SAN.. Thanks Ian -- Listed on the London Stock Exchange: WANDhttp://www.bloomberg.com/quote/WAND:LN THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED. If this message was misdirected, WANdisco, Inc. and its subsidiaries, (WANdisco) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Listed on the London Stock Exchange: WANDhttp://www.bloomberg.com/quote/WAND:LN THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED. If this message was misdirected, WANdisco, Inc. and its subsidiaries, (WANdisco) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views
Re: [Users] usb autoshare problem
Frantisek, I see you implemented that. Can you take this? Thanks, Vered - Original Message - From: lof yer lof...@gmail.com To: users users@ovirt.org Sent: Thursday, December 12, 2013 9:03:43 AM Subject: [Users] usb autoshare problem Usb autoshare works fine from userportal, but not from admin portal. My version is 3.3.1 ___ 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: [Users] disks successfully removed with torage failure message
Hi, Are you just reporting? Is there a question in there? In any case - what's the failure message? Please send logs as well. Regards, Vered - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: users users@ovirt.org Sent: Thursday, December 12, 2013 3:39:32 PM Subject: [Users] disks successfully removed with torage failure message Hello, 3.3.2 beta on Fedora 19 engine with 2 Fedora 19 hosts and GusterFS ___ 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: [Users] disks successfully removed with torage failure message
Hןת I'm looking into it now, please send the vdsm log as well, in case I need it too. Thanks, Vered - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: users users@ovirt.org Sent: Thursday, December 12, 2013 3:52:18 PM Subject: Re: [Users] disks successfully removed with torage failure message engine.log extract is here: https://drive.google.com/file/d/0BwoPbcrMv8mvT0trWi1USkJYU1k/edit?usp=sharing ___ 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: [Users] Fwd: disks successfully removed with torage failure message
Sahina, Will you have a look at the engine log and explain what the user should do regarding the following error message: 2013-12-12 14:48:35,549 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] (DefaultQuartzScheduler_Worker-48) Command GlusterTasksListVDS execution failed. Exception: VDSNetworkException: org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method glusterTasksList is not supported Gianluca, All vdsm logs please, it'll save us some back and forth. Also, please send the full engine.log. There's something wrong with the Storage Domain, and the snippet is not enough to figure this out. This doesn't seem connected to the above issue I asked Sahina above. Please state the engine and vdsm versions you're using, this error handling was recently modified. Thanks, Vered - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: users users@ovirt.org Sent: Thursday, December 12, 2013 4:59:16 PM Subject: [Users] Fwd: disks successfully removed with torage failure message On Thu, Dec 12, 2013 at 3:24 PM, Vered Volansky wrote: Hןת I'm looking into it now, please send the vdsm log as well, in case I need it too. Thanks, Vered Sorry, I missed the list... As the VM was powered off, for which host do you need vdsm.log? The one that has SPM role? Gianluca ___ 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: [Users] add fc storage question
Hi Martin, Did you try to force the operation when prompted for it? This is assuming it's acceptable for you to actually loose existing data on the storage. If you send the logs it should help understand what's going on there. Regards, Vered - Original Message - From: martin gotlund martin.gotl...@amayagaming.com To: users@ovirt.org Sent: Tuesday, December 10, 2013 3:57:30 PM Subject: [Users] add fc storage question Hi, I have created an new ovirt-engine installation running 3.3.1, and have connected it to my ovirt-nodes that where connected to an ovirt-engine running 3.1. All my ovirt nodes shares an lun containing one volume group, and that volume group have several virtual machines located on it. I was able to connect the nodes ok, but when I try to add the storage, it complains that its in use, I think it wan't to create a new volume group on the lun. Is there an way to make ovirt-engine use the already created VG instead of creating a new one. Best Regards, Martin Götlund ___ 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: [Users] Host offline due to storage error
Adding the list, my bad. - Original Message - From: Ian Mordey ian.mor...@wandisco.com To: Vered Volansky ve...@redhat.com Sent: Wednesday, December 11, 2013 2:11:46 PM Subject: Re: [Users] Host offline due to storage error I've attached the whole of /var/log/ovirt-engine and the vdsm.log from one of the nodes. This is a CentOS6 manager box and F19 nodes. Please let me know if you need more info. Thanks! Ian On Wed, Dec 11, 2013 at 12:00 PM, Vered Volansky ve...@redhat.com wrote: Hi Ian, Would you please send full logs? Also - Is there a point in time during this process when the Storage Domain is active? Regards, vered - Original Message - From: Ian Mordey ian.mor...@wandisco.com To: users@ovirt.org Sent: Tuesday, December 10, 2013 10:48:11 PM Subject: [Users] Host offline due to storage error Hi there I've got a 3 node oVirt 3.3.1 setup connecting to an Equallogic iSCSI SAN array. My nodes keep going offline with these errors: Host reports about one of the Active Storage Domains as Problematic. Host cannot access one of the Storage Domains attached to the Data Center DC Setting Host state to Non-Operational The host is then fenced, reboots and comes back up normally. I see some of these errors prior to the event: 2013-12-10 13:36:49,442 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand] (DefaultQuartzScheduler_Worker-14) Command ListVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused 2013-12-10 13:36:49,448 WARN [org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler_Worker-14) Failed to refresh VDS , vds = 7f74b28a-149a-4f87-9689-b23db6d435f7 : hostname , VDS Network Error, continuing. 2013-12-10 13:36:52,490 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-59) Command GetCapabilitiesVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused Any ideas where to look? I can't see any errors on the switches or SAN.. Thanks Ian -- Listed on the London Stock Exchange: WANDhttp://www.bloomberg.com/quote/WAND:LN THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED. If this message was misdirected, WANdisco, Inc. and its subsidiaries, (WANdisco) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Listed on the London Stock Exchange: WANDhttp://www.bloomberg.com/quote/WAND:LN THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED. If this message was misdirected, WANdisco, Inc. and its subsidiaries, (WANdisco) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] moving ovirt controller
Ohad, can you have a look? - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, December 11, 2013 2:31:10 PM Subject: Re: [Users] moving ovirt controller I'm not sure what is it that you'd like to accomplish. You mention a DB and then packaging. Do you just want the current DB working in the new server? If so just restore it and upgrade (packaging/dbscripts/upgrade.sh). In case this is not what you mean, maybe another eye on this would help, Ohad? - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Wednesday, December 11, 2013 12:54:47 AM Subject: [Users] moving ovirt controller I am running ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a server and I want to move it to another physical server. I did a fresh install on the new server and it is running ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I want to migrate the database from the old server to the new server. How can I upgrade the old server so that the package versions match the new server? Or, how can I downgrade the new server so that the packages match the old server? -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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: [Users] moving ovirt controller
Ohad, can you have a look? - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, December 11, 2013 2:31:10 PM Subject: Re: [Users] moving ovirt controller I'm not sure what is it that you'd like to accomplish. You mention a DB and then packaging. Do you just want the current DB working in the new server? If so just restore it and upgrade (packaging/dbscripts/upgrade.sh). In case this is not what you mean, maybe another eye on this would help, Ohad? - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Wednesday, December 11, 2013 12:54:47 AM Subject: [Users] moving ovirt controller I am running ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a server and I want to move it to another physical server. I did a fresh install on the new server and it is running ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I want to migrate the database from the old server to the new server. How can I upgrade the old server so that the package versions match the new server? Or, how can I downgrade the new server so that the packages match the old server? -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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: [Users] VM is locked. Export never finishes
For future unlocking you may also use packaging/dbscrips/unlock_entity.sh, which should be cleaner. - Original Message - From: Vered Volansky ve...@redhat.com To: Vered Volansky ve...@redhat.com Cc: Rob Abshear rabsh...@citytwist.net, users@ovirt.org Sent: Wednesday, October 30, 2013 9:07:18 AM Subject: Re: [Users] VM is locked. Export never finishes Yep, that's imagestatus column under images table. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, October 30, 2013 7:45:35 AM Subject: Re: [Users] VM is locked. Export never finishes You can't update a view. It has to be a table. The table you're looking for is called images, if I'm not mistaken. I can't currently log into my db to verify the name. Regards, Vered - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Tuesday, October 29, 2013 5:46:29 PM Subject: [Users] VM is locked. Export never finishes I was exporting an image to move it to another domain. It has been running for hours now, and I don't think it will finish. I tried unlocking the image manually using the following commands: psql -d engine -U postgres SELECT vm_name from vms where vm_guid = (SELECT vm_guid FROM vm_images_view where imagestatus = 2); SELECT image_guid from vm_images_view where imagestatus=2; Update vm_images_view SET imagestatus=1 where image_guid = e275ff80-9633-4304-890d-1bbf8d7217e4 The first two commands run fine, and I can get the guid of the image. But the last command just dumps me back to the command prompt and the image remains locked. -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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: [Users] VM is locked. Export never finishes
Yep, that's imagestatus column under images table. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Rob Abshear rabsh...@citytwist.net Cc: users@ovirt.org Sent: Wednesday, October 30, 2013 7:45:35 AM Subject: Re: [Users] VM is locked. Export never finishes You can't update a view. It has to be a table. The table you're looking for is called images, if I'm not mistaken. I can't currently log into my db to verify the name. Regards, Vered - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Tuesday, October 29, 2013 5:46:29 PM Subject: [Users] VM is locked. Export never finishes I was exporting an image to move it to another domain. It has been running for hours now, and I don't think it will finish. I tried unlocking the image manually using the following commands: psql -d engine -U postgres SELECT vm_name from vms where vm_guid = (SELECT vm_guid FROM vm_images_view where imagestatus = 2); SELECT image_guid from vm_images_view where imagestatus=2; Update vm_images_view SET imagestatus=1 where image_guid = e275ff80-9633-4304-890d-1bbf8d7217e4 The first two commands run fine, and I can get the guid of the image. But the last command just dumps me back to the command prompt and the image remains locked. -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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: [Users] VM is locked. Export never finishes
You can't update a view. It has to be a table. The table you're looking for is called images, if I'm not mistaken. I can't currently log into my db to verify the name. Regards, Vered - Original Message - From: Rob Abshear rabsh...@citytwist.net To: users@ovirt.org Sent: Tuesday, October 29, 2013 5:46:29 PM Subject: [Users] VM is locked. Export never finishes I was exporting an image to move it to another domain. It has been running for hours now, and I don't think it will finish. I tried unlocking the image manually using the following commands: psql -d engine -U postgres SELECT vm_name from vms where vm_guid = (SELECT vm_guid FROM vm_images_view where imagestatus = 2); SELECT image_guid from vm_images_view where imagestatus=2; Update vm_images_view SET imagestatus=1 where image_guid = e275ff80-9633-4304-890d-1bbf8d7217e4 The first two commands run fine, and I can get the guid of the image. But the last command just dumps me back to the command prompt and the image remains locked. -- *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ 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: [Users] Fault tolerant storage
- Original Message - From: Jakub Bittner j.bitt...@nbu.cz To: users@ovirt.org Sent: Tuesday, April 30, 2013 5:19:12 PM Subject: [Users] Fault tolerant storage Hi, would it be possible in near future to use for example 2 attached DATA storage (iSCSi, or so) as fault tolerant storage? I mean I have two data storage connected to data center and they include exactly same data and my VMs runs from one and all changes are mirrored to second like RAID 1 and if one storage fails everything switch to second storage without user notice? Hi Jakub, If what you mean is to handle the whole physical storage devices redundancy on your own, and assign one storage domain to this constellation, then this is already possible. It doesn't matter what lies underneath the virtual storage domain. If what you mean is assigning two different Storage domains to two different storage devices then no - there are currently no plans to support this. In case this is the latter and you're going to pursue the issue on your own, we'd appreciate it if you do it upstream. Best Regards, Vered ___ 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: [Users] trouble with imported windows VM
Jonathan, I've asked around (with people not that familiar with v2v) and we're thinking of two options - 1. Assuming that the disks weren't imported with the vm at all use v2v to import each disk separately, then create a new VM and configure it from the top. 2. If the disks were indeed imported, create a new VM with those disks, configure it and remove the old one. Good luck with that, Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: Richard W.M. Jones rjo...@redhat.com Cc: users@ovirt.org Sent: Monday, April 29, 2013 3:55:12 PM Subject: Re: [Users] trouble with imported windows VM I did a conversion with all disks connected on the KVM at once (which, the KVM version of the VM works fine, all SQL services start and DBs come up fine). When I import the VM with virt-v2v, the new VM will not boot until I remove the D drive. Rich, copying the disk over manually sounds like a viable plan, but im not sure what target directory to put it in. is there some specific place it should go when copying in by hand? Thanks, jonathan -Original Message- From: Richard W.M. Jones [mailto:rjo...@redhat.com] Sent: Wednesday, April 24, 2013 3:58 PM To: Jonathan Horne Cc: Itamar Heim; Laszlo Hornyak; users@ovirt.org; Allon Mureinik Subject: Re: [Users] trouble with imported windows VM On Wed, Apr 24, 2013 at 05:14:50PM +, Jonathan Horne wrote: This is my current gotcha. If I import it with a single disk from KVM (C drive only), its successful. If I add the 2nd disk to KVM and import it, it will import both disks, but I get the error at the beginning of this thread. If I detach the 2nd imported disk, it boots again. Now, I made another VM on kvm that contained only my D drive, and imported that. After the import, I got this: [root@d0lppc021 ~]# virt-v2v -i libvirt -ic qemu+ssh://root@rnd8/system -o rhev -os d0lppc021.skopos.me:/opt/nfs -of qcow2 -oa sparse -n ovirtmgmt ws08-svr-3Donly ws08-svr-03-0_copy.raw: 100% [= ]D 4h09m19s virt-v2v: No root device found in this operating system image. The D drive contains only things like SQL db files and other related data. Am I using virt-v2v incorrectly for this 2nd disk (in either scenario, a single VM with 2 disks, or even on a standalone (and albeit unbootable) VM with just the D drive)? The bad news is that virt-v2v won't work on a data disk. It has to be presented with either just the operating system disk, or all disks at once. The good news is that you don't need to convert data disks! virt-v2v knows nothing about them, and would do nothing to them. Simply copy the data disk over to the export domain using 'scp' or 'dd' or whatever. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ 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: [Users] Error Attaching NFS Data Domain to Data Center - oVirt 3.3
Hi Sherry, Since it doesn't seem like permissions, the next guess would be - There was a workaround done in regard to broken watchdog. This workaround is in the latest sanlock for fedora 18, which you are already using. If this is indeed the case, all you have to do is update sanlock to latest, which can be found in http://koji.fedoraproject.org/koji/buildinfo?buildID=408258 . In case this doesn't help, or you already have the latest sanlock, we'll need more information in order to detect the issue. We'd need the following logs: sanlock.log and /var/log/messages.log from both engine and vdsm, just to be on the safe side. Please attach the full logs. Thanks, Vered - Original Message - From: Sherry Yu s...@redhat.com To: Allon Mureinik amure...@redhat.com Cc: users@ovirt.org Sent: Monday, April 29, 2013 7:23:14 PM Subject: Re: [Users] Error Attaching NFS Data Domain to Data Center - oVirt 3.3 Hi Allon, vdsm has write permission to the directory on NFS. I can see that on the hypervisor host the NFS share is mounted and directories have been created by vdsm. vdsm log is attached. The error is at AcquireHostIdFailure: Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')). Appreciate any input! [root@sbhost-58 vdsm]# df -k storage2.phx.salab.redhat.com:/data/sap/ovirt-domain 309637120 187031552 106876928 64% /rhev/data-center/mnt/storage2.phx.salab.redhat.com:_data_sap_ovirt-domain [root@sbhost-58 dom_md]# pwd /rhev/data-center/mnt/storage2.phx.salab.redhat.com:_data_sap_ovirt-domain/a7138327-930c-49d7-9f39-c34ee36fc7fb/dom_md [root@sbhost-58 dom_md]# ls -la total 2060 drwxr-xr-x. 2 vdsm kvm 4096 Apr 25 20:35 . drwxr-xr-x. 4 vdsm kvm 4096 Apr 25 20:35 .. -rw-rw. 1 vdsm kvm 1048576 Apr 25 20:35 ids -rw-rw. 1 vdsm kvm 0 Apr 25 20:35 inbox -rw-rw. 1 vdsm kvm 2097152 Apr 25 20:35 leases -rw-r--r--. 1 vdsm kvm 319 Apr 25 20:35 metadata -rw-rw. 1 vdsm kvm 0 Apr 25 20:35 outbox vdsm.log: Thread-186874::DEBUG::2013-04-29 12:16:05,229::BindingXMLRPC::161::vds::(wrapper) [10.3.76.215] Thread-186874::DEBUG::2013-04-29 12:16:05,229::task::568::TaskManager.Task::(_updateState) Task=`6a316ab2-3d08-44d4-b3d9-60620f23fc72`::moving from state init - state preparing Thread-186874::INFO::2013-04-29 12:16:05,230::logUtils::41::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=1, spUUID='----', conList=[{'port': '', 'connection': 'storage2.phx.salab.redhat.com:/data/sap/ovirt-domain', 'iqn': '', 'portal': '', 'user': '', 'protocol_version': 'auto', 'password': '**', 'id': 'c925e43f-ff52-45ae-8484-e4ac6b670143'}], options=None) Thread-186874::INFO::2013-04-29 12:16:05,230::logUtils::44::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {'statuslist': [{'status': 0, 'id': 'c925e43f-ff52-45ae-8484-e4ac6b670143'}]} Thread-186874::DEBUG::2013-04-29 12:16:05,230::task::1151::TaskManager.Task::(prepare) Task=`6a316ab2-3d08-44d4-b3d9-60620f23fc72`::finished: {'statuslist': [{'status': 0, 'id': 'c925e43f-ff52-45ae-8484-e4ac6b670143'}]} Thread-186874::DEBUG::2013-04-29 12:16:05,230::task::568::TaskManager.Task::(_updateState) Task=`6a316ab2-3d08-44d4-b3d9-60620f23fc72`::moving from state preparing - state finished Thread-186874::DEBUG::2013-04-29 12:16:05,231::resourceManager::830::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-186874::DEBUG::2013-04-29 12:16:05,231::resourceManager::864::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-186874::DEBUG::2013-04-29 12:16:05,231::task::957::TaskManager.Task::(_decref) Task=`6a316ab2-3d08-44d4-b3d9-60620f23fc72`::ref 0 aborting False Thread-186875::DEBUG::2013-04-29 12:16:05,240::BindingXMLRPC::161::vds::(wrapper) [10.3.76.215] Thread-186875::DEBUG::2013-04-29 12:16:05,240::task::568::TaskManager.Task::(_updateState) Task=`e6da9cb6-f577-44bd-a8ba-d08d8946a027`::moving from state init - state preparing Thread-186875::INFO::2013-04-29 12:16:05,240::logUtils::41::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=1, spUUID='----', conList=[{'port': '', 'connection': 'storage2.phx.salab.redhat.com:/data/sap/ovirt-domain', 'iqn': '', 'portal': '', 'user': '', 'protocol_version': 'auto', 'password': '**', 'id': 'c925e43f-ff52-45ae-8484-e4ac6b670143'}], options=None) Thread-186875::INFO::2013-04-29 12:16:05,247::logUtils::44::dispatcher::(wrapper) Run and protect: connectStorageServer, Return response: {'statuslist': [{'status': 0, 'id': 'c925e43f-ff52-45ae-8484-e4ac6b670143'}]} Thread-186875::DEBUG::2013-04-29 12:16:05,248::task::1151::TaskManager.Task::(prepare) Task=`e6da9cb6-f577-44bd-a8ba-d08d8946a027`::finished: {'statuslist': [{'status': 0, 'id':
Re: [Users] Unable to activate data center after host reboot.
Hi Steven, Please send the full vdsm.log . I'd like to see it from the moment the problem first occurred - when you got the following message - No valid Data Storage Domains are available in Data Center Default (please check your storage infrastructure). Best Regards, Vered - Original Message - From: Steven Wiltshire stevenwiltsh...@gmail.com To: users@ovirt.org Sent: Saturday, April 27, 2013 6:58:54 PM Subject: Re: [Users] Unable to activate data center after host reboot. Hi Ian, Thanks for pointing me in that direction. I found the following: -- engine=# select * from storage_pool_iso_map; storage_id | storage_pool_id| status | owner --+--++--- 025062dd-d69e-40ac-9031-c080b51647ae | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 5 | 0 503e6677-2d51-4668-ab17-f914bdb57c19 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 d30604e3-3ca8-470a-8da4-18c9402f7504 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 (3 rows) -- But changed it to using the query in the thread you suggested: -- engine=# select * from storage_pool_iso_map; storage_id | storage_pool_id| status | owner --+--++--- 025062dd-d69e-40ac-9031-c080b51647ae | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 503e6677-2d51-4668-ab17-f914bdb57c19 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 d30604e3-3ca8-470a-8da4-18c9402f7504 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 -- When I try to activate the data centre, it changes to: -- engine=# select * from storage_pool_iso_map; storage_id | storage_pool_id| status | owner --+--++--- 025062dd-d69e-40ac-9031-c080b51647ae | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 4 | 0 503e6677-2d51-4668-ab17-f914bdb57c19 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 d30604e3-3ca8-470a-8da4-18c9402f7504 | 2b633f9a-8840-11e1-9ed7-17e6c491db84 | 0 | 0 -- However, I'm still unable to activate the data centre.Engine.log is giving me the following: -- 2013-04-28 00:55:33,297 INFO [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-5) Initializing Host: BigServer 2013-04-28 00:55:33,331 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-5) domain 503e6677-2d51-4668-ab17-f914bdb57c19 in problem. vds: BigServer 2013-04-28 00:55:33,332 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-5) domain d30604e3-3ca8-470a-8da4-18c9402f7504 in problem. vds: BigServer 2013-04-28 00:55:39,391 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-17) hostFromVds::selectedVds - BigServer, spmStatus Unknown_Pool, storage pool Default 2013-04-28 00:55:39,594 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (QuartzScheduler_Worker-17) START, ConnectStoragePoolVDSCommand(vdsId = aeac7aa6-8840-11e1-99aa-7fbd3e56e26e, storagePoolId = 2b633f9a-8840-11e1-9ed7-17e6c491db84, vds_spm_id = 1, masterDomainId = 025062dd-d69e-40ac-9031-c080b51647ae, masterVersion = 1), log id: 132803ba 2013-04-28 00:55:41,425 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (QuartzScheduler_Worker-17) Command org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand return value Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 304 mMessage Cannot find master domain: 'spUUID=2b633f9a-8840-11e1-9ed7-17e6c491db84, msdUUID=025062dd-d69e-40ac-9031-c080b51647ae' 2013-04-28 00:55:41,425 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (QuartzScheduler_Worker-17) Vds: BigServer 2013-04-28 00:55:41,433 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-17) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
[Users] Fwd: [Engine-devel] the procedure of storage-related
- Forwarded Message - From: Vered Volansky ve...@redhat.com To: bigclouds bigclo...@163.com Sent: Sunday, April 28, 2013 12:39:31 PM Subject: Re: [Engine-devel] the procedure of storage-related Hi, Find my answers below. Best Regards, Vered - Original Message - From: bigclouds bigclo...@163.com To: engine-devel engine-de...@ovirt.org Sent: Saturday, April 27, 2013 8:40:56 AM Subject: [Engine-devel] the procedure of storage-related hi,all 1.i am now not very familar with the right procedure of storage, please give me a simply introduction of their concept and relation. help me out StoragePool,StorageDomain image,volume You should find the following link helpful: http://www.ovirt.org/Vdsm_Storage_Terminology As per your other questions, you might find the following guide helpul: http://www.ovirt.org/Quick_Start_Guide#Configure_Storage Of not, please rephrase them as they're not clear enough and I'd rather not guess. 2.please help me confirm. i find only one place call mount command, which is poolConnectStorageServer. if poolConnectStorageServer is before create and active StoragePool,StorageDomain? 3.if attach is just modify metadata, not anything else? 4.sp.py, deactivateSD if i deactivate ISO storage,it finally umount masterDir, why ? if masterDir is not mastersd? thanks ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] how to use ovirt-shell?
I'm not that familiar with the subject, but from the little I've had with it, it seems to me a port might be missing. Regards, Vered - Original Message - From: Lior Vernia lver...@redhat.com To: bigclouds bigclo...@163.com Cc: users@ovirt.org Sent: Thursday, April 25, 2013 10:01:56 AM Subject: Re: [Users] how to use ovirt-shell? Sorry, replace https with http as well: ovirt-shell -l http://127.0.0.1/api -u admin@internal On 25/04/13 10:00, Lior Vernia wrote: Hello again, First of all, I don't know of any admin option that could be supplied to ovirt-shell (however I'm not expert), so try to drop that. If that still doesn't work, I suspect that the certificate files which might not be properly set up. Please try to connect non-securely first, like so: ovirt-shell -l https://127.0.0.1/api -u admin@internal If this works, this might help with regard to the certificate files: http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal Yours, Lior Vernia. On 25/04/13 04:35, bigclouds wrote: error: [401] - Unauthorized, HTTP Status 401 does this need context? thanks. At 2013-04-24 16:19:44,Lior Vernia lver...@redhat.com wrote: Hello, Instead of https://127.0.0.1/;, try to type https://127.0.0.1/api;. Yours, Lior Vernia. On 24/04/13 04:32, bigclouds wrote: hi,all ovirt-shell -l https://127.0.0.1/ -u admin@internal mailto:admin@internal -A /etc/pki/vdsm/certs/cacert.pem -C /etc/pki/vdsm/libvirt-spice/server-cert.pem -K /etc/pki/vdsm/libvirt-spice/server-key.pem -c i never successfully connect. 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 ___ 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: [Users] [Engine-devel] Fwd: the procedure of storage-related
I'm not that familiarized with the code myself and can't tell you without looking into it and debugging it. What I would do is - for any command I'd like the internal flow of - start at the top (All vds commands are listed when you type vdsClient, without the need to actually run something). You can then search the specific command you're interested in in the code, and see the flow there. You can obviously run a specific command if you have the correct setup and follow through with the vdsm.log to see the exact flow. You can, of course, add your own debug messages to make things clearer for you, as the vdsm log is logged to very frequently. - Original Message - From: bigclouds bigclo...@163.com To: Vered Volansky ve...@redhat.com Cc: engine-de...@ovirt.org, users users@ovirt.org, vdsm-de...@lists.fedorahosted.org Sent: Sunday, April 28, 2013 1:25:55 PM Subject: Re: [Engine-devel] Fwd: the procedure of storage-related hi, maybe i do not make you understand me fully. i am reading vdsm code, but it is hard for me to understand StorageDomain,StoragePool. before stoargeD(P) can work, engine must prepare many things. i want to know the call flow (process) which must be done to make storageS(P) work. 1.for example, what funcitons you should call if make a stoargeDomain work. poolConnectStorageServer-poolCreate-poolConnect-domainCreate-domainActivate. thanks At 2013-04-28 17:40:29,Vered Volansky ve...@redhat.com wrote: - Forwarded Message - From: Vered Volansky ve...@redhat.com To: bigclouds bigclo...@163.com Sent: Sunday, April 28, 2013 12:39:31 PM Subject: Re: [Engine-devel] the procedure of storage-related Hi, Find my answers below. Best Regards, Vered - Original Message - From: bigclouds bigclo...@163.com To: engine-devel engine-de...@ovirt.org Sent: Saturday, April 27, 2013 8:40:56 AM Subject: [Engine-devel] the procedure of storage-related hi,all 1.i am now not very familar with the right procedure of storage, please give me a simply introduction of their concept and relation. help me out StoragePool,StorageDomain image,volume You should find the following link helpful: http://www.ovirt.org/Vdsm_Storage_Terminology As per your other questions, you might find the following guide helpul: http://www.ovirt.org/Quick_Start_Guide#Configure_Storage Of not, please rephrase them as they're not clear enough and I'd rather not guess. 2.please help me confirm. i find only one place call mount command, which is poolConnectStorageServer. if poolConnectStorageServer is before create and active StoragePool,StorageDomain? 3.if attach is just modify metadata, not anything else? 4.sp.py, deactivateSD if i deactivate ISO storage,it finally umount masterDir, why ? if masterDir is not mastersd? thanks ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] clone vm from snapshot problem in 3.2
Latest build (not release), as in from: http://resources.ovirt.org/releases/nightly/rpm/Fedora/18/ Good luck, Vered - Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Liron Aravot lara...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, February 26, 2013 6:33:13 PM Subject: Re: [Users] clone vm from snapshot problem in 3.2 What do you mean with latest? Latest stable, so 3.2 as I'm running right now? In that case it doesn't work for me.. I'm going to check the files referred... Even with refresh and using both ie and Firefox I see the disk, network columns of the snapshot empty...the ones in the square box at bottom right when selecting the line relative to the snapshot itself... as in the image I posted before.. ___ 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: [Users] HELP! Errors creating iSCSI Storage Domain
Hi, Please add engine and vdsm full logs. Regards, Vered - Original Message - From: Кочанов Иван k...@dcak.ru To: users@ovirt.org Sent: Thursday, February 21, 2013 4:26:14 AM Subject: [Users] HELP! Errors creating iSCSI Storage Domain Hello oVirt Community! Need help in configuring iSCSI DataCenter on oVirt. I have HP P4000 iSCSI Storage (LeftHand). And LUN on it. This LUN is available for the Server. I tried to install oVirt from ovirt-dre repo. Everything works except adding iSCSI Storage Domain. After iSCSI-discovery i get list of iSCSI LUNs. But I get error after choosing LUN I need (Error#1). If I try to add it second time I get another errors (Error#2 or Error#3). If I operate with iSCSI volume manually, I have no problems - Partitions are created. Can you advise something? I stuck with this problem for two weeks already... First I installed ovirt3.1. This week ovirt3.2 released and I did a fresh installation of this version, but nothing changed - errors are the same. Error #1: Error while executing action New SAN Storage Domain: Cannot create Logical Volume Error #2: Error while executing action New SAN Storage Domain: Physical device initialization failed. Check that the device is empty. Please remove all files and partitions from the device. Error #3: Error while executing action New SAN Storage Domain: Invalid physical device LUN info: # iscsiadm -m discovery -t st -p 172.16.20.1 172.16.20.1:3260,1 iqn.2003-10.com.lefthandnetworks:mg-dcak-p4000:134:vol-os-virtualimages # pvs PV VG Fmt Attr PSize PFree /dev/mapper/36000eb35f449ac1c0086 db260c45-8dd2-4397-a5bf-fd577bbbe0d4 lvm2 a-- 1023.62g 1023.62g # fdisk -l Disk /dev/sdc: 1099.5 GB, 1099511627776 bytes 255 heads, 63 sectors/track, 133674 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/mapper/36000eb35f449ac1c0086: 1099.5 GB, 1099511627776 bytes 255 heads, 63 sectors/track, 133674 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Server info: # rpm -q centos-release centos-release-6-3.el6.centos.9.x86_64 # uname -r 2.6.32-279.22.1.el6.x86_64 -- Sysadmin DCAK k...@dcak.ru ___ 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: [Users] HELP! Errors creating iSCSI Storage Domain
We would also like to know whether the first creation of the iscsi storage domain succeeded and only the latter ones failed. Whether you possibly tried to create a storage domain with a already used lun, and specifically - do you have any iscsi storage domain at all that you can see on the webadmin? Regards, Vered - Original Message - From: Eduardo Warszawski ewars...@redhat.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Thursday, February 21, 2013 11:57:09 AM Subject: Re: [Users] HELP! Errors creating iSCSI Storage Domain - Original Message - Hi, Please add engine and vdsm full logs. Regards, Vered - Original Message - From: Кочанов Иван k...@dcak.ru To: users@ovirt.org Sent: Thursday, February 21, 2013 4:26:14 AM Subject: [Users] HELP! Errors creating iSCSI Storage Domain LUN info: # iscsiadm -m discovery -t st -p 172.16.20.1 172.16.20.1:3260,1 iqn.2003-10.com.lefthandnetworks:mg-dcak-p4000:134:vol-os-virtualimages # pvs PV VG Fmt Attr PSize PFree /dev/mapper/36000eb35f449ac1c0086 db260c45-8dd2-4397-a5bf-fd577bbbe0d4 lvm2 a-- 1023.62g 1023.62g The PV already belongs to VG db260c45-8dd2-4397-a5bf-fd577bbbe0d4. This VG was very probably created by ovirt and is part of a StorageDomain. (Then you already succeeded.) If you are sure that no valuable info is in this VG you can use the force thick. Anyway I suggest you to look for the SDUUID: db260c45-8dd2-4397-a5bf-fd577bbbe0d4 and removing this StorageDomain from the system or use this already created SD. vdsm and engine logs will be very valuable, as Vered said. Please include them since you started, in order to confirm to which SD the lun belongs. Best regards, E. -- Sysadmin DCAK k...@dcak.ru ___ 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: [Users] DB error on fresh ovirt install
DHC, Please send a link for the latest install you got that error with. Allon, Could that be related to the upgrade problem patch you were working on last Thursday? Regards, Vered - Original Message - From: Dead Horse deadhorseconsult...@gmail.com To: users@ovirt.org users@ovirt.org Sent: Tuesday, February 19, 2013 11:58:01 PM Subject: [Users] DB error on fresh ovirt install Normally I upgrade from prior test installs. However for the past two weeks or so attempting a fresh install yields: oVirt Engine will be installed using the following configuration: = override-httpd-config: yes http-port: 80 https-port: 443 host-fqdn: ovirtfoo.test.domain auth-pass: org-name: DHC application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: config-nfs: no override-firewall: None Proceed with the configuration listed above? (yes|no): yes Installing: Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ ERROR ] dictionary update sequence element #0 has length 1; 2 is required Please check log file /var/log/ovirt-engine/engine-setup_2013_02_19_15_31_02.log for more information log attached - DHC ___ 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: [Users] Configure local storage: VDSM error: General Exception
Hi, AFAIK this happens when the path cannot be reached, so permission can indeed be the issue, or just a simple path typo. Just to make sure: You only get this error message on the engine log, not in the UI popup, is that correct? Regards, Vered - Original Message - From: Jason Brooks jbro...@redhat.com To: Dennis Böck den...@webdienstleistungen.com Cc: users@ovirt.org Sent: Tuesday, February 19, 2013 1:20:02 AM Subject: Re: [Users] Configure local storage: VDSM error: General Exception On 02/18/2013 02:43 PM, Dennis Böck wrote: Dear oVirt-User-list, I tried to set up local storage on a Fedora 18 Host with oVirt 3.2 but after clicking okay in the configure local storage window, I receive the error message: The error message for connection /festplatte1/vms returned by VDSM was: General Exception See if chown -R 36.36 /festplatte1/vms works -- I think I've seen that error when the permissions weren't right. In the log file: ERROR [org.ovirt.engine.core.bll.storage.LOCALFSStorageHelper] (ajp--127.0.0.1-8702-8) [_WEBADMIN_16310496_Configure_Local_Storage] The connection with details /festplatte1/vms failed because of error code 100 and error message is: general exception Does maybe anyone have an idea why? (/var/log/ovirt-engine attached) Best regards and thanks in advance Dennis ___ 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: [Users] Ovirt iSCSI
Hi Alex, Currently there is no document going into details as you request. Most documentations relate to flows/capabilities. Some features are described in more detail ( http://www.ovirt.org/Category:Feature ), but not something related to your interest AFAIK. I remind you that we are open source though... If you can't get it to work feel free to ask for help. Also feel free to add the documentation you feel is lacking. Regards, Vered - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Monday, February 18, 2013 3:44:10 PM Subject: [Users] Ovirt iSCSI Hi All, I was wondering if there is a document that describes in detail how ovirt is working with iscsi and how it creates the disks, etc. etc. on the SAN / iSCSI storage ? I checked the online documentation however cant see it going into much detail. I'd also be prepared to write something up for the documenation section, but I need to get it to work and understand first ;) FWIW, this is a part 2 of a project I'm working on, now moving away from NFS and onto iSCSI (a cheap san solution). Your help would be greatly appreciated. Thanks! Alex -- | RHCE | Senior Systems Engineer | www.vcore.co | | www.vsearchcloud.com | ___ 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: [Users] Upgrading to Fedora 18
Hi Kevin, How about https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum ? If you have anything specific that is unclear to you, please feel free to ask again. Regarding ovirt upgrade - Have a look at: http://wiki.centos.org/HowTos/oVirt . It's much more elaborated than what you probably need, but you should follow the same instructions as ovirt installation. You can use yum update instead of yum install, that's it. Regards, Vered - Original Message - From: Kevin Daly keda...@gmail.com To: users@ovirt.org Sent: Friday, February 15, 2013 11:38:23 PM Subject: [Users] Upgrading to Fedora 18 I have installed Ovirt 3.1 on a Fedora 17 server, and would like to upgrade to Fedora 18... The documentation I have found on the mailing list is unclear on how to do this. Does anyone have any pointers on how this can be done.. as well as upgrading to Ovirt 3.2 after we've upgraded to Fedora 18 Thanks In advance ___ 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: [Users] Live Upgrade
Hi Tobias, Storage domain live upgrade is now supported. This means you can upgrade from an old data center format to V3 while VMs are still running in your system. A little more info is available on: http://www.ovirt.org/Features/StorageDomainLiveUpgrade . Best Regards, Vered - Original Message - From: Tobias Honacker tob...@honacker.info To: users@ovirt.org Sent: Thursday, February 7, 2013 7:07:55 PM Subject: Re: [Users] Live Upgrade Hi Christian, iam talking about ovirt. Thanks for the RHEV info. Best regards, Tobias Am 07.02.2013 17:17, schrieb Christian Hernandez: Hi Tobias, Are you talking about ovirt or RHEVM? I know I upgraded with 0 downtime migrating from RHEV 3.0 ~ 3.1 Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Feb 7, 2013 at 6:39 AM, Tobias Honacker tob...@honacker.info wrote: Hi, is it possible to do a live upgrade e.g. update from 3.0 to 3.1 without any downtime? Best regards, Tobias ___ 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: [Users] Failed to migrate host
Hi Christian, If this is still relevant, full logs would be most helpful. Best Regards, Vered - Original Message - From: Christian Hernandez christi...@4over.com To: users@ovirt.org Sent: Wednesday, February 6, 2013 1:11:26 AM Subject: Re: [Users] Failed to migrate host The VDSM log has the following Thread-6470::DEBUG::2013-02-05 15:06:01,598::libvirtvm::283::vm.Vm::(_getDiskLatency) vmId=`6a9178cc-56cf-42f3-8a4c-098095d737f9`::Disk vda latency not available Thread-6027::ERROR::2013-02-05 15:06:09,516::vm::200::vm.Vm::(_recover) vmId=`6a9178cc-56cf-42f3-8a4c-098095d737f9`::Failed to destroy remote VM Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 198, in _recover self.destServer.destroy(self._ vm.id ) File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__ return self.__send(self.__name, args) File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request verbose=self.__verbose File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request return self._parse_response(h.getfile(), sock) File /usr/lib64/python2.6/xmlrpclib.py, line 1382, in _parse_response response = file.read(1024) File /usr/lib64/python2.6/socket.py, line 383, in read data = self._sock.recv(left) File /usr/lib64/python2.6/ssl.py, line 215, in recv return self.read(buflen) File /usr/lib64/python2.6/ssl.py, line 136, in read return self._sslobj.read(len) SSLError: The read operation timed out Thread-6027::ERROR::2013-02-05 15:06:09,537::vm::283::vm.Vm::(run) vmId=`6a9178cc-56cf-42f3-8a4c-098095d737f9`::Failed to migrate Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 268, in run self._startUnderlyingMigration() File /usr/share/vdsm/libvirtvm.py, line 443, in _startUnderlyingMigration response = self.destServer.migrationCreate(self._machineParams) File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__ return self.__send(self.__name, args) File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request verbose=self.__verbose File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request return self._parse_response(h.getfile(), sock) File /usr/lib64/python2.6/xmlrpclib.py, line 1382, in _parse_response response = file.read(1024) File /usr/lib64/python2.6/socket.py, line 383, in read data = self._sock.recv(left) File /usr/lib64/python2.6/ssl.py, line 215, in recv return self.read(buflen) File /usr/lib64/python2.6/ssl.py, line 136, in read return self._sslobj.read(len) SSLError: The read operation timed out On Tue, Feb 5, 2013 at 2:31 PM, Christian Hernandez christi...@4over.com wrote: Hello, I got an error when trying to migrate a VM. On the events tab on the bottom it said. Failed to MigrateStatusVDS, error = Could not connect to peer VDS (VM: vmname, Source Host: Hypervisor Host). In the engine log it says the following. 2013-02-05 22:09:24,606 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-66) Rerun vm 6a9178cc-56cf-42f3-8a4c-098095d737f9. Called from vds VR2 2013-02-05 22:09:24,611 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-3-thread-48) START, MigrateStatusVDSCommand(HostName = VR2, HostId = 153b2742-6f2f-11e2-a248-52540038c812, vmId=6a9178cc-56cf-42f3-8a4c-098095d737f9), log id: 38675c5e 2013-02-05 22:09:24,656 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) Failed in MigrateStatusVDS method 2013-02-05 22:09:24,657 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) Error code noConPeer and error message VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Could not connect to peer VDS 2013-02-05 22:09:24,662 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) Command org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return value Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 10 mMessage Could not connect to peer VDS 2013-02-05 22:09:24,663 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) HostName = VR2 2013-02-05 22:09:24,664 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-48) Command MigrateStatusVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Could not connect to peer VDS 2013-02-05 22:09:24,664 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-3-thread-48) FINISH, MigrateStatusVDSCommand, log id: 38675c5e ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Failing on new setup
Hi Jaco, Are you using ovirt-node or ovirt? What is the status of your host? What about vdsmd service on your host? is it running? What do you get if you try to run VdsClient on your host (command line)? Also - please send full engine and vdsm logs, it can always give us more insight and expedite issues resolution. Best Regards, Vered - Original Message - From: Jaco ubuntumu...@gmail.com To: users@ovirt.org Sent: Monday, February 18, 2013 1:11:16 AM Subject: [Users] Failing on new setup Hi guys, New to oVirt - and new to Fedora after a *very long* break @ using Debian/Ubuntu almost exclusively for the last few years. Much has changed, so please pardon my ignorance - got some catching-up to do. I'm doing PoC of a number of systems, so need to give oVirt a fair shake, but I'm tripping up before I can even get going (does not bode well). I've tried following the QuickStart, all-in-one other guides, quickly came across issues. Next I'll have to start building from source - a prospect that will by no means present me with less issues. New F18, minimal headless server. Installed via yum as documented, but install failed at the last steps, as there seems to be an issue with the scripts' implementation of firewalld. A very nice chap @ the IRC channel managed to help be out to get over that initial hurdle - had to *completely* disable firewalld select the 'None' option for the setup. (seems like a really bad idea to start off like that - disabling security - but this is a lab PoC, so OK, will let it slide for now) I've also disabled SELinux IPtables via systemctl - so that we can eliminate that as an issue. Script(s) still don't complete without issue, but at lease the engine seems to come up I can log in. After logging in, I try to (re)connect to the local hypervisor via (root@) $FQDN, localhost 127.0.0.1, but it fails to come up (why root? OK). It adds the host, but there seems to be connectivity issues. I'm seeing this in the GUI events: Host localhost installation failed. Command returned failure code 1 during SSH session 'root@localhost'. I'm seeing this in `tail -f /var/log/ovirt-engine/engine.log` http://pastebin.com/nVyNGSsf Relevant line being: ERROR [org.ovirt.engine.core.utils.ssh.SSHDialog] (pool-3-thread-31) SSH error running command root@localhost:'umask 0077; MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX \${MYTMP}\ /dev/null 21; rm -fr \${MYTMP}\ /dev/null 21 0; rm -fr ${MYTMP} mkdir ${MYTMP} tar -C ${MYTMP} -x ${MYTMP}/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True': java.io.IOException: Command returned failure code 1 during SSH session 'root@localhost' This is a *fresh* box - I've reinstalled it a few times from scratch now - I've re-installed oVirt through the manners documented, but I'm not getting anywhere fast. In this, google is not my friend, as results are sparse not very helpful - i.e. if someone's found resolution, it has not been posted. Either there's a bug in the docco's or the code/scripts. Please help - I'd *really* like to give this a go Kind regards -Jaco ___ 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: [Users] complete shutdown
Jonathan, Shutdown should work. Please send us your logs so we can understand what went wrong, hopefully fix it, and avoid this happening again. Regards, Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Monday, December 10, 2012 10:31:57 PM Subject: [Users] complete shutdown Ugh… i just did a complete shutdown of my node and manager servers, now that they are back up i cannot bring the storage domain back online. A) i can't figure out what I'm doing wrong to bring it back online And B) should i just never shutdown the whole thing once i get it fixed? Or, is there a proper shutdown/restore method i should be following? Thanks, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ 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: [Users] theoretical scenario
First, your scenario is missing the actual import, you just have the data in the export domain, not the vms in the engine. Second - A slightly simpler way you were looking for: 1. Export multiple vms using either a short script via RESTAPI or webadmin (select multiple vms and export). 2. Detach the export domain. 3. Backup the export domain with all its data. 4. Re-attach export domain when ready to. 5. Import vms. Good luck, Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: Jonathan Horne jho...@skopos.us, users@ovirt.org Sent: Tuesday, December 11, 2012 9:47:06 PM Subject: Re: [Users] theoretical scenario ok, so the process seems pretty obtuse, so let me run this by the list here and maybe I'm just not doing it the best way. 1) i connected an export domain called EXPORTNFS. the nfs share is physically on my management server (as is iso) 2) exported 1 VM. 3) on the mgmt server, i run tar zxcf /root/test.tgz /opt/export/[UUID]/images /opt/export/[UUID]/master 4) for good measure, i use ovirt web gui to delete the exported VM from the export 5) run the command 'engine-image-uploader –u admin@internal upload test.tgz –v –e EXPORTNFS 6) after a while, it completes and i see the VM back in the export storage tab under VM Import. i didn't run the vm yet, but I'm assuming thats a successful export and import. so, it seems if i wanted to export each and every VM from one separate ovirt to another, i would export each VM, tar-gzip it, clear it from the webgui, and start the next one? IE.. i mean it looks like engine-image-uploader would be pretty unhappy with finding more than one set of VM UUIDs inside? is this the way it should be done, or am i doing it the hard way? thanks! jonathan From: Jonathan Horne jho...@skopos.us Date: Tuesday, December 11, 2012 8:02 AM To: users@ovirt.org users@ovirt.org Subject: [Users] theoretical scenario My production deployment is approaching soon, so i am trying to get some final tasks and concepts completed before that day arrives. Lets say, that i have a working domain, but that an impending disaster is about to destroy the whole thing. How can i get the Vms out, and then how can i reverse this and get them into a completely new and unrelated/unconnected ovirt domain? Any advice, or a doc or link would be much appreciated. Thanks, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ 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: [Users] virt-v2v
Jonathan, Your previous post's thread has this answer in it: We can only output to oVirt's OVF, and we can only import from VMware's OVA. The command line looks something like: # virt-v2v -i ova --profile ovirt foo.ova Is it not helpful to you? If not, please say why. Thanks, Vered. - Original Message - From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Monday, December 10, 2012 4:25:47 PM Subject: Re: [Users] virt-v2v What about converting something like a .ova file into ovirt? From what i read in the man pages, it only converts live running Vms, not files? Is that the correct assessment? From: Allon Mureinik amure...@redhat.com Date: Sunday, December 9, 2012 12:33 AM To: Jonathan Horne jho...@skopos.us Cc: users@ovirt.org users@ovirt.org Subject: Re: [Users] virt-v2v In a nutshell - yes. It can convert RHEL and windows guests running on Xen or ESX to KVM-based guests that can be imported into oVirt. From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Saturday, December 8, 2012 1:40:15 AM Subject: [Users] virt-v2v Is virt-v2v something i can leverage to get foreign virtual guests into my ovirt/node environment? Thanks, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ 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: [Users] virt-v2v
Jonathan, I'm bringing here the entire previous post on the matter: --- We just added support for this to upstream virt-v2v, although it requires a very recent qemu to work. F17 isn't new enough. I haven't tested F18 qemu yet, but hopefully it'll be good there. Thanks Matt, can you share any details on the differences from ovf in behavior? (and i was wondering why a newer kvm is needed?) We can only output to oVirt's OVF, and we can only import from VMware's OVA. The command line looks something like: # virt-v2v -i ova --profile ovirt foo.ova It needs a new qemu for the latest vmdk driver in order to do the on-disk format conversion. The vmdk driver has been around for a while, but it's only just become usable. This has long been the barrier to implementing this feature. --- Do you indeed meet the requirements mentioned above? Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: Vered Volansky ve...@redhat.com Sent: Monday, December 10, 2012 11:10:50 PM Subject: Re: [Users] virt-v2v Vered, when i tried it, i got output error: Virt-v2v: there is no profile named ovirt. Any ideas? When i run virt-v2v --list-profiles, i get nothing. There are no profiles. I appreciate your help you are giving me, jonathan On 12/10/12 11:21 AM, Vered Volansky ve...@redhat.com wrote: Jonathan, Your previous post's thread has this answer in it: We can only output to oVirt's OVF, and we can only import from VMware's OVA. The command line looks something like: # virt-v2v -i ova --profile ovirt foo.ova Is it not helpful to you? If not, please say why. Thanks, Vered. - Original Message - From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Monday, December 10, 2012 4:25:47 PM Subject: Re: [Users] virt-v2v What about converting something like a .ova file into ovirt? From what i read in the man pages, it only converts live running Vms, not files? Is that the correct assessment? From: Allon Mureinik amure...@redhat.com Date: Sunday, December 9, 2012 12:33 AM To: Jonathan Horne jho...@skopos.us Cc: users@ovirt.org users@ovirt.org Subject: Re: [Users] virt-v2v In a nutshell - yes. It can convert RHEL and windows guests running on Xen or ESX to KVM-based guests that can be imported into oVirt. From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Saturday, December 8, 2012 1:40:15 AM Subject: [Users] virt-v2v Is virt-v2v something i can leverage to get foreign virtual guests into my ovirt/node environment? Thanks, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] iscsi mpio
You previously mentioned you're using package 2.5.5-0.fc17. It looks like you have a typo, so please resend the exact package of ovirt-node you're using. Also - Where did you get the package from? We'd like to try and reproduce here. Did you make any changes to mount so that /var is now Read Only? Please send us the output for the mount command on your system. Please remember to reply-to-all next time(s)... Thanks, Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: Vered Volansky ve...@redhat.com Sent: Monday, December 10, 2012 4:24:05 PM Subject: Re: [Users] iscsi mpio Im using the ovirt node which is a prebuilt appliance-like version of ovirt. It is highly customized, and is not open to alteration. (to do so would be quite a bit of work). JONATHAN HORNE | Systems Administrator | Skopos Web http://www.skopos.us/ e: jho...@skopos.us t: (972) 520-5042 f: (214) 520-5079 On 12/10/12 6:46 AM, Vered Volansky ve...@redhat.com wrote: Hi Jonathan, I'm trying to understand the context for your problem. As I understand it, your problem stems from the fact that you're working on a Read Only fs, long before the multipath issue. So you have root permissions on an RO fs? How come? Why is it RO to begin with? Are you working on RHEVM? Which OS, version? Maybe we can be of more help if we better understand the context. Thanks, Vered - Original Message - From: Jonathan Horne jho...@skopos.us To: users@ovirt.org Sent: Friday, December 7, 2012 7:09:08 PM Subject: Re: [Users] iscsi mpio Im using a Equallogic iscsi SAN, and it has a special multi path driver because it uses a virtual IP for the initiator to log into, and the actual traffic ip addresses are not exposed to the initiator. I tried to install the rpm but as far as i can get is: [root@vmnode02 x86_64]# rpm -Uvh equallogic-host-tools-1.2.0-2.el6.x86_64.rpm --nodeps warning: equallogic-host-tools-1.2.0-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 84fd3ef3: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Read-only file system) Is there a way to unlock the file system so i can try to install and configure this driver? This is the current output of multipath -ll on my node: [root@vmnode02 x86_64]# multipath -ll 36019cb3131d6f276d80a45bb6501f0c9 dm-10 size=500G features='0' hwhandler='0' wp=rw 36001e4f03dd42300183eaac404afd5ce dm-0 DELL,PERC 6/i size=279G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 2:2:0:0 sda 8:0 active ready running The EQ san does show only 1 single tcp connection into the LUN, so i know its not multipathing at this time. This will be a huge downer if i have to go to production without multi path support. Is there anything i can do here? On 12/7/12 8:42 AM, René Koch (ovido) r.k...@ovido.at wrote: Hi, I can give you some information on multipathing on RHEV-H, as I don't have ovirt-node installed at the moment. Multipath packages are installed on the hypervisor, but vdsm overwrites multipath.conf. To prevent this you have to set the following tags: # RHEV REVISION 0.7 # RHEV PRIVATE Search for MPATH_CONF_TAG in multipath.py file to get correct RHEV REVISION number. After changing multipath.conf to fit your needs make it persistent for reboots: # persist /etc/multipath.conf You can check multipath status with: # multipath -ll mpathb (b00015521f5d4) dm-0 Intel,Multi-Flex size=96G features='0' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=50 status=active | `- 0:0:0:1 sdb 8:16 active ready running mpatha (222140001553601d1) dm-1 Intel,Multi-Flex size=20G features='0' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=50 status=active | `- 0:0:0:0 sda 8:0 active ready running I hope this helps. Don't really know if the tags are the same in oVirt, as I don't have a working oVirt setup at the moment. -- Best Regards, DI (FH) René Koch Senior Solution Architect ovido gmbh - Das Linux Systemhaus Brünner Straße 163, A-1210 Wien Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.k...@ovido.at On Fri, 2012-12-07 at 13:55 +, Jonathan Horne wrote: From: Jonathan Horne jho...@skopos.us Date: Thursday, December 6, 2012 1:04 PM To: users users@ovirt.org Subject: [Users] iscsi mpio Hello, I just rebooted my iscsi SAN and the ovirt node 2.5.5fc17 did not enjoy that one bit. Does ovirt node support multi path i/o? Any information about this would be greatly appreciated. Thanks, jonathan I attempted to install the multi path driver on node
Re: [Users] [oVirt 3.1] Engine multipath
- Original Message - From: Andres Gonzalez tuc...@gmail.com To: users@ovirt.org users@ovirt.org Sent: Thursday, October 4, 2012 4:07:14 AM Subject: [Users] [oVirt 3.1] Engine multipath Hi, I have an iSCSI LUN that is acceded from an NIC with an IP address. I would like to have redundancy, but as the storage is unavailable to make a bonding it's possible to manage like a multipathing from the oVirt Engine and access the same LUN from 2 different IP address (and NICs) ? Bonding is optional, you need to configure your VDSM hosts with a multipath configuration, i.e., having multiple NICs in each host and multiple ports (or targets) in your storage. You should make sure that your storage exposes the LUN to all the hosts' NICs from all the storage's targets. Also make sure that multipath is enabled on your host, this is the standard configuration for RHEVH/RHEL. Vered Thanks! -- AGD ___ 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