Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1781

DomainModelControllerService is installing the management request handlers for DC-related requests for slaves using cached-dc

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management

      The DomainModelControllerService code block that parses a local domain.xml is also installing the service the allows the management interface to accept requests that uses the request headers meant for the master side slave->master intra-domain communications. This service should not be added in the slave using cached-dc case, but it is now.

      It also shouldn't be added if the DC is running admin-only.

      OTOH in all cases where it is not added, a different service should be added that will reject any slave registration requests that come in with the correct error codes that the slave knows how to parse. Currently that rejection is only happening for admin-only masters or slaves that are using cached-dc, which is not correct.

            [WFCORE-1781] DomainModelControllerService is installing the management request handlers for DC-related requests for slaves using cached-dc

            I have a number of "WIP" branches that have been sitting inactive for a long time and I'm linking them to the related issues in case the work on them is useful. For this one:

            https://github.com/bstansberry/wildfly-core/tree/WFCORE-1781

            Brian Stansberry added a comment - I have a number of "WIP" branches that have been sitting inactive for a long time and I'm linking them to the related issues in case the work on them is useful. For this one: https://github.com/bstansberry/wildfly-core/tree/WFCORE-1781

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: