lvm commands crash, causing failures
Bug #1932188 reported by
Eric Harney
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Sofia Enriquez | ||
os-brick |
New
|
High
|
Unassigned |
Bug Description
https:/
https:/
That fix added a retry when the "lvs" command crashes, but other LVM crashes are occurring which need a similar retry workaround.
In this case, an "lvs" call from _get_thin_
This causes tempest tests to fail because volumes cannot be allocated, as seen here:
https:/
https:/
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |
Changed in cinder: | |
assignee: | Eric Harney (eharney) → Sofia Enriquez (lsofia-enriquez) |
affects: | cinder → os-brick |
affects: | os-brick → cinder |
Changed in os-brick: | |
importance: | Undecided → High |
To post a comment you must log in.
Tempest failure:
c-sch: /78bdfcd60d586f 3ba39c- ebf431c06382d97 dfdf40c8495b345 07.ssl. cf2.rackcdn. com/796680/ 1/check/ cinder- tempest- plugin- lvm-lio- barbican/ 202ff0c/ controller/ logs/screen- c-sch.txt focal-rax- dfw-0025145355 cinder- scheduler[ 111543] : WARNING cinder. scheduler. filters. capacity_ filter [None req-51edf9ed- ba3c-47b8- b5db-d4e38110ee c5 tempest- VolumesBackupsT est-2112242099 None] Insufficient free virtual space (0.0GB) to accommodate thin provisioned 1GB volume on host ubuntu- focal-rax- dfw-0025145355@ lvmdriver- 1#lvmdriver- 1. focal-rax- dfw-0025145355 cinder- scheduler[ 111543] : DEBUG cinder. scheduler. base_filter [None req-51edf9ed- ba3c-47b8- b5db-d4e38110ee c5 tempest- VolumesBackupsT est-2112242099 None] Filter CapacityFilter returned 0 host(s) {{(pid=111543) get_filtered_ objects /opt/stack/ cinder/ cinder/ scheduler/ base_filter. py:123} }
https:/
Jun 16 15:47:14.599337 ubuntu-
Jun 16 15:47:14.599617 ubuntu-
c-vol: focal-rax- dfw-0025145355 cinder- volume[ 112538] : ERROR cinder. brick.local_ dev.lvm [None req-dd4158cb- 774c-4190- 8e40-0357882b1b b9 None None] Error querying thin pool about data_percent: oslo_concurrenc y.processutils. ProcessExecutio nError: Unexpected error while running command. focal-rax- dfw-0025145355 cinder- volume[ 112538] : Command: sudo cinder-rootwrap /etc/cinder/ rootwrap. conf env LC_ALL=C lvs --noheadings --unit=g -o size,data_percent --separator : --nosuffix /dev/stack- volumes- lvmdriver- 1/stack- volumes- lvmdriver- 1-pool focal-rax- dfw-0025145355 cinder- volume[ 112538] : Exit code: 139
Jun 16 15:47:08.429406 ubuntu-
Jun 16 15:47:08.429406 ubuntu-
Jun 16 15:47:08.429406 ubuntu-
messages: focal-rax- dfw-0025145355 kernel: lvs[171824]: segfault at 800 ip 00007f96c2927860 sp 00007ffedbacb4a8 error 4 in libc-2. 31.so[7f96c27d3 000+178000] focal-rax- dfw-0025145355 kernel: Code: 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 48 89 f1 49 89 d0 48 89 fa 4d 85 c0 0f 84 ca 20 00 00 49 83 f8 08 0f 86 60 21 00 00 <80> 39 00 0f 84 c7 1c 00 00 80 79 01 00 0f 84 dd 1c 00 00 80 79 02
Jun 16 15:47:08 ubuntu-
Jun 16 15:47:08 ubuntu-