[one-users] Image "ImageQCow2" does not exists for user 0

Carlos Martín Sánchez cmartin at opennebula.org
Tue Apr 2 02:39:24 PDT 2013


Hi,

Could you please paste the output of "oneimage show 0 -x"? I'm thinking
that maybe the name has a trailing space that can't be seen in the CLI
output....

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Fri, Mar 29, 2013 at 12:46 AM, Erico Augusto Cavalcanti Guedes <
eacg at cin.ufpe.br> wrote:

> Dears one users,
>
> I'm updating from 3.4.1 to 3.8.3:
>
> oneadmin at mc4-frontend:~$ oneuser list
>   ID NAME            GROUP      AUTH           VMS
> MEMORY         CPU
>    0 oneadmin        oneadmin   core             -
> -           -
>    1 serveradmin     oneadmin   server_c         -
> -           -
> oneadmin at mc4-frontend:~$ onegroup list
>   ID NAME                          USERS       VMS
> MEMORY         CPU
>    0 oneadmin                          2         -
> -           -
>    1 users                             0         -
> -           -
> oneadmin at mc4-frontend:~$ oneimage list
>   ID USER       GROUP      NAME            DATASTORE     SIZE TYPE PER
> STAT RVMS
>    0 oneadmin   oneadmin   ImageQCow2      ModcsDS         3G OS    No
> rdy     0
> oneadmin at mc4-frontend:~$ oneimage show 0
> IMAGE 0
> INFORMATION
> ID             : 0
> NAME           : ImageQCow2
> USER           : oneadmin
> GROUP          : oneadmin
> DATASTORE      : ModcsDS
> TYPE           : OS
> REGISTER TIME  : 03/28 17:39:19
> PERSISTENT     : No
> SOURCE         :
> /srv/cloud/one/var/datastores/100/f68b7e09767df51b1b7b94e205e24b20
> PATH           : /images/Ubuntu12.04Modificado5Empty.qcow
> SIZE           : 3G
> STATE          : rdy
> RUNNING_VMS    : 0
>
> PERMISSIONS
>
> OWNER          : uma
> GROUP          : uma
> OTHER          : uma
>
> IMAGE
> TEMPLATE
> DEV_PREFIX="hd"
>
> oneadmin at mc4-frontend:~$ cat templates/vm_proxy.template
> CPU    = 1
> MEMORY = 128
>
> OS=[
>         boot=hd,
>         ARCH = i686,
>         driver=qcow2
> ]
>
> DISK   = [
>   type = "disk",
>   image =  "ImageQCow2",
>   target   = "hda",
>   driver = "qcow2",
>   readonly = "no",
>   IMAGE_ID = 0,
>   IMAGE_UID = 0 ]
>
> NIC    = [
>  # NETWORK = "Modcs",
>   NETWORK = "Cloud",
>   BRIDGE = "br0"
>   ]
>
> FEATURES=[ acpi="no" ]
>
> GRAPHICS = [
>   TYPE    = "vnc",
>   LISTEN  = "0.0.0.0"
>  ]
>
> oneadmin at mc4-frontend:~$ ls -l /images/Ubuntu12.04Modificado5Empty.qcow
> -rwxr-xr-x 1 oneadmin oneadmin 3244490752 Mar 28 17:28
> /images/Ubuntu12.04Modificado5Empty.qcow
>
> What can be missing that results in:
> oneadmin at mc4-frontend:~$ onevm create templates/vm_proxy.template
> [VirtualMachineAllocate] Error allocating a new virtual machine. Image
>  "ImageQCow2" does not exists for user 0
>
> Thanks a lot,
>
> Erico.
>
> _______________________________________________
> 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/20130402/39975c44/attachment-0001.htm>


More information about the Users mailing list