ewcloud/ewccli

[BUG] the cli configuration mismatch should not consider the order of the inputs provided

开放

#68 创建于 2026年2月10日

 (0 条评论) (0 个反应) (0 位负责人)Python (4 个派生)auto 404
buggood first issue

仓库指标

星标
 (3 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Affected Command

ewc hub deploy

Describe the issue

the cli configuration mismatch should not consider the order of the inputs provided

Steps to Reproduce

ewc hub --path-to-catalog /home/aerdmann/custom_catalogue.yml deploy ewc-xcube-viewer --image-name Ubuntu-24.04-20251007115108 --security-groups ssh --security-groups http-https-only --security-groups 8080 --item-inputs tenancy_name="internal-eumetsat-dataprocessing" --item-inputs federee="EUMETSAT"
[02/10/26 13:24:11] INFO     Using `default` profile.                                                                                                                                                           
                    INFO     The item will be deployed on EUMETSAT side of the EWC.                                                                                                                             
You selected ewc-xcube-viewer item from the EWC Community Hub.
                    INFO     📦 Classified source '/home/aerdmann/ewc-ansible-role-xcubeviewer' as: directory                                                                                                   
                    INFO     The item ewc-xcube-viewer uses Ansible Playbook techonology.                                                                                                                       
[02/10/26 13:24:11] INFO     Preparing to deploy server ewc-xcube-viewer...                                                                                                                                     
             ❌ Configuration mismatch with existing server              
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Parameter       ┃ Existing Value           ┃ Requested Value          ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Security Groups │ http-https-only,8080,ssh │ ssh,http-https-only,8080 │
└─────────────────┴──────────────────────────┴──────────────────────────┘
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ The server 'ewc-xcube-viewer' already exists with different configuration. Use a different --server-name or use --force to redeploy.                                                                         │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Expected Behavior

No response

Logs or Output

Environment

Linux

EWC CLI Version

0.2.1

贡献者指南