https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2021-12-15T01:14:28ZCeph mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2074492021-12-15T01:14:28ZVikhyat Umrao
<ul></ul><pre>
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Success calling 'ls'
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Calling crash.do_info...
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Success calling 'do_info'
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Calling crash.do_info...
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Success calling 'do_info'
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Calling crash.do_info...
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Success calling 'do_info'
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Calling crash.do_info...
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr dispatch_remote Success calling 'do_info'
2021-12-14T18:48:04.034+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb2c4a9600
2021-12-14T18:48:04.034+0000 7ffa856af700 -1 mgr handle_command module 'telemetry' command handler threw exception: list assignment index out of range
2021-12-14T18:48:04.116+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb061b3b00
2021-12-14T18:48:04.116+0000 7ffa856af700 -1 mgr.server reply reply (22) Invalid argument Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1648, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 434, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/telemetry/module.py", line 1038, in show
report = self.get_report(channels=channels)
File "/usr/share/ceph/mgr/telemetry/module.py", line 1087, in get_report
return self.compile_report(channels=channels)
File "/usr/share/ceph/mgr/telemetry/module.py", line 900, in compile_report
report['crashes'] = self.gather_crashinfo()
File "/usr/share/ceph/mgr/telemetry/module.py", line 483, in gather_crashinfo
c['backtrace'][-1] = '<redacted>'
IndexError: list assignment index out of range
2021-12-14T18:48:04.116+0000 7ffa856af700 1 -- [v2:172.21.2.101:7002/1319847290,v1:172.21.2.101:7003/1319847290] --> 172.21.2.102:0/1267436291 -- mgr_command_reply(tid 0: -22 Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1648, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 434, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/telemetry/module.py", line 1038, in show
report = self.get_report(channels=channels)
File "/usr/share/ceph/mgr/telemetry/module.py", line 1087, in get_report
return self.compile_report(channels=channels)
File "/usr/share/ceph/mgr/telemetry/module.py", line 900, in compile_report
report['crashes'] = self.gather_crashinfo()
File "/usr/share/ceph/mgr/telemetry/module.py", line 483, in gather_crashinfo
c['backtrace'][-1] = '<redacted>'
IndexError: list assignment index out of range
) v1 -- 0x55eb10343a20 con 0x55eb03927800
2021-12-14T18:48:04.116+0000 7ffa856af700 10 mgr.server operator() command returned -22
2021-12-14T18:48:04.116+0000 7ffa856af700 20 mgr Gil Switched to new thread state 0x55eb061b3b00
2021-12-14T18:48:04.116+0000 7ffa856af700 20 mgr ~Gil Destroying new thread state 0x55eb061b3b00
</pre> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2074512021-12-15T03:48:12ZYaarit Hatuka
<ul></ul><p>There is a separate tracker for the gather_crashinfo bug:<br /><a class="external" href="https://tracker.ceph.com/issues/53604">https://tracker.ceph.com/issues/53604</a></p> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2075022021-12-16T03:08:39ZYaarit Hatuka
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Pull request ID</strong> set to <i>44327</i></li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2075072021-12-16T09:58:47ZSebastian Wagner
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed" href="/issues/53604">Bug #53604</a>: mgr/telemetry: list assignment index out of range in gather_crashinfo</i> added</li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2076552021-12-21T19:57:58ZNeha Ojhanojha@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2076572021-12-21T20:00:14ZBackport Bot
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-6 priority-4 priority-default closed" href="/issues/53691">Backport #53691</a>: pacific: mgr/telemetry: list index out of range in gather_device_report</i> added</li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2076592021-12-21T20:00:22ZBackport Bot
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-6 priority-4 priority-default closed" href="/issues/53692">Backport #53692</a>: octopus: mgr/telemetry: list index out of range in gather_device_report</i> added</li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2226092022-08-08T16:30:05ZBackport Bot
<ul><li><strong>Tags</strong> set to <i>backport_processed</i></li></ul> mgr - Bug #53603: mgr/telemetry: list index out of range in gather_device_reporthttps://tracker.ceph.com/issues/53603?journal_id=2355722023-04-27T08:40:59ZKonstantin Shalygink0ste@k0ste.ru
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>