Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3341

Unable to bind on VIP address

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 2.5.5
    • N/A
    • N/A
    • None
    • Debian 10.7, keepalived vip

    Description

      Hello!

      When using maxscale with keepalived virtual ip there is an error on a backup node:

      Starting a total of 1 services...
      Failed to bind on '10.0.1.254:4006': 99, Cannot assign requested address
      Failed to bind on '10.0.1.254:4006': 99, Cannot assign requested address
      Failed to bind on '10.0.1.254:4006': 99, Cannot assign requested address
      Failed to bind on '10.0.1.254:4006': 99, Cannot assign requested address
      (Read-Write-Listener) One or more workers failed to listen on '[10.0.1.254]:4006'.
      Service 'Read-Write-Service' started (1/1)
      Failed to start service 'Read-Write-Service'.
      Failed to start all MaxScale services.
      

      The error appears because 10.0.1.254 is virtual ip and it assigned on master node. When fail on master node occurs this virtual IP must migrate to backup node. There is a workaround don't bind maxscale to particular ip and use bind 0.0.0.0 but it bad for security reasons.
      Can we change bind behavior and allow to bind on non-existent ip-addresses on the backup host?

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleg Oleg Kupriyanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.