Abra auto suggests app names that break deployment #152

Closed
opened 2021-04-19 11:37:28 +00:00 by roxxers · 3 comments
Owner
❯ abra app new --server $DOMAIN --domain traefik.$DOMAIN traefik
WARNING: No version specified, dangerously using latest git 😨
WARNING: No version specified, dangerously using latest git 😨
App name [traefik_traefik_backup_testing_autonomic_zone]:
Your new 'traefik' has been created!
  Please customise the configuration defaults:
    abra app traefik_traefik_backup_testing_autonomic_zone config
  Then you can deploy it:
    abra app traefik_traefik_backup_testing_autonomic_zone deploy
work/autonomic/coopcloud took 2s
❯ abra app traefik_traefik_backup_testing_autonomic_zone deploy
/home/roxie/.local/bin/abra: line 1295: RECIPE_VERSIONS: bad array subscript
WARNING: No version specified, dangerously using latest git 😨
Deployment overview:
  Server: backup-testing.autonomic.zone
  Compose: /home/roxie/.abra/apps/traefik/compose.yml
  Domain: traefik.backup-testing.autonomic.zone
  Stack: traefik_traefik_backup_testing_autonomic_zone
  Versions:
    traefik_traefik_backup_testing_autonomic_zone_app (traefik):
      undeployed!
Continue? (y/[n])? y
Creating config traefik_traefik_backup_testing_autonomic_zone_traefik_yml_v5
Creating config traefik_traefik_backup_testing_autonomic_zone_file_provider_yml_v1
failed to create config traefik_traefik_backup_testing_autonomic_zone_file_provider_yml_v1: Error response from daemon: rpc error: code = InvalidArgument desc = invalid name, only 64 [a-zA-Z0-9-_.] characters allowed, and the start and end character must be [a-zA-Z0-9]
ERROR: Oh no! Something went wrong 😕 Check errors above

checking if the suggested name will be rejected by docker on the remote machine when we move into beta would be 👌. Truncate it and all that :3

``` ❯ abra app new --server $DOMAIN --domain traefik.$DOMAIN traefik WARNING: No version specified, dangerously using latest git 😨 WARNING: No version specified, dangerously using latest git 😨 App name [traefik_traefik_backup_testing_autonomic_zone]: Your new 'traefik' has been created! Please customise the configuration defaults: abra app traefik_traefik_backup_testing_autonomic_zone config Then you can deploy it: abra app traefik_traefik_backup_testing_autonomic_zone deploy work/autonomic/coopcloud took 2s ❯ abra app traefik_traefik_backup_testing_autonomic_zone deploy /home/roxie/.local/bin/abra: line 1295: RECIPE_VERSIONS: bad array subscript WARNING: No version specified, dangerously using latest git 😨 Deployment overview: Server: backup-testing.autonomic.zone Compose: /home/roxie/.abra/apps/traefik/compose.yml Domain: traefik.backup-testing.autonomic.zone Stack: traefik_traefik_backup_testing_autonomic_zone Versions: traefik_traefik_backup_testing_autonomic_zone_app (traefik): undeployed! Continue? (y/[n])? y Creating config traefik_traefik_backup_testing_autonomic_zone_traefik_yml_v5 Creating config traefik_traefik_backup_testing_autonomic_zone_file_provider_yml_v1 failed to create config traefik_traefik_backup_testing_autonomic_zone_file_provider_yml_v1: Error response from daemon: rpc error: code = InvalidArgument desc = invalid name, only 64 [a-zA-Z0-9-_.] characters allowed, and the start and end character must be [a-zA-Z0-9] ERROR: Oh no! Something went wrong 😕 Check errors above ``` checking if the suggested name will be rejected by docker on the remote machine when we move into beta would be 👌. Truncate it and all that :3
Owner

Thanks!

First port of call: #83

Thanks! First port of call: https://git.autonomic.zone/coop-cloud/abra/issues/83
decentral1se added the
bug
label 2021-04-19 11:41:52 +00:00
decentral1se added this to the Beta release milestone 2021-04-19 11:41:55 +00:00
Owner

This should be fixed by 8cb6617a0f?

This should be fixed by https://git.autonomic.zone/coop-cloud/abra/commit/8cb6617a0f96ffed497b0e97571da2386f9c050c?
Owner
https://git.autonomic.zone/coop-cloud/abra/src/commit/d9ff48b55bf34f098cd59e07cd57d4e678edea31/abra#L1194
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#152
No description provided.