Bug 5345 - weird error running CTDB with 2 nodes with different IPs on the same computer
weird error running CTDB with 2 nodes with different IPs on the same computer
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: clustering
3.0.26
Other Linux
: P3 regression
: none
Assigned To: Andrew Tridgell
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-23 07:05 UTC by Michael Vitale
Modified: 2008-04-04 09:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vitale 2008-03-23 07:05:10 UTC
I am testing ctdb with 2 nodes on one computer with 2 IP addresses.  I get this message in the ctdb log file:

2008/03/23 19:56:23.473155 [ 3646]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).

I made a copy of my /etc/sysconfig/networking/devices/ifcfg-eth0 file and named it , /etc/sysconfig/networking/devices/ifcfg-eth0:0
I only changed the device name in it from DEVICE=eth0 to DEVICE=eth0:0.

I then ran ifconfig to bring it up:
ifconfig eth0:0 192.168.2.200 netmask 255.255.255.0 broadcast 192.168.2.255

I then was able to ping 192.168.2.200 successfully, but got the above warning when trying to run ctdb with 2 nodes: my localhost(192.168.2.6) and the other one.

Here is the list of messages relevant to it in my ctdb log file:


008/03/23 19:56:23.524077 [ 3650]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
2008/03/23 19:56:23.545895 [ 3650]: RTNETLINK answers: Cannot assign requested address
2008/03/23 19:56:23.546844 [ 3650]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
2008/03/23 19:56:23.547051 [ 3650]: Failed to del 192.168.2.200 on dev eth0:0
2008/03/23 19:56:23.547214 [ 3655]: Event script /usr/local/etc/ctdb/events.d/10.interface releaseip eth0:0 192.168.2.200 24 failed with error 1
Comment 1 Michael Vitale 2008-04-04 09:34:34 UTC
cannot use same ethernet card in clustered samba for more than 1 IP