rally-openstack heat scaling scenarios fails

Bug #1808179 reported by Peter Razumovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Peter Razumovsky

Bug Description

When I try to run HeatStacks.create_stack_and_scale scenario, it fails with error:

```
2430-4f10-aa84-a016c187f469 | ITER: 2 END:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rally/task/runner.py", line 71, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally_openstack/scenarios/heat/stacks.py", line 210, in run
    self._scale_stack(stack, output_key, delta)
  File "/usr/local/lib/python2.7/dist-packages/rally_openstack/scenarios/heat/utils.py", line 298, in _scale_stack
    self._stack_webhook(stack, output_key)
  File "/usr/local/lib/python2.7/dist-packages/rally_openstack/scenarios/heat/utils.py", line 328, in _stack_webhook
    requests.post(url).raise_for_status()
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 112, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 622, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 511, in send
    raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='10.12.0.80', port=8000): Max retries exceeded with url: /v1/signal/arn%3Aopenstack%3Aheat%3A%3A52e42cc243f84fa798de2f796bf1e6c3%3Astacks/s_rally_fd21df9d_pD95xL1F/bfc14321-3a44-4a08-8637-282727e17b64/resources/scaling_policy?Timestamp=2018-11-26T05%3A23%3A56Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=885e974a7541428c89ca29eb5f96531d&SignatureVersion=2&Signature=uDDvqpo3y7dcx9yu2C0tI0bQxUBvWz4u64Vkl5agKl0%3D (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
```

This is a bug of rally-openstack scale_webhook method.

Changed in rally:
assignee: nobody → Peter Razumovsky (prazumovsky)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally-openstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/624747

Changed in rally:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally-openstack (master)

Reviewed: https://review.openstack.org/624747
Committed: https://git.openstack.org/cgit/openstack/rally-openstack/commit/?id=ac0a3ce67ce5ce723ec665f3ca9f8b660da11087
Submitter: Zuul
Branch: master

commit ac0a3ce67ce5ce723ec665f3ca9f8b660da11087
Author: prazumovsky <email address hidden>
Date: Wed Dec 12 19:57:10 2018 +0400

    Add verify option to scale webhook request

    Add verify option to post request in scale_webhook method
    to fix SSLError certificate verify failed.

    Closes-bug: #1808179
    Change-Id: I1a4a226b9dba9de246f5e94a473f8c4f3e37d379

Changed in rally:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/rally-openstack 1.4.0

This issue was fixed in the openstack/rally-openstack 1.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.