def test_service_disable_log_reason(self):
        subs = {"host": "host1",
                'binary': 'nova-compute',
                'disabled_reason': 'test2'}
        response = self._do_put('os-services/disable-log-reason',
                                'service-disable-log-put-req', subs)
        self._verify_response('service-disable-log-put-resp',
                              subs, response, 200)
Determine whether log file should be reopened.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/functional/api_sample_tests/test_services.py/ServicesJsonTest.test_service_disable_log_reason--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/utils/log.py/_ReopenableLogHandler.shouldRollover