Checking the state of Canonical's Charmed Distribution of OSM


#1

Once the installation steps have been executed the status of the deployment and the general status can be checked with the following command:

juju status

and for the same command updating every 2 seconds

watch -c juju status --color

For checking logs of any of the applications (in this example for nbi) the following command is used:

kubectl -n osm logs nbi-k8s-0

There are always 2 pods for each application, one with operator in the name and one without it, the one without is the real application.

For checking the logs of juju the following command can be executed:

juju debug-log --replay

Screenshot of juju status command of a fully deployed distribution: