Bug 1611395
Summary: | Unable to list Compute Templates in RHV 4.2 from Satellite 6.3.2 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gianfranco Sigrisi <gsigrisi> |
Component: | Compute Resources - RHEV | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | Unspecified | CC: | ahadas, bugs, dajohnso, gchakkar, gsigrisi, gtalreja, inecas, lsvaty, michal.skrivanek, mkalinin, mtessun, orabin, tamir |
Target Milestone: | Unspecified | Keywords: | TestCannotAutomate, TestOnly |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:16:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1808831 | ||
Bug Blocks: |
Description
Gianfranco Sigrisi
2018-08-02 08:55:07 UTC
Please attach logs from Satellite side, containing the actual request to RHV API. Also attach complete ovirt engine.log Gianfranco - ping Hi Michal, Ryan, I've found the logs you requested. Unfortunately they are truncated as I had to re-deploy the engine and only after that I was able to create compute on RHV from Satellite. I'm attaching what I have left. I do have the same Satellite I've used where the issue occurred. Please don't hesitate to let me know if you need any other info. sadly the ovirt part is indeed truncated. I just see the request that failed just returned 404 which could indicate some runtime issues. It could happen if you're restarting the ovirt-engine service, rebooting host, etc If it works after restart there's not much we can look at... CLOSED WORKSFORME? Hi Michal, After following the guidelines in the doc to add a Compute Resource, I was not able to create a VM on RHV 4.2 (using Satellite 6.3.2). The logs I posted are truncated but, even with debug mode enabled, on the Satellite side no error was shown. The only message was about: 404 Resource not found. What I recall was that I've modified the Default cluster name, Default template name. After this, I was not able to create any VM. For this reason I did redeploy the HE. I left everything with the default setting and it worked. At the moment my cluster is composed by 4 HV in total hosting 8 VM. I don't have another environment to test. Could you replicate the situation I mentioned in one of the ENG cluster? Thanks, Gianfranco Without logs on oVirt side I can't say what's missing. Does/did that template exist on oVirt side? Did you rename the Blank template? That's what the Satellite request uses and I do not see it in your screenshot. (In reply to Michal Skrivanek from comment #10) > Without logs on oVirt side I can't say what's missing. > Does/did that template exist on oVirt side? Did you rename the Blank > template? That's what the Satellite request uses and I do not see it in your > screenshot. Yes, I've renamed the Blank template. Was this the issue then? yes, as that's what Satellite requests to use. Normally it's not a good idea as many of the API examples and 3rd party integrations use the name "Blank". If you request to fix it it needs to happen on the Satellite side. They could use UUID(that we promise to keep hardcoded) and look up the right name. (In reply to Michal Skrivanek from comment #12) > yes, as that's what Satellite requests to use. Normally it's not a good idea > as many of the API examples and 3rd party integrations use the name "Blank". > If you request to fix it it needs to happen on the Satellite side. They > could use UUID(that we promise to keep hardcoded) and look up the right name. I suppose that as a result, by default Satellite doesn't show anything in the Template field when provisioning a VM because it expects "Blank" template already present on the oVirt side. Does that mean that "Blank" must always be on the oVirt side and, if needed, a 2nd template must be created? Once the 2nd template is created, Satellite should show that in the Template selection field. Is this correct? Thanks, Gianfranco Probably. I do not know how Satellite handles that. Ivan, can you reassign the bug to the appropriate component on your side? The ideal procedure would be filling a new bug in Satellite component, describing what's the observed and expected behaviour, as you would explain it to a satellite developer and we can take it from there if there is anything from Satellite side to do. If the issue is with using the hardcoded 'Blank' name, I think this will be addressed with integration of the APIv4 API, as we started using the sdk's special objects to get the reference, see https://github.com/fog/fog-ovirt/blob/32a2c734799f649827972a1e5ff52af2e26d9572/lib/fog/ovirt/compute/v4.rb#L174 I guess it can wait for Sat 6.4 then? WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops Here are 2 bugs I created: https://bugzilla.redhat.com/show_bug.cgi?id=1808831 https://bugzilla.redhat.com/show_bug.cgi?id=1808843 Only the first blocks this issue Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:3247 |