Comment 5 for bug 2064309

Revision history for this message
Adam Dyess (addyess) wrote :

https://solutions.qa.canonical.com/testruns/da629ee9-0528-4dfe-9e8f-59fe8bf3e538

aight, on this run -- i notice that the charm is failing to get the `ceph fsid` on the ceph-csi units. (same as the kubernetes-control-plane units)

* the charm apt installs the ceph tools
* configures the ceph client using connection details from the ceph-mon units
* runs ceph cli commands on that unit

i see reports in the charm

```
2024-06-25 00:26:51 ERROR unit.ceph-csi/1.juju-log server.go:325 get_ceph_fsid: Failed to get CephFS ID, reporting as empty string
```

which comes from the charm code:
```python
    def get_ceph_fsid(self) -> str:
        """Get the Ceph FSID (cluster ID)"""
        try:
            return self.ceph_cli("fsid").strip()
        except subprocess.SubprocessError:
            logger.error("get_ceph_fsid: Failed to get CephFS ID, reporting as empty string")
            return ""
```

i guess i need more details since either ceph-mon isn't providing the correct connection details, or the cli tools cannot reach the ceph-mon hosts