Bug #4231

Xen Polling is broken for VMs with long names (and therefore importing VMs too)

Added by Hector Sanjuan over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:12/07/2015
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Drivers - VM
Target version:Release 5.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

XM_POLL is set to "/usr/sbin/xentop -bi2". The output of this commands trims VM names to 10 chars. Therefore the poll scripts report the wrong names for wild VMs, which in turn cannot be imported.

This is fixed by using "/usr/sbin/xentop -fbi2" (where --full-name or -f means output full domain names), in XM_POLL variable in xenrc. This should work with both Xen3 and Xen4.

Associated revisions

Revision 282558d1
Added by Hector Sanjuan over 5 years ago

Bug #4231: Display full domain names when using xentop to poll for Xen VMs.

Otherwise they are truncated to 10 chars.

Revision f12b01f7
Added by Jaime Melis over 5 years ago

Merge pull request #78 from hsanjuan/bug-4231

Bug #4231: Display full domain names when using xentop to poll for Xen VMs

History

#1 Updated by Hector Sanjuan over 5 years ago

  • % Done changed from 0 to 100

#2 Updated by Ruben S. Montero over 5 years ago

  • Target version set to Release 5.0

#3 Updated by Jaime Melis over 5 years ago

  • Resolution set to fixed

Merged

#4 Updated by Jaime Melis over 5 years ago

  • Status changed from Pending to Closed

Also available in: Atom PDF