Bug 1707479

Summary: workers are not created when pool default path other than "/var/lib/libvirt/images"
Product: OpenShift Container Platform Reporter: Asher Shoshan <ashoshan>
Component: InstallerAssignee: Zeeshan Ali <nobody+zeenix>
Installer sub component: openshift-installer QA Contact: weiwei jiang <wjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: nobody+zeenix, prkumar, zeenix
Version: 4.1.0   
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Installer assumed a specific path where images go. Consequence: Thing break if that assumption is not valid Fix: Installer now creates & uses it's own storage pool. Result: Same as Fix.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:28:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Asher Shoshan 2019-05-07 15:25:49 UTC
Description of problem:
Due to space issues, after changing the path of pool default (i.e. pool-edit, pool-destroy, pool-start), workers are not created at all.
 
Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1. Change path in pool default
2. Run installer (master + workers in config.yaml)

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated
No error msg appeared

Expected results:
Same behavior as with the default path "/var/lib/libvirt/images"

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Zeeshan Ali 2019-06-18 16:20:17 UTC
I believe I already fixed this with: https://github.com/openshift/installer/pull/1628

Comment 3 weiwei jiang 2019-07-01 12:10:30 UTC
Checked and work well now.

$ bin/openshift-install version
bin/openshift-install unreleased-master-1205-g59dd3e5b94349ec0b42690c13a688a6a4e5f8d81
built from commit 59dd3e5b94349ec0b42690c13a688a6a4e5f8d81
release image registry.svc.ci.openshift.org/origin/release:4.2

virsh # vol-list default
 Name                                   Path
----------------------------------------------------------------------------------------------------------
 wjiang-w72vx-base                      /var/lib/libvirt/images.new/wjiang-w72vx-base
 wjiang-w72vx-bootstrap                 /var/lib/libvirt/images.new/wjiang-w72vx-bootstrap
 wjiang-w72vx-bootstrap.ign             /var/lib/libvirt/images.new/wjiang-w72vx-bootstrap.ign
 wjiang-w72vx-master-0                  /var/lib/libvirt/images.new/wjiang-w72vx-master-0
 wjiang-w72vx-master.ign                /var/lib/libvirt/images.new/wjiang-w72vx-master.ign
 wjiang-w72vx-worker-0-hmmlm            /var/lib/libvirt/images.new/wjiang-w72vx-worker-0-hmmlm
 wjiang-w72vx-worker-0-hmmlm.ignition   /var/lib/libvirt/images.new/wjiang-w72vx-worker-0-hmmlm.ignition

virsh # list
 Id   Name                          State
---------------------------------------------
 1    wjiang-w72vx-bootstrap        running
 2    wjiang-w72vx-master-0         running
 3    wjiang-w72vx-worker-0-hmmlm   running

Comment 4 errata-xmlrpc 2019-10-16 06:28:32 UTC
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, 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/RHBA-2019:2922