[one-users] Problem with OpenNebula 4.2 + ovs 1.10

Gérald Litzistorf gerald.litzistorf at hesge.ch
Thu Aug 7 06:25:43 PDT 2014


Hi,

I use http://appliances.c12g.com/OpenNebula-4.2-tutorial-installed/ with 
success (Live Migration, ...)

Problem comes with OpenvSwitch integration based on
http://docs.opennebula.org/4.4/administration/networking/openvswitch.html

sudoers file is ok
# Defaults requiretty
oneadmin ALL=(ALL) NOPASSWD: ALL

/var/log/one/2.log
Thu Aug  7 15:01:41 2014 [DiM][I]: New VM state is ACTIVE.
Thu Aug  7 15:01:41 2014 [LCM][I]: New VM state is PROLOG.
Thu Aug  7 15:01:41 2014 [LCM][I]: New VM state is BOOT
Thu Aug  7 15:01:41 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/2/deployment.0
Thu Aug  7 15:01:42 2014 [VMM][I]: ExitCode: 0
Thu Aug  7 15:01:42 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu Aug  7 15:01:42 2014 [VMM][I]: ExitCode: 0
Thu Aug  7 15:01:42 2014 [VMM][I]: Successfully execute virtualization 
driver operation: deploy.
Thu Aug  7 15:01:42 2014 [VMM][I]: Command execution fail: 
/var/tmp/one/vnm/ovswitch/post 
PFZNPjxJRD4yPC9JRD48VUlEPjI8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+dG90bzwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT53MTwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MDwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MDwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48TEFTVF9QT0xMPjA8L0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U1BRD5rdm08L1ZNTU1BRD48Vk5NTUFEPm92c3dpdGNoPC9WTk1NQUQ+PFRNTUFEPnNoYXJlZDwvVE1NQUQ+PERTX0xPQ0FUSU9OPi92YXIvbGliL29uZS8vZGF0YXN0b3JlczwvRFNfTE9DQVRJT04+PERTX0lEPjA8L0RTX0lEPjxQU1RJTUU+MTQwNzQxNjUwMTwvUFNUSU1FPjxQRVRJTUU+MTQwNzQxNjUwMTwvUEVUSU1FPjxSU1RJTUU+MTQwNzQxNjUwMTwvUlNUSU1FPjxSRVRJTUU+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjxBQ1RJT04+MDwvQUNUSU9OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg== 
'one-2'
Thu Aug  7 15:01:42 2014 [VMM][I]: 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNic.rb:31:in `new_nic': undefined 
method `new' for nil:NilClass (NoMethodError)
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:60:in `initialize'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/usr/lib/ruby/1.8/rexml/element.rb:891:in `each'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/usr/lib/ruby/1.8/rexml/element.rb:891:in `each'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:59:in `initialize'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:112:in `new'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:112:in `initialize'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/OpenvSwitch.rb:29:in `initialize'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:100:in `new'
Thu Aug  7 15:01:42 2014 [VMM][I]: from 
/var/tmp/one/vnm/ovswitch/../OpenNebulaNetwork.rb:100:in `from_base64'
Thu Aug  7 15:01:42 2014 [VMM][I]: from /var/tmp/one/vnm/ovswitch/post:27
Thu Aug  7 15:01:42 2014 [VMM][I]: ExitCode: 1
Thu Aug  7 15:01:43 2014 [VMM][I]: error: failed to get domain 'one-2'
Thu Aug  7 15:01:43 2014 [VMM][I]: error: Domain not found: no domain 
with matching name 'one-2'
Thu Aug  7 15:01:43 2014 [VMM][I]: ExitCode: 0
Thu Aug  7 15:01:43 2014 [VMM][I]: Successfully execute virtualization 
driver operation: cancel.
Thu Aug  7 15:01:43 2014 [VMM][I]: Failed to execute network driver 
operation: post.
Thu Aug  7 15:01:43 2014 [VMM][E]: Error deploying virtual machine
Thu Aug  7 15:01:43 2014 [DiM][I]: New VM state is FAILED

Problem of version (I use 4.2 & doc is for 4.4) ?

I use ovs_version 1.10.0

Thanks for your help / Gérald Litzistorf





More information about the Users mailing list