Bug #2657
VMM drivers do not send just one action per host
| Status: | Closed | Start date: | 01/17/2014 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | Drivers - VM | |||
| Target version: | Release 4.6 | |||
| Resolution: | fixed | Pull request: | ||
| Affected Versions: | OpenNebula 4.2, OpenNebula 4.4 |
Description
The action arguments have changed and now the host is specified in a base64 encoded string. The driver relied on this to only let one action be performed per host.
src/mad/VirtualMachineDriver.rb (226):
def get_first_runable
action_index=nil
@action_queue.each_with_index do |action, index|
if action[:args][HOST_ARG]
if !@hosts.include?(action[:args][HOST_ARG])
action_index=index
break
end
else
action_index=index
break
end
end
return action_index
end
Associated revisions
bug #2657: fix VMM driver to send one action per host
bug #2657: fix VMM driver to send one action per host
(cherry picked from commit 0eb00fc502cc0810a396c79440e235abed990573)
History
#1
Updated by Javi Fontan over 7 years ago
- Affected Versions OpenNebula 4.2 added
#2
Updated by Javi Fontan over 7 years ago
- Status changed from New to Closed
#3
Updated by Javi Fontan over 7 years ago
- Resolution set to fixed