Merge "Remove PXE filter logging"
This commit is contained in:
commit
171cc5b52f
@ -133,8 +133,6 @@ class BaseFilter(interface.FilterDriver):
|
||||
:raises: InvalidFilterDriverState
|
||||
:returns: nothing.
|
||||
"""
|
||||
LOG.debug('The PXE filter driver %s enters the fsm_reset_on_error '
|
||||
'context', self)
|
||||
try:
|
||||
yield self.fsm
|
||||
except automaton_errors.NotFound as e:
|
||||
@ -148,9 +146,6 @@ class BaseFilter(interface.FilterDriver):
|
||||
{'filter': self, 'error': e})
|
||||
self.reset()
|
||||
raise
|
||||
finally:
|
||||
LOG.debug('The PXE filter driver %s left the fsm_reset_on_error '
|
||||
'context', self)
|
||||
|
||||
@locked_driver_event(Events.initialize)
|
||||
def init_filter(self):
|
||||
@ -177,7 +172,6 @@ class BaseFilter(interface.FilterDriver):
|
||||
:param ironic: obligatory ironic client instance
|
||||
:returns: nothing.
|
||||
"""
|
||||
LOG.debug('Syncing the PXE filter driver %s', self)
|
||||
|
||||
def get_periodic_sync_task(self):
|
||||
"""Get periodic sync task for the filter.
|
||||
|
@ -211,8 +211,6 @@ class TestBaseFilterInterface(BaseFilterBaseTest):
|
||||
def test_sync(self):
|
||||
self.driver.sync(self.mock_ironic)
|
||||
|
||||
self.mock_log.debug.assert_called_once_with(
|
||||
'Syncing the PXE filter driver %s', self.driver)
|
||||
self.mock_reset.assert_not_called()
|
||||
|
||||
def test_tear_down_filter(self):
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Remove debug logging for PXE filter driver which tends to fill up
|
||||
inspector logs when debug is enabled.
|
Loading…
Reference in New Issue
Block a user