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

Fix the issue that the OS is not a Stream version #259

Merged
merged 2 commits into from
May 3, 2021

Conversation

namnx228
Copy link
Member

This PR aims to solve this error: __main__.InvalidArguments: --stream provided, but OS is not the Stream version. Please ensure the host is Stream.

@namnx228
Copy link
Member Author

/assign @dtantsur
/cc @elfosardo
/test-integration

@namnx228
Copy link
Member Author

/test-integration

@dtantsur
Copy link
Member

/approve

@namnx228
Copy link
Member Author

namnx228 commented May 3, 2021

/test-integration

@dtantsur
Copy link
Member

dtantsur commented May 3, 2021

/test-integration
/approve
/lgtm

Maybe we should consider switching to Stream, but right now it's blocking the image builds.

@metal3-io-bot metal3-io-bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 3, 2021
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur, elfosardo, namnx228

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

The pull request process is described here

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

@kashifest
Copy link
Member

/test-integration

@metal3-io-bot metal3-io-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed lgtm Indicates that a PR is ready to be merged. labels May 3, 2021
@namnx228
Copy link
Member Author

namnx228 commented May 3, 2021

/test-integration

@namnx228
Copy link
Member Author

namnx228 commented May 3, 2021

/test-centos-integration

@@ -17,6 +17,7 @@ if [ ! -f "$MARIADB_CERT_FILE" ] && [ -f "$MARIADB_KEY_FILE" ] ; then
fi

ln -sf /proc/self/fd/1 /var/log/mariadb/mariadb.log
rm -f /usr/bin/mysqld_safe_helper # Avoid this script being used which results in a permission denied error.
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look like an appropriate fix. In any case, we need a much more detailed explanation here than "permission denied error".

Copy link
Member

Choose a reason for hiding this comment

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

I think what we need is correct permissions /var/log/mariadb/. You're simply removing the mysql executable.

@@ -17,6 +17,7 @@ if [ ! -f "$MARIADB_CERT_FILE" ] && [ -f "$MARIADB_KEY_FILE" ] ; then
fi

ln -sf /proc/self/fd/1 /var/log/mariadb/mariadb.log
Copy link
Member

Choose a reason for hiding this comment

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

Can we maybe use some normal approach to logging rather than this hack? https://mariadb.com/kb/en/error-log/#writing-the-error-log-to-stderr-on-unix suggests it should be possible to just log to stderr.

@dtantsur
Copy link
Member

dtantsur commented May 3, 2021

/lgtm

I'm approving this to unblock the CI, but could we please take an action items to fix the mysql issue properly as soon as possible?

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label May 3, 2021
@metal3-io-bot metal3-io-bot merged commit 631188e into metal3-io:master May 3, 2021
@namnx228
Copy link
Member Author

namnx228 commented May 4, 2021

/lgtm

I'm approving this to unblock the CI, but could we please take an action items to fix the mysql issue properly as soon as possible?

Sure, I am working on it.

elfosardo pushed a commit to elfosardo/ironic-image that referenced this pull request Mar 24, 2022
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants