[one-users] iSCSI problems

Christophe Duez christophe.duez at student.uantwerpen.be
Tue Apr 29 09:25:11 PDT 2014


I did the following:
at the NAS:
NasKampdreef11> chown 9869:9869 /volume1/@iSCSITrg/
NasKampdreef11> chown 9869:9869 /volume1/@iSCSITrg/iSCSI_1_LUN-1_000
chmod -R 0755 /volume1/@iSCSITrg/

at the frontend:
[root at OpenNebulaServer ~]# chown 9869:9869 /dev/sdc
[root at OpenNebulaServer ~]# chmod -R 0775 /dev/sdc

AND I Forgot
chown 9869:9869 /var/lib/one/datastores/100/

I don't know if I need all of them but now it magically works...




On Tue, Apr 29, 2014 at 5:46 PM, Jaime Melis <jmelis at opennebula.org> wrote:

>  Right, can you write to that mountpoint as oneadmin? I believe you are
> missing a chown -R. If oneadmin cannot write to that mountpoint OpenNebula
> will fail.
>
>
> On Tue, Apr 29, 2014 at 5:45 PM, Christophe Duez <
> christophe.duez at student.uantwerpen.be> wrote:
>
>> this is the error in /var/log/one/oned.log
>> http://pastebin.com/tAwQhgTi
>>
>>
>> On Tue, Apr 29, 2014 at 4:42 PM, Christophe Duez <
>> christophe.duez at student.uantwerpen.be> wrote:
>>
>>> Sorry,
>>> I have 3 servers for my disposal. One is running opennebula (frontend)
>>> the other 2 are nodes that will run the VM's.
>>> I also have a Synology NAS that provide iSCSI targets.
>>> I mounted the targets in my fronted (/etc/fstab => /dev/sdc
>>> /var/lib/one//datastores/106 ext4 _netdev 0 0)
>>>  In the sunstone interface I can see the correct volume of the
>>> datastore.
>>>
>>>  So far so good.
>>> But when I want to upload a Image, CD or create an empty datablock I get
>>> the permission denied error.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Apr 29, 2014 at 3:02 PM, Jaime Melis <jmelis at opennebula.org>wrote:
>>>
>>>>  Can you please provide more information?
>>>>
>>>>  Where will you mount this iSCSI target? in what server (frontend or a
>>>> node)? Or more generally, what exactly do you want to use iSCSI  target for?
>>>>
>>>>
>>>> On Tue, Apr 29, 2014 at 2:58 PM, Christophe Duez <
>>>> christophe.duez at student.uantwerpen.be> wrote:
>>>>
>>>>> Hello,
>>>>> I thought it would be possible to add an iSCSI target to my server
>>>>> that is running OpenNebula.
>>>>> Than OpenNebula would see this target as a normal disc and could use
>>>>> it without any problems...
>>>>> but that is not possible then?
>>>>>
>>>>>
>>>>>  On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis <jmelis at opennebula.org>wrote:
>>>>>
>>>>>>  Christophe,
>>>>>>
>>>>>>  when you say iscsi, do you mean the addon-iscsi? in that case you
>>>>>> should follow this guide:
>>>>>> https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores
>>>>>>  and set properly DS_MAD and TM_MAD. From the base64 encoded error I
>>>>>> can see this:
>>>>>>
>>>>>>          <DS_MAD>fs</DS_MAD>
>>>>>>         <TM_MAD>shared</TM_MAD>
>>>>>>
>>>>>>  which is not what you want.
>>>>>>
>>>>>>  cheers,
>>>>>> Jaime
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>   On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez <
>>>>>> christophe.duez at student.uantwerpen.be> wrote:
>>>>>>
>>>>>>>   Hello,
>>>>>>> when I try to upload an image to my iSCSI datastore it fails and I
>>>>>>> dont know why.
>>>>>>> can anyone help me please?
>>>>>>> var/log/one/oned.log error <http://pastebin.com/xVX0N6UU>
>>>>>>>
>>>>>>>  thank you
>>>>>>>
>>>>>>>  C. Duez
>>>>>>>
>>>>>>>   _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at lists.opennebula.org
>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>  --
>>>>>>  Jaime Melis
>>>>>> Project Engineer
>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>>>> www.OpenNebula.org | jmelis at opennebula.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> Kind regards,
>>>>> Duez Christophe
>>>>> Student at University of Antwerp :
>>>>> Master of Industrial Sciences: Electronics-ICT
>>>>>
>>>>> E christophe.duez at student.uantwperen.be
>>>>> L linkedin duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>
>>>>>
>>>>
>>>>
>>>>  --
>>>>  Jaime Melis
>>>> Project Engineer
>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>> www.OpenNebula.org | jmelis at opennebula.org
>>>>
>>>
>>>
>>>
>>>  --
>>> Kind regards,
>>> Duez Christophe
>>> Student at University of Antwerp :
>>> Master of Industrial Sciences: Electronics-ICT
>>>
>>> E christophe.duez at student.uantwperen.be
>>> L linkedin duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
>>>
>>
>>
>>
>>  --
>> Kind regards,
>> Duez Christophe
>> Student at University of Antwerp :
>> Master of Industrial Sciences: Electronics-ICT
>>
>> E christophe.duez at student.uantwperen.be
>> L linkedin duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
>  --
>  Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jmelis at opennebula.org
>



-- 
Kind regards,
Duez Christophe
Student at University of Antwerp :
Master of Industrial Sciences: Electronics-ICT

E christophe.duez at student.uantwperen.be
L linkedin duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140429/8b8a5603/attachment-0002.htm>


More information about the Users mailing list