stackabletech / stackabletech/stackablectl

Demo installation ignores --release-file

Open
#359 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Rust
Stars
10
Forks
5
Avg merge
4h 41m
Merged PRs (30d)
4

Description

Affected version

probably all

Current and expected behavior

I expected the dev ops to be installed. Instead the 24.11.1 is installed

demos on  chore/1016 [!?] took 49s
❯ stackablectl demo install --release-file release.yaml --demo-file ./demos/demos-v2.yaml spark-k8s-anomaly-detection-taxi-data
                                                                                                                                                                          
Installed demo 'spark-k8s-anomaly-detection-taxi-data'
                                                                                                                                                                          
Use "stackablectl operator installed" to display the installed operators.
Use "stackablectl stacklet list" to display the installed stacklets.
                                                                                                                                                                          
demos on  chore/1016 [!?] took 2m23s
❯ stackablectl operator installed
                                                                                                                                                                          
┌────────────────────┬─────────┬─────────────────────┬──────────┬─────────────────────────────────────────┐
│ OPERATOR           ┆ VERSION ┆ NAMESPACE           ┆ STATUS   ┆ LAST UPDATED                            │
╞════════════════════╪═════════╪═════════════════════╪══════════╪═════════════════════════════════════════╡
│ commons-operator   ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.745005403 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ hive-operator      ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.498200135 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ listener-operator  ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.745074259 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ opa-operator       ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.623036398 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ secret-operator    ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.498433002 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ spark-k8s-operator ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:06.787777556 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ superset-operator  ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.743586897 +0200 EET │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ trino-operator     ┆ 24.11.1 ┆ stackable-operators ┆ deployed ┆ 2025-03-12 13:54:04.810258921 +0200 EET │
└────────────────────┴─────────┴─────────────────────┴──────────┴─────────────────────────────────────────┘
                                                                                                                                                                          
Use "stackablectl operator install [OPTIONS] <OPERATORS>..." to install one or more additional operators.
Use "stackablectl operator uninstall [OPTIONS] <OPERATORS>..." to uninstall one or more operators.
                                                                                                                                                                          
demos on  chore/1016 [!?]
❯ cat release.yaml
# Contains all operators required to run the test suite.
---
releases:
  # Do not change the name of the release as it's referenced from run-tests
  demos:
    releaseDate: 1970-01-01
    description: Integration test
    products:
      commons:
        operatorVersion: 0.0.0-dev
      secret:
        operatorVersion: 0.0.0-dev
      listener:
        operatorVersion: 0.0.0-dev
      zookeeper:
        operatorVersion: 0.0.0-dev
      hdfs:
        operatorVersion: 0.0.0-dev
      hbase:
        operatorVersion: 0.0.0-dev
      spark-k8s:
        operatorVersion: 0.0.0-dev
      hive:
        operatorVersion: 0.0.0-dev
      trino:
        operatorVersion: 0.0.0-dev
      opa:
        operatorVersion: 0.0.0-dev
      superset:
        operatorVersion: 0.0.0-dev
      spark-k8s:
        operatorVersion: 0.0.0-dev
                                                                                                                                                                          
demos on  chore/1016 [!?]
❯

Possible solution

No response

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the stackablectl demo install command and trace how --release-file release.yaml is handled alongside --demo-file ./demos/demos-v2.yaml. Done means the demo installation honors the supplied 0.0.0-dev operator versions instead of installing 24.11.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.