Bug #24186
vSphere error handling can break
Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Pull request:
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>
Associated revisions
History
#1
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5782 added
#2
Updated by Timo Goebel almost 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 3baac1fa0e92a3fb4b9b714e083c44e529bf384f.
#3
Updated by Greg Sutcliffe almost 4 years ago
- Fixed in Releases 1.15.0 added
#4
Updated by Greg Sutcliffe almost 4 years ago
- Fixed in Releases deleted (
1.15.0)
#5
Updated by Marek Hulán almost 4 years ago
- Legacy Backlogs Release (now unused) set to 353
fixes #24186 - improve vsphere error handling