<commit_before>---
title: Detailed Exit Reason
category: feature
authors: fromani
wiki_category: Feature
wiki_title: Features/Detailed Exit Reason
wiki_revision_count: 13
wiki_last_updated: 2014-02-20
---

# Detailed Exit Reason

### Summary

*   Add a detailed exit code on VDSM ExitedVmStats to represent the reason why a VM was shut down, either normally or because of an error.
*   Update engine to fetch and use this new value internally.
*   The benefit for the engine is better reporting and better view of the status of the VM.

### Owner

*   Name: [<NAME>](User:Fromani)
*   Email: <<EMAIL>>
*   PM Requirements : N/A<commit_msg>Summary<commit_after>---
title: Detailed Exit Reason
category: feature
authors: fromani
wiki_category: Feature
wiki_title: Features/Detailed Exit Reason
wiki_revision_count: 13
wiki_last_updated: 2014-02-20
---

# Detailed Exit Reason

### Summary

*   Add a detailed exit code on VDSM ExitedVmStats to represent the reason why a VM was shut down, either normally or because of an error.
*   The new field will be called exitReason and will be an enumeration with errno-like semantics.
*   Update engine to fetch and use this new value internally.
*   The benefit for the engine is better reporting and better view of the status of the VM.

### Owner

*   Name: [<NAME>](User:Fromani)
*   Email: <<EMAIL>>
*   PM Requirements : N/A
{'fraction_non_alphanumeric': 0.07664233576642336, 'fraction_numerical': 0.014598540145985401, 'mean_word_length': 4.134831460674158, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2879383', 'n_tokens_mistral': 437, 'n_tokens_neox': 390, 'n_words': 180}