Comment 6 for bug 1793516

Revision history for this message
Keyang Li (ilkykli) wrote :

cat create_delete_network.sh
--------------------------------
#!/usr/bin/bash

for ((i=1; i<=1000; i ++))
do
    neutron net-create test_$i > /dev/null
    neutron subnet-create test_$i 192.168.1.0/24 > /dev/null
    start_time=$(date +%s)
    neutron net-delete test_$i > /dev/null
    end_time=$(date +%s)
    echo $(($end_time - $start_time))
done

just create delete network would reproduce the deadlock, normal create delete network cost 5 seconds,when deadlock it would cost 60+s to timeout and retry in my env.