Skip to content

libcloud plugin: storage provider config#1174

Closed
mat1010 wants to merge 1 commit intobareos:bareos-21from
mat1010:libcloud-storage-provider-config
Closed

libcloud plugin: storage provider config#1174
mat1010 wants to merge 1 commit intobareos:bareos-21from
mat1010:libcloud-storage-provider-config

Conversation

@mat1010
Copy link
Contributor

@mat1010 mat1010 commented Apr 27, 2022

Right now S3 is hardcoded within the provider type
for the apache libcloud plugin. Any other value, in
the config_file parameter for "provider" will not
be respected.

With this change the option will be actually used.

We were able to successfully test this change with S3 and S3_RGW providers.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
  • If backport: add original PR number and target branch at top of this file: Backport of PR#000 to bareos-2x
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing
Tests
  • Decision taken that a test is required (if not, then remove this paragraph)
  • The choice of the type of test (unit test or systemtest) is reasonable
  • Testname matches exactly what is being tested
  • On a fail, output of the test leads quickly to the origin of the fault

Right now S3 is hardcoded within the provider type
for the apache libcloud plugin. Any other value, in
the config_file parameter for "provider" will not
be respected.

With this change the option will be actually used.
@mat1010 mat1010 changed the title libcloud plugin: libcloud storage provider config libcloud plugin: storage provider config Apr 27, 2022
@bruno-at-bareos bruno-at-bareos requested a review from arogge April 28, 2022 09:59
@arogge
Copy link
Member

arogge commented Jun 21, 2022

Sorry for the really long wait. I assume you have tested this and it worked for you?

@mat1010
Copy link
Contributor Author

mat1010 commented Jun 21, 2022

Thank you. Yes, we are using it on our production system. No issues so far.

@arogge
Copy link
Member

arogge commented Jul 1, 2022

Just in case you wondered why we didn't merge the PR yet. It is missing documentation and a changelog record. I will gladly add both once I return from vacation (around July 18th), but unless somebody else is willing to take care of this, it will continue to wait for now.

@pstorz pstorz changed the base branch from bareos-21 to master August 11, 2022 10:02
@pstorz pstorz changed the base branch from master to bareos-21 August 11, 2022 10:02
@pstorz pstorz assigned bruno-at-bareos and unassigned arogge Aug 11, 2022
@pstorz
Copy link
Member

pstorz commented Aug 16, 2022

Hello,

thank you again for your contribution. As we usually only merge new fetures into the master branch, I created a new PR #1226 containing your changes based on master and which will be merged today.
I have added your Name to the AUTHORS file.
Thank you again for your contribution,

best regards,

Philipp

@pstorz pstorz closed this Aug 16, 2022
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

Successfully merging this pull request may close these issues.

4 participants