[one-users] Opennebula Debian 7.0 Wheezy Xen 4.1

Alberto Picón Couselo alpicon1 at gmail.com
Tue May 21 13:07:18 PDT 2013


Hello everybody.

We are testing Debian 7.0 Wheezy Xen 4.1.4 hypervisor using Opennebula 
3.8.3 and we have found several deployment problems.

We added the host to the infrastructure and Sunstone seems to monitor it 
correctly.

[InM][I]: Monitoring host xen-hv (14)
[InM][D]: Host 14 successfully monitored.

When we try to deploy a Xen VM, Opennebula creates the network bridge 
correctly:

[TM][D]: Message received: TRANSFER SUCCESS 224 -
[VMM][D]: Message received: LOG I 224 pre: Executed "sudo /sbin/brctl 
addbr br_test".
[VMM][D]: Message received: LOG I 224 pre: Executed "sudo /sbin/ip link 
set br_test up".
[VMM][D]: Message received: LOG I 224 Device "eth1.4000" does not exist.
[VMM][D]: Message received: LOG I 224 pre: Executed "sudo /sbin/vconfig 
add eth1 4000".
[VMM][D]: Message received: LOG I 224 pre: Executed "sudo /sbin/ip link 
set eth1.4000 up".
[VMM][D]: Message received: LOG I 224 pre: Executed "sudo /sbin/brctl 
addif br_test eth1.4000".
[VMM][D]: Message received: LOG I 224 ExitCode: 0
[VMM][D]: Message received: LOG I 224 Successfully execute network 
driver operation: pre.
[VMM][D]: Message received: LOG D 224 deploy: Credits set to 128
[VMM][D]: Message received: LOG I 224 Error: Subcommand sched-cred not 
found!
[VMM][D]: Message received: LOG E 224 deploy: Unable to set VM credits
[VMM][D]: Message received: LOG I 224 ExitCode: 0
[VMM][D]: Message received: LOG I 224 Successfully execute 
virtualization driver operation: deploy.

Xen VM is launched and it boots correctly at the Xen 4.1.4 hypervisor. 
We can access it using xm console.

However, Opennebula fails and returns the following error (VM is shown 
as FAILED in Sunstone):

