OpenVZ Forum


Home » General » Support » ip rule | HN & VE are on the same table
ip rule | HN & VE are on the same table [message #34835] Thu, 05 February 2009 16:30 Go to next message
fsk141 is currently offline  fsk141
Messages: 4
Registered: December 2008
Junior Member
Problem:
Changes to ip rules from HN and VE are the same. IE. the changes are transparent to both:

HN:
[root@usa-box2 ~]# ip rule
0: from all lookup 255
19998: from all lookup main
19999: from all lookup 33

VE:
[root@usa-ldap ~]# ip rule
0: from all lookup 255
19998: from all lookup main
19999: from all lookup 33


Change on HN:
[root@usa-box2 ~]# sudo ip rule del from all lookup main
[root@usa-box2 ~]# ip rule
0: from all lookup 255
19999: from all lookup 33

VE:
[root@usa-ldap ~]# ip rule
0: from all lookup 255
19999: from all lookup 33


Change on VE:
[root@usa-ldap ~]# ip rule add from all lookup main
[root@usa-ldap ~]# ip rule
0: from all lookup 255
19998: from all lookup main
19999: from all lookup 33

HN:
[root@usa-box2 ~]# ip rule
0: from all lookup 255
19998: from all lookup main
19999: from all lookup 33

This is a serious problem....

Information:
I did a physical to VE migration as per instructions:
http://wiki.openvz.org/Physical_to_VE

------

I'm using a custom kernel.
2.6.24
ovz-007.1
drbd 8.3.0
ibcs 3.7

I did a couple things with the .config, auditing, and I don't think much else:
-- .config attached --
------

- uname -

------
[root@usa-box2 ~]# uname -a
Linux usa-box2.car-rental-world.com 2.6.24 #1 SMP Tue Jan 13 11:40:59 PST 2009 i686 i686 i386 GNU/Linux
------

- /etc/vz/vz.conf -

------
[root@usa-box2 vz]# cat vz.conf
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0

## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=detect

## Template parameters
TEMPLATE=/vz/template

## Defaults for VEs
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"

## Enable IPv6
IPV6="no"

## IPv6 ip6tables kernel modules
#IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"
------

I tried to include the information that pertains to the bug, but please let me know if you need anything else.

Thanks, Jonny
  • Attachment: config
    (Size: 80.01KB, Downloaded 218 times)
Re: ip rule | HN & VE are on the same table [message #34836 is a reply to message #34835] Thu, 05 February 2009 17:01 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

thank you for the report.
Could you please file a bug to bugzilla?
http://bugzilla.openvz.org/
Re: ip rule | HN & VE are on the same table [message #34837 is a reply to message #34836] Thu, 05 February 2009 17:02 Go to previous messageGo to next message
fsk141 is currently offline  fsk141
Messages: 4
Registered: December 2008
Junior Member
I already did:
Bugzilla – Bug 1168

I posted this yesterday, and no-one replied... So I posted in the forums.
Re: ip rule | HN & VE are on the same table [message #34840 is a reply to message #34835] Thu, 05 February 2009 22:05 Go to previous message
fsk141 is currently offline  fsk141
Messages: 4
Registered: December 2008
Junior Member
Fixed:
I made a patch from the fixes the developers produced (attached)
Previous Topic: processor name is not correct
Next Topic: hardware performance question
Goto Forum:
  


Current Time: Wed Jul 24 13:29:32 GMT 2024

Total time taken to generate the page: 0.02511 seconds