@@ -344,12 +344,13 @@ func (r *AutoscalingReconciler) reconcileNormal(
344
344
memcached , err := memcachedv1 .GetMemcachedByName (ctx , helper , instance .Spec .Aodh .MemcachedInstance , instance .Namespace )
345
345
if err != nil {
346
346
if k8s_errors .IsNotFound (err ) {
347
+ Log .Info (fmt .Sprintf ("memcached %s not found" , instance .Spec .Aodh .MemcachedInstance ))
347
348
instance .Status .Conditions .Set (condition .FalseCondition (
348
349
condition .MemcachedReadyCondition ,
349
350
condition .RequestedReason ,
350
351
condition .SeverityInfo ,
351
352
condition .MemcachedReadyWaitingMessage ))
352
- return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, fmt . Errorf ( "memcached %s not found" , instance . Spec . Aodh . MemcachedInstance )
353
+ return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, nil
353
354
}
354
355
instance .Status .Conditions .Set (condition .FalseCondition (
355
356
condition .MemcachedReadyCondition ,
@@ -361,12 +362,13 @@ func (r *AutoscalingReconciler) reconcileNormal(
361
362
}
362
363
363
364
if ! memcached .IsReady () {
365
+ Log .Info (fmt .Sprintf ("memcached %s is not ready" , memcached .Name ))
364
366
instance .Status .Conditions .Set (condition .FalseCondition (
365
367
condition .MemcachedReadyCondition ,
366
368
condition .RequestedReason ,
367
369
condition .SeverityInfo ,
368
370
condition .MemcachedReadyWaitingMessage ))
369
- return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, fmt . Errorf ( "memcached %s is not ready" , memcached . Name )
371
+ return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, nil
370
372
}
371
373
// Mark the Memcached Service as Ready if we get to this point with no errors
372
374
instance .Status .Conditions .MarkTrue (
@@ -379,12 +381,13 @@ func (r *AutoscalingReconciler) reconcileNormal(
379
381
heat , err := r .getAutoscalingHeat (ctx , helper , instance )
380
382
if err != nil {
381
383
if k8s_errors .IsNotFound (err ) {
384
+ Log .Info (fmt .Sprintf ("heat %s not found" , instance .Spec .HeatInstance ))
382
385
instance .Status .Conditions .Set (condition .FalseCondition (
383
386
telemetryv1 .HeatReadyCondition ,
384
387
condition .RequestedReason ,
385
388
condition .SeverityInfo ,
386
389
telemetryv1 .HeatReadyNotFoundMessage ))
387
- return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, fmt . Errorf ( "heat %s not found" , instance . Spec . HeatInstance )
390
+ return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, nil
388
391
}
389
392
instance .Status .Conditions .Set (condition .FalseCondition (
390
393
telemetryv1 .HeatReadyCondition ,
@@ -396,12 +399,13 @@ func (r *AutoscalingReconciler) reconcileNormal(
396
399
}
397
400
398
401
if ! heat .IsReady () {
402
+ Log .Info (fmt .Sprintf ("heat %s is not ready" , heat .Name ))
399
403
instance .Status .Conditions .Set (condition .FalseCondition (
400
404
telemetryv1 .HeatReadyCondition ,
401
405
condition .RequestedReason ,
402
406
condition .SeverityInfo ,
403
407
telemetryv1 .HeatReadyUnreadyMessage ))
404
- return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, fmt . Errorf ( "heat %s is not ready" , heat . Name )
408
+ return ctrl.Result {RequeueAfter : time .Duration (10 ) * time .Second }, nil
405
409
}
406
410
// Mark the Heat Service as Ready if we get to this point with no errors
407
411
instance .Status .Conditions .MarkTrue (
0 commit comments