Bug 1126056
| Summary: | boto version 2.27 does not have support for latest cloudsearch api (cloudsearch2) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Jason Normand <jnormand> |
| Component: | python-boto | Assignee: | Garrett Holmstrom <gholms> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | apevec, gholms, s |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-boto-2.32.1-1.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-30 17:37:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
python-boto-2.32.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-boto-2.32.1-1.fc20 python-boto-2.32.1-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-boto-2.32.1-1.fc19 python-boto-2.32.1-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-boto-2.32.1-1.el6 Package python-boto-2.32.1-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-boto-2.32.1-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2289/python-boto-2.32.1-1.el6 then log in and leave karma (feedback). python-boto-2.32.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. python-boto-2.32.1-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-boto-2.32.1-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: the current version of python-boto available in epel does not contain cloudsearch2. Amazon no longer supports cloudsearch(1) for new accounts. from the amazon documentation: If you created Amazon CloudSearch domains prior to the launch of the 2013-01-01 API, you can choose which API version to use when you create a new domain. To create a 2013-01-01 domain through the console, select the 2013-01-01 version in the Create Domain Wizard. To create a 2013-01-01 domain with the command line tools, download and install the updated command line tools (cloud-search-tools-v2) and run the cs-create-domain command. Note The cs-create-domain command does not enable you to select the API version. To create and interact with 2013-01-01 domains, you must use the v2 tools. To create and interact with 2011-02-01 domains, you must use the v1 tools. cloudsearch2 is available in python-boto 2.28 or higher Version-Release number of selected component (if applicable): python-boto-2.27.0 How reproducible: every time Steps to Reproduce: 1. create new aws account 2. yum install python-boto 3. python 4. import boto.cloudsearch 5. cs = boto.cloudsearch.connect_to_region("us-east-1", aws_access_key_id='..', aws_secret_access_key='..') 6. cs.describe_domain() Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/boto/cloudsearch/layer1.py", line 417, in describe_domains list_marker='DomainStatusList') File "/usr/lib/python2.7/site-packages/boto/cloudsearch/layer1.py", line 98, in get_response raise self.ResponseError(response.status, response.reason, body) boto.exception.BotoServerError: BotoServerError: 401 Unauthorized <ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01/"> <Error> <Type>Sender</Type> <Code>NotAuthorized</Code> </Error> <RequestId>5e9dac67-19a4-11e4-8170-cf737719d6fb</RequestId> </ErrorResponse> Expected results: listing of domain information Additional info: >>> import boto.cloudsearch2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named cloudsearch2 also note older accounts that have previously used cloudsearch continue to work with boto.cloudsearch