Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16656

[CLI] Caches created from the console not found

XMLWordPrintable

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

      I run:

       podman run -it  -p 11222:11222 -e USER="admin" -e PASS="password" quay.io/infinispan-test/server:main

      Then

      podman run -it --net=host infinispan/cli

      > connect

      I provide admin password

      I create a cache named 'cache2' from the console. I add some entries.

      I call in the CLI: describe caches/cache2

      IllegalArgumentException: No such resource 'cache2'

      Then I add an entry from the CLI

      put --cache=cache2 hello world

      Now describe works and provides the config of the cache.

              ttarrant@redhat.com Tristan Tarrant
              karestig@redhat.com Katia Aresti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: