For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Migration guide from Cennso Agent-based CMC installation to CMC Extension 1.2

With Cennso 2.10.0, Cennso Management Console (CMC) uses Grafana based on a Cennso extension instead of plain Management Console Crossplane composition. A migration procedure is required to keep the existing configuration, such as authentication SSO settings, users, or manually created dashboards.

Note

Before upgrading Cennso Management Console, upgrade Management Cluster to Cennso 2.10.0 and make sure that the cmc-1.2.2 Cennso package is installed on your cluster. If you cannot find it, contact Cennso maintainers.

bash

Migration steps

  1. Get the name of the Management Console Helm release, Grafana's Deployment, and Grafana's PVC:

    bash
  2. Copy the administrator credentials and Grafana Service Account token for use in the next steps:

    bash
  3. To ensure data integrity, shut down your Grafana instance before backing up the SQLite database by scaling down Deployment replicas to 0 in the Management Console composition instance:

    bash
  4. Create a temporary pod to retrieve data from Grafana's PVC:

    bash
  5. Copy the Grafana database file to your host machine using the pod's name from the previous step:

    bash
  6. Edit database permissions:

    bash
  7. Remove the temporary pod:

    bash
  8. Using the scriptOpens a file, create a ClusterInstallation resource to apply in the next steps:

  9. Delete the old Management Console instance to clean up old managed resources:

    bash
  10. Wait until all resources of the old Management Console instance are removed:

    bash

    If you didn't receive any data, the old Management Console should be removed.

  11. Create a new CMC instance using the previously created ClusterInstallation resource:

    bash
  12. Wait for the new Grafana's PVC readiness:

    bash
  13. Scale the CMC instance to 0 replicas:

    bash
  14. Edit the newly created secrets using the old values saved in step 2:

    bash

    If the secret cmc-grafana-operator-token has already been created, replace its token:

    bash

    If you see it, then:

    bash
  15. Attach the new PVC to the temporary pod:

    bash
  16. Using the pod's name from the previous step, copy the Grafana database file into the new volume:

    bash
  17. Remove the temporary pod:

    bash
  18. Scale the CMC instance to 1 replica:

    bash
  19. Wait for the CMC's Pod readiness:

    bash

    If Pod has a Ready status, you can access the CMC instance at the same address as before.

  20. Remove unccessary files:

    bash
  21. Remove the leftover resources coming from the old Management Console composition:

    bash

    Note

    Because some resources may no longer exist, an error may occur during removal.