Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1723453

Summary: Install failed on timeout during "Wait for resize"
Product: [oVirt] ovirt-engine-metrics Reporter: David Vaanunu <dvaanunu>
Component: GenericAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: high    
Version: 1.3.2CC: bugs, lleistne, omachace, sradco
Target Milestone: ovirt-4.3.6Keywords: ZStream
Target Release: 1.3.4.1Flags: 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:
Description Flags
"Wait for resize" error none

Description David Vaanunu 2019-06-24 14:34:45 UTC
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.

Comment 1 Sandro Bonazzola 2019-06-24 16:38:27 UTC
Shirly, isn't there a way to monitor the status of the command execution instead of relying on timeouts?

Comment 2 Shirly Radco 2019-06-30 08:33:25 UTC
Ondra, Can we we update this timeout?

Comment 3 Ondra Machacek 2019-07-08 07:45:22 UTC
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.

Comment 4 Shirly Radco 2019-07-08 12:28:47 UTC
Opened an issue https://github.com/oVirt/ovirt-ansible-image-template/issues/46

Comment 5 Guilherme Santos 2019-09-10 15:28:04 UTC
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

Comment 6 Sandro Bonazzola 2019-09-26 19:43:06 UTC
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.