Bug #1072
LCM_STATE does not give code for failure, using the XML-RPC interface
Status: | Closed | Start date: | 01/19/2012 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Nassos Antoniou | % Done: | 0% | |
Category: | Client API & Library | |||
Target version: | - | |||
Resolution: | worksforme | Pull request: | ||
Affected Versions: | OpenNebula 3.0 |
Description
When instances fail to boot, LCM_STATE should give code 14 for FAILURE.
Instead, it remains 0. The STATE attribute is assigned with the correct code,7.
History
#1 Updated by Ruben S. Montero over 9 years ago
- Status changed from New to Closed
- Resolution set to worksforme
LCM_STATE are the states for the macro state ACTIVE of the STATE attribute. It is only meaningful when the VM is active. In any other STATE the LCM_STATE is set to INIT (0) (meaning that the state in uninitialized).
So this is the expected behavior.
Cheers
Ruben