[one-users] ERROR: failed to get domain
Javier Fontan
jfontan at opennebula.org
Wed Oct 17 22:09:58 PDT 2012
OpenNebula 3.8.70 has a little bug that gives that error message on
deployment but causes no harm. If you want to get rid of it you can
edit /var/lib/one/remotes/vmm/kvm/deploy and comment line 27
https://github.com/OpenNebula/one/blob/release-3.8-beta1/src/vmm_mad/remotes/kvm/deploy#L27
After that execute a "onehost sync" so the script is updated in the nodes.
Reading the logs it seems that the deployment is correct:
Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: DEPLOY SUCCESS 11 one-11
It seems that the VM starts but somehow it is destroyed after a while.
One place you can find information on the problem is in the node, the
VM log file (/var/log/libvirt/qemu/one-<vmid>.log). If you don't find
any errors there it may be good adding VNC to the VM and connecting to
it as soon as it is in running state to check if there's a problem
booting the machine.
On Wed, Oct 17, 2012 at 1:39 PM, Kannadhasan Thangadurai
<kannadhasan.t at payoda.com> wrote:
> Hi,
>
> Please find my below log:
>
>
> Wed Oct 17 17:11:07 2012 [DiM][D]: Deploying VM 11
> Wed Oct 17 17:11:07 2012 [ReM][D]: [474] [0 oneadmin] [VirtualMachineDeploy]
> SUCCESS, 11
> Wed Oct 17 17:11:10 2012 [AuM][D]: Message received: LOG I 90 ExitCode: 0
>
> Wed Oct 17 17:11:10 2012 [AuM][I]: ExitCode: 0
> Wed Oct 17 17:11:10 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 90
> -
>
> Wed Oct 17 17:11:10 2012 [ReM][D]: [300] [0 oneadmin] [GroupPoolInfo] method
> invoked
> Wed Oct 17 17:11:10 2012 [ReM][D]: [300] [0 oneadmin] [GroupPoolInfo]
> SUCCESS, "<GROUP_POOL><GROUP><..."
> Wed Oct 17 17:11:10 2012 [ReM][D]: [95] [0 oneadmin] [DatastorePoolInfo]
> method invoked
> Wed Oct 17 17:11:10 2012 [ReM][D]: [95] [0 oneadmin] [DatastorePoolInfo]
> SUCCESS, "<DATASTORE_POOL><DAT..."
> Wed Oct 17 17:11:12 2012 [VMM][I]: --Mark--
> Wed Oct 17 17:11:21 2012 [InM][I]: --Mark--
> Wed Oct 17 17:11:25 2012 [TM][D]: Message received: LOG I 11 clone: Cloning
> /var/lib/one/datastores/data/CentOS-Basic.qcow2 in
> pc-one3:/var/lib/one//datastores/0/11/disk.0
>
> Wed Oct 17 17:11:25 2012 [TM][D]: Message received: LOG I 11 ExitCode: 0
>
> Wed Oct 17 17:11:25 2012 [TM][D]: Message received: LOG I 11 context:
> Generating context block device at
> pc-one3:/var/lib/one//datastores/0/11/disk.1
>
> Wed Oct 17 17:11:25 2012 [TM][D]: Message received: LOG I 11 ExitCode: 0
>
> Wed Oct 17 17:11:25 2012 [TM][D]: Message received: TRANSFER SUCCESS 11 -
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 ExitCode: 0
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 Successfully
> execute network driver operation: pre.
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 error: failed
> to get domain '/var/lib/one//datastores/0/11/deployment.0'
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 error: Domain
> not found: no domain with matching name
> '/var/lib/one//datastores/0/11/deployment.0'
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 ExitCode: 0
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 Successfully
> execute virtualization driver operation: deploy.
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 ExitCode: 0
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: LOG I 11 Successfully
> execute network driver operation: post.
>
> Wed Oct 17 17:11:26 2012 [VMM][D]: Message received: DEPLOY SUCCESS 11
> one-11
>
> Wed Oct 17 17:11:32 2012 [ReM][D]: [272] [0 oneadmin] [AclInfo] method
> invoked
> Wed Oct 17 17:11:32 2012 [ReM][D]: [272] [0 oneadmin] [AclInfo] SUCCESS,
> "<ACL_POOL><ACL><ID>0..."
> Wed Oct 17 17:11:36 2012 [ReM][D]: [661] [0 oneadmin] [HostPoolInfo] method
> invoked
> Wed Oct 17 17:11:36 2012 [ReM][D]: [661] [0 oneadmin] [HostPoolInfo]
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Wed Oct 17 17:11:37 2012 [ReM][D]: [912] [0 oneadmin]
> [VirtualMachinePoolInfo] method invoked, -2, -1, -1, -1
> Wed Oct 17 17:11:37 2012 [ReM][D]: [912] [0 oneadmin]
> [VirtualMachinePoolInfo] SUCCESS, "<VM_POOL><VM><ID>9</..."
> Wed Oct 17 17:11:37 2012 [ReM][D]: [233] [0 oneadmin] [AclInfo] method
> invoked
> Wed Oct 17 17:11:37 2012 [ReM][D]: [233] [0 oneadmin] [AclInfo] SUCCESS,
> "<ACL_POOL><ACL><ID>0..."
> Wed Oct 17 17:11:39 2012 [AuM][D]: Message received: LOG I 91 ExitCode: 0
>
> Wed Oct 17 17:11:39 2012 [AuM][I]: ExitCode: 0
> Wed Oct 17 17:11:39 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 91
> -
>
> Wed Oct 17 17:11:39 2012 [ReM][D]: [463] [0 oneadmin]
> [VirtualMachinePoolInfo] method invoked, -2, -1, -1, -1
> Wed Oct 17 17:11:39 2012 [ReM][D]: [463] [0 oneadmin]
> [VirtualMachinePoolInfo] SUCCESS, "<VM_POOL><VM><ID>9</..."
> Wed Oct 17 17:11:39 2012 [ReM][D]: [70] [0 oneadmin] [UserPoolInfo] method
> invoked
> Wed Oct 17 17:11:39 2012 [ReM][D]: [70] [0 oneadmin] [UserPoolInfo] SUCCESS,
> "<USER_POOL><USER><ID..."
> Wed Oct 17 17:11:40 2012 [ReM][D]: [569] [0 oneadmin] [ImagePoolInfo] method
> invoked, -2, -1, -1
> Wed Oct 17 17:11:40 2012 [ReM][D]: [569] [0 oneadmin] [ImagePoolInfo]
> SUCCESS, "<IMAGE_POOL><IMAGE><..."
>
>
>
> Due to this error, my VM is getting changed to UNKNOWN state after some
> time...
>
> Kindly help me on this.
>
>
> On Wed, Oct 17, 2012 at 10:52 AM, Valentin Bud <valentin at hackaserver.com>
> wrote:
>>
>> Hello,
>>
>> The double // hash nothing to do with your error, at least as far as I
>> have noticed. Can you provide more info from your log?
>>
>> First thing that comes to mind, are the permissions of /var/lib/one
>> correct?
>>
>> v
>>
>> On Wed, Oct 17, 2012 at 8:12 AM, Kannadhasan Thangadurai
>> <kannadhasan.t at payoda.com> wrote:
>>>
>>> Hi Jorge,
>>>
>>> Kindly let me know, in which config file i have to change (//) the path.
>>>
>>> Please guide me.
>>>
>>> Thanks,
>>> Kannadhasan Thangadurai.
>>>
>>> On Tue, Oct 16, 2012 at 8:07 PM, Jorge Mario Manuel Ortega
>>> <ortegajorge at gmail.com> wrote:
>>>>
>>>> check the double slash after /var/lib/one, ( i put it in bold text )
>>>>
>>>>
>>>>> error: Domain not found: no domain with matching name
>>>>> '/var/lib/one//datastores/0/23/deployment.1'
>>>>
>>>>
>>>>
>>>> Live long , and Prosper .-
>>>>
>>>>
>>>> 2012/10/16 Kannadhasan Thangadurai <kannadhasan.t at payoda.com>
>>>>>
>>>>> Hi Team,
>>>>>
>>>>> I have installed Opennebula 3.6 on centos 6.3. I have created a image,
>>>>> getting the below error while the image status is changing from PROLOG to
>>>>> BOOT state.
>>>>>
>>>>> failed to get domain '/var/lib/one//datastores/0/23/deployment.1'
>>>>>
>>>>> error: Domain not found: no domain with matching name
>>>>> '/var/lib/one//datastores/0/23/deployment.1'
>>>>>
>>>>> ExitCode: 0
>>>>>
>>>>> After this error message, the image changed to UNKNOWN state. Kindly
>>>>> help me on this issue.
>>>>>
>>>>> Thanks,
>>>>> Kannadhasan Thangadurai.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list