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 over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Ivan Necas
Category:Compute resources - oVirt
Target version:Sprint 27
Difficulty: Bugzilla link:1123685
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1627
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

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 over 3 years ago

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

History

#1 Updated by Dominic Cleal over 3 years ago

  • Category set to Compute resources - oVirt

#2 Updated by The Foreman Bot over 3 years ago

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

#3 Updated by Dominic Cleal over 3 years ago

  • Assigned To set to Ivan Necas

#4 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 26 to Sprint 27

#5 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.6.0

#6 Updated by Ivan Necas over 3 years ago

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

Also available in: Atom PDF