api service dead locked with newest update that added cloud_id

Bug #1668748 reported by Tim Pownall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
craton
Incomplete
Undecided
Unassigned

Bug Description

It's uncertain if this issue existed pre the latest commit that added cloud_id as a parameter for adding hosts or not, however after pulling master and rebuilding the craton api. After importing about 200 hosts or so, I went to delete them and my delete script queries /hosts&region_id=<int>&limit=100

The craton api service appears to have dead locked and is hung on a single tcp connection:

https://gist.github.com/pwnall1337/ce707fecdeaa9e1577dc65f6d5aa784e

python3 14542 root 3w REG 202,1 1189292 266043 /var/log/craton/craton-api.log
python3 14542 root 4u IPv4 2519729 0t0 TCP *:http-alt (LISTEN)
python3 14542 root 5u IPv4 2568490 0t0 TCP craton-dev.ant:http-alt->10.15.185.105:32886 (CLOSE_WAIT)
python3 14542 root 6u unix 0xffff88020349bfc0 0t0 2558957 type=STREAM

Revision history for this message
Sulochan Acharya (sulochan-acharya) wrote :

Need more info to look at this. Can you tell how to replicate this problem.

Changed in craton:
status: New → Incomplete
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.