Open venkataanil opened 3 weeks ago
$ oc patch configs.imageregistry.operator.openshift.io cluster --type merge --patch '{"spec":{"managementState":"Managed"}}'
$ oc patch configs.imageregistry.operator.openshift.io cluster --type merge --patch '{"spec":{"storage":{"emptyDir":{}}}}'
should get the registry up and running, if not ping me on slack.
We tried that and we could see 2 builds succesful and 3 failed for 5 iterations run as explained in bug description.
We tried that and we could see 2 builds succesful and 3 failed for 5 iterations run as explained in bug description.
ah, i see it in the updated description now.
Looking more, do we have a must-gather or some logs?
We tried that and we could see 2 builds succesful and 3 failed for 5 iterations run as explained in bug description.
I also worry that we clearly state this image registry setup is for non-production testing. See - https://docs.openshift.com/container-platform/4.15/registry/configuring_registry_storage/configuring-registry-storage-baremetal.html#installation-registry-storage-non-production_configuring-registry-storage-baremetal
So, it could simply be due to us overwhelming the registry, but we should investigate more.
I've ran into this before. A bare metal install doesn't create the registry by default. EmptyDir is sufficient, we only need A registry so that the test will run.
Assuming a registry is installed is outside the scope of kube-burner-ocp. Might we add to the documentation? Or expand the 'cluster health checks' to also check for the registry?
Both the documentation and 'cluster health checks' needed as the requirement is from cdv2 which is a main workload.
Hey @venkataanil!, registry availability should be verified if you pass the --check-health
flag to the cluster-density-v2 workload
Bug Description
On OCP 4.14.19 barematal env, cluster-density-v2 is failing to create build object
NAME TYPE FROM STATUS STARTED DURATION build.build.openshift.io/cluster-density-v2-1 Docker Dockerfile New (InvalidOutputReference)
From our internal discussions 2 months ago, editing "configs.imageregistry.operator.openshift.io cluster" like below should fix the issue storage: emptyDir: {} managementState: Managed
However this didn't completely fix the issue.
We have seen 2 builds in failed state
I tried a hack of adding Iteration number to the build name i.e
name: {{.JobName}}-{{.Iteration}}-{{.Replica}}` which worked for timebeing. I could see all build objects succesfully created.
This is a temporary hack we tried on the environment to unblock our team member. We should investigate why object creation failing for images in some namespaces.
We used kube-burner-ocp version V1.2.8 during this testing.