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

How to upgrade botocore version from 1.9.23 to 1.12.220 #7

Open
pratibhadeepti opened this issue Sep 6, 2019 · 0 comments
Open

How to upgrade botocore version from 1.9.23 to 1.12.220 #7

pratibhadeepti opened this issue Sep 6, 2019 · 0 comments

Comments

@pratibhadeepti
Copy link

pratibhadeepti commented Sep 6, 2019

Hi, I tried upgrading botocore module from version 1.9.23 to 1.12.220 but could not do so, it would be really nice if you could provide me a way as i got permission denied.
And when I check current botocore version it is botocore-1.9.23.dist-info
bash-4.2$ ls -al /var/lib/awx/venv/ansible/lib64/python2.7/site-packages
And because of this dependency my playbook is failing with this error:
"msg": "aws_eks_cluster module requires botocore >= 1.10.32"

I tried adding this task to my playbook but also not working:
tasks:
- name: Ensure botocore and boto3 modules are installed
pip:
name: [ "boto3", "botocore==1.12.220"]
extra_args: "--user"

getting this error:
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/var/lib/awx/venv/ansible/bin/pip2", "install", "boto3", "botocore==1.12.220"], "msg": "stdout: Requirement already satisfied: boto3 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages\nCollecting botocore==1.12.220\n Using cached https://files.pythonhosted.org/packages/ea/0d/7bd08434788c48f2cd4ab9da937cb7eaaf987a16c8ef4a7f05fc97b84db9/botocore-1.12.220-py2.py3-none-any.whl\nRequirement already satisfied: jmespath<1.0.0,>=0.7.1 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from boto3)\nRequirement already satisfied: s3transfer<0.2.0,>=0.1.10 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from boto3)\nRequirement already satisfied: docutils<0.16,>=0.10 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from botocore==1.12.220)\nRequirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from botocore==1.12.220)\nRequirement al…

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

1 participant