Bug #5359

VM force shutdown - output of shutdown command is executed

Added by Venko Moyankov almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:09/11/2017
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Drivers - VM
Target version:Release 5.4.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.2, OpenNebula 5.4

Description

After VM shutdown, if FORCE_DESTROY=yes and VM can not power off in defined SHUTDOWN_TIMEOUT, destroy is executed. However the output of the destroy command is executed by mistake as shell expansion $(), returning error in the log:
/var/tmp/one/vmm/kvm/../../scripts_common.sh: line 305: Domain: command not found

Fix is proposed in pull request https://github.com/OpenNebula/one/pull/434

Associated revisions

Revision 94ef9a7e
Added by Venko Moyankov almost 4 years ago

B #5359: Fix force_shutdown bug. Output of the command is executed. (#434)

Revision 98885d64
Added by Venko Moyankov almost 4 years ago

B #5359: Fix force_shutdown bug. Output of the command is executed. (#434)

(cherry picked from commit 94ef9a7e64e4bbec36e8430305acc09c1440c036)

History

#1 Updated by Ruben S. Montero almost 4 years ago

  • Target version deleted (Release 5.4.1)

#2 Updated by Ruben S. Montero almost 4 years ago

  • Status changed from Pending to Closed
  • Target version set to Release 5.4.2
  • Resolution set to fixed

Thanks! merged as suggested

Also available in: Atom PDF