Bug #6816

RHEV compute resource without quota fails on creating a vm with "Failed to create a compute" "Internal Engine Error"

Added by Ivan Necas almost 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Ivan Necas
Category:Compute resources - oVirt
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1123685 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/1627

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1123685
Steps to Reproduce:
1. create compute resource on rhev with a blank quota
2. provision a host on that compute resource

Actual results:
Provisioning fails with "Failed to create a compute" "Internal Engine Error"

Expected results:
Provisioning succeeds

Additional info:

RHEV 3.4.1-0.30.el6ev

Additional debugging pointed to the quota parameter not being accepted, when set to "", switching to nil seemed to fix the issue

Associated revisions

Revision 0809c9ae
Added by Ivan Necas almost 4 years ago

Fixes #6816 - pass oVirt quota as nil instead of "" to prevent server error

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Category set to Compute resources - oVirt

#2 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.8.0
  • Pull request https://github.com/theforeman/foreman/pull/1627 added

#3 Updated by Dominic Cleal almost 4 years ago

  • Assignee set to Ivan Necas

#4 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from 1.8.0 to 1.7.5

#5 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 10

#6 Updated by Ivan Necas almost 4 years ago

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

Also available in: Atom PDF