Bug #3851
Removing and re-adding a host leads to duplicate fields in the template
Status: | Closed | Start date: | 06/26/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | invalid | Pull request: | ||
Affected Versions: | OpenNebula 4.12 |
Description
I had to delete and re-add a host (in order to change the vn_mad).
This causes duplicate fields to appear in the template (maybe it is monitoring twice or something?):
HOST 12 INFORMATION ID : 12 NAME : myhost.my.domain CLUSTER : Staging - FFM STATE : MONITORED IM_MAD : xen VM_MAD : xen VN_MAD : fw LAST MONITORING TIME : 06/26 08:53:52 HOST SHARES TOTAL MEM : 24G USED MEM (REAL) : 21G USED MEM (ALLOCATED) : 2G TOTAL CPU : 1600 USED CPU (REAL) : 134 USED CPU (ALLOCATED) : 100 RUNNING VMS : 1 MONITORING INFORMATION ARCH="x86_64" CPUSPEED="2132" CPUSPEED="2132" HOSTNAME="jih-dom0" HYPERVISOR="xen" HYPERVISOR="xen" MODELNAME="Intel(R) Xeon(R) CPU L5630 @ 2.13GHz" NETRX="942942748" NETRX="942944257" NETTX="855929759" NETTX="855931250" RESERVED_CPU="" RESERVED_MEM="" TOTAL_WILDS="3" VERSION="4.12.1" WILDS="Domain-0, wild1, wild2" VIRTUAL MACHINES ID USER GROUP NAME STAT UCPU UMEM HOST TIME 39 hsanjuan oneadmin notwild runn 2 2G myhost.mydom 0d 00h32
This causes the host view to break in sunstone too:
TypeError: host_info.TEMPLATE.HYPERVISOR.toLowerCase is not a function
It seems to be fixed after "onehost update" to remove the duplicate fields, but they seem to come back.
History
#1 Updated by Hector Sanjuan about 6 years ago
Please disregard this report,
I had left a xen.rb~ backup file in IM remotes which in turn triggered every monitoring action twice.
My bad :(
#2 Updated by Ruben S. Montero about 6 years ago
- Status changed from Pending to Closed
- Resolution set to invalid