Bug 1627652 - aws scale group playbook need newer python2-botocore rpm
Summary: aws scale group playbook need newer python2-botocore rpm
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.11.z
Assignee: Scott Dodson
QA Contact: sheng.lao
URL:
Whiteboard:
Depends On:
Blocks: 1605160
TreeView+ depends on / blocked
 
Reported: 2018-09-11 07:52 UTC by sheng.lao
Modified: 2018-10-11 19:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 19:40:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sheng.lao 2018-09-11 07:52:28 UTC
Description of problem:
The the code of aws scale group call the python2-botocore to interact with AWS, but the botocore rpm in aos repo (which version is python2-botocore-1.4.57-5.el7.noarch.rpm) doesn't satisfy this requirement.

The bug has been reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1605160,

The workaround of this problem is done by following:
    pip install --upgrade botocore==1.7.0

Version-Release number of the following components:
openshift-ansible-3.11.0-0.34.0-16-gbef0926
python2-botocore-1.4.57-5.el7.noarch.rpm 

How reproducible:
100%

Steps to Reproduce:
1. ansible-playbook -i inventory.yml -e @provisioning_vars.yml playbooks/aws/openshift-cluster/prerequisites.yml
2.
3.

Actual results:
Fail to create aws scale group
fatal: [localhost]: FAILED! => {
    "changed": false,  
    "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible__Lhwy2/ansible_module_ec2_vpc_net.py\", line 477, in <module>\n    main()\n  File \"/tmp/ansible__Lhwy2/ansible_module_ec2_vpc_net.py\", line 383, in main\n    vpc_id = create_vpc(connection, module, cidr_block[0], tenancy)\n  File \"/tmp/ansible__Lhwy2/ansible_module_ec2_vpc_net.py\", line 293, in create_vpc\n    connection.get_waiter('vpc_exists').wait(VpcIds=[vpc_obj['Vpc']['VpcId']])\n  File \"/usr/lib/python2.7/site-packages/botocore/client.py\", line 632, in get_waiter\n    raise ValueError(\"Waiter does not exist: %s\" % waiter_name)\nValueError: Waiter does not exist: vpc_exists\n",                                                      
    "module_stdout": "",  
    "msg": "MODULE FAILURE",  
    "rc": 1
}

Expected results:
Create aws scale group success

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Scott Dodson 2018-09-11 12:21:42 UTC
Somehow Ops has worked around this as they're currently using this code. Moving to 3.11.z


Note You need to log in before you can comment on or make changes to this bug.