[one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

Alexander Sibetheros alexsibeth at gmail.com
Mon Dec 16 23:11:45 PST 2013


I think I fixed the bridge problem, but now I get a new problem(and again
googling didn't help).
I restarted both vm's, restarted sunstone, mounted the nfs, recreated the
network with correct bridge, deleted old failed vm, and created a new one
but Im getting kvm problem now:

Mon Dec 16 23:05:04 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/2/deployment.0
Mon Dec 16 23:05:04 2013 [VMM][I]: error: internal error process exited
while connecting to monitor: Could not access KVM kernel module: No such
file or directory
Mon Dec 16 23:05:04 2013 [VMM][I]: failed to initialize KVM: No such file
or directory
Mon Dec 16 23:05:04 2013 [VMM][I]: No accelerator found!
Mon Dec 16 23:05:04 2013 [VMM][I]:
Mon Dec 16 23:05:04 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/2/deployment.0
Mon Dec 16 23:05:04 2013 [VMM][I]: ExitCode: 255
Mon Dec 16 23:05:04 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Mon Dec 16 23:05:04 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//datastores/0/2/deployment.0


On Tue, Dec 17, 2013 at 8:41 AM, Alexander Sibetheros
<alexsibeth at gmail.com>wrote:

> Well, ifconfig shows eth0,lo and an extra network virbro(which I haven't
> physically added to interfaces).
> I will try the configurations with virbr0 everywhere(in interface files +
> network file) and update.
>
>
> On Tue, Dec 17, 2013 at 1:49 AM, Jens Hoffmann <jens.hoffmann at cuesoft.eu>wrote:
>
>>  Does "ifconfig" on your host list eth0 and the loopback device only?
>> Does "brctl show" on your host return an empty list? In that case you have
>> no bridge and you need to setup one to bridge between eth0  and your nebula
>> vms. The vmware bridge that connects your host-vm to the internet or
>> wherever acts upon a different layer. vmware won't setup a bridge inside of
>> your host-vm.
>>
>>
>> Hope this is of some help.
>>
>>
>>
>> Jens
>>
>> --
>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>
>>
>>
>> On 12/17/2013 12:28 AM, Alexander Sibetheros wrote:
>>
>>  In that case it probably is the bridge settings.
>>  Because I am running host/nodes from vm(vmware, with bridge network) I
>> have eth0 reserved for that.
>>  I changed the interface file too:
>> auto eth0
>> iface eth0 inet static
>>         address 192.168.0.20
>>         netmask 255.255.255.0
>>         broadcast 192.168.0.255
>>         gateway 192.168.0.1
>>  But didn't add anything on bridges because I though eth0 was already a
>> bridge(from vmware).
>>  (Normally the tutorial mentions: iface br0 inet static....
>> #        bridge_ports eth0
>> #        bridge_fd 9
>> #        bridge_hello 2
>> #        bridge_maxage 12
>> #        bridge_stp off).
>>
>>  My 1 node(also vm) has similar settings(iface eth0 inet static with no
>> bridge settings).
>>
>>  In my virtual network I changed BRIDGE= eth0(previously br0).
>>
>>  If this is not allowed then what should I change?
>>
>>
>> On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann <jens.hoffmann at cuesoft.eu>wrote:
>>
>>>  Hi,
>>>
>>> please double check / post:
>>>
>>>  * "brctl show" on your host
>>>  * Network related commands eventually logged in /var/log/auth.log
>>>  * Any related hints in /var/log/syslog
>>>  * /etc/network/interfaces on your host
>>>  * the nebula network template
>>>  * anything else that you might find to be of some help
>>>
>>>
>>> From the logs you have posted it seems to be a problem with your bridge
>>> setup.
>>>
>>>
>>> Jens
>>>
>>> --
>>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>>
>>>
>>>
>>> On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
>>>
>>>    I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
>>> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best as
>>> possible.
>>>  When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
>>> Scratch VM"
>>>  I get failed state and this error:
>>>
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
>>> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
>>> '192.168.0.21' 0 192.168.0.21
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
>>> /var/lib/one//datastores/0/0/deployment.0
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0 port
>>> vnet0: Operation not supported
>>> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
>>> /var/lib/one//datastores/0/0/deployment.0
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization
>>> driver operation: deploy.
>>> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine:
>>> Could not create domain from /var/lib/one//datastores/0/0/deployment.0
>>>
>>>  I have checked the mailing list and a few forums but haven't found much
>>> for my case.
>>>  I am running NFS underneath, but only what the tutorial mentions.
>>>
>>>
>>>  _______________________________________________
>>> Users mailing listUsers at lists.opennebula.orghttp://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
>>>
>>>
>>
>>
>> --
>>   Alexander Sibetheros
>>
>>
>>
>>
>
>
> --
> Alexander Sibetheros
>



-- 
Alexander Sibetheros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131217/883d1daa/attachment-0002.htm>


More information about the Users mailing list