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

[BUG] ckan 2.11 required options read by plugin OK but logged by ckan as option not declared #18

Open
brooks-eco opened this issue Sep 28, 2024 · 0 comments

Comments

@brooks-eco
Copy link

brooks-eco commented Sep 28, 2024

Describe the bug
Logs say required options are not declared. Seems to be a logging issue only - the plugin can reach the s3 bucket.

ckan.ini has the setting configured (in the {app:main] section where all other plugin options are set)

## chanext-s3filestore settings
ckanext.s3filestore.aws_bucket_name = xxxxxxxxxxxxx
ckanext.s3filestore.region_name= yyyyyyyyyyy
ckanext.s3filestore.signature_version = s3v4
ckanext.s3filestore.aws_use_ami_role = true

web server was cycled

error logs report options not declared however the plug is reading the options OK

2024-09-28 01:45:40,102 WARNI [ckan.common] Option ckanext.s3filestore.aws_bucket_name is not declared
2024-09-28 01:45:40,102 WARNI [ckan.common] Option ckanext.s3filestore.aws_access_key_id is not declared
2024-09-28 01:45:40,102 WARNI [ckan.common] Option ckanext.s3filestore.aws_secret_access_key is not declared
2024-09-28 01:45:40,102 WARNI [ckan.common] Option ckanext.s3filestore.region_name is not declared
2024-09-28 01:45:40,102 WARNI [ckan.common] Option ckanext.s3filestore.signature_version is not declared

ckanext-s3filestore version affected
v1.0.1 (installed to ckan 2.11 using source install pip install -e git+https://github.com/keitaroinc/[email protected]#egg=ckanext-s3filestore

side note: following the instructions to pip install ckanext-s3filestore gave me an old version v0.0.3 (note - time for a new release?)

Expected behaviour
options are read by plugin so would not expect the logs to say "not declared"

Logs
as above..

@brooks-eco brooks-eco changed the title [BUG] ckan 2.11 required options not read from ckan.ini [BUG] ckan 2.11 required options read by plugin OK but logged by ckan as option not declared Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant