Demo installation ignores --release-file

オープン
#359 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
kubernetes, rust
領域
cli

調査の方向性

stackablectl demo install コマンドから開始し、--release-file release.yaml--demo-file ./demos/demos-v2.yaml と併せてどのように処理されるかを追跡してください。完了条件は、デモのインストールで 24.11.1 をインストールするのではなく、指定された 0.0.0-dev の operator バージョンが使用されることです。

索引モデルが issue の本文から書いたものです。

説明

type/bug
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

主要言語
Rust
スター
10
フォーク
5
平均マージ
4時間 41分
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/stackablectl のほかの issue

stackabletech/stackablectl の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。