[Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Allon Mureinik amureini at redhat.com
Mon Apr 22 15:20:05 UTC 2013


arg, I always think of the easiest things last.

I reproduced this exact error on my env when I chowned the SD's directory to vdsm:kvm, but left the parent directories with no permissions.
Since your directory is /home/virtualisierungs/vms
please check the permissions for /home, /home/virtualisierungs and /home/virtualisierungs/vms




----- Original Message -----
> From: "Dafna Ron" <dron at redhat.com>
> To: "Dennis Böck" <dennis at webdienstleistungen.com>
> Cc: "users at oVirt.org" <users at ovirt.org>
> Sent: Monday, April 22, 2013 3:02:33 PM
> Subject: Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> 
> hi Dennis,
> 
> The error you are getting is indeed that the directory that you are
> trying to use does not exist.
> 
> can you send me the following information?
> 
> ls -l output for /home/virtualisierung/
> the exact path that you are using in the configure local storage dialogue.
> what nfs version do you have on the host?
> what is the vdsm version on your host?
> 
> 
> Thanks,
> Dafna
> 
> 
> On 04/22/2013 01:53 PM, Dennis Böck wrote:
> > Dear Dafina,
> >
> > vdsm and engine logs attached.
> > I used the most current Fedora 18 nfs (nts-utils-1.2.7-6.fc18.x86_64)
> >
> > ________________________________________
> > Von: Dafna Ron [dron at redhat.com]
> > Gesendet: Sonntag, 21. April 2013 11:06
> > An: Dennis Böck
> > Cc: Itamar Heim; users at oVirt.org
> > Betreff: Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN,
> > VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >
> > are you using regular nfs domain or posix? what nfs version are you using?
> > can you please send us full vdsm and engine logs.
> >
> >
> > On 04/21/2013 12:04 PM, Dennis Böck wrote:
> >> No, unfortunately not.
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Itamar Heim [mailto:iheim at redhat.com]
> >> Gesendet: Samstag, 20. April 2013 20:16
> >> An: Dennis Böck
> >> Cc: Allon Mureinik; users at oVirt.org
> >> Betreff: Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN,
> >> VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>
> >> On 04/12/2013 06:19 PM, Dennis Böck wrote:
> >>> I installed ovirt-engine all-in-one package and tried again to configure
> >>> vdsm on the host. But again the point "AIO: Adding local storage"
> >>> failed, see log attached.
> >> was this resolved?
> >>
> >>> Best regards
> >>> Dennis
> >>>
> >>> ________________________________________
> >>> Von: users-bounces at ovirt.org [users-bounces at ovirt.org]&quot; im
> >>> Auftrag von &quot;Dennis Böck [dennis at webdienstleistungen.com]
> >>> Gesendet: Donnerstag, 11. April 2013 16:24
> >>> An: Allon Mureinik
> >>> Cc: users at oVirt.org
> >>> Betreff: Re: [Users] Configure local storage:
> >>> VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> >>> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>>
> >>> Dear Allon,
> >>>
> >>> I checked it: the path /home/virtualisierung/local-storage did exist
> >>> (and still exists). Owner: vdsm, Group: kvm Rights: drwxr-xr-x I
> >>> installed the engine and vdsm on the same host - can this lead to
> >>> problems?
> >>>
> >>> Best regards
> >>> Dennis
> >>> ________________________________________
> >>> Von: Allon Mureinik [amureini at redhat.com]
> >>> Gesendet: Donnerstag, 11. April 2013 09:50
> >>> An: Dennis Böck
> >>> Cc: users at oVirt.org
> >>> Betreff: Re: AW: [Users] Configure local storage:
> >>> VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> >>> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>>
> >>> Looks as though the path really doesn't exist:
> >>> Thread-162::INFO::2013-04-09
> >>> 17:43:26,275::logUtils::41::dispatcher::(wrapper) Run and protect:
> >>> connectStorageServer(domType=4,
> >>> spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection':
> >>> '/home/virtualisierung/local-storage', 'iqn': '', 'portal': '',
> >>> 'user': '', 'password': '******', 'id':
> >>> '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)
> >>> Thread-162::ERROR::2013-04-09
> >>> 17:43:26,275::hsm::2215::Storage.HSM::(connectStorageServer) Could not
> >>> connect to storageServer Traceback (most recent call last):
> >>>      File "/usr/share/vdsm/storage/hsm.py", line 2211, in
> >>>      connectStorageServer
> >>>        conObj.connect()
> >>>      File "/usr/share/vdsm/storage/storageServer.py", line 464, in
> >>>      connect
> >>>        raise Exception("Could not link to directory. Path does not exist
> >>>        "
> >>>
> >>> Is it possible you created the directory on the engine's server instead
> >>> of the VDSM server?
> >>>
> >>> ----- Original Message -----
> >>>> From: "Dennis Böck" <dennis at webdienstleistungen.com>
> >>>> To: "Allon Mureinik" <amureini at redhat.com>
> >>>> Cc: "users at oVirt.org" <users at ovirt.org>
> >>>> Sent: Thursday, April 11, 2013 8:33:00 AM
> >>>> Subject: AW: [Users] Configure local storage:
> >>>> VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> >>>> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>>>
> >>>> Dear Allon,
> >>>>
> >>>> vdsm.log attached.
> >>>>
> >>>> ________________________________________
> >>>> Von: Allon Mureinik [amureini at redhat.com]
> >>>> Gesendet: Mittwoch, 10. April 2013 17:58
> >>>> An: Dennis Böck
> >>>> Cc: users at oVirt.org
> >>>> Betreff: Re: [Users] Configure local storage:
> >>>> VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> >>>> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>>>
> >>>> Can you please share VDSM's log too?
> >>>>
> >>>> ----- Original Message -----
> >>>>> From: "Dennis Böck" <dennis at webdienstleistungen.com>
> >>>>> To: "users at oVirt.org" <users at ovirt.org>
> >>>>> Sent: Tuesday, April 9, 2013 6:54:36 PM
> >>>>> Subject: [Users] Configure local storage:
> >>>>> VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
> >>>>> ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
> >>>>>
> >>>>> Dear oVirt-Users,
> >>>>>
> >>>>> unfortunately I was not able to configure local storage. The engine
> >>>>> log
> >>>>> says:
> >>>>>
> >>>>> 2013-04-09 17:40:28,886 ERROR
> >>>>> [org.ovirt.engine.core.bll.storage.LOCALFSStorageHelper]
> >>>>> (ajp--127.0.0.1-8702-5) [_WEBADMIN_10653964_Configure_Local_Storage]
> >>>>> The connection with details /home/virtualisierungs/vms failed
> >>>>> because of error code 100 and error message is: generalexception
> >>>>> 2013-04-09 17:40:28,967 WARN
> >>>>> [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand]
> >>>>> (ajp--127.0.0.1-8702-5) [_WEBADMIN_10653964_Configure_Local_Storage]
> >>>>> CanDoAction of action AddLocalStorageDomain failed.
> >>>>> Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ACTION_TYPE_FAIL
> >>>>> ED_STORAGE_CONNECTION_NOT_EXIST
> >>>>>
> >>>>> Log file attached.
> >>>>> I gave the directory (/home/virtualisierung/vms) chown -R 36:36 And
> >>>>> I also tried a different directory.
> >>>>> Does anyone have an idea why?
> >>>>> I already started from scratch with engine-cleanup, but it didn't help.
> >>>>>
> >>>>> Thanks in advance!
> >>>>>
> >>>>> Dennis
> >>>>> _______________________________________________
> >>>>> 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
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >
> > --
> > Dafna Ron
> 
> 
> --
> Dafna Ron
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



More information about the Users mailing list