Closed psdally closed 2 years ago
In doing further research, it appears that a possible explanation may be that the Pods need to be annotated before IBM License Service will process them?
Similar to the process described here? https://www.ibm.com/docs/en/app-connect/12.0?topic=lr-installing-license-service-adding-annotations-app-connect-enterprise-containers or https://www.ibm.com/docs/en/app-connect/containers_cd?topic=SSTTDS_contcd/com.ibm.ace.icp.doc/certc_install_licenseannotationsaceserver.html
If this is correct, it would be ideal if this was documented more prominently... as well as potentially providing some instructions on how to determine the productname, productid for a particular product.
Do we need to open a support case for that product to get this information?
I've confirmed that the annotations are required, and successfully validated this by adding the following annotations to a sample Pod:
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
name: my-deployment
namespace: dev-demo-debugnetworkpolicy-ns
spec:
template:
metadata:
annotations:
cloudpakId: 6358611af04743f99f42dadcd6e39d52
cloudpakName: IBM WebSphere Hybrid Edition
productChargedContainers: All
productCloudpakRatio: "4:1"
productID: e7daacc46bbe4e2dacd2af49145a4723
productMetric: VIRTUAL_PROCESSOR_CORE
productName: IBM WebSphere Application Server
labels:
app.kubernetes.io/name: my-deployment
spec:
containers:
<snip>
Hi, can you please clarify which IBM product needs to be tracked for license usage? It it expected that IBM products are shipped with the required annotations along with the documentation. I would recommend opening a Support Case in the specific IBM product which is missing annotations or instructions. Thank you.
When using IBM License Service 1.16.3 installed as per https://www.ibm.com/docs/en/cpfs?topic=software-offline-installation, no products appear to be found after multiple data imports.
IBM Software is running in containers on this cluster, however. IBM License Metric Tool agents that are running on the worker Nodes of this cluster are finding that software.
The logs from the service instance Pod look like this:
Accessing the status endpoint through an ingress shows the status page, but products, bundled products, nodes and pods are all empty. Downloading a report works, but the contents of the zip file appear to mostly be empty other than the header rows.