@@ -55,7 +55,7 @@ const (
5555 defaultWaitTime = 1 * time .Minute
5656 testProjectName = "test"
5757 testDomainName = "cc3test"
58- testImageName = "cirros-d240801- kvm"
58+ testImageName = "cirros-kvm"
5959 testPrefixName = "ohooc-"
6060 testVolumeType = "kvm-pilot"
6161 OnboardingControllerName = "onboarding"
@@ -236,7 +236,7 @@ func (r *OnboardingController) smokeTest(ctx context.Context, hv *kvmv1.Hypervis
236236 zone := hv .Labels [corev1 .LabelTopologyZone ]
237237 server , err := r .createOrGetTestServer (ctx , zone , host , hv .UID )
238238 if err != nil {
239- return ctrl.Result {}, fmt .Errorf ("failed to create or get test instance %w" , err )
239+ return ctrl.Result {}, fmt .Errorf ("failed to create or get test instance: %w" , err )
240240 }
241241
242242 switch server .Status {
@@ -504,7 +504,7 @@ func (r *OnboardingController) createOrGetTestServer(ctx context.Context, zone,
504504
505505 imageRef , err := r .findTestImage (ctx )
506506 if err != nil {
507- return nil , fmt .Errorf ("could not list networks due to %w" , err )
507+ return nil , fmt .Errorf ("could not list networks: %w" , err )
508508 }
509509
510510 networkRef , err := r .findTestNetwork (ctx )
@@ -580,7 +580,7 @@ func (r *OnboardingController) findTestImage(ctx context.Context) (string, error
580580 }
581581 }
582582
583- return "" , errors . New ("couldn't find image" )
583+ return "" , fmt . Errorf ("couldn't find image with name %v" , testImageName )
584584}
585585
586586func (r * OnboardingController ) findTestFlavor (ctx context.Context ) (string , error ) {
0 commit comments