Configurable DB Parameters: Implementation#670
Merged
lgarber-akamai merged 7 commits intolinode:proj/configurable-db-paramsfrom May 19, 2025
Merged
Conversation
76f6805 to
e706f15
Compare
1907eae to
1bba4b6
Compare
ezilber-akamai
approved these changes
May 8, 2025
Contributor
ezilber-akamai
left a comment
There was a problem hiding this comment.
Clever design with the shared config info module! Tests are passing locally and implementation looks good and aligns with the API spec.
yec-akamai
reviewed
May 15, 2025
Contributor
yec-akamai
left a comment
There was a problem hiding this comment.
When running the integration test I got this error:
TASK [database_postgresql_v2_engine_config : Assert the error message includes default_toast_compression version check] ***
fatal: [testhost]: FAILED! => {
"msg": "The conditional check 'db_result.msg is search(\"default_toast_compression\")' failed. The error was: error while evaluating conditional (db_result.msg is search(\"default_toast_compression\")): 'dict object' has no attribute 'msg'"
}
It seems the test case didn't fail as expected
Contributor
Looks like they removed Postgresql 13 from prod, staging, and alpha. I will remove this test case as it is no longer needed |
yec-akamai
approved these changes
May 16, 2025
Contributor
yec-akamai
left a comment
There was a problem hiding this comment.
Tests are all passing now, nice work 🎉
bd593d9
into
linode:proj/configurable-db-params
13 checks passed
ezilber-akamai
added a commit
that referenced
this pull request
May 22, 2025
* Configurable DB Parameters: Implementation (#670) * Add support for Configurable DB Parameters * revert instance.rst * tidy up * oops * add and update test cases * Revert branch change * remove pg13 negative test case --------- Co-authored-by: Youjung Kim <ykim@akamai.com> * Point to latest version of Python SDK * Added documentation links --------- Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> Co-authored-by: Youjung Kim <ykim@akamai.com>
vshanthe
added a commit
that referenced
this pull request
May 23, 2025
* fix the failing test in TOD for Ansible_linode (#667) * adding blank line * fix_test * Cleanup unnecessary steps in release workflow (#668) * Add DBaaS Suspend and Resume (#659) ## 📝 Description **What does this PR do and why is this change necessary?** Allows suspending and resuming a database via the status field in ansible ## ✔️ How to Test **How do I run the relevant unit/integration tests?** ```bash make test-int TEST_SUITE="database_postgresql_v2_basic" ``` ```bash make test-int TEST_SUITE="database_mysql_v2_basic" ``` * Support Object Storage Quota modules (#671) * obj quota * fix doc * remove v4beta * Update LDE Node Pool Assertion and Test env variable Handling (#673) * better test env var handling * update test assertion * add safety * update assertion * build(deps): bump slackapi/slack-github-action from 2.0.0 to 2.1.0 (#672) Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/slackapi/slack-github-action/releases) - [Commits](slackapi/slack-github-action@v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: slackapi/slack-github-action dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Project: Configurable DB Params (#678) * Configurable DB Parameters: Implementation (#670) * Add support for Configurable DB Parameters * revert instance.rst * tidy up * oops * add and update test cases * Revert branch change * remove pg13 negative test case --------- Co-authored-by: Youjung Kim <ykim@akamai.com> * Point to latest version of Python SDK * Added documentation links --------- Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> Co-authored-by: Youjung Kim <ykim@akamai.com> * Respond to parse_linode_types(...) change in instance module (#680) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com> Co-authored-by: Jacob Riddle <87780794+jriddle-linode@users.noreply.github.com> Co-authored-by: Ye Chen <127243817+yec-akamai@users.noreply.github.com> Co-authored-by: Youjung Kim <126618609+ykim-akamai@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Zilber <ezilber@akamai.com> Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> Co-authored-by: Youjung Kim <ykim@akamai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
This pull request adds support for setting the
engine_configfield using thelinode.cloud.database_mysql_v2andlinode.cloud.database_postgresql_v2modules. Additionally, users can retrieve all valid configuration parameters using the newlinode.cloud.database_config_infomodule.✔️ How to Test
The following test steps assume you have pulled down this PR locally and run
make install.Integration Testing
Manual Testing
The following test steps assume you have pointed your local shell environment at a Linode API instance that supports configurable database parameters:
You may also need to forcibly reinstall from this Ansible Collections
requirements.txtto pick up the corresponding SDK changes.linode.cloud.database_config_info
engine_configvalid fields for MySQL databases.linode.cloud.database_mysql_v2
engine_configis included in the output.linode.cloud.database_postgresql_v2
engine_configis included in the output.