[VMM][D]: Message received: LOG I 224 Command execution fail: 
/var/lib/one/remotes/vnm/802.1Q/post  ---XXXbase64codeXXX--- Usage: xm 
<subcommand> [args]
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Control, list, and manipulate Xen 
guest instances.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Common 'xm' commands:
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 console              Attach to 
<Domain>'s console.
[VMM][D]: Message received: LOG I 224 vncviewer            Attach to 
<Domain>'s VNC server.
[VMM][D]: Message received: LOG I 224 create               Create a 
domain based on <ConfigFile>.
[VMM][D]: Message received: LOG I 224 new                  Adds a domain 
to Xend domain management
[VMM][D]: Message received: LOG I 224 delete               Remove a 
domain from Xend domain management.
[VMM][D]: Message received: LOG I 224 destroy              Terminate a 
domain immediately.
[VMM][D]: Message received: LOG I 224 dump-core            Dump core for 
a specific domain.
[VMM][D]: Message received: LOG I 224 help                 Display this 
message.
[VMM][D]: Message received: LOG I 224 list                 List 
information about all/some domains.
[VMM][D]: Message received: LOG I 224 mem-set              Set the 
current memory usage for a domain.
[VMM][D]: Message received: LOG I 224 migrate              Migrate a 
domain to another machine.
[VMM][D]: Message received: LOG I 224 pause                Pause 
execution of a domain.
[VMM][D]: Message received: LOG I 224 reboot               Reboot a domain.
[VMM][D]: Message received: LOG I 224 reset                Reset a domain.
[VMM][D]: Message received: LOG I 224 restore              Restore a 
domain from a saved state.
[VMM][D]: Message received: LOG I 224 resume               Resume a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 save                 Save a domain 
state to restore later.
[VMM][D]: Message received: LOG I 224 shell                Launch an 
interactive shell.
[VMM][D]: Message received: LOG I 224 shutdown             Shutdown a 
domain.
[VMM][D]: Message received: LOG I 224 start                Start a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 suspend              Suspend a 
Xend managed domain
[VMM][D]: Message received: LOG I 224 top                  Monitor a 
host and the domains in real time.
[VMM][D]: Message received: LOG I 224 unpause              Unpause a 
paused domain.
[VMM][D]: Message received: LOG I 224 uptime               Print uptime 
for all/some domains.
[VMM][D]: Message received: LOG I 224 usb-add              Add the usb 
device to FV VM.
[VMM][D]: Message received: LOG I 224 usb-del              Delete the 
usb device to FV VM.
[VMM][D]: Message received: LOG I 224 domstate             get the state 
of a domain
[VMM][D]: Message received: LOG I 224 vcpu-set             Set the 
number of active VCPUs for allowed for
[VMM][D]: Message received: LOG I 224 the domain.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 <Domain> can either be the Domain 
Name or Id.
[VMM][D]: Message received: LOG I 224 For more help on 'xm' see the 
xm(1) man page.
[VMM][D]: Message received: LOG I 224 For more help on 'xm create' see 
the xmdomain.cfg(5)  man page.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 For a complete list of subcommands 
run 'xm help'.
[VMM][D]: Message received: LOG I 224 one-224
*[VMM][D]: Message received: LOG I 224 bash: línea: error sintáctico 
cerca del elemento inesperado `('*
[VMM][D]: Message received: LOG I 224 bash: línea: 
`(/var/lib/one/remotes/vnm/802.1Q/post ---XXXbase64codeXXX--- Usage: xm 
<subcommand> [args]Control, list, and manipulate Xen guest 
instances.Common 'xm' commands: console              Attach to 
<Domain>'s console.                      vncviewer            Attach to 
<Domain>'s VNC server.                   create               Create a 
domain based on <ConfigFile>.             new                  Adds a 
domain to Xend domain management            delete               Remove 
a domain from Xend domain management.       destroy              
Terminate a domain immediately.                    dump-core            
Dump core for a specific domain.                   help                 
Display this message.                              list                 
List information about all/some domains.           mem-set              
Set the current memory usage for a domain.         migrate              
Migrate a domain to another machine.               pause                
Pause execution of a domain.                       reboot               
Reboot a domain.                                   reset                
Reset a domain.                                    restore              
Restore a domain from a saved state.               resume               
Resume a Xend managed domain                       save                 
Save a domain state to restore later.              shell                
Launch an interactive shell.                       shutdown             
Shutdown a domain.                                 start                
Start a Xend managed domain                        suspend              
Suspend a Xend managed domain                      top                  
Monitor a host and the domains in real time.       unpause              
Unpause a paused domain.                           uptime               
Print uptime for all/some domains.                 usb-add              
Add the usb device to FV VM.                       usb-del              
Delete the usb device to FV VM.                    domstate             
get the state of a domain                          vcpu-set             
Set the number of active VCPUs for allowed for *the domain.<Domain> can 
either be the Domain Name or Id.For more help on 'xm' see the xm(1) man 
page.For more help on 'xm create' see the xmdomain.cfg(5)  man page.For 
a complete list of subcommands run 'xm help'.one-224); echo "ExitCode: 
$? EOF_ERR" 1>&2; echo "EOF_OUT"'*
[VMM][D]: Message received: LOG I 224 ExitSSHCode: 2
[VMM][D]: Message received: LOG E 224 Error connecting to xen-hv
[VMM][D]: Message received: LOG I 224 Command execution fail: 
/var/lib/one/remotes/vmm/xen/cancel Usage: xm <subcommand> [args]
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Control, list, and manipulate Xen 
guest instances.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Common 'xm' commands:
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 console              Attach to 
<Domain>'s console.
[VMM][D]: Message received: LOG I 224 vncviewer            Attach to 
<Domain>'s VNC server.
[VMM][D]: Message received: LOG I 224 create               Create a 
domain based on <ConfigFile>.
[VMM][D]: Message received: LOG I 224 new                  Adds a domain 
to Xend domain management
[VMM][D]: Message received: LOG I 224 delete               Remove a 
domain from Xend domain management.
[VMM][D]: Message received: LOG I 224 destroy              Terminate a 
domain immediately.
[VMM][D]: Message received: LOG I 224 dump-core            Dump core for 
a specific domain.
[VMM][D]: Message received: LOG I 224 help                 Display this 
message.
[VMM][D]: Message received: LOG I 224 list                 List 
information about all/some domains.
[VMM][D]: Message received: LOG I 224 mem-set              Set the 
current memory usage for a domain.
[VMM][D]: Message received: LOG I 224 migrate              Migrate a 
domain to another machine.
[VMM][D]: Message received: LOG I 224 pause                Pause 
execution of a domain.
[VMM][D]: Message received: LOG I 224 reboot               Reboot a domain.
[VMM][D]: Message received: LOG I 224 reset                Reset a domain.
[VMM][D]: Message received: LOG I 224 restore              Restore a 
domain from a saved state.
[VMM][D]: Message received: LOG I 224 resume               Resume a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 save                 Save a domain 
state to restore later.
[VMM][D]: Message received: LOG I 224 shell                Launch an 
interactive shell.
[VMM][D]: Message received: LOG I 224 shutdown             Shutdown a 
domain.
[VMM][D]: Message received: LOG I 224 start                Start a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 suspend              Suspend a 
Xend managed domain
[VMM][D]: Message received: LOG I 224 top                  Monitor a 
host and the domains in real time.
[VMM][D]: Message received: LOG I 224 unpause              Unpause a 
paused domain.
[VMM][D]: Message received: LOG I 224 uptime               Print uptime 
for all/some domains.
[VMM][D]: Message received: LOG I 224 usb-add              Add the usb 
device to FV VM.
[VMM][D]: Message received: LOG I 224 usb-del              Delete the 
usb device to FV VM.
[VMM][D]: Message received: LOG I 224 domstate             get the state 
of a domain
[VMM][D]: Message received: LOG I 224 vcpu-set             Set the 
number of active VCPUs for allowed for
[VMM][D]: Message received: LOG I 224 the domain.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 <Domain> can either be the Domain 
Name or Id.
[VMM][D]: Message received: LOG I 224 For more help on 'xm' see the 
xm(1) man page.
[VMM][D]: Message received: LOG I 224 For more help on 'xm create' see 
the xmdomain.cfg(5)  man page.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 For a complete list of subcommands 
run 'xm help'.
[VMM][D]: Message received: LOG I 224 one-224 xen-hv 224 xen-hv
*[VMM][D]: Message received: LOG I 224 bash: línea: error sintáctico 
cerca del elemento inesperado `('
[VMM][D]: Message received: LOG I 224 bash: línea: 
`(/var/lib/one/remotes/vnm/802.1Q/post 
*PFZNPjxJRD4yMjQ8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT50Y19wYnhfeGVuPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VP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PC9FU1RJTUU+PEVFVElNRT4wPC9FRVRJTUU+PFJFQVNPTj4wPC9SRUFTT04+PC9ISVNUT1JZPjwvSElTVE9SWV9SRUNPUkRTPjwvVk0+ 
Usage: xm <subcommand> [args]Control, list, and manipulate Xen guest 
instances.Common 'xm' commands: console              Attach to 
<Domain>'s console.                      vncviewer            Attach to 
<Domain>'s VNC server.                   create               Create a 
domain based on <ConfigFile>.             new                  Adds a 
domain to Xend domain management            delete               Remove 
a domain from Xend domain management.       destroy              
Terminate a domain immediately.                    dump-core            
Dump core for a specific domain.                   help                 
Display this message.                              list                 
List information about all/some domains.           mem-set              
Set the current memory usage for a domain.         migrate              
Migrate a domain to another machine.               pause                
Pause execution of a domain.                       reboot               
Reboot a domain.                                   reset                
Reset a domain.                                    restore              
Restore a domain from a saved state.               resume               
Resume a Xend managed domain                       save                 
Save a domain state to restore later.              shell                
Launch an interactive shell.                       shutdown             
Shutdown a domain.                                 start                
Start a Xend managed domain                        suspend              
Suspend a Xend managed domain                      top                  
Monitor a host and the domains in real time.       unpause              
Unpause a paused domain.                           uptime               
Print uptime for all/some domains.                 usb-add              
Add the usb device to FV VM.                       usb-del              
Delete the usb device to FV VM.                    domstate             
get the state of a domain                          vcpu-set             
Set the number of active VCPUs for allowed for *the domain.<Domain> can 
either be the Domain Name or Id.For more help on 'xm' see the xm(1) man 
page.For more help on 'xm create' see the xmdomain.cfg(5)  man page.For 
a complete list of subcommands run 'xm help'.one-224); echo "ExitCode: 
$? EOF_ERR" 1>&2; echo "EOF_OUT"'*
[VMM][D]: Message received: LOG I 224 ExitSSHCode: 2
[VMM][D]: Message received: LOG E 224 Error connecting to xen-hv
[VMM][D]: Message received: LOG I 224 Failed to execute virtualization 
driver operation: cancel.
[VMM][D]: Message received: LOG I 224 Failed to execute network driver 
operation: post.
[VMM][D]: Message received: DEPLOY FAILURE 224 Error connecting to xen-hv

We are using OpenNebula 3.8.3 without problems using Debian 6.0.7 
Squeeze and Xen 4.0.1.

Please, can you help us?

Best Regards,
Alberto Picón


:




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130521/aa641c6e/attachment-0001.htm>


More information about the Users mailing list