Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AWS_S3 service validation #162

Closed
wmudge opened this issue Nov 10, 2023 Discussed in #156 · 2 comments · Fixed by #161
Closed

Update AWS_S3 service validation #162

wmudge opened this issue Nov 10, 2023 Discussed in #156 · 2 comments · Fixed by #161
Assignees
Labels
bug Something isn't working
Milestone

Comments

@wmudge
Copy link
Member

wmudge commented Nov 10, 2023

Discussed in #156

Originally posted by hadoopch November 3, 2023
Hi all,

AWS_S3 is different than the other services. You don't assign it to any host.
Furthermore you don't have instance related scope of configuration (SERVICEWIDE, SERVER, ...). Therefore it is not clear how to define it in the definition.yml.

Verify will not accept a defintion without a host template.
I tried it via --skip-tags verify. Service was added but the configuration was not applied.

    configs:
      AWS_S3:
          cloud_account: obsbackup
          s3_endpoint: "obs.mydomain.com"
          AWS_S3_service_env_safety_valve: "path_style_access=true\nsigning_algorithm=S3SignerType\nconnection_ssl_enabled=false\nmultiobjectdelete_enable=true\nfast_upload=true\nendpoint_region=eu-ch2"
      INFRA_SOLR:
        SOLR_SERVER:
          solr_hdfs_blockcache_slab_count: 93
          process_auto_restart: true
          solr_java_heapsize: "{{12*1024**3}}"
          solr_java_direct_memory_size: "{{16*1024**3}}"

Who can support ?

Best regards

Uli

@wmudge wmudge added the bug Something isn't working label Nov 10, 2023
@wmudge wmudge added this to the Release 4.2.0 milestone Nov 10, 2023
@wmudge wmudge self-assigned this Nov 10, 2023
@wmudge wmudge linked a pull request Nov 10, 2023 that will close this issue
@wmudge
Copy link
Member Author

wmudge commented Nov 20, 2023

Fixed in #161

@wmudge wmudge closed this as completed Nov 20, 2023
@hadoopch
Copy link

It's working

   configs:
      AWS_S3:
        SERVICEWIDE:
          cloud_account: obsbackup
          s3_endpoint:  "obs.{{ep_suffix}}"

you don't have to use it in the host_templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants