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

[CLI] Caches created from the console not found

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • 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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: