Setup orchent

orchent is a command line tool to ease the interaction with the PaaS Orchestrator.

Admin and user guides are available here

Verify installation

1
orchent --version

Configuration

orchent needs to use a valid (IAM) access token to authorize itself against the orchestrator. For this purpose, orchent is integrated with oidc-agent so that you don't need to provide the token each time. You need to configure the following environment variable in your .bashrc:

1
export ORCHENT_AGENT_ACCOUNT=dodas

Moreover, you need to configure the Orchestrator URL you want to connect to:

1
export ORCHENT_URL=https://dodas-paas.cloud.ba.infn.it/orchestrator

Then load the environment again:

1
source ~/.bashrc

Test it!

Verify that everything is working fine as follows

  • orchent has a simple way to test if the url points to an orchestrator:

    orchent test

    The expected output is looks like the orchent url is valid.

  • list your deployments:

    orchent depls -c me

    The expected output will show your deployment list (that can be empty of course: retrieving deployment list:)