Skip to content

MemoryQuantity parsing fails when unit is missing #61

Open
stackabletech/operator-rs
#936
@sbernauer

Description

@sbernauer

Discussed in https://github.com/orgs/stackabletech/discussions/60

Originally posted by aka-peter December 6, 2024
Hi,

I am trying to install a demo on a local cluster and get the following problem. Is there any workaround for this?

$ stackablectl demo install -n stackable trino-iceberg
An unrecoverable error occured: demo command error

Caused by these errors (recent errors listed first):
 1: failed to install demo "trino-iceberg"
 2: demo resource requests error
 3: failed to retrieve cluster info
 4: failed to retrieve cluster information
 5: failed to parse node memory quantity
 6: no quantity unit provided for "60678781647"

Output from kubectl describe nodes:

Capacity:
  cpu:                16
  ephemeral-storage:  262860324Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             65840692Ki
  pods:               64
Allocatable:
  cpu:                16
  ephemeral-storage:  242252074198
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             60678781647
  pods:               64

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions