opnsense / opnsense/plugins

net/haproxy: Bulk Change Server Statet Buttons do not get rendered anymore

Open
#5,649 0 comments 0 reactions 1 assignee View on GitHub

@fraenki is already working on this.

Since Aug 24, 2026.

Dominant language
PHP
Stars
1.2k
Forks
863
Avg merge
2d 6h
Merged PRs (30d)
10

Description

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

While using the HA-Proxy Plugin the option to bulk change server states doesnt exist anymore.
I do not know the last OPNsense Version in which this buttons worked, since that was before my time at the company.
https://opnsense.domain.example/ui/haproxy/maintenance

While looking at the Devtools on the site, the buttons for the bulk actions are defined but do not get rendered, i tried it in multiple Browsers and also skipped our jumphost.
It seems this issue never got discovered/solved since i couldnt find a solution in the forums/issues.
This is the relevant UI part, in which the Bulk Buttons are defined:

                                          <tfoot>
                                               <tr>
                                                   <td></td>
                                                   <td>
                                                       <button data-action="setStateBulk" title="Set state to ready (bulk)" data-state="ready" type="button" class="btn btn-xs btn-default">
                                                           <span class="fa fa-check"></span>
                                                       </button>
                                                       <button data-action="setStateBulk" title="Set state to drain (bulk)" data-state="drain" type="button" class="btn btn-xs btn-default">
                                                           <span class="fa fa-sort-amount-desc"></span>
                                                       </button>
                                                       <button data-action="setStateBulk" title="Set state to maintenance (bulk)" data-state="maint" type="button" class="btn btn-xs btn-default">
                                                           <span class="fa fa-wrench"></span>
                                                       </button>
                                                       <button data-action="setWeightBulk" title="Change server weight (bulk)" data-weight="" type="button" class="btn btn-xs btn-default">
                                                           <span class="fa fa-balance-scale"></span>
                                                       </button>
                                                   </td>
                                               </tr>
                                           </tfoot>

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)

To Reproduce

Steps to reproduce the behavior:

  1. Go to Services -> HAProxy -> Maintanance
  2. Select Multiple Servers
  3. Scroll down to the footer
  4. There are no more bulk options buttons

Expected behavior

When Selecting Multiple Servers, it was expected to be able to change the states of the servers to Maintenance in bulk.
I considered using a bash script with the most commen Servers which we need to set to drain or maintenance.
A clear and concise description of any alternative solutions or workaround you considered.

Software version used and hardware type if relevant, e.g.:

Type: opsnesne-business
OPNsense Version: 26.4.1P2
Architecture: amd64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.