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<[email protected]> 
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<[email protected]> 
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 | [email protected] 
System Administrator | Intelius Inc. 
 
_______________________________________________ 
Users mailing list 
[email protected] 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 


_______________________________________________ 
Users mailing list 
[email protected] 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 



_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to