opennebula-undeployed-deploy.patch
| src/dm/DispatchManagerActions.cc | ||
|---|---|---|
| 39 | 39 |
NebulaLog::log("DiM",Log::DEBUG,oss);
|
| 40 | 40 |
|
| 41 | 41 |
if ( vm->get_state() == VirtualMachine::PENDING || |
| 42 |
vm->get_state() == VirtualMachine::HOLD ) |
|
| 42 |
vm->get_state() == VirtualMachine::HOLD || |
|
| 43 |
vm->get_state() == VirtualMachine::UNDEPLOYED ) |
|
| 43 | 44 |
{
|
| 44 | 45 |
Nebula& nd = Nebula::instance(); |
| 45 | 46 |
LifeCycleManager * lcm = nd.get_lcm(); |
| src/rm/RequestManagerVirtualMachine.cc | ||
|---|---|---|
| 497 | 497 |
} |
| 498 | 498 |
|
| 499 | 499 |
if (vm->get_state() != VirtualMachine::PENDING && |
| 500 |
vm->get_state() != VirtualMachine::HOLD) |
|
| 500 |
vm->get_state() != VirtualMachine::HOLD && |
|
| 501 |
vm->get_state() != VirtualMachine::UNDEPLOYED ) |
|
| 501 | 502 |
{
|
| 502 | 503 |
failure_response(ACTION, |
| 503 | 504 |
request_error("Wrong state to perform action",""),
|
| 504 |
- |
|