kubernetes / cloud-provider-openstack

Apache License 2.0
599 stars 597 forks source link

openstack-cloud-controller-manager-binary does not show the correct release in OKD/OCP4.12+ #2623

Open jonasbartho opened 2 days ago

jonasbartho commented 2 days ago

Is this a BUG REPORT or FEATURE REQUEST?: /kind bug

What happened: The openstack-cloud-controller-manager binary in OKD 4.12(=free version of Openshift) does not show the correct git-release that is being used.

# openstack-cloud-controller-manager --version Kubernetes v0.0.0-master+$Format:%H$

What you expected to happen: Since openstack-cloud-controller-manager is the out-of-tree provider of Openstack by default in OKD/OCP4.12+, it would be nice to see which version it is using. I for example want to use new functionality from release-1.30, but it looks like it is not available yet. Is there any other way to check which release I am on?

Environment:

jonasbartho commented 1 day ago

I found the following command that gives sort-of a hunch which version currently is being used:

$ oc adm release info --commit-urls |grep -i openstack-cloud
  openstack-cloud-controller-manager             https://github.com/openshift/cloud-provider-openstack/commit/e1a9f48173b0056dc96b62ef6b141ccc1838cebc