Bug #217
Missing configuration parameters should not create stack dump
| Status: | Closed | Start: | 11/11/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Thierry Rakotoarivelo | % Done: | 100% |
|
| Category: | OMF Software | |||
| Target version: | OMF 5.3 |
Description
Missing config parameters, like the run below should create a more specific exception which should result in a meaningful error message and a clean shutdown.
For the specific one below, is this a problem with the inventory? If yes, the error message should mention a missing configuration in the repository.
$ omf exec tut_cmd_1
INFO NodeHandler: init OMF Experiment Controller 5.2.295
FATAL run: Exception: OConfig - Missing value for configuration
parameter 'saveimage_url' in 'firstpc' domain. (RuntimeError)
/usr/lib/ruby/1.8/omf-expctl/oconfig.rb:98:in
`loadTestbedConfiguration'
/usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
/usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
/usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
/usr/lib/ruby/1.8/omf-expctl/oconfig.rb:94:in
`loadTestbedConfiguration'
History
Updated by Thierry Rakotoarivelo 4 months ago
- Category set to OMF Software
- Status changed from New to Closed
- Assigned to set to Thierry Rakotoarivelo
- Target version set to OMF 5.3
- % Done changed from 0 to 100
The handling of proper exit have been fixed, and trace messages have been moved to the log in previous development of 5.3. A more meaningful message has been added.
Now we have not yet defined new sets of EC-specific exception and implemented their handling. However, this is part of the feature #124, thus I am closing this issue.