Skip to content

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

Description

@pacospace

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions