Bug 2030293
Summary: | VM in locked state forever if manager is rebooted while exporting VM as OVA | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | nijin ashok <nashok> |
Component: | ovirt-engine | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED ERRATA | QA Contact: | Nisim Simsolo <nsimsolo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.8 | CC: | ahadas, apinnick, nsimsolo |
Target Milestone: | ovirt-4.5.1 | Keywords: | TestOnly |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.5.1.2 | Doc Type: | Bug Fix |
Doc Text: |
A VM no longer remains in a permanent locked state if the Manager is rebooted while exporting the VM as OVA.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-14 12:54:31 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: |
Description
nijin ashok
2021-12-08 11:50:01 UTC
The problem is regarding the ansible-runner-service missing the artifact: 2021-12-08 16:53:20,021 - runner_service.controllers.playbooks - INFO - 127.0.0.1 - GET /api/v1/playbooks/363026fa-5819-11ec-be69-002b6a01557c 2021-12-08 16:53:20,021 - runner_service.services.playbook - DEBUG - runner_cache 'hit' for playbook status request 2021-12-08 16:53:20,023 - runner_service.controllers.jobs - DEBUG - Request received, content-type :None ... 2021-12-08 16:53:20,064 - runner_service.controllers.jobs - INFO - 127.0.0.1 - GET /api/v1/jobs/363026fa-5819-11ec-be69-002b6a01557c/events/30-002b6a01-557c-a4a3-25e5-00000000001e 2021-12-08 16:53:30,082 - runner_service.controllers.playbooks - DEBUG - Request received, content-type :None 2021-12-08 16:53:30,083 - runner_service.controllers.playbooks - INFO - 127.0.0.1 - GET /api/v1/playbooks/363026fa-5819-11ec-be69-002b6a01557c 2021-12-08 16:53:30,083 - runner_service.services.playbook - DEBUG - runner_cache 'hit' for playbook status request 2021-12-08 16:53:30,085 - runner_service.controllers.jobs - DEBUG - Request received, content-type :None 2021-12-08 16:53:30,085 - runner_service.controllers.jobs - INFO - 127.0.0.1 - GET /api/v1/jobs/363026fa-5819-11ec-be69-002b6a01557c/events 2021-12-08 16:53:30,085 - runner_service.services.jobs - DEBUG - Job events for play 363026fa-5819-11ec-be69-002b6a01557c: 31 2021-12-08 16:53:30,085 - runner_service.services.jobs - DEBUG - Active filter is :{} 2021-12-08 16:53:30,087 - runner_service.controllers.jobs - DEBUG - Request received, content-type :None 2021-12-08 16:53:30,087 - runner_service.controllers.jobs - INFO - 127.0.0.1 - GET /api/v1/jobs/363026fa-5819-11ec-be69-002b6a01557c/events 2021-12-08 16:53:30,087 - runner_service.services.jobs - DEBUG - Job events for play 363026fa-5819-11ec-be69-002b6a01557c: 31 2021-12-08 16:53:30,087 - runner_service.services.jobs - DEBUG - Active filter is :{} 2021-12-08 16:56:28,306 - root - INFO - Analysing local configuration options from /etc/ansible-runner-service/config.yaml 2021-12-08 16:56:28,313 - root - INFO - - setting playbooks_root_dir to /usr/share/ovirt-engine/ansible-runner-service-project 2021-12-08 16:56:28,313 - root - INFO - - setting ssh_private_key to /etc/pki/ovirt-engine/keys/engine_id_rsa 2021-12-08 16:56:28,313 - root - INFO - - setting port to 50001 2021-12-08 16:56:28,313 - root - INFO - - setting target_user to root 2021-12-08 16:56:28,314 - root - INFO - - setting log_path to /var/log/ovirt-engine 2021-12-08 16:56:28,314 - root - INFO - - setting ssh_checks to False 2021-12-08 16:56:28,314 - root - INFO - Analysing runtime overrides from environment variables 2021-12-08 16:56:28,314 - root - INFO - No configuration settings overridden 2021-12-08 16:56:28,316 - root - INFO - Loaded logging configuration from /etc/ansible-runner-service/logging.yaml 2021-12-08 16:56:28,330 - runner_service.controllers.playbooks - DEBUG - Request received, content-type :None 2021-12-08 16:56:28,331 - runner_service.controllers.playbooks - INFO - 127.0.0.1 - GET /api/v1/playbooks/363026fa-5819-11ec-be69-002b6a01557c 2021-12-08 16:56:28,331 - runner_service.services.playbook - DEBUG - runner_cache 'miss' for run 363026fa-5819-11ec-be69-002b6a01557c 2021-12-08 16:56:28,333 - runner_service.services.playbook - WARNING - Status Request for Play uuid '363026fa-5819-11ec-be69-002b6a01557c', found an incomplete artifacts directory...Possible ansible_runner error? 2021-12-08 16:56:28,344 - runner_service.controllers.jobs - DEBUG - Request received, content-type :None 2021-12-08 16:56:28,344 - runner_service.controllers.jobs - INFO - 127.0.0.1 - GET /api/v1/jobs/363026fa-5819-11ec-be69-002b6a01557c/events 2021-12-08 16:56:28,361 - runner_service.services.jobs - DEBUG - Job events for play 363026fa-5819-11ec-be69-002b6a01557c: 31 2021-12-08 16:56:28,361 - runner_service.services.jobs - DEBUG - Active filter is :{} Here we see the ansible-runner-service restarted, then not finding the uuid artifact all the sudden. In such case the response to the engine will be "unknown" and we will keep polling the job. We need to figure what happened to the artifact if we can and think of failing/succeeding the job in case of 'unknown' response. Didn't reproduce with on latest version, should be fixed by other changesto ansible-runner Verified (didn't manage to reproduce): ovirt-engine-4.5.1.1-0.14.el8ev vdsm-4.50.1.2-1.el8ev.x86_64 qemu-kvm-6.2.0-11.module+el8.6.0+15489+bc23efef.1.x86_64 libvirt-8.0.0-5.2.module+el8.6.0+15256+3a0914fe.x86_64 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and 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-2022:5555 |