[ovirt-users] moving storage and importing vms issue

Eli Mesika emesika at redhat.com
Thu Sep 10 11:57:35 UTC 2015



----- Original Message -----
> From: "Jiří Sléžka" <jiri.slezka at slu.cz>
> To: emesika at redhat.com
> Cc: users at ovirt.org
> Sent: Thursday, September 10, 2015 1:50:14 PM
> Subject: Re: [ovirt-users] moving storage and importing vms issue
> 
> Hello,
> 
> > ----- Original Message -----
> >> From: "Jiří Sléžka" <jiri.slezka at slu.cz>
> >> To: users at ovirt.org
> >> Sent: Thursday, September 10, 2015 1:30:29 AM
> >> Subject: [ovirt-users] moving storage and importing vms issue
> >>
> >> Hello,
> >>
> >> I am working on some consolidation of our RHEV/oVirt servers and I moved
> >> one storage to new oVirt datacenter (put it into maintenance, detached
> >> it from old and imported into new datacenter) which worked pretty good.
> >>
> >> Then I tried to import all the vms which worked also great except for
> >> three of them.
> >>
> >> These vms are stucked in VM Import sub-tab and are quietly failing
> >> import attempts (I can only see failed task "Importing VM clavius-winxp
> >> from configuration to Cluster CIT-oVirt" but no related event and/or
> >> explanation)
> >>
> >> There is only one host in this datacenter/cluster which is SPM. I can't
> >> find anything interesting in vdsm.log (short span of import time is in
> >> attachment).
> >
> > Can you please attach also engine.log ?
> 
> sure
> 
> well, here I can see an error... it looks like some db and/or snapshot
> issue.

Yes, seems as ImportVmFromConfigurationCommand tries to add snapshots with the empty GUID (000......0) 
This cause violation of the primary key of the snapshots table 
CCing Omer F on that 

> 
> well and it looks like I lost also one secondary disk from one correctly
> imported vm.
> 
> is there a way to show all images on some storage domain?
> 
> I found that my storage is this
> 
> [root at ovirt04 ~]# vdsClient -s 0 getStorageDomainInfo
> 088e7ed9-84c7-4fbd-a570-f37fa986a772
> 	uuid = 088e7ed9-84c7-4fbd-a570-f37fa986a772
> 	vguuid = MkMpr6-o9c1-LBUq-rZ0E-ZRSg-X31T-2aU1PV
> 	state = OK
> 	version = 3
> 	role = Master
> 	type = FCP
> 	class = Data
> 	pool = ['00000002-0002-0002-0002-0000000002b9']
> 	name = oVirt-SlowStorage
> 
> but I have no luck with finding how to display all images on it.

try 

# vdsClient -s getImagesList "088e7ed9-84c7-4fbd-a570-f37fa986a772"



> 
> Thanks,
> 
> Jiri
> 
> 
> >
> >>
> >> Could you point me where should I look, please?
> >>
> >> Storage (FC) was formerly attached to RHEV3.5.3 on RHEL6.7 and was
> >> imported into oVirt3.5.4 on CentOS7.1
> >>
> >> Thanks in advance,
> >>
> >> Jiri Slezka
> >>
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> 
> 



More information about the Users mailing list