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

The /host=*/server=* reload and suspend operations are not visible to the CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR1, 7.0.0.Final
    • 7.0.0.Final
    • Management
    • None

      You can execute this op:

      /host=master/server=server-one:reload

      But if you try and tab complete the op name, the reload op does not appear.

      Same thing with suspend.

      Further, with suspend if you do:

      /host=master/server=server-one:suspend(timeout=10)

      the CLI will reject the op complaining that param 'timeout' is invalid. Disable validation in jboss-cli.xml though and it will work.

      The reason for all this is that the read-operation-names and read-operation-description ops the CLI invokes in the background before executing an op are aimed at /host=master/server=server-one, and on the domain server root resource the 'reload' and 'suspend' operation definitions are marked with setPrivateEntry.

      When the user actually executes the ops, the handler is actually on the HC, so it works fine. It's just that the CLI can't see the description of the op.

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

                Created:
                Updated:
                Resolved: