Ceilometer dbsync command timeout in 3600 seconds with mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
Medium
|
Lan Qi song |
Bug Description
When executing the ceilometer cookbook at this line:
https:/
The error "ERROR: execute[database migration] (openstack-
It is only happened when there are large data in ceilometer database, and the chef "execute" provider 's default timeout is "3600" second.
In my case:
mysql> select count(*) from sample;
+----------+
| count(*) |
+----------+
| 45155 |
+----------+
1 row in set (0.21 sec)
mysql> select count(*) from resource;
+----------+
| count(*) |
+----------+
| 26723 |
+----------+
1 row in set (1.00 sec)
And I found that the following step spend too long when doing ceilometer dbsync :
https:/
I think when executing the "ceilometer dbsync" command the timeout parameter should be expand or it could be an optional parameter in cookbook.
tags: | added: cookbook-openstack-telemetry |
summary: |
- Ceilometer dbsync command timeout in 3600 seconds + Ceilometer dbsync command timeout in 3600 seconds with mysql |
Fix proposed to branch: master /review. openstack. org/132745
Review: https:/