Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7486

Bad error message when adding singleton policy with new cache container in Singleton Subsystem

    XMLWordPrintable

Details

    • Hide

      Run EAP 7 in standalone with standalone-full-ha profile and then follow this steps:

      [standalone@localhost:9990 /] /subsystem=infinispan/cache-container=quz:add()
      {"outcome" => "success"}
      [standalone@localhost:9990 /] batch
      [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo:add(cache-container=quz)
      [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add()
      [standalone@localhost:9990 / #] run-batch
      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}}}
      
      
      Show
      Run EAP 7 in standalone with standalone-full-ha profile and then follow this steps: [standalone@localhost:9990 /] /subsystem=infinispan/cache-container=quz:add() { "outcome" => "success" } [standalone@localhost:9990 /] batch [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo:add(cache-container=quz) [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add() [standalone@localhost:9990 / #] run-batch The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): { "WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => { "Operation step-1" => { "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}}}
    • User Experience

    Description

      Adding a new singleton policy as described in https://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/development-guide/#clustered_ha_singleton_service with a newly created cache-container leads to a non-explanatory fail message "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: