[one-users] 3.4.0 and HISTORY
Carlos Martín Sánchez
cmartin at opennebula.org
Tue Apr 17 06:53:07 PDT 2012
Hi Chris,
It is indeed a bug. At first I wasn't able to reproduce the problem, then I
realized you were creating VM directly from a template file rather than
using onetemplate.
We are looking into it [1]. Meanwhile, could you please try to create the
VMs with "onetemplate instantiate" [2], and see it the problem disappears?
Regards,
Carlos
[1] http://dev.opennebula.org/issues/1237
[2] http://opennebula.org/documentation:rel3.4:vm_guide
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Mon, Apr 16, 2012 at 11:09 PM, Chris Johnston <chjohnston at rim.com> wrote:
> Hi all,
>
> Has anyone else noticed that HISTORY records are corrupted when there are
> simultaneous VM actions? And some actions leave VMs, in particular a fail
> to livemigrate, with a bad history preventing a further live migration? It
> seems that update_history is failing at least for sqlite.
>
> # onevm create example.vm
>
> This results in a good history record...
>
> VIRTUAL MACHINE HISTORY
> SEQ HOSTNAME REASON START TIME PTIME
> 0 arch02 none 04/16 20:58:58 0d 00:00 0d 00:00
>
> <HISTORY_RECORDS>
> <HISTORY>
> <SEQ>0</SEQ>
> <HOSTNAME>arch02</HOSTNAME>
> <HID>3</HID>
> <STIME>1334609938</STIME>
> <ETIME>0</ETIME>
> <VMMMAD>vmm_kvm</VMMMAD>
> <VNMMAD>ovswitch</VNMMAD>
> <PSTIME>1334609938</PSTIME>
> <PETIME>1334609940</PETIME>
> <RSTIME>1334609940</RSTIME>
> <RETIME>0</RETIME>
> <ESTIME>0</ESTIME>
> <EETIME>0</EETIME>
> <REASON>0</REASON>
> </HISTORY>
> </HISTORY_RECORDS>
>
> # onevm create example.vm ; onevm create example.vm
>
> This results in none of the timers being set in the history record for
> either VM.
>
> VIRTUAL MACHINE HISTORY
> SEQ HOSTNAME REASON START TIME PTIME
> 0 host02 none - 15446d 20:5 0d 00:00
>
> <HISTORY_RECORDS>
> <HISTORY>
> <SEQ>0</SEQ>
> <HOSTNAME>host02</HOSTNAME>
> <HID>3</HID>
> <STIME>0</STIME>
> <ETIME>0</ETIME>
> <VMMMAD>vmm_kvm</VMMMAD>
> <VNMMAD>ovswitch</VNMMAD>
> <PSTIME>0</PSTIME>
> <PETIME>0</PETIME>
> <RSTIME>0</RSTIME>
> <RETIME>0</RETIME>
> <ESTIME>0</ESTIME>
> <EETIME>0</EETIME>
> <REASON>0</REASON>
> </HISTORY>
> </HISTORY_RECORDS>
>
> # onevm livemigrate 62 host2 ; onevm livemigrate 62 host01 (both of these
> fail on purpose)
> # onevm show 62
> <snip>
> STATE : ACTIVE
> LCM_STATE : RUNNING
> VIRTUAL MACHINE HISTORY
> SEQ HOSTNAME REASON START TIME PTIME
> 0 host02 user 04/16 20:58:58 0d 00:02 0d 00:00
> 1 host01 user - 15446d 21:0 0d 00:00
> 2 host02 user - 15446d 21:0 0d 00:00
> 3 host02 none 04/16 21:03:51 0d 00:00 0d 00:00
> 4 host02 none - 15446d 21:0 0d 00:00
> oneadmin at arch01:~$ onevm livemigrate 62 host02
> [VirtualMachineMigrate] Wrong state to perform action
>
> Chris
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120417/f5def351/attachment-0002.htm>
More information about the Users
mailing list