<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Great Thanks,<div><br></div><div>So I changed the paths and checked the permissions. The srv/cloud/var/images/ folder always shows conetents 1 item with 2GB (which is ubuntu.img) and free space available is 0 bytes.</div><div><br></div><div><b>registerubuntu.one file:</b></div><div><br></div><div><div style="font-family: arial; font-size: small; ">NAME = "Ubuntu Web Development"<br>PATH = /srv/cloud/one/var/images/ubuntu.img<br>PUBLIC = YES<br>DESCRIPTION = "Ubuntu 10.04 desktop"</div><div style="font-family: arial; font-size: small; "><br><b><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;">oned.config</span></font></b></div><div style="font-family: arial; font-size: small; "><b></b><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;"><b><br></b></span></font>IMAGE_REPOSITORY_PATH = /srv/cloud/var/images<br>DEFAULT_IMAGE_TYPE = "OS"<br>DEFAULT_DEVICE_PREFIX = "hd"<br><br><br>MANAGER_TIMER=30<br><br>HOST_MONITORING_INTERVAL = 600<br><br>VM_POLLING_INTERVAL = 600<br><br>VM_DIR=/srv/cloud/one/var/images<br><br>SCRIPTS_REMOTE_DIR=/var/tmp/one<br><br>PORT=2633<br><br>DB = [ backend = "sqlite" ]<br><br></div><div style="font-family: arial; font-size: small; "><br></div><div style="font-family: arial; font-size: small; "><b><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;">Now I get this error message:</span></font></b><font class="Apple-style-span" face="arial, helvetica"><br></font></div><div style="font-family: arial, helvetica; font-size: 10pt; color: black; "><div id="AOLMsgPart_1_3653fb90-24e5-40ff-a3dd-2390af91ed8a"><font color="black" face="arial" size="2"><font color="black" face="arial" size="2"><div><br></div><div><font face="Arial, Helvetica, sans-serif">[root@localhost bin]# oneimage register /srv/cloud/one/var/registerubuntu.one<br>Error: [ImageAllocate] Error trying to CREATE IMAGE Error inserting Image in DB.<br></font></div><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">-Krishna.</font></div></font></font></div></div></div><div><br></div><div><br><div><div>On Feb 3, 2011, at 4:33 PM, Ruben S. Montero wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi<div><br></div><div>This error is because a failure copying <br><br></div><div>/srv/cloud<b><font color="#FF0000">/one/var/images</font></b>/ubuntu.img</div><div>to</div><div><br></div><div>/srv/cloud/<font color="#FF0000"><b>var/images/</b></font>83bfdec6884733dfc1030be8505f0717e3e21122</div>
<div><br></div><div>Maybe you have a misconfigured repository path in oned.conf? Check paths, permissions, free space....</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><br></div><div><br><div class="gmail_quote">
On Thu, Feb 3, 2011 at 9:02 PM, Krishna R. Kantam <span dir="ltr"><<a href="mailto:krishna@txcorp.com" target="_blank">krishna@txcorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">
<div style="word-wrap:break-word"><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Hello everyone,</span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">I have OpenNebula 2.0.1 and i am trying to create and register an image. Please see the log below and I keep getting the error message. What file extension do I need for the template? or how can I create a template please help</span></div>
<div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">-Krishna</span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span></div>[root@localhost bin]# dd if=/dev/zero of=/srv/cloud/one/var/images/ubuntu.img bs=1M count=2000</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">2000+0 records in</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">2000+0 records out</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">2097152000 bytes (2.1 GB) copied, 9.26583 seconds, 226 MB/s</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">[root@localhost bin]# mkfs.ext3 /srv/cloud/one/var/images/ubuntu.imgmke2fs 1.39 (29-May-2006)</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">/srv/cloud/one/var/images/ubuntu.img is not a block special device.</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Proceed anyway? (y,n) y</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Filesystem label=</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">OS type: Linux</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Block size=4096 (log=2)</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Fragment size=4096 (log=2)</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">256000 inodes, 512000 blocks</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">25600 blocks (5.00%) reserved for the super user</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">First data block=0</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Maximum filesystem blocks=524288000</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">16 block groups</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">32768 blocks per group, 32768 fragments per group</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">16000 inodes per group</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Superblock backups stored on blocks:</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"> </span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"> 32768, 98304, 163840, 229376, 294912</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Writing inode tables: done </span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"> </span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Creating journal (8192 blocks): done</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">Writing superblocks and filesystem accounting information: done</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">This filesystem will be automatically checked every 31 mounts or</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small">180 days, whichever comes first. Use tune2fs -c or -i to override.</span><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"></span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><br>
</span><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><font face="arial">[root@localhost bin]# cat /srv/cloud/one/var/registerubuntu.one</font></span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><font face="arial">NAME = "Ubuntu Web Development"<br>
PATH = /srv/cloud/one/var/images/ubuntu.img<br>PUBLIC = YES<br>DESCRIPTION = "Ubuntu 10.04 desktop"</font></span></div><div><span style="font-family:Arial, Helvetica, sans-serif;font-size:small"><font face="arial"><br>
[root@localhost bin]# oneimage register /srv/cloud/one/var/registerubuntu.one<br>Error: No such file or directory - /srv/cloud/var/images/83bfdec6884733dfc1030be8505f0717e3e21122</font></span></div></div><br>_______________________________________________<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><br clear="all"><br>-- <br>Dr. Ruben Santiago Montero<br>Associate Professor (Profesor Titular), Complutense University of Madrid<br><br>URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</div>
</blockquote></div><br></div></body></html>