-
Notifications
You must be signed in to change notification settings - Fork 68
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
Installer installing wrong version of ansible #323
Comments
oot@root1-Latitude-E7450:~/opensds-installer/ansible# chmod +x ./install_ansible.sh && ./install_ansible.sh After this operation, 26.9 MB of additional disk space will be used. |
Hi @PravinRanjan10, Two questions. Q1. Do you have NON snipped version terminal log? Q2. Which Ubuntu version are you using? Xenial? or Bionic? install_ansible.sh executes apt commands like below:
In this case, REQUIRED_ANSIBLE_VER is '2.4', so this is strange. But, according to the ansible official ppa site information: https://launchpad.net/~ansible/+archive/ubuntu/ansible-2.4 I guess now ansible 2.5 could be installed in case of Bionic. Terminal log of 'install_ansible.sh'on Ubuntu Xenial in my lab.
|
@thatsdone, The detail of machine is below: As per discussion, please take a look |
Hi, I figured out the root cause and a quick workaround. This issue comes from the default distro bundled version of ansible. Ubuntu bionic bundles ansible 2.5 series, and we need to specify exact version when we want to use a downgraded version like below.
I don't think this is the reason why you got #326 , but anyway I will update 'install_ansible.sh' soon. Here is a (manual) workaround procedure.
Regards, |
Sorry for my (very) late action. I created a PR for this issue. |
Describe the bug
A clear and concise description of what the bug is.
If i select backend as ceph, and the ceph version is stable-3.1, ansible verion should be 2.4.x
But at the end it is always installing ansible 2.5.1 version.(Which should not).
Our script is identifying that, ansible 2.4 should be installed but at end installing 2.5.1 version.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: