DCImanager 6 Knowledge Base

666004

Description

The licensing service cannot get the contents of the private SSH key or license token from the vault service.

Contents

Error 666004, Getting value error from vault

Possible solutions

  • Check the availability of the vault service from the licensing service container:
    1. Connect to the server with the platform via SSH.
    2. Go to the licensing service container:

      Container names may differ depending on the used version of Docker Compose. A hyphen may be used instead of the underscore character in container names.

      To get the exact names of the containers, run the command: 

      docker ps -a
      docker exec -it dci_license_1 bash
    3. Execute the requests:

      Requesting a license token
      curl -k -# -X GET -H "internal-auth: on" -H "service: support" -H "content-type: application/json" -o- "http://localhost:1500/vault/v4/value/license_token"
      Requesting a private SSH key
      curl -k -# -X GET -H "internal-auth: on" -H "service: support" -H "content-type: application/json" -o- "http://localhost:1500/vault/v4/value/ssh_priv"
    4. Exit the container:

      exit
  • examine the vault service log:
    1. Connect to the server with the platform via SSH.
    2. Run the command:

      docker logs -f dci_license_1 | grep vault