File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -867,13 +867,15 @@ func (r *KeystoneAPIReconciler) reconcileNormal(
867867 if err != nil {
868868 if k8s_errors .IsNotFound (err ) {
869869 // Memcached should be automatically created by the encompassing OpenStackControlPlane,
870- // so if it is missing at this point, we treat it as an info (because the user is not
871- // responsible for manually creating it).
870+ // but we don't propagate its name into the "memcachedInstance" field of other sub-resources,
871+ // so if it is missing at this point, it *could* be because there's a mismatch between the
872+ // name of the Memcached CR and the name of the Memcached instance referenced by this CR.
873+ // Since that situation would block further reconciliation, we treat it as a warning.
872874 Log .Info (fmt .Sprintf ("memcached %s not found" , instance .Spec .MemcachedInstance ))
873875 instance .Status .Conditions .Set (condition .FalseCondition (
874876 condition .MemcachedReadyCondition ,
875- condition .RequestedReason ,
876- condition .SeverityInfo ,
877+ condition .ErrorReason ,
878+ condition .SeverityWarning ,
877879 condition .MemcachedReadyWaitingMessage ))
878880 return ctrl.Result {RequeueAfter : 10 * time .Second }, nil
879881 }
You can’t perform that action at this time.
0 commit comments