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

Amazon Linux 2023 Support #430

Open
bobdoleadin opened this issue Mar 8, 2024 · 2 comments
Open

Amazon Linux 2023 Support #430

bobdoleadin opened this issue Mar 8, 2024 · 2 comments

Comments

@bobdoleadin
Copy link

Does anyone know if this storage role works with Amazon Linux 2023? It tries to install Blivet through dnf package manager and fails as it isn't a package on Amazon Linux. I have installed blivet through pip and verified it is there but the role still tries to load blivet from package and fails.

This is a Fedora and CentOS 9 based OS. We are tryiing to run this through AWX with a requirements.yml pointing to ansible galaxy (linux-system-roles.storage). I've tried using different interpreters python 3.6, 3.9, etc. Thank you.

@richm
Copy link
Contributor

richm commented Mar 9, 2024

Does anyone know if this storage role works with Amazon Linux 2023? It tries to install Blivet through dnf package manager and fails as it isn't a package on Amazon Linux.

Do you mean - will the storage role work with Amazon Linux if you hack the role to use pip to install Blivet instead of package or dnf? I don't know.

I have installed blivet through pip and verified it is there but the role still tries to load blivet from package and fails.

You'll have to hack the role to tell it to skip package add an ignore_errors: true to that task or something similar.

And even then - I have no idea if it will work.

This is a Fedora and CentOS 9 based OS. We are tryiing to run this through AWX with a requirements.yml pointing to ansible galaxy (linux-system-roles.storage). I've tried using different interpreters python 3.6, 3.9, etc. Thank you.

@bobdoleadin
Copy link
Author

Thanks. I'll see if I can wrap the role in a block maybe and try to ignore errors with blivet like what you've suggested. Trying to avoid editing the role since we are pulling it from galaxy and not storing it locally. I'll report back if any success..

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

2 participants