Re: [ovirt-users] Error in attaching export storage domain

2017-05-21 Thread Fred Rolland
Can you share the Vdsm log from the host that fails to mount ?

On Sun, May 21, 2017 at 10:00 PM, shubham dubey  wrote:

> Thanks for reply, I am not sure about how to mount the storage domain
> manually.
> But I have run the nfs-check and it gives no error.
>
> One more thing I want to add is there are another sd also on the same host
> which are connected to another dc ,so is this can be a problem in anyway?
>
>
>
>
> On Sun, May 21, 2017 at 2:42 PM, Fred Rolland  wrote:
>
>> Hi,
>>
>> Can you check if you can mount manually from the DC1 host ?
>> You can use vdsm/contrib/nfs-check.py .
>> See also [1]
>>
>> Regards,
>>
>> Fred
>>
>> [1] http://www.ovirt.org/documentation/how-to/troubleshooting/tr
>> oubleshooting-nfs-storage-issues/
>>
>>
>> On Sat, May 20, 2017 at 3:16 PM, shubham dubey 
>> wrote:
>>
>>> I have a export storage domain myexport in dc0 with one vm moved to
>>> it.Now when I am trying to
>>> detach it and attach it to another datacenter dc1, I am getting
>>> following error:
>>>
>>>
>>> 017-05-20 16:52:31,694+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] EVENT_ID: VDS_STORAGES_CONNECTION_FAILED(188), Correlation
>>> ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect
>>> Host node2dc1 to the Storage Domains myexport.
>>> 2017-05-20 16:52:31,694+05 INFO  [org.ovirt.engine.core.vdsbrok
>>> er.vdsbroker.ConnectStorageServerVDSCommand]
>>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] FINISH,
>>> ConnectStorageServerVDSCommand, return: 
>>> {b7acd809-af92-4c6d-84c5-327550208bf1=477},
>>> log id: 4f995793
>>> 2017-05-20 16:52:31,699+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] EVENT_ID: STORAGE_DOMAIN_ERROR(996), Correlation ID: null, Call
>>> Stack: null, Custom Event ID: -1, Message: The error message for connection
>>> 192.168.122.145:/mnt/exportsd returned by VDSM was: Problem while
>>> trying to mount target
>>> 2017-05-20 16:52:31,701+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.connection.BaseFsStorageHelper] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] The connection with details '192.168.122.145:/mnt/exportsd'
>>> failed because of error code '477' and error message is: problem while
>>> trying to mount target
>>> 2017-05-20 16:52:31,706+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.connection.ConnectStorageToVdsCommand]
>>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] Transaction rolled-back
>>> for command 'org.ovirt.engine.core.bll.storage.connection.ConnectStorage
>>> ToVdsCommand'.
>>> 2017-05-20 16:52:31,707+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.domain.AttachStorageDomainToPoolCommand]
>>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>>> Cannot connect storage connection server, aborting attach storage domain
>>> operation.
>>> 2017-05-20 16:52:31,708+05 INFO  [org.ovirt.engine.core.bll.sto
>>> rage.domain.AttachStorageDomainToPoolCommand]
>>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>>> Command [id=d5ed8604-ae17-4d61-b5a2-929b36bf0e64]: Compensating
>>> NEW_ENTITY_ID of org.ovirt.engine.core.common.b
>>> usinessentities.StoragePoolIsoMap; snapshot:
>>> StoragePoolIsoMapId:{storagePoolId='eee50640-deea-4668-8168-a9f31a8bc006',
>>> storageId='04e2444d-990e-48b1-957b-833375ba7b3d'}.
>>> 2017-05-20 16:52:31,752+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-27)
>>> [96ebeffb-dffa-4bdb-bea7-ffa330f8374d] EVENT_ID:
>>> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Correlation ID:
>>> 96ebeffb-dffa-4bdb-bea7-ffa330f8374d, Job ID:
>>> 7538f0a0-90b6-414f-a62d-3d6a3287349a, Call Stack: null, Custom Event
>>> ID: -1, Message: Failed to attach Storage Domain myexport to Data Center
>>> dc1. (User: admin@internal-authz)
>>>
>>> Thanks,
>>> Shubham
>>>
>>>
>>> ___
>>> 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 in attaching export storage domain

2017-05-21 Thread shubham dubey
Thanks for reply, I am not sure about how to mount the storage domain
manually.
But I have run the nfs-check and it gives no error.

One more thing I want to add is there are another sd also on the same host
which are connected to another dc ,so is this can be a problem in anyway?




On Sun, May 21, 2017 at 2:42 PM, Fred Rolland  wrote:

> Hi,
>
> Can you check if you can mount manually from the DC1 host ?
> You can use vdsm/contrib/nfs-check.py .
> See also [1]
>
> Regards,
>
> Fred
>
> [1] http://www.ovirt.org/documentation/how-to/troubleshooting/
> troubleshooting-nfs-storage-issues/
>
>
> On Sat, May 20, 2017 at 3:16 PM, shubham dubey 
> wrote:
>
>> I have a export storage domain myexport in dc0 with one vm moved to
>> it.Now when I am trying to
>> detach it and attach it to another datacenter dc1, I am getting following
>> error:
>>
>>
>> 017-05-20 16:52:31,694+05 ERROR [org.ovirt.engine.core.dal.dbb
>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>> [72a6de4f] EVENT_ID: VDS_STORAGES_CONNECTION_FAILED(188), Correlation
>> ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect
>> Host node2dc1 to the Storage Domains myexport.
>> 2017-05-20 16:52:31,694+05 INFO  [org.ovirt.engine.core.vdsbrok
>> er.vdsbroker.ConnectStorageServerVDSCommand]
>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] FINISH,
>> ConnectStorageServerVDSCommand, return: 
>> {b7acd809-af92-4c6d-84c5-327550208bf1=477},
>> log id: 4f995793
>> 2017-05-20 16:52:31,699+05 ERROR [org.ovirt.engine.core.dal.dbb
>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>> [72a6de4f] EVENT_ID: STORAGE_DOMAIN_ERROR(996), Correlation ID: null, Call
>> Stack: null, Custom Event ID: -1, Message: The error message for connection
>> 192.168.122.145:/mnt/exportsd returned by VDSM was: Problem while trying
>> to mount target
>> 2017-05-20 16:52:31,701+05 ERROR [org.ovirt.engine.core.bll.sto
>> rage.connection.BaseFsStorageHelper] (org.ovirt.thread.pool-7-thread-25)
>> [72a6de4f] The connection with details '192.168.122.145:/mnt/exportsd'
>> failed because of error code '477' and error message is: problem while
>> trying to mount target
>> 2017-05-20 16:52:31,706+05 ERROR [org.ovirt.engine.core.bll.sto
>> rage.connection.ConnectStorageToVdsCommand]
>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] Transaction rolled-back
>> for command 'org.ovirt.engine.core.bll.storage.connection.ConnectStorage
>> ToVdsCommand'.
>> 2017-05-20 16:52:31,707+05 ERROR [org.ovirt.engine.core.bll.sto
>> rage.domain.AttachStorageDomainToPoolCommand]
>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>> Cannot connect storage connection server, aborting attach storage domain
>> operation.
>> 2017-05-20 16:52:31,708+05 INFO  [org.ovirt.engine.core.bll.sto
>> rage.domain.AttachStorageDomainToPoolCommand]
>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>> Command [id=d5ed8604-ae17-4d61-b5a2-929b36bf0e64]: Compensating
>> NEW_ENTITY_ID of org.ovirt.engine.core.common.b
>> usinessentities.StoragePoolIsoMap; snapshot:
>> StoragePoolIsoMapId:{storagePoolId='eee50640-deea-4668-8168-a9f31a8bc006',
>> storageId='04e2444d-990e-48b1-957b-833375ba7b3d'}.
>> 2017-05-20 16:52:31,752+05 ERROR [org.ovirt.engine.core.dal.dbb
>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-27)
>> [96ebeffb-dffa-4bdb-bea7-ffa330f8374d] EVENT_ID:
>> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Correlation ID:
>> 96ebeffb-dffa-4bdb-bea7-ffa330f8374d, Job ID:
>> 7538f0a0-90b6-414f-a62d-3d6a3287349a, Call Stack: null, Custom Event ID:
>> -1, Message: Failed to attach Storage Domain myexport to Data Center dc1.
>> (User: admin@internal-authz)
>>
>> Thanks,
>> Shubham
>>
>>
>> ___
>> 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