Bug #5093
closed
carp_status.php - CARP VIPs are not displayed
Added by Jim Pingle about 9 years ago.
Updated about 9 years ago.
Description
On carp_status.php the CARP VIPs and status are not displayed. The Enable/Disable and Maintenance Mode buttons are there, and the pfsync nodes are displayed, but no VIPs.
I have a CARP VIP defined, CARP is enabled, VIP is present on the interface at the OS level, but no VIPs on the page.
Interesting note: The dashboard widget correctly displays the VIPs with their status, but not the status page
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Jim Pingle
THis page holds the distinction of being hte worst conversion of the project, by far. Not only was the formatting rubbish, but hte log was:
if(errors > 0)
printErrorMessage();
else if(errors == 0)
displayButtons();
else
drawTable();
Huh ??
- % Done changed from 0 to 100
- Status changed from Feedback to Confirmed
- Assignee changed from Jim Pingle to Anonymous
- % Done changed from 100 to 0
The VIPs are listed now but the behavior isn't right.
I have one VIP and it is actually in MASTER status, CARP is enabled already.
On the status page:
- The Enable/Disable button is marked "Enable CARP" even though it's already enabled. It should be showing "Disable CARP"
- The VIP status shows "Disabled" even though the status is actually MASTER for the VIP.
OK it's much improved after the commit:9e4bb20, but two issues I can see now that it's this far:
- The "Enter Persistent Maintenance Mode" button does not function. Clicking it does not enter maintenance mode (it should perform the action and then the button should switch to say "Leave [...]" instead of enter.
- If you manually demote the box using "sysctl net.inet.carp.demotion=240" the error text shows on the page as expected, but the reset button inside the error message does not properly reset net.inet.carp.demotion back to 0.
I can move those to another ticket if you'd prefer.
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Jim Pingle
Page has been further updated to cause the maintenance mode to work. Please retest.
- Status changed from Feedback to Resolved
Appears to work fine now. Entering and exiting maintenance mode adjusted the skew as expected, and the reset button correctly reset the demotion counter.
Also available in: Atom
PDF