[ovirt-users] problem adding storage connection
Maor Lipchuk
mlipchuk at redhat.com
Wed Jan 28 09:09:45 UTC 2015
Hi Lars,
Are you still getting VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS?
If so, try to log in into the engine DataBase and call: "SELECT * FROM storage_server_connections where connection ilike '%[Your connection path]%';"
See if you get the connection, and then remove it by executing:
"delete from storage_server_connections where id = '[Your id from the last select operation'"
Please let me know if that helps.
Regards,
Maor
----- Original Message -----
> From: "Lars Nielsen" <lars at steinwurf.com>
> To: "Martin Pavlík" <mpavlik at redhat.com>
> Cc: "users" <users at ovirt.org>
> Sent: Thursday, January 22, 2015 8:55:05 AM
> Subject: Re: [ovirt-users] problem adding storage connection
>
>
> On 20/01/15 09:30, Lars Nielsen wrote:
> >
> > On 20/01/15 09:09, Martin Pavlík wrote:
> >> ccing Carlos as he might be able to help
> >>
> >> Hi Lars,
> >>
> >> 1) remove as many restrictions as you can from your NFS export ,
> >> allow all to access and restrict it back step by step if removing
> >> restriction will work
> >> 2) make sure that exported folders have owner and group vdsm:kvm (aka
> >> 36:36)
> >> 3) pls check (and provide) /var/log/vdsm/vdsm.log and
> >> /var/log/vdsm/supervdsm.log on the hypervisor which is storage pool
> >> manager (aka SPM), you can identify it on hosts tab in GUI
> >>
> >> Martin
> >>
> >>> On 20 Jan 2015, at 08:51, Lars Nielsen <lars at steinwurf.com> wrote:
> >>>
> >>> On 15/01/15 16:38, Donny Davis wrote:
> >>>> Also check to see if there are any directories that have been
> >>>> created in
> >>>> your nfs exports
> >>>>
> >>>> Donny
> >>>>
> >>>> -----Original Message-----
> >>>> From: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] On
> >>>> Behalf Of
> >>>> Martin Pavlík
> >>>> Sent: Thursday, January 15, 2015 8:01 AM
> >>>> To: Lars Nielsen
> >>>> Cc: users at ovirt.org
> >>>> Subject: Re: [ovirt-users] problem adding storage connection
> >>>>
> >>>> Hi Lars,
> >>>>
> >>>> are you sure you want to use net mask 225.225.225.0? IMO you want
> >>>> to use
> >>>> 255.255.255.0
> >>>>
> >>>> If it does not help please supply logs
> >>>> /var/log/ovirt-engine/engine.log - from engine node (RHEV-M) and
> >>>> /var/log/vdsm/vdsm.log
> >>>>
> >>>> so we can see detailed error message
> >>>>
> >>>> HTH
> >>>>
> >>>> Martin Pavlik
> >>>> RHEV QE
> >>>>
> >>>>> On 15 Jan 2015, at 14:22, Lars Nielsen <lars at steinwurf.com> wrote:
> >>>>>
> >>>>> Hello again.
> >>>>> And thanks for the help, now I can create hosts, which run :)
> >>>>>
> >>>>> However I have run into a bit more trouble, again which seems a bit
> >>>> strange to me.
> >>>>> When trying to added a new Storage connection, I get this:
> >>>>> Error while executing action: Cannot add Storage Connection. Storage
> >>>> connection already exists.
> >>>>> https://dl.dropboxusercontent.com/u/55488/ovirt_storage_problem.png
> >>>>>
> >>>>> My exports file, look like this:
> >>>>> /home/iso
> >>>>> 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
> >>>>>
> >>>>> d=36,anongid=36) /home/data
> >>>>> 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
> >>>>>
> >>>>> d=36,anongid=36) /home/import_data
> >>>>> 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
> >>>>>
> >>>>> d=36,anongid=36)
> >>>>>
> >>>>> Copied from the oVirt basic setup guide.
> >>>>> And I have restarted my NFS server service, and create the
> >>>>> directories.
> >>>>>
> >>>>> Can some one help with this? and explain the problem to me? If you
> >>>>> need
> >>>> more info, please tell me.
> >>>>> Thanks and Best Regards
> >>>>> - Lars
> >>>>> _______________________________________________
> >>>>> Users mailing list
> >>>>> Users at ovirt.org
> >>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>> _______________________________________________
> >>>> Users mailing list
> >>>> Users at ovirt.org
> >>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>
> >>> Hey.
> >>> I tried fixing it by changing 225.225.225.0 to 255.255.255.0 to no
> >>> avail.
> >>> So please help me again, I have looked through logs, and found this:
> >>> 015-01-20 08:40:14,177 INFO
> >>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> >>> (ajp--127.0.0.1-8702-4) Correlation ID: null, Call Stack: null,
> >>> Custom Event ID: -1, Message: User admin logged in.
> >>> 2015-01-20 08:40:14,226 INFO
> >>> [org.ovirt.engine.core.bll.aaa.LoginUserCommand]
> >>> (ajp--127.0.0.1-8702-5) Running command: LoginUserCommand internal:
> >>> false.
> >>> 2015-01-20 08:41:04,709 INFO
> >>> [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
> >>> (ajp--127.0.0.1-8702-10)
> >>> [27222a90] Lock Acquired to object EngineLock [exclusiveLocks= key:
> >>> 192.168.0.112:/home/data value: STORAGE_CONNECTION
> >>> , sharedLocks= ]
> >>> 2015-01-20 08:41:04,711 WARN
> >>> [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
> >>> (ajp--127.0.0.1-8702-10)
> >>> [27222a90] CanDoAction of action AddStorageServerConnection failed.
> >>> Reasons:VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS
> >>> 2015-01-20 08:41:04,711 INFO
> >>> [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
> >>> (ajp--127.0.0.1-8702-10)
> >>> [27222a90] Lock freed to object EngineLock [exclusiveLocks= key:
> >>> 192.168.0.112:/home/data value: STORAGE_CONNECTION
> >>> , sharedLocks= ]
> >>>
> >>> But I am not really sure what to do, to fix it :) The complete oVirt
> >>> log folder can be found here:
> >>> https://dl.dropboxusercontent.com/u/55488/ovirt-engine_log_v2.tar
> >>>
> >>> Thanks and Best Regards
> >>> - Lars
> > I have removed the restrictions. Still no loot.
> > The logs for oVirt and VDSM
> > https://dl.dropboxusercontent.com/u/55488/documents-export-2015-01-20.zip
> >
> Really no one has an explanation ? :(
>
> --
> Med venlig hilsen / Best Regards
> Lars Nielsen
> Student developer at Steinwurf
> lars at steinwurf.com
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list