Public bug reported:

on a freshly installed ubuntu server 18.04

- install ucarp package   ( 1.5.2-2.1 amd64  )   no problem for
installing

- problem n°1, this package does not have any systemd launching utilities, 
annoying, but i can launch
   it manually as follow :

- /usr/sbin/ucarp --interface=enp0s31f6
--passfile=/etc/ucarp/vip-001.pass --srcip=172.16.0.140 --vhid=001
--addr=172.25.1.200 --shutdown --preempt --advskew=0
--upscript=/opt/miscbin/vip-up --downscript=/opt/miscbin/vip-down

--> i get : 
[INFO] Local advertised ethernet address is [00:01:2e:79:0f:64]
[WARNING] Switching to state: BACKUP
[WARNING] Spawning [/opt/miscbin/vip-down enp0s31f6 172.25.1.200]
[ERROR] Can't do IP_ADD_MEMBERSHIP errno=No such device (19)

the error IP_ADD_MEMBERSHIP  seems to be related to multicast not allowed on 
the network device
but on the same hardWare, it run perfectly on ubuntu server 16.04.4 !

the  /etc/ucarp/vip-001.pass file exists and provide a regular password
the /opt/miscbin/vip-up and vip-down script are defined as follow :
----- up -----
#!/bin/sh
exec 2>/dev/null

/sbin/ip address add "$2"/32 dev "$1"
------- down -------
#!/bin/sh
exec 2>/dev/null

/sbin/ip address del "$2"/32 dev "$1"
---------------

i have tried several things :

- ubuntu server  on a real server,  and on virtual machine  ( KVM )
- not using netplan  ( installing back ifupdown and  removing all netplan yaml 
files )

i still have the same error.

this is working without error with ubuntu-server 16.04 with the exact
same conditions / procedure

Best regards

** Affects: ucarp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777901

Title:
  ucarp not working with ubuntu server 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ucarp/+bug/1777901/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to