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

cloud.b.lab cloud.b.lab at zoho.com
Fri Jul 27 07:33:09 PDT 2012


I will send a detailed mail with cut paste from code/log.
one was >&/dev/null issue which later I learned as known issue. 
Other were in the clone script.

Regards,
Anil

---- On Fri, 27 Jul 2012 02:13:36 -0700 Carlos Martín Sánchez<cmartin at opennebula.org> wrote ---- 


Hi,

Can you please explain a bit more about that hack needed for Ubuntu?


Cheers
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
 
 

On Wed, Jul 25, 2012 at 8:59 PM, cloud.b.lab <cloud.b.lab at zoho.com> wrote:
 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 
 






_______________________________________________
 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/20120727/7b4eaed0/attachment-0002.htm>


More information about the Users mailing list