Ceph: Version Information is missing from JSON response to the HTTP request on the endpoint /api/host, Ceph Dashboard API.
Issue
- The ceph_version attribute in the API endpoint /api/host returns an empty string instead of a valid ceph version number.
- The ceph version was previously present and valid in version 5.x.
- Using curl command to get the API response returns a response with ceph_version fields as: "ceph_version": ""
- An expected response from the API would contain something similar to: "ceph_version": "ceph version 16.2.10-248.el8cp (0edb63afd9bd3edb333364f2e0031b77e62f4896) pacific (stable)"
Environment
- Red Hat Ceph Storage 6
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.