[one-users] Create an Image and registering

Ruben S. Montero rubensm at dacya.ucm.es
Thu Feb 3 13:33:52 PST 2011


Hi

This error is because a failure copying

/srv/cloud*/one/var/images*/ubuntu.img
to

/srv/cloud/*var/images/*83bfdec6884733dfc1030be8505f0717e3e21122

Maybe you have a misconfigured repository path in oned.conf? Check paths,
permissions, free space....

Cheers

Ruben


On Thu, Feb 3, 2011 at 9:02 PM, Krishna R. Kantam <krishna at txcorp.com>wrote:

> Hello everyone,
>
> 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
>
> -Krishna
>
> [root at localhost bin]# dd if=/dev/zero
> of=/srv/cloud/one/var/images/ubuntu.img bs=1M count=2000
> 2000+0 records in
> 2000+0 records out
> 2097152000 bytes (2.1 GB) copied, 9.26583 seconds, 226 MB/s
> [root at localhost bin]# mkfs.ext3 /srv/cloud/one/var/images/ubuntu.imgmke2fs
> 1.39 (29-May-2006)
> /srv/cloud/one/var/images/ubuntu.img is not a block special device.
> Proceed anyway? (y,n) y
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 256000 inodes, 512000 blocks
> 25600 blocks (5.00%) reserved for the super user
> First data block=0
> Maximum filesystem blocks=524288000
> 16 block groups
> 32768 blocks per group, 32768 fragments per group
> 16000 inodes per group
> Superblock backups stored on blocks:
>         32768, 98304, 163840, 229376, 294912
>
> Writing inode tables: done
> Creating journal (8192 blocks): done
> Writing superblocks and filesystem accounting information: done
>
> This filesystem will be automatically checked every 31 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
>
> [root at localhost bin]# cat /srv/cloud/one/var/registerubuntu.one
> NAME          = "Ubuntu Web Development"
> PATH          = /srv/cloud/one/var/images/ubuntu.img
> PUBLIC        = YES
> DESCRIPTION   = "Ubuntu 10.04 desktop"
>
> [root at localhost bin]# oneimage register
> /srv/cloud/one/var/registerubuntu.one
> Error: No such file or directory -
> /srv/cloud/var/images/83bfdec6884733dfc1030be8505f0717e3e21122
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110203/5dc87536/attachment-0002.htm>


More information about the Users mailing list