https://rancher.com/ logo
Title
b

brash-machine-34636

10/19/2022, 2:30 AM
After building the rancher image from the source code, when I run the docker image and tried to create a RKE2/K3s cluster, I got the following error “No version info found in KDM”, Any reference to the solution, or why I get this error. Anyone can help me please ?
c

creamy-pencil-82913

10/19/2022, 3:13 AM
You need to set a valid semver tag when building, otherwise it doesn’t know what Rancher version to look up from KDM. It’s just got some anonyous commit ID.
b

brash-machine-34636

10/19/2022, 1:26 PM
Hi @creamy-pencil-82913, thanks for responding, what are all the valid tags and how to setup before running the make command, I do run a simple make to build the code, what are the different ways I can run make to build particular version ?
c

creamy-pencil-82913

10/19/2022, 4:19 PM
It should be a version? Like, in the same format a release would be tagged?
Have you tried something like:
DRONE_TAG=v2.7.1-dev make build
b

brash-machine-34636

10/20/2022, 10:12 PM
DRONE_TAG=v2.6.9 make, worked for me
can you please guide me whats the write way/sequence to build the docker image, and how to skip all the test cases to run for every build
DRONE_TAG=v2.7.1-dev make build
It didn’t make the docker image, and with “DRONE_TAG=v2.7.1 make,” the agent never connected to the cluster on this image
I am sorry to bother you again, any link which can help me to learn more on this ?
c

creamy-pencil-82913

10/21/2022, 9:09 PM
the image comes from
package
I think?
b

brash-machine-34636

10/24/2022, 2:08 PM
yes, thanks, I figured it, I think the rancher agents are not yet available for 2.7.1 for x64 platform, so it was failing to download the agents.