Bug #3990

Sunstone does not show "INPUT=[BUS="usb",TYPE="tablet"]" in Input/Output tab when updating template

Added by Stefan Kooman almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:09/18/2015
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Sunstone
Target version:Release 4.14
Resolution:fixed Pull request:
Affected Versions:Development

Description

A VM template with an, already, configured "INPUT=[BUS="usb",TYPE="tablet"]" device won't show up in the Input/Output tab when updating a template. Adding another tablet ([BUS="usb",TYPE="tablet") results in a "INPUT="[object Object]" entry added to the template. On the cli it looks like this:

USER TEMPLATE
HYPERVISOR="kvm"
INPUTS=[
BUS="usb",
TYPE="tablet" ]

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)"
CPU="0.2"
FEATURES=[
ACPI="yes",
APIC="yes",
HYPERV="yes",
PAE="no" ]
GRAPHICS=[
LISTEN="0.0.0.0",
PORT="6329",
TYPE="VNC" ]
INPUT="[object Object]"

So it's even moved to the "User template". The final deployment file comes without a proper xml definition of a usb tablet:

<input type='tablet' bus='usb'>
<alias name='input0'/>
</input>

Associated revisions

Revision 3065d29a
Added by Carlos Martín almost 6 years ago

Bug #3990: Fix INPUT attribute name

History

#1 Updated by Stefan Kooman almost 6 years ago

Even when no "extra" USB / Tablet is added, when you update the template in sunstone it will change the correct value into incorrect "INPUT [object Object]"

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

  • Category set to Sunstone
  • Status changed from Pending to Assigned
  • Assignee set to Daniel Molina
  • Target version set to Release 4.14

#3 Updated by Carlos Martín almost 6 years ago

  • Assignee changed from Daniel Molina to Carlos Martín
  • Resolution set to fixed

It should be fixed now. The template was using INPUTS instead of INPUT.

But the unrecognized INPUT should not be translated to [object Object], that's a new bug: #3993

#4 Updated by Carlos Martín almost 6 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF