<div dir="ltr">Hi Marlok,<div>maybe I'm giving too few details of the problem:</div><div><br></div><div>lvm datastore:</div><div><div>[oneadmin@master ~]$ onedatastore show 104</div><div>DATASTORE 104 INFORMATION </div>
<div>ID : 104 </div><div>NAME : production-ds </div><div>USER : oneadmin </div><div>GROUP : oneadmin </div><div>CLUSTER : production </div>
<div>TYPE : IMAGE </div><div>DS_MAD : lvm </div><div>TM_MAD : lvm </div><div>BASE PATH : /var/lib/one/datastores/104</div><div>DISK_TYPE : BLOCK </div>
<div><br></div><div>PERMISSIONS </div><div>OWNER : um- </div><div>GROUP : u-- </div><div>OTHER : --- </div>
<div><br></div><div>DATASTORE TEMPLATE </div><div>CLUSTER="production"</div><div>DS_MAD="lvm"</div><div>HOST="compute01"</div><div>
TM_MAD="lvm"</div><div>VG_NAME="prod-vm"</div><div><br></div><div>IMAGES </div><div>[oneadmin@master ~]$ </div></div><div><br></div><div>compute01 is a kvm node where lvm operations will be held, cause backing storage for that is fibre channel lun, which then will be accessible on all compute nodes.<br>
</div><div><br></div><div>Then, I imported ttylinux image to production-ds datastore and all I got in Images section of the Sunstone UI is :</div><div> Tue May 28 17:19:53 2013 : Error copying image in the datastore: Error registering compute01:/dev/prod-vm/lv-one-7<br>
</div><div>User oneadmin is in sudoers and is able to launch any lv* command through sudo.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 5:08 PM, Marlok Tamás <span dir="ltr"><<a href="mailto:tmarlok@sztaki.hu" target="_blank">tmarlok@sztaki.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Denis,<br><br></div>You should first create, the lvm datasore in opennebula. After that, when you import the image from marketplace, you can select this lvm datastore (instead of default ds).<br>
<div class="gmail_extra">
<br></div><div class="gmail_extra">Hope this helps.<br></div><div class="gmail_extra"><br clear="all"><div>Cheers,<br>tmarlok<br></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Tue, May 28, 2013 at 3:24 PM, Denis J. Cirulis <span dir="ltr"><<a href="mailto:denis.cirulis@gmail.com" target="_blank">denis.cirulis@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hello list,<div>I imported predefined lvm vg to opennebula using lvm driver and lvm transfer driver. Adjusted HOST variable with hostname of compute node where all lvm operations will be held. oneadmin can login via ssh without password and is in sudoers group to execure all lvm related commands.</div>
<div>I downloaded CentOS KVM ready-made image from marketplace, imported with default settings (default datastore).</div><div><br></div><div>When I'm trying to create template for this image I can not see where should I mention datastore (in my case lvm ds) where virtual machine images will be created.</div>
<div>What I'm doing wrong ? I see no lv-one-ID volumes in vg.</div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>