Project

General

Profile

Actions

Bug #24186

closed

vSphere error handling can break

Added by Timo Goebel almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When rescue vsphere exceptions in vm_create, the code assumes vm is set. This can lead to the following exception:

NameError: undefined local variable or method `vm' for #<Foreman::Model::Vmware:0x007f27f4791c38>

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5782 added
Actions #2

Updated by Timo Goebel almost 6 years ago

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

Updated by Greg Sutcliffe almost 6 years ago

  • Fixed in Releases 1.15.0 added
Actions #4

Updated by Greg Sutcliffe almost 6 years ago

  • Fixed in Releases deleted (1.15.0)
Actions #5

Updated by Marek Hulán almost 6 years ago

  • translation missing: en.field_release set to 353
Actions

Also available in: Atom PDF