Bug #3764
xen toolstack incorrect detection in var/remotes/vnm/command.rb
Status: | Closed | Start date: | 04/20/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Drivers - Network | |||
Target version: | Release 4.14 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.12 |
Description
Using xen 4.4 with xl toolstack and we cannot create VMs after upgrade to 4.12.1.
Mon Apr 20 18:06:04 2015 [Z0][VMM][I]: Command execution fail: /var/tmp/one/vnm/vxlan/post ... 'one-426' Mon Apr 20 18:06:04 2015 [Z0][VMM][E]: A different toolstack (xl) have been selected! Mon Apr 20 18:06:04 2015 [Z0][VMM][E]: A different toolstack (xl) have been selected! Mon Apr 20 18:06:04 2015 [Z0][VMM][I]: iptables v1.4.21: interface name `--physdev-is-bridged' must be shorter than IFNAMSIZ (15) Mon Apr 20 18:06:04 2015 [Z0][VMM][I]: Try `iptables -h' or 'iptables --help' for more information. Mon Apr 20 18:06:04 2015 [Z0][VMM][E]: post: Command Error: sudo iptables -I opennebula -m physdev --physdev-out --physdev-is-bridged -j one-426-0-i Mon Apr 20 18:06:04 2015 [Z0][VMM][E]: post: ["/var/tmp/one/vnm/command.rb:76:in `block in run!'", "/var/tmp/one-cloud3/vnm/command.rb:73:in `each'", "/var/tmp/one-cloud3/vnm/command.rb:73:in `run!'", "/var/tmp/one-cloud3/vnm/security_groups_iptables.rb:281:in `nic_pre'", "/var/tmp/one-cloud3/vnm/sg_driver.rb:64:in `block in activate'", "/var/tmp/one-cloud3/vnm/sg_driver.rb:61:in `each'", "/var/tmp/one-cloud3/vnm/sg_driver.rb:61:in `activate'", "/var/tmp/one-cloud3/vnm/vxlan/post:29:in `<main>'"] Mon Apr 20 18:06:04 2015 [Z0][VMM][I]: ExitCode: 1
Changing "\\bxen\\b
" to "\\bxend\\b
" in var/remotes/vnm/command.rb corrects this problem.
Related issues
Associated revisions
bug #3764: correctly detect xen toolstack
Patch sent by Rolandas Naujikas
History
#1 Updated by Ruben S. Montero about 6 years ago
- Status changed from Pending to New
- Assignee set to Javi Fontan
- Target version set to Release 4.14
Thanks for reporting and the patch!!!!!
#2 Updated by Javi Fontan about 6 years ago
- Status changed from New to Closed
- Resolution set to fixed
Fixed in master. Thanks!
#3 Updated by Javi Fontan almost 6 years ago
- Duplicated by Bug #3850: Wrong Xen toolstack selection for Xen4.4 in VNM command.rb added