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

Bug 1397305

Summary: [hosted-engine-setup] Deployment is broken for FC: "Failed to execute stage 'Environment customization': 'Plugin' object has no attribute '_customize_mnt_options'"
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Elad <ebenahar>
Component: Plugins.BlockAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.0.3.1CC: bugs, ratamir, tnisan
Target Milestone: ovirt-4.1.0-alphaKeywords: Regression
Target Release: 2.1.0Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
rule-engine: devel_ack+
ratamir: testing_ack+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:48:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs from hypervisor none

Description Elad 2016-11-22 09:18:14 UTC
Description of problem:
Tried to deploy hosted-engine, it crashed when I picked the storage type (FC):

2016-11-22 10:56:43 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/blockd.py", line 615, in _customization
    self._customize_mnt_options()
AttributeError: 'Plugin' object has no attribute '_customize_mnt_options'
2016-11-22 10:56:43 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment customization': 'Plugin' object has no attribute '_customize_mnt_options'
2016-11-22 10:56:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.1.0-0.0.master.20161116150628.git49c16e8.el7.centos.noarch
vdsm-4.18.999-941.gitf3ad82e.el7.centos.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Deploy hosted-engine, pick FC as the storage type
2.
3.

Actual results:
Deployment crashes for FC

Expected results:
Deployment should proceed 

Additional info:
logs from hypervisor

Comment 1 Elad 2016-11-22 09:19:03 UTC
Created attachment 1222645 [details]
logs from  hypervisor

Comment 2 Simone Tiraboschi 2016-11-22 15:55:05 UTC
The issue happens only on master, no need to backport

Comment 3 Sandro Bonazzola 2016-12-12 13:55:24 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 4 Elad 2016-12-28 16:42:07 UTC
Hosted-engine deployment continues after picking FC.

Used:
ovirt-hosted-engine-setup-2.1.0-0.0.master.git46cacd3.el7ev.noarch