Skip to content

Remove MariaDB support - #1710

Open
migiFi wants to merge 1 commit into
metal3-io:mainfrom
Nordix:remove-mariadb-support
Open

Remove MariaDB support#1710
migiFi wants to merge 1 commit into
metal3-io:mainfrom
Nordix:remove-mariadb-support

Conversation

@migiFi

@migiFi migiFi commented Jul 31, 2026

Copy link
Copy Markdown
Member

This removes the IRONIC_USE_MARIADB option that let the dev-env deploy Ironic with a MariaDB backend.

It drops the -m flag passed to the BMO deploy script, the IRONIC_USE_MARIADB entry written into the Ironic configmap, and the IronicDatabase resource created on the IRSO path, together with the matching test variable and the documentation row in vars.md.

NOTE:The related MariaDB image-build variables and TLS certificate setup are removed separately in #1698. In addition, a follow-up BMO PR removes the -m flag and the kustomize component, it depends on this merging first.

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 31, 2026
@migiFi

migiFi commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

/test all

@migiFi

migiFi commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

/test shellcheck

@migiFi

migiFi commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-integration-test-release-1-13
/test metal3-dev-env-integration-test-ubuntu-main

@migiFi

migiFi commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-integration-test-release-1-13

@Sunnatillo Sunnatillo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 10, 2026
@migiFi
migiFi force-pushed the remove-mariadb-support branch from 81d2c08 to 4caba74 Compare August 12, 2026 06:15
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 12, 2026
@metal3-io-bot

Copy link
Copy Markdown
Collaborator

New changes are detected. LGTM label has been removed.

@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 12, 2026
@migiFi
migiFi force-pushed the remove-mariadb-support branch from 4caba74 to ffebc4d Compare August 12, 2026 06:35
@migiFi

migiFi commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-integration-test-release-1-13
/test metal3-dev-env-integration-test-ubuntu-main

@kashifest kashifest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@metal3-io-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2026
@tuminoid

Copy link
Copy Markdown
Member

/copilot-review

@metal3-io-bot
metal3-io-bot requested a balanced review from Copilot August 14, 2026 06:49
@metal3-io-bot

Copy link
Copy Markdown
Collaborator

Copilot code review has been requested by @tuminoid. Please allow a few moments for the review to be added.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes runtime MariaDB support from Ironic deployment paths.

Changes:

  • Removes MariaDB flags, configuration, and IRSO resources.
  • Removes the MariaDB test variable and documentation.
  • Adds unrelated basic-auth argument handling.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
03_launch_mgmt_cluster.sh Removes MariaDB deployment logic and adds basic-auth handling.
tests/roles/run_tests/vars/main.yml Replaces MariaDB test arguments with basic-auth arguments.
vars.md Removes the MariaDB option and adds inspector-password documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread 03_launch_mgmt_cluster.sh Outdated
Comment on lines +28 to +29
if [[ "${IRONIC_BASIC_AUTH:-true}" = "false" ]]; then
BMO_IRONIC_ARGS+=("-n")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, please don't reintroduce the option to not have basic auth.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree too, I missed this, lets not add un-related setting here
/hold

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you both, I dropped the IRONIC_BASIC_PATH handling and the unrelated basic-auth arg/doc changes.

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2026
This removes the IRONIC_USE_MARIADB option that let the dev-env deploy Ironic
with a MariaDB backend.

It drops the -m flag passed to the BMO deploy script, the IRONIC_USE_MARIADB
entry written into the Ironic configmap, and the IronicDatabase resource created
on the IRSO path, together with the matching test variable and the documentation
rows in vars.md.

**NOTE**:The related MariaDB image-build variables and TLS certificate
setup are removed separately in metal3-io#1698.

Signed-off-by: Migi Jylhä <migi.jylha@est.tech>
@migiFi
migiFi force-pushed the remove-mariadb-support branch from ffebc4d to 2ba50d7 Compare August 14, 2026 09:12
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 14, 2026
@migiFi

migiFi commented Aug 14, 2026

Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-integration-test-release-1-13
/test metal3-dev-env-integration-test-ubuntu-main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants