Project

General

Profile

Bug #5453

VMware: failed to create vm: undefined method `new' for "VirtualVmxnet3":String

Added by Dominic Cleal about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

As reported in the comments in #5248, VMware host creation fails with:

Failed to create a compute SysEng-vCenter (VMWare) instance test9.lab2.lan: failed to create vm: undefined method `new' for "VirtualVmxnet3":String

Digging into it, the changes in #2438 to the create_vm + related methods has resulted in us sending a hash with keys as strings into Fog, so the interface type isn't correctly converted from a string into a class.

Associated revisions

Revision 80ad15ca (diff)
Added by Dominic Cleal about 5 years ago

fixes #5453 - ensure all VMware compute attribute keys are symbolized

Revision ec509145 (diff)
Added by Dominic Cleal about 5 years ago

fixes #5453 - ensure all VMware compute attribute keys are symbolized

(cherry picked from commit 80ad15ca975c741c2cbdcb1e44eb1eb161e1034c)

History

#1 Updated by Dominic Cleal about 5 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF