Hanging heat-api after validate request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
High
|
Sergey Kraynev |
Bug Description
For juno release Heat has requirement:
requests>
In case when you use requests>=1.2.1, <=2.0.1, with Devstack installation on Centos 6.5 you can got situation with hanging heat-api process.
It will be still available, but can not handle any new request. How to reproduce:
- install devstack of juno release on Centos 6.5
- manually downgrade requests lib to one value of range (1.2.1 - 2.0.1)
- restart heat-api
- start tempest test [1] or do the same manually:
* get token_id and tenant_id from json response:
curl -d '{"auth"
* try to validate template with wrong url:
curl -iv http://
As result you will get hanging heat-api:
[skr@localhost devstack]$ curl -iv http://
* About to connect() to localhost port 8004 (#0)
* Trying ::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8004 (#0)
> POST /v1/37997a474b8
> User-Agent: curl/7.19.7 (x86_64-
> Host: localhost:8004
> Accept: */*
> X-Auth-Token: 069915cc53ee4cd
> Content-Type: application/json
> Content-Length: 77
>
Log from heat-api:
Exception AttributeError: "'GreenSocket' object has no attribute 'fd'" in <bound method GreenSocket.__del__ of <eventlet.
Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <type 'exceptions.
Exception AttributeError: "'GreenSocket' object has no attribute 'fd'" in <bound method GreenSocket.__del__ of <eventlet.
^CException KeyboardInterrupt in <bound method GreenSocket.__del__ of <eventlet.
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → High |
no longer affects: | heat/juno |
Fix proposed to branch: stable/juno /review. openstack. org/144433
Review: https:/