[BUG] orioledb cluster create error error calling gt: incompatible types for comparison
Describe the bug A clear and concise description of what the bug is. Warning Warning 14m (x17 over 35m) component-controller template: orioledb-configuration:179:15: executing "orioledb-configuration" at <gt $data_disk_size 0>: error calling gt: incompatible types for comparison
➜ ~ kbcli version
Kubernetes: v1.30.4-vke.4
KubeBlocks: 1.0.0-beta.43
kbcli: 1.0.0-beta.20
To Reproduce Steps to reproduce the behavior:
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: orioledb-emqoxh
namespace: ns-xahxe
spec:
clusterDef: orioledb
topology: orioledb
terminationPolicy: Delete
componentSpecs:
- name: orioledb
serviceVersion: 16.4.0
disableExporter: true
replicas: 2
resources:
requests:
cpu: 100m
memory: 0.5Gi
limits:
cpu: 100m
memory: 0.5Gi
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
kubectl describe component orioledb-emqoxh-orioledb --namespace ns-xahxe
Name: orioledb-emqoxh-orioledb
Namespace: ns-xahxe
Labels: app.kubernetes.io/component=orioledb-1.0.0-alpha.0
app.kubernetes.io/instance=orioledb-emqoxh
app.kubernetes.io/managed-by=kubeblocks
apps.kubeblocks.io/component-name=orioledb
componentdefinition.kubeblocks.io/name=orioledb-1.0.0-alpha.0
Annotations: apps.kubeblocks.io/cluster-uid: 87ae75c9-2d7e-4f67-9bca-5bf4ff3d723c
kubeblocks.io/crd-api-version: apps.kubeblocks.io/v1
kubeblocks.io/generation: 2
API Version: apps.kubeblocks.io/v1
Kind: Component
Metadata:
Creation Timestamp: 2025-04-17T03:20:21Z
Finalizers:
cluster.kubeblocks.io/finalizer
component.kubeblocks.io/finalizer
Generation: 1
Owner References:
API Version: apps.kubeblocks.io/v1
Block Owner Deletion: true
Controller: true
Kind: Cluster
Name: orioledb-emqoxh
UID: 87ae75c9-2d7e-4f67-9bca-5bf4ff3d723c
Resource Version: 10675
UID: 489787c4-1153-4b06-8d51-13a91148801f
Spec:
Comp Def: orioledb-1.0.0-alpha.0
Disable Exporter: true
Replicas: 2
Resources:
Limits:
Cpu: 100m
Memory: 512Mi
Requests:
Cpu: 100m
Memory: 512Mi
Service Version: 16.4.0
Termination Policy: Delete
Volume Claim Templates:
Name: data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 1Gi
Status:
Conditions:
Last Transition Time: 2025-04-17T03:20:22Z
Message: The operator has started the provisioning of Cluster: orioledb-emqoxh-orioledb
Observed Generation: 1
Reason: PreCheckSucceed
Status: True
Type: ProvisioningStarted
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Warning 14m (x17 over 35m) component-controller template: orioledb-configuration:179:15: executing "orioledb-configuration" at <gt $data_disk_size 0>: error calling gt: incompatible types for comparison
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
- Possibly caused by this PR https://github.com/apecloud/kubeblocks-addons/pull/1583/files
- check fix by https://github.com/apecloud/kubeblocks-addons/pull/1595
fixed at https://github.com/apecloud/kubeblocks-addons/pull/1687/files