Reviewed: https://review.opendev.org/693009 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=eab5da85eae72d7e6bd91813c6773e7347c4798b Submitter: Zuul Branch: stable/rocky
commit eab5da85eae72d7e6bd91813c6773e7347c4798b Author: Gary Kotton <email address hidden> Date: Sat Jul 6 00:31:40 2019 -0700
Nova compute: add in log exception to help debug failures
When the system is under load, there can be boot failures. One exception seen in the log file is:
''NoneType' object has no attribute 'status_code''
There is no log trace which helps pinpoint this client call. Note that this is only one example.
We now add in a LOG.exception to have the stack trace.
Related-Bug: #1850682
Change-Id: I2ab56005db363f81eecf07c3db62c267ba7f8ca9 (cherry picked from commit 9062fd392374f546da58651a785f47c3906204dc) (cherry picked from commit 35b5dc0d9793742d759a8cae2de33f450c75f2a1) (cherry picked from commit defe542eb130cd9ad621493fbf98a6a3458c4169)
Reviewed: https:/ /review. opendev. org/693009 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=eab5da85eae 72d7e6bd91813c6 773e7347c4798b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit eab5da85eae72d7 e6bd91813c6773e 7347c4798b
Author: Gary Kotton <email address hidden>
Date: Sat Jul 6 00:31:40 2019 -0700
Nova compute: add in log exception to help debug failures
When the system is under load, there can be boot failures. One
exception seen in the log file is:
''NoneType' object has no attribute 'status_code''
There is no log trace which helps pinpoint this client call.
Note that this is only one example.
We now add in a LOG.exception to have the stack trace.
Related-Bug: #1850682
Change-Id: I2ab56005db363f 81eecf07c3db62c 267ba7f8ca9 6da58651a785f47 c3906204dc) d759a8cae2de33f 450c75f2a1) ad621493fbf98a6 a3458c4169)
(cherry picked from commit 9062fd392374f54
(cherry picked from commit 35b5dc0d9793742
(cherry picked from commit defe542eb130cd9