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

Removing virtual server which has access log fails first time and succeeds the second time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 10.0.0.CR3
    • None
    • Web (Undertow)
    • None

      When having created virtual server with access-log and then trying to remove the viratual server directly, it fails with

      WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
      Service jboss.undertow.server.default-server.testvs was depended upon by service jboss.undertow.server.default-server.testvs.access-log

      , still when trying to remove it second time, it is successfully removed. To reproduce see steps bellow containing also output. See mainly that it failed first time, still it succeeded the second time.

      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs:add()
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs/setting=access-log:add()
      {"outcome" => "success"}
      [standalone@localhost:9990 /] reload 
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs:remove()
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
      Service jboss.undertow.server.default-server.testvs was depended upon by service jboss.undertow.server.default-server.testvs.access-log",
          "rolled-back" => true
      }
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs:remove()
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: