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

Erico Augusto Cavalcanti Guedes eacg at cin.ufpe.br
Thu Mar 28 16:46:21 PDT 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130328/4c4ceef4/attachment.htm>


More information about the Users mailing list