Bug 1723453
| Summary: | Install failed on timeout during "Wait for resize" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine-metrics | Reporter: | David Vaanunu <dvaanunu> | ||||
| Component: | Generic | Assignee: | Shirly Radco <sradco> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 1.3.2 | CC: | bugs, lleistne, omachace, sradco | ||||
| Target Milestone: | ovirt-4.3.6 | Keywords: | ZStream | ||||
| Target Release: | 1.3.4.1 | Flags: | sbonazzo:
ovirt-4.3?
sradco: blocker? sbonazzo: planning_ack? sbonazzo: devel_ack+ lleistne: testing_ack+ |
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-metrics-1.3.4.1 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Cause:
"Wait for resize" failed since it hit timeout.
Consequence:
oVirt metrics store, that is based on the "ovirt-ansible-image-template" role, failed.
Fix:
The timeout variable is now configurable and not hard coded.
Result:
The timeout can now be set using the "ovirt_template_disk_resize_timeout" variable
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-09-26 19:43:06 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1738770 | ||||||
| Attachments: |
|
||||||
Shirly, isn't there a way to monitor the status of the command execution instead of relying on timeouts? Ondra, Can we we update this timeout? We can, provide a variable which can change the timeout. Should I solve it as part of this bug, or will you open different one? You could then set the variable value as needed. So change in metrics would be needed as well. Opened an issue https://github.com/oVirt/ovirt-ansible-image-template/issues/46 Verified on: ovirt-engine-4.3.6.5-0.1.el7.noarch ovirt-engine-metrics-1.3.4.1-1.el7ev.noarch Steps: 1. Setup the values in config files (including the 'disk_resize_timeout') 2. run "ANSIBLE_JINJA2_EXTENSIONS="jinja2.ext.do" ./configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml --ask-vault-pass" 3. Checked logs for 'disk_resize_timeout' Results: Properly validated variable 'disk_resize_timeout' being assigned This bugzilla is included in oVirt 4.3.6 release, published on September 26th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.6 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |
Created attachment 1584038 [details] "Wait for resize" error Description of problem: During the installation, create a new disk - 500GiB. The configured timeout is 1min (Loop setup: retries 30, delay 2). Need to increase the timeout. How reproducible: Steps to Reproduce: 1. Setup the values in config files 2. run "ANSIBLE_JINJA2_EXTENSIONS="jinja2.ext.do" ./configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml --ask-vault-pass" Actual results: Failed on "Wait for resize" Expected results: Installed passed Additional info: Attached ansible output.