ewcloud/ewccli

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

Offen

#68 geöffnet am 10.02.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (4 Forks)auto 404
buggood first issue

Repository-Metriken

Stars
 (3 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide