Project

General

Profile

Actions

Bug #15578

closed

"404 Resource Not Found" on oVirt 4.0

Added by Jonas kirk Pedersen over 7 years ago. Updated over 5 years ago.

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

Description

After upgrade to Ovirt 4. Foremam then cant be reached by ovirts API. Applied fix from bug #15560 gives different error.

OVIRT::OvirtException: 404 Resource Not Found

Content from log file as attachment


Files

production.log production.log 38.1 KB Production log of error Jonas kirk Pedersen, 07/05/2016 07:24 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #15560: Use APIv3 with oVirt 4Closed07/01/2016Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Related to Bug #15560: Use APIv3 with oVirt 4 added
Actions #2

Updated by Dominic Cleal over 7 years ago

  • Subject changed from Ovirt Resource Not Found to "404 Resource Not Found" on oVirt 4.0
  • Category set to Compute resources - oVirt
Actions #3

Updated by Jonas kirk Pedersen over 7 years ago

The bug is also present in version 1.12.1

Actions #4

Updated by Jonas kirk Pedersen over 7 years ago

Jonas kirk Pedersen wrote:

The bug is also present in version 1.12.1 if you forget to add path like <ovirt-engine>/ovirt-engine/api/v3

Works with update and ovirt 4.0.1

Actions #5

Updated by Clesio Santos over 7 years ago

Jonas kirk Pedersen wrote:

Jonas kirk Pedersen wrote:

The bug is also present in version 1.12.1 if you forget to add path like <ovirt-engine>/ovirt-engine/api/v3

Works with update and ovirt 4.0.1

Jonas,

how you fix the problem?

i have the same problems to create vm...

2016-08-01 14:41:00 [app] [W] Failed to create a compute Minc_Cloud (oVirt) instance ubuntu-ovirt-aval.minc.cloud.srv.produ: 404 Resource Not Found | | OVIRT::OvirtException: 404 Resource Not Found

my enviroments:
ovirt 4.0.2.1-1.el7.centos
the foreman 1.12.0

Actions #6

Updated by Jonas kirk Pedersen over 7 years ago

Clesio Santos wrote:

Jonas,

how you fix the problem?

i have the same problems to create vm...

2016-08-01 14:41:00 [app] [W] Failed to create a compute Minc_Cloud (oVirt) instance ubuntu-ovirt-aval.minc.cloud.srv.produ: 404 Resource Not Found | | OVIRT::OvirtException: 404 Resource Not Found

my enviroments:
ovirt 4.0.2.1-1.el7.centos
the foreman 1.12.0

Hello Clesio

I notice when trying to load the datacenters that the connection to the ovirt-engine worked and the certificate was updated. This was after updating foreman to 1.12.1 and ovirt to 4.0.1. Then 404 error pointing me to that URL was wrong and reading the comments to the bug #15560, I notice a new url for the API. So add ovirt-engine/api/v3 instead of the old way /api after FQDN. I have a clean install of foreman so creating a new vm that I have not tried but I can power manage and load clusters from ovirt

Actions #7

Updated by Lukas Zapletal over 7 years ago

  • translation missing: en.field_release set to 175

Hello, updated rbovirt 0.1.2 forces V3 API in HTTP headers which should fix this issue. The new updated package should be part of our nightlies and the upcoming 1.12.2 release. Thanks for report.

Actions #8

Updated by Dominic Cleal over 7 years ago

  • Status changed from New to Closed
Actions #9

Updated by Yama Kasi over 7 years ago

Not fixed here on an ypdated 1.12.2 release.

Actions #10

Updated by Yama Kasi over 7 years ago

I was wrong, you really need:

ovirt-engine/api/v3

Without ovirt-engine it doesn't work and you get a good connection but 404 error.

Actions

Also available in: Atom PDF