Bug 1436799
| Summary: | Cloud breaks down during Scale testing when creating Neutron Resources | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Sai Sindhur Malleni <smalleni> | ||||||
| Component: | python-networking-odl | Assignee: | Mike Kolesnik <mkolesni> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Itzik Brown <itbrown> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 10.0 (Newton) | CC: | dwilson, jtaleric, lpeer, mkolesni, nyechiel, sgaddam, smalleni, trozet | ||||||
| Target Milestone: | ga | Keywords: | Triaged | ||||||
| Target Release: | 12.0 (Pike) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | scale_lab | ||||||||
| Fixed In Version: | python-networking-odl-11.0.1-0.20170831202719.81010b8.el7ost | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: |
N/A
|
|||||||
| Last Closed: | 2017-12-13 21:20:39 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Sai Sindhur Malleni
2017-03-28 17:30:32 UTC
Created attachment 1267219 [details]
filtered mysql slow_log showing timestamp and query_time
Dave, would be great if you can post what you think is the slow query. Created attachment 1267220 [details]
mysql slow_query.log
he issue may linked to the mysql ovs_neutron.opendaylightjournal table. Profiling with the slow_query_log=on reveals query: "SELECT opendaylightjournal.seqnum AS opendaylightjournal_seqnum, opendaylightjournal.object_type AS opendaylightjournal_object_type, opendaylightjournal.object_uuid AS opendaylightjournal_object_uuid, opendaylightjournal.operation AS opendaylightjournal_operation, opendaylightjournal.data AS opendaylightjournal_data, opendaylightjournal.state AS opendaylightjournal_state, opendaylightjournal.retry_count AS opendaylightjournal_retry_count, opendaylightjournal.created_at AS opendaylightjournal_created_at, opendaylightjournal.last_retried AS opendaylightjournal_last_retried FROM opendaylightjournal WHERE opendaylightjournal.state = 'pending' ORDER BY opendaylightjournal.last_retried ASC LIMIT 1 FOR UPDATE;" as rowcount increases query lock time increases to what appears to be unacceptable times ( see attached 'time.out' which is parsed from the slow log showing the above query with timestamp query_time, and lock_time. Possibly an index on "state" may mitigate rows_examined and reduce lock time. Also attached is the slow_query.log @Mike, was this fixed already? Should we target this for RHOSP 12, move to ON_QA and let the scale team test again? (In reply to Nir Yechiel from comment #5) > @Mike, was this fixed already? Should we target this for RHOSP 12, move to > ON_QA and let the scale team test again? It hasn't been fixed yet upstream, I'll get to it as soon as I can and will update the bug when the fix is available Mike - would you mind updating this bug? add a link to the patch etc. Verified this for OSP12, fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462 |