if the domain no longer exists than the problem is not in the host at all.
your problem is that you have db entries and when you try to remove them a command is sent to the vdsm (since engine has no idea you removed the domain) and you will fail to remove it since vdsm is sending an error.

what you need to do is destroy the domain in the UI (domains tab -> select the domain -> right click -> destroy). this should clean all the db entries related to that domain.


On 09/24/2013 09:27 PM, Eduardo Ramos wrote:
I think I found it, but I don't know how to remove:

/sbin/lvm vgs --config " devices { preferred_names = [\"^/dev/mapper/\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \"a%36000eb396eb9c0540000000000000033|3600508b1001c80dabd7195030a341559%\", \"r%.*%\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --noheadings --units b --nosuffix --separator '|' -o tags

In the return, there it is:

MDT_POOL_DOMAINS=*0226b818-59a6-41bc-8590-91f520aa7859:Active*&44&c332da29-ba9f-4c94-8fa9-346bb8e04e2a:Active&44&51eb6183-157d-4015-ae0f-1c7ffb1731c0:Active&44&0e0be898-6e04-4469-bb32-91f3cf8146d1:Active,MDT__SHA_CKSUM=0ccf56122a8384461c8da7b0eda19e9bdcbd23bf

Any idea to remove it?

On 09/24/2013 02:14 PM, Eduardo Ramos wrote:
This storage domains don't exist anymore. There is an entry in postgres with:

"Domain VMExport was forcibly removed by admin@internal"

It was a NFS Export domain.

Is there any chance it is causing problem with iscsi data domain operations? Now I can create disks and VMs, but I can't remove them. I tried export a VM, and the engine.log returned me this:

2013-09-24 14:03:05,180 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-33) [547e3abf] Failed in MoveImageGroupVDS method 2013-09-24 14:03:05,182 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-33) [547e3abf] Error code MoveImageError and error message IRSGenericException: IRSErrorException: Failed to MoveImageGroupVDS, error = Error moving image: ('spUUID=9dbc7bb1-c460-4202-8f10-862d2ed3ed9a, srcDomUUID=c332da29-ba9f-4c94-8fa9-346bb8e04e2a, dstDomUUID=51eb6183-157d-4015-ae0f-1c7ffb1731c0, imgUUID=483d8af2-beb2-45cc-b73e-4597e31a6fc0, vmUUID=, op=1, force=false, postZero=false force=false',) 2013-09-24 14:03:05,184 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (pool-3-thread-33) [547e3abf] IrsBroker::Failed::MoveImageGroupVDS due to: IRSErrorException: IRSGenericException: IRSErrorException: Failed to MoveImageGroupVDS, error = Error moving image: ('spUUID=9dbc7bb1-c460-4202-8f10-862d2ed3ed9a, srcDomUUID=c332da29-ba9f-4c94-8fa9-346bb8e04e2a, dstDomUUID=51eb6183-157d-4015-ae0f-1c7ffb1731c0, imgUUID=483d8af2-beb2-45cc-b73e-4597e31a6fc0, vmUUID=, op=1, force=false, postZero=false force=false',)



On 09/24/2013 01:09 PM, Dafna Ron wrote:
vdsm cannot find your storage.
check your storage and network connection to it.

On 09/24/2013 03:31 PM, Eduardo Ramos wrote:
Hi all!

I'm getting a strange error in on my SPM:

Message from syslogd@darwin at Sep 24 11:19:58 ...
�<11>vdsm Storage.DomainMonitorThread ERROR Error while collecting domain 0226b818-59a6-41bc-8590-91f520aa7859 monitoring information#012Traceback (most recent call last):#012 File "/usr/share/vdsm/storage/domainMonitor.py", line 182, in _monitorDomain#012 self.domain = sdCache.produce(self.sdUUID)#012 File "/usr/share/vdsm/storage/sdc.py", line 97, in produce#012 domain.getRealDomain()#012 File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain#012 return self._cache._realProduce(self._sdUUID)#012 File "/usr/share/vdsm/storage/sdc.py", line 121, in _realProduce#012 domain = self._findDomain(sdUUID)#012 File "/usr/share/vdsm/storage/sdc.py", line 152, in _findDomain#012 raise se.StorageDomainDoesNotExist(sdUUID)#012StorageDomainDoesNotExist: Storage domain does not exist: (u'0226b818-59a6-41bc-8590-91f520aa7859',)

I also can not remove disks. When I try,immediatly appears on the 'Events' log of webadmin:

*Data Center is being initialized, please wait for initialization to complete.* *User eduardo.ramos failed to initiate removing of disk 012.167_teste_InfoDoc_Disk1 from domain VMs.*

Could someone help me?

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



--
Dafna Ron
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to