[Users] ids sanlock error

Tony Feldmann trfeldmann at gmail.com
Wed Jun 26 01:35:33 UTC 2013


I was messing around with some things and force removed my DC.  My cluster
is still there with the 2 gluster volumes, however I cannot move that
cluster into a new dc, I just get the following error in engine.log:

2013-06-25 20:26:15,218 ERROR
[org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (ajp--127.0.0.1-8702-2)
[7d1289a6] Command org.ovirt.engine.core.bll.AddVdsSpmIdCommand throw
exception: org.springframework.dao.DuplicateKeyException:
CallableStatementCallback; SQL [{call insertvds_spm_id_map(?, ?, ?)}];
ERROR: duplicate key value violates unique constraint "pk_vds_spm_id_map"
  Detail: Key (storage_pool_id,
vds_spm_id)=(084def30-1e19-4777-9251-8eb1f7569b53, 1) already exists.
  Where: SQL statement "INSERT INTO vds_spm_id_map(storage_pool_id, vds_id,
vds_spm_id)
    VALUES(v_storage_pool_id, v_vds_id, v_vds_spm_id)"


I would really like to get this back into a dc without destroying my
gluster volumes and losing my data.  Can anyone please point me in the
right direction?


On Tue, Jun 25, 2013 at 8:19 AM, Tony Feldmann <trfeldmann at gmail.com> wrote:

> I have a 2 node cluster with engine running on one of the nodes.  It has 2
> gluster volumes that replicate between the hosts as its shared storage.
> Last night one of my systems crashed.  It looks like all of my data is
> present, however the ids file seems to be corrupt on my master domain.  I
> tried to do a hexdump -c on the ids file, but it just gave an input/output
> error.  Sanlock.log shows error -5.  Is there a way to rebuild the ids
> file, or can I tell ovirt to use the other domain as the master so I can
> get back up and running?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130625/8075e3bb/attachment-0001.html>


More information about the Users mailing list