Bug #9384
opendevd putting "$" before variable contents when using single quotes
100%
Description
On 2.5.0 snapshots, when check_reload_status
logs a linkup event, the message contains a $
before the interface name that does not appear to be necessary/relevant:
Mar 6 14:17:25 check_reload_status 357 Linkup starting $vmx1 Mar 6 14:17:25 check_reload_status 357 Linkup starting $vmx2 Mar 6 14:17:28 check_reload_status 357 Linkup starting $vmx3
Updated by Jim Pingle over 5 years ago
This also appears to affect rc.carpmaster (and rc.carpbackup), which is also run through pfSctl
Mar 15 11:34:23 php-fpm 321 /rc.carpmaster: HA cluster member "(2001:db8::11:11@vmx0): (WAN)" has resumed CARP state "MASTER" for vhid $11 Mar 15 11:34:24 php-fpm 321 /rc.carpmaster: HA cluster member "(2001:db8::11:11@vmx0): (WAN)" has resumed CARP state "MASTER" for vhid $15
Also, not sure if it's related but the IP address printed for the VHID 11 line is incorrect.
inet6 2001:db8::12 prefixlen 64 inet6 2001:db8::11 prefixlen 64 vhid 15 inet6 2001:db8::11:11 prefixlen 64 vhid 15 inet 198.51.100.12 netmask 0xffffff00 broadcast 198.51.100.255 inet 198.51.100.11 netmask 0xffffff00 broadcast 198.51.100.255 vhid 11 carp: MASTER vhid 11 advbase 1 advskew 0 carp: MASTER vhid 15 advbase 1 advskew 0
Updated by Jim Pingle about 5 years ago
- Subject changed from check_reload_status linkup log message has a "$" before the interface name to devd putting "$" before variable contents when using single quotes
Adjusted title. This is a devd issue, not anything wrong with check_reload_status. Also affects other systems like OpenVPN not starting on CARP VIPs, and probably anything else touched by devd.
Updated by Renato Botelho about 4 years ago
- Assignee changed from Renato Botelho to Mark Johnston
Mark told me he would take a look at upstream regression
Updated by Renato Botelho almost 4 years ago
- Status changed from New to In Progress
- Assignee changed from Mark Johnston to Renato Botelho
I'll fix it as suggested by imp@
Updated by Renato Botelho almost 4 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset fbb49296bfff21824be0f8cba94a50bcfe077416.
Updated by Renato Botelho almost 4 years ago
- Status changed from Feedback to In Progress
Problem still happens
Updated by Renato Botelho almost 4 years ago
- Status changed from In Progress to Confirmed
- Target version changed from 2.5.0 to CE-Next
Pingle's workaround is enough for now. Move ticket to next release and wait a proper fix from upstream