[one-users] error deploying VM using Java OCA in 3.4.1

Piyush Harsh piyush.harsh at inria.fr
Mon Jun 4 07:56:08 PDT 2012


Thanks Carlos for your response.

The OS image was registered by the oneadmin user and I changed the image 
permission by doing 'oneimage chmod <id> 666' so that anyone can use the 
image for creating a VM.

Someone told me that the machine template from 2.2.1 should have worked 
with 3.4.1, we will modify the template generation as you suggested.

Thanks, I will keep you updated.

Kind regards,
Piyush.

On 06/04/2012 03:53 PM, Carlos Martín Sánchez wrote:
> Hi,
>
> Looks like you are using the image name DISK/IMAGE, but user #4 does not
> own any Image with that name.
>
> You'll need to use the IMAGE_ID instead, or tell OpenNebula who is the
> image owner with the IMAGE_UID or IMAGE_UNAME attributes. More info here
> [1,2]
>
> By the way, be sure to download the updated jar we have uploaded earlier
> today [3]
>
> Regards,
> Carlos
>
> [1] http://opennebula.org/documentation:rel3.4:template#an_example
> [2]
> http://opennebula.org/documentation:rel3.4:img_guide#how_to_use_images_in_virtual_machines
> [3]
> http://lists.opennebula.org/pipermail/users-opennebula.org/2012-June/009144.html
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org <http://www.OpenNebula.org> | cmartin at opennebula.org
> <mailto:cmartin at opennebula.org> | @OpenNebula
> <http://twitter.com/opennebula><mailto:cmartin at opennebula.org>
>
>
>
> On Mon, Jun 4, 2012 at 3:24 PM, Piyush Harsh <piyush.harsh at inria.fr
> <mailto:piyush.harsh at inria.fr>> wrote:
>
>     Hi All,
>
>     I have been trying to deploy a VM using Java API for Opennebula
>     3.4.1 and I am getting this error:
>
>     [VirtualMachineAllocate] Error allocating a new virtual machine.
>     Image ubuntu-1110 does not exists for user 4
>
>     Any hint as to what is causing this error?
>
>     Kind regards,
>     Piyush.
>     --
>     Dr. Piyush Harsh, R&D Engineer, INRIA
>     CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
>     Campus universitaire de Beaulieu, 35042 Rennes cedex, France
>     Phone. +33 2 99 84 71 48 <tel:%2B33%202%2099%2084%2071%2048> - Fax.
>     +33 2 99 84 71 71 <tel:%2B33%202%2099%2084%2071%2071>
>     http://www.irisa.fr/myriads/
>     http://www.cise.ufl.edu/~__pharsh/portfolio/
>     <http://www.cise.ufl.edu/~pharsh/portfolio/>
>     [Backup Site] http://info-piyush.rhcloud.__com/
>     <http://info-piyush.rhcloud.com/>
>     _________________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org
>     <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
>

-- 
Dr. Piyush Harsh, R&D Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/



More information about the Users mailing list