[Users] Bug: adding LocalStorage Data Centers

Sven Kieske S.Kieske at mittwald.de
Thu Oct 10 13:21:48 UTC 2013


Here is the excerpt from engine.log:

2013-10-10 15:06:06,390 INFO
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
(ajp--127.0.0.1-8702-15) [_WEBADMIN_13422849_Configure_Local_Storage]
Lock Acquired to object EngineLock [exclusiveLocks= key:
/data/images/rhev value: STORAGE_CONNECTION
, sharedLocks= ]
2013-10-10 15:06:06,390 WARN
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
(ajp--127.0.0.1-8702-15) [_WEBADMIN_13422849_Configure_Local_Storage]
CanDoAction of action AddStorageServerConnection failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS
2013-10-10 15:06:06,391 INFO
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
(ajp--127.0.0.1-8702-15) [_WEBADMIN_13422849_Configure_Local_Storage]
Lock freed to object EngineLock [exclusiveLocks= key: /data/images/rhev
value: STORAGE_CONNECTION
, sharedLocks= ]



Here is the API-Return of https://[your-rhevm-setup]/api/storagedomains:

<storage_domains><storage_domain
href="/api/storagedomains/e0c596b4-b751-46c7-8f5d-eaf21aab76a5"
id="e0c596b4-b751-46c7-8f5d-eaf21aab76a5"><name>DATA_V3</name><link
href="/api/storagedomains/e0c596b4-b751-46c7-8f5d-eaf21aab76a5/permissions"
rel="permissions"/><link
href="/api/storagedomains/e0c596b4-b751-46c7-8f5d-eaf21aab76a5/disks"
rel="disks"/><type>data</type><master>true</master><storage><type>localfs</type><path>/home/DATA</path></storage><available>876173328384</available><used>47244640256</used><committed>32212254720</committed><storage_format>v3</storage_format></storage_domain><storage_domain
href="/api/storagedomains/73407366-d658-4a37-ab25-6142b0f4381f"
id="73407366-d658-4a37-ab25-6142b0f4381f"><name>DATA_V5</name><link
href="/api/storagedomains/73407366-d658-4a37-ab25-6142b0f4381f/permissions"
rel="permissions"/><link
href="/api/storagedomains/73407366-d658-4a37-ab25-6142b0f4381f/disks"
rel="disks"/><type>data</type><master>true</master><storage><type>localfs</type><path>/data/images/rhev</path></storage><available>922344226816</available><used>49392123904</used><committed>0</committed><storage_format>v3</storage_format></storage_domain></storage_domains>

These are just our well known Storage Domains "DATA_V3" and "DATA_V5"

from our hosts 3 and 5.
I tried to add another one for host 4, by putting the host into
maintainence mode, and then clicking: "setup local storage"
When you click then "ok" in the popup you get the error:

"can't add storage connection, connection already exists"

The bugzilla entry seems not to fit as this is:
a) no NFS Storage Domain
b) no Export Storage Domain
c) the name of our SD does not contain any spaces
d) the bug entry mentions this bug only occurs via api
because the webfrontend doesn't allow to create SDs with spaces

however how can I check if the postgres db doesn't contain any other
storage domains, just to make 110% sure this is not this bug?
or does the api call I did via web already show there are no other
storage domains left in the db?

Thanks for your help so far!

On 10.10.2013 15:02, Katarzyna Jachim wrote:
> Can you attach exact error message?
> 
> Can you try also https://[your-rhevm-setup]/api/storageconnections and
> check if the storage you want to add is there?
> 
> Can you try https://[your-rhevm-setup]/api/storagedomains ?
> 
> It may be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=991470
> 
> Kasia
> 
> 
> On 10/10/2013 02:28 PM, Sven Kieske wrote:
>> Hi,
>>
>> affected version: oVirt 3.3 (ManagementNode)
>> how to reproduce:
>>
>> setup 2 data centers with local storage, add data master storage
>> domains to these 2 data centers
>>
>> add another data center with local storage, try to add another
>> master storage domain.
>>
>> expected result: the data domain gets created just like the 2 before
>>
>> actual result: ovirt management complains that the data domain
>> already exists, which is not true.
>>
>> This behaviour was introduced with version 3.3, we didn't see this
>> in version 3.2
>>
>> This is regardless of node versions.
>>
>> I would at first like to know if anybody can reproduce this?
>>
>> If this is the case I would create a bugzilla entry.
>>
>> Regards
>>
>> Sven
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> 
> 
> 
> 


More information about the Users mailing list