openstack token issue takes 3 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
$ snap list openstack
Name Version Rev Tracking Publisher Notes
openstack 2024.1 506 2024.1/edge canonical✓ -
This is a quite similar story with https:/
Any openstack command takes 1 to 2.5 seconds before starting to interact with OpenStack API endpoints. As a result, OpenStack API operations are a bit sluggish to users.
[snap-openstack]
$ for _ in {1..5}; do time /snap/bin/openstack token issue --debug |& ts -s %.s | head -n 1; sleep 10; done
2.338256 START with options: token issue --debug
real 0m4.412s
user 0m1.761s
sys 0m1.714s
2.501380 START with options: token issue --debug
real 0m4.741s
user 0m2.224s
sys 0m1.314s
1.018817 START with options: token issue --debug
real 0m2.573s
user 0m1.764s
sys 0m0.320s
1.551309 START with options: token issue --debug
real 0m3.224s
user 0m1.880s
sys 0m0.756s
1.644954 START with options: token issue --debug
real 0m3.595s
user 0m2.154s
sys 0m0.776s
[python3-
$ for _ in {1..5}; do time /usr/bin/openstack token issue --debug |& ts -s %.s | head -n 1; sleep 10; done
0.804546 START with options: token issue --debug
real 0m1.788s
user 0m1.060s
sys 0m0.111s
0.901978 START with options: token issue --debug
real 0m1.914s
user 0m1.189s
sys 0m0.129s
1.046233 START with options: token issue --debug
real 0m2.192s
user 0m1.259s
sys 0m0.131s
0.895843 START with options: token issue --debug
real 0m1.825s
user 0m1.166s
sys 0m0.108s
0.688296 START with options: token issue --debug
real 0m1.532s
user 0m0.928s
sys 0m0.104s