Project

General

Profile

Bug #30372

Can't add RHEV with APIv3 through Hammer

Added by Shira Maximov 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1850536

Description of problem:
Can't add RHEV with APIv3 through Hammer, it fails and says:

"""
Could not create the compute resource:
Ovirt client returned an error: 404 Not Found
"""

Version-Release number of selected component (if applicable):
Sat 6.8 snap 5.0. Regression, this works in 6.7.1.

How reproducible:
Deterministic

Steps to Reproduce:
1. # hammer compute-resource create --name testv4Hammer4 --provider Ovirt --url https://&lt;RHEV_FQDN&gt;/ovirt-engine/api --user <rhev_username> --password <rhev_password> --datacenter Satellite-Devel --use-v4 0

Actual results:
Failure, error

Expected results:
Successfully added CR

Additional info:
RHEV APIv3 hasn't been supported for some time now. Maybe this is a good opportuniny to remove it from the Satellite completely.


Related issues

Related to Foreman - Bug #30620: API Create vmware ComputeResource fails with "Datacenter can't be blank"Closed

Associated revisions

Revision c9854806 (diff)
Added by Shira Maximov 5 months ago

Fixes #30372 - Fix creation of ovirt CR via api

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Shira Maximov
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7814 added

#2 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.2.0 added

#3 Updated by Shira Maximov 5 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7820 added

#5 Updated by Tomer Brisker 5 months ago

  • Fixed in Releases 2.1.1 added

#6 Updated by Tomer Brisker 4 months ago

  • Related to Bug #30620: API Create vmware ComputeResource fails with "Datacenter can't be blank" added

#7 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added

Also available in: Atom PDF