[one-users] [VMM][D]: Message received: error: internal error HTTP response code 500 for call to 'FindByUuid'. Fault: ServerFaultCode - Permission

Tino Vazquez tinova at opennebula.org
Wed Nov 30 04:25:49 PST 2011


Hi there,

This may shed some light into this problem:
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-February/003906.html

Regards,

-Tino
--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula



On Wed, Nov 30, 2011 at 12:00 PM, PJ PJ <igranjo at hotmail.com> wrote:
>
> I have done the suggested change (DISK = [ DRIVER = file ]
> /etc/one/vmm_sh_vmware.conf)
>
> I haave stopped oned
>
> I have restarted oned
>
> It's showing this error:
>
>        "internal error HTTP response code 500 for call to 'RegisterVM_Task'.
> Fault: ServerFaultCode - fault.RestrictedVersion.summary"
>
> it shows the next message: (oned.log)
>
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> opennebula:/srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> esx:/srv/cloud/
> one/var//44/images/disk.0
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> DST: /srv/cloud/one/var//44/images/disk.0
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Creating directory /srv/cloud/one/var//44/images
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Executed "mkdir -p /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Executed "chmod a+w /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:27 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Nov 30 12:16:27 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Cloning /srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Executed "cp -r
> /srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> /srv/cloud
> /one/var//44/images/disk.0".
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: LOG - 44 tm_clone.sh:
> Executed "chmod a+rw /srv/cloud/one/var//44/images/disk.0".
> Wed Nov 30 12:16:27 2011 [TM][D]: Message received: TRANSFER SUCCESS 44 -
> Wed Nov 30 12:16:28 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Nov 30 12:16:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Nov 30 12:16:30 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received: DEPLOY FAILURE 44
> [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxx
> virsh -c esx://esx/?no_verify=1 define /srv/cloud/one/var/44/deployment.0].
> Stderr:
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received: error: Failed to define
> domain from /srv/cloud/one/var/44/deployment.0
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received: error: internal error
> HTTP response code 500 for call to 'RegisterVM_Task'. Fault: ServerFaultCode
> - fault.RestrictedVersion.summary
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received:
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received: . Stdout: ExitCode: 1
> Wed Nov 30 12:16:30 2011 [VMM][D]: Message received: ExitCode: 1
> Wed Nov 30 12:16:31 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Nov 30 12:16:31 2011 [TM][D]: Message received: LOG - 44 tm_delete.sh:
> Deleting /srv/cloud/one/var//44/images
> Wed Nov 30 12:16:31 2011 [TM][D]: Message received: LOG - 44 tm_delete.sh:
> Executed "rm -rf /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:31 2011 [TM][D]: Message received: TRANSFER SUCCESS 44 -
>
> it shows the next message: (vm.log)
>
> oneadmin at opennebula:~/var/44$ more vm.log
> Wed Nov 30 12:07:48 2011 [DiM][I]: New VM state is ACTIVE.
> Wed Nov 30 12:07:48 2011 [LCM][I]: New VM state is PROLOG.
> Wed Nov 30 12:07:48 2011 [VM][I]: Virtual Machine has no context
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh:
> opennebula:/srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> esx:/srv/cloud/one/var//44/images/disk.0
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one/var//44/images/disk.0
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var//44/images
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Cloning
> /srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Executed "cp -r
> /srv/cloud/one/var//images/0098fdefdfcdfae6d032b525c12bf1dd47460887
> /srv/cloud/one/var//44/images/disk.0"
> .
> Wed Nov 30 12:16:27 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /srv/cloud/one/var//44/images/disk.0".
> Wed Nov 30 12:16:27 2011 [LCM][I]: New VM state is BOOT
> Wed Nov 30 12:16:27 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/44/deployment.0
> Wed Nov 30 12:16:30 2011 [VMM][E]: Error deploying virtual machine: [VMWARE]
> cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxx virsh -c
> esx://esx/?no_v
> erify=1 define /srv/cloud/one/var/44/deployment.0]. Stderr:
> Wed Nov 30 12:16:30 2011 [DiM][I]: New VM state is FAILED
> Wed Nov 30 12:16:31 2011 [TM][W]: Ignored: LOG - 44 tm_delete.sh: Deleting
> /srv/cloud/one/var//44/images
> Wed Nov 30 12:16:31 2011 [TM][W]: Ignored: LOG - 44 tm_delete.sh: Executed
> "rm -rf /srv/cloud/one/var//44/images".
> Wed Nov 30 12:16:31 2011 [TM][W]: Ignored: TRANSFER SUCCESS 44 -
>
> Thanks in advance.
>
>
>
>>Message: 3
>>Date: Tue, 29 Nov 2011 18:05:57 +0100
>>From: Tino Vazquez <tinova at opennebula.org>
>>To: users at lists.opennebula.org
>>Subject: Re: [one-users] error: internal error HTTP response code 500
>> for call to 'FindByUuid'. Fault: ServerFaultCode - Permission
>>Message-ID:
>> <CAHfKwc0jSqYtPo=8RWJ4dUujKb3C84c2rd=1YA2Nr1=Z4zcp-w at mail.gmail.com>
>>Content-Type: text/plain; charset=ISO-8859-1
>>
>>Hi,
>>
>>It looks like the driver for the disk is not defined, nor a default
>>value for it. Your /etc/one/vmm_sh_vmware.conf file should have a
>>
>>DISK = [ DRIVER = file ]
>>
>>Hope it helps,
>>
>>-Tino
>>
>>--
>>Constantino V?zquez Blanco, MSc
>>Project Engineer
>>OpenNebula - The Open Source Toolkit for Data Center Virtualization
>>www.OpenNebula.org?|?@tinova79?|?@OpenNebula
>>
>>
>>
>>On Tue, Nov 29, 2011 at 7:23 AM, PJ PJ <igranjo at hotmail.com> wrote:
>>
>> it shows the next message:
>>
>> oneadmin at opennebula:~$ virsh -v
>> 0.9.6
>> oneadmin at opennebula:~$ more var/19/deployment.0
>> <domain type='vmware'>
>> ??????? <name>one-19</name>
>> ??????? <memory>1048576</memory>
>> ??????? <os>
>> ??????????????? <type arch='i686'>hvm</type>
>> ??????? </os>
>> ??????? <devices>
>> ??????????????? <disk type='file' device='disk'>
>> ??????????????????????? <source file='[images]
>> 19/images/disk.0/disk.vmdk'/>
>> ??????????????????????? <target dev='hda'/>
>> ??????????????????????? <driver name='????????? </disk>
>> ??????? </devices>
>> </domain>
>>
>> Thanks in advance.
>>
>>
>> ----------------------------------------------------------------------------------
>> Message: 1
>> Date: Mon, 28 Nov 2011 11:45:03 +0000
>> From: PJ PJ <igranjo at hotmail.com>
>> To: <users at lists.opennebula.org>
>> Subject: Re: [one-users] When it deploys the virtual machine response
>> ?code 500 for call to 'FindByUuid'
>> Message-ID: <BAY152-W5602A11DE2FCDFEDBBE574B9B20 at phx.gbl>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> I'm sorry for my delay, it shows the next message: oneadmin at opennebula:~$
>> virsh -c esx://esx/?no_verify=1 define var/19/deployment.0
>> Ingrese un nombre de usuario para esx [root]: oneadmin
>> Ingrese la contrase??a de oneadmin para esx:
>> error:Fall?? al definir un dominio para var/19/deployment.0
>> error:(domain_definition):11: Unescaped '<' not allowed in attributes
>> values
>> ?<driver name=' </disk>
>> ?-------------- ^
>> oneadmin at opennebula:~$ virsh -c esx://esx/?no_verify=1 start 19
>> Ingrese un nombre de usuario para esx [root]: oneadmin
>> Ingrese la contrase??a de oneadmin para esx:
>> error:Fall?? al obtener el dominio '19'
>> error:No se encontr?? dominio: No existe un dominio denominado '19' Thanks
>> in advance.
>>
>> From: tinova79 at gmail.com
>> Date: Tue, 15 Nov 2011 16:28:13 +0100
>> Subject: Re: [one-users] When it deploys the virtual machine response code
>> 500 for call to 'FindByUuid'
>> To: igranjo at hotmail.com
>>
>> Hi,
>> Could you try deploying with libvirt by hand?
>> $ virsh -c esx://esx/?no_verify=1 define /var/lib/one/0/deployment.0
>>
>> and then
>>
>> $ virsh -c esx://esx/?no_verify=1 start <domainname>
>>
>> where <domainname> is the one provided in the execution of the first
>> sentence.
>>
>> Regards,
>>
>> -Tino--
>> Constantino V?zquez Blanco, MSc | dsa-research.org/tinova
>>
>> Virtualization Technology Engineer / Researcher
>> OpenNebula - The Open Source Toolkit for Data Center
>> Virtualizationwww.OpenNebula.org | @tinova79 | @OpenNebula
>>
>>
>>
>> On Mon, Nov 14, 2011 at 3:02 PM, PJ PJ <igranjo at hotmail.com> wrote:
>>
>>
>>
>>
>>
>> I have got Esxi 4.1 and ubuntu with OpenNebula 2.2.1
>>
>> When it deploys the virtual machine, it shows this error :
>>
>> [VMM][D]: Message received: error: internal error HTTP
>> response code 500 for call to 'FindByUuid'. Fault: ServerFaultCode -
>> Permission
>>
>> to perform this operation was denied.
>>
>> can you help me, please?
>>
>> I have connection with the node ESXi from console, and it shows the next
>> command:
>>
>> oneadmin at opennebula:~$ virsh -c esx://esx/?no_verify=1virsh -c
>> esx://esx/?no_verify=1
>>
>> Ingrese un nombre de usuario para esx [root]: oneadmin
>> Ingrese la contrase??a de oneadmin para esx:
>> Bienvenido a virsh, la terminal de virtualizaci??n interactiva.
>> Ingrese: 'help' para obtener ayuda con los comandos
>>
>> 'quit' para salir
>> virsh #
>>
>> and I can see the node ESXi in the console, and it shows the next message:
>>
>> oneadmin at opennebula:~$ lib/remotes/im/run_probes vmware esx
>>
>> /srv/cloud/one/lib/ruby/vmwarelib.rb:26: warning: already initialized
>> constant ONE_LOCATION
>> /srv/cloud/one/lib/ruby/vmwarelib.rb:32: warning: already initialized
>> constant RUBY_LIB_LOCATION
>> HYPERVISOR=vmware TOTALCPU=800 CPUSPEED=1595 TOTALMEMORY=8386824
>> FREEMEMORY=6709459
>>
>>
>> Thanks in advance.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list