Bug 1397305 - [hosted-engine-setup] Deployment is broken for FC: "Failed to execute stage 'Environment customization': 'Plugin' object has no attribute '_customize_mnt_options'"
Summary: [hosted-engine-setup] Deployment is broken for FC: "Failed to execute stage '...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Plugins.Block
Version: 2.0.3.1
Hardware: x86_64
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.1.0-alpha
: 2.1.0
Assignee: Simone Tiraboschi
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-22 09:18 UTC by Elad
Modified: 2019-04-28 13:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:48:14 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
rule-engine: devel_ack+
ratamir: testing_ack+


Attachments (Terms of Use)
logs from hypervisor (618.85 KB, application/x-gzip)
2016-11-22 09:19 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67159 0 master MERGED storage: remove _customize_mnt_options for iSCSI/FC 2016-11-22 15:54:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.