[one-users] Using iSCSI Targets- Cannot create a VM

cloud.b.lab cloud.b.lab at zoho.com
Wed Jul 25 11:59:24 PDT 2012


The below issue has been resolved and OpenNebula with iSCSI target working fine with both CentOS and Ubuntu. 
In case of iSCSI target in Ubuntu 12.04 as a little bit hack was required.

Regards,
Anil


---- On Tue, 24 Jul 2012 11:33:00 -0700 cloud.b.lab<cloud.b.lab at zoho.com> wrote ---- 


Mark,
Thanks for the reply.
requiretty error is gone. 

But following error still remains

Tue Jul 24 06:38:33 2012 [TM][D]: Message received: LOG I 15 DISK_BY_PATH=$(ls /dev/disk/by-path/*iqn.2012-02.org.opennebula:192.168.1.7.vg-one.lv-one-14-15-lun-1)

Tue Jul 24 06:38:33 2012 [TM][D]: Message received: LOG I 15 ln -s "$DISK_BY_PATH" "/var/lib/one/var/datastores/0/15/disk.0"" failed: iscsiadm: No records found

Tue Jul 24 06:38:33 2012 [TM][D]: Message received: LOG E 15 Error discovering iqn.2012-02.org.opennebula:192.168.1.7.vg-one.lv-one-14-15 in centosnode



---- On Tue, 24 Jul 2012 11:15:25 -0700 Mark Wagner<mwagner at intelius.com> wrote ---- 



On 07/24/2012 11:08 AM, cloud.b.lab wrote: 
> *Tue Jul 24 06:03:03 2012 [TM][D]: Message received: LOG I 13 ln -s 
> "$DISK_BY_PATH" "/var/lib/one/var/datastores/0/13/disk.0"" failed: 
> sudo: sorry, you must have a tty to run sudo* 
 
Do you have "requiretty" in the /etc/sudoers file on the host? 
 
-- 
Mark Wagner | mwagner at intelius.com 
System Administrator | Intelius Inc. 
 
_______________________________________________ 
Users mailing list 
Users at lists.opennebula.org 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 


_______________________________________________ 
Users mailing list 
Users at lists.opennebula.org 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120725/197775ba/attachment-0002.htm>


More information about the Users mailing list