From: "T-Sinjon" <tscbj1989(a)gmail.com>
To: "Haim Ateya" <hateya(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Tuesday, May 29, 2012 8:31:01 PM
Subject: Re: [Users] How to change storage domain ip address
I guess you mean engine.log , because i can't find any log new when i
do this action.
vdsm.log can be found on your host (hyper-visor) under /var/log/vdsm/vdsm.log.
how many hosts do you have in your pool ? what's the status of the hosts ?
here is the full log:
2012-05-30 01:28:24,852 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] Lock Acquired to object EngineLock
[exclusiveLocks= key:
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand
value: 5e2ac537-6a73-4faf-8379-68f3ff26a75d
, sharedLocks= ]
2012-05-30 01:28:24,864 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] Running command:
ActivateStorageDomainCommand internal: false. Entities affected :
ID: 5e2ac537-6a73-4faf-8379-68f3ff26a75d Type: Storage
2012-05-30 01:28:24,876 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] Lock freed to object EngineLock
[exclusiveLocks= key:
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand
value: 5e2ac537-6a73-4faf-8379-68f3ff26a75d
, sharedLocks= ]
2012-05-30 01:28:24,876 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] ActivateStorage Domain. Before Connect
all hosts to pool. Time:5/30/12 1:28 AM
2012-05-30 01:28:24,901 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] ActivateStorage Domain. After Connect
all hosts to pool. Time:5/30/12 1:28 AM
2012-05-30 01:28:24,902 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand]
(pool-5-thread-44) [18001bda] START,
ActivateStorageDomainVDSCommand(storagePoolId =
524a7003-edec-4f52-a38e-b15cadfbe3ef, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
5e2ac537-6a73-4faf-8379-68f3ff26a75d), log id: 49e134ff
2012-05-30 01:28:24,906 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand]
(pool-5-thread-44) [18001bda] FINISH,
ActivateStorageDomainVDSCommand, log id: 49e134ff
2012-05-30 01:28:24,907 ERROR
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] Command
org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand throw
Vdc Bll exception. With error message VdcBLLException: Cannot
allocate IRS server
2012-05-30 01:28:24,914 INFO
[org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
(pool-5-thread-44) [18001bda] Command
[id=3c916f08-7fb3-44ea-882e-4f56bc9716a2]: Compensating
CHANGED_STATUS_ONLY of
org.ovirt.engine.core.common.businessentities.storage_pool_iso_map;
snapshot: EntityStatusSnapshot [id=storagePoolId =
524a7003-edec-4f52-a38e-b15cadfbe3ef, storageId =
5e2ac537-6a73-4faf-8379-68f3ff26a75d, status=Maintenance]
On 30 May, 2012, at 1:14 AM, Haim Ateya wrote:
>
>
> ----- Original Message -----
>> From: "T-Sinjon" <tscbj1989(a)gmail.com>
>> To: "Haim Ateya" <hateya(a)redhat.com>
>> Cc: users(a)ovirt.org
>> Sent: Tuesday, May 29, 2012 8:09:38 PM
>> Subject: Re: [Users] How to change storage domain ip address
>>
>> After i update postgreSQL , the ip changed correctlly.
>> then i try to active my VMDomain, but it throws the error:
>>
>> 2012-05-30 01:05:39,699 ERROR
>> [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand]
>> (pool-5-thread-46) [277fd6c5] Command
>> org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand
>> throw
>> Vdc Bll exception. With error message VdcBLLException: Cannot
>> allocate IRS server
>>
>> what's the IRS server mean? and how to resolve it
>
> IRS = Image Repository Server.
>
> please attach full vdsm.log so we can examine the
> connectStorageServer command and the corresponding mount point.
>>
>> On 30 May, 2012, at 12:14 AM, Haim Ateya wrote:
>>
>>> i'm not familiar with conventional way of doing such a change;
>>> the
>>> only way I can think of is altering storage related tables on
>>> data-base.
>>> i would start with the following table:
>>>
>>> SELECT * from storage_server_connections;
>>>
>>> then create a query that changes current ip address with new one.
>>>
>>> Haim
>>>
>>>
>>> ----- Original Message -----
>>>> From: "T-Sinjon" <tscbj1989(a)gmail.com>
>>>> To: users(a)ovirt.org
>>>> Sent: Tuesday, May 29, 2012 6:47:20 PM
>>>> Subject: [Users] How to change storage domain ip address
>>>>
>>>> For some reason , the ip address of my NFS storage domain server
>>>> has
>>>> changed from 192.168.x.x to 172.16.x.x , then my VMDomain became
>>>> inactive.
>>>>
>>>> the VMDomain NFS Export Path should change to
>>>> 172.16.x.x:/Path/To/VMDomain, where can i change this to let
>>>> the
>>>> domain active again?
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>
>>