Bug 1352601 - hosted-engine --deploy fails after selecting FC as strorage type
Summary: hosted-engine --deploy fails after selecting FC as strorage type
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Plugins.Block
Version: 2.0.0.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.0.1
: 2.0.1
Assignee: Simone Tiraboschi
QA Contact: Elad
URL:
Whiteboard:
: 1358505 (view as bug list)
Depends On:
Blocks: 1306965
TreeView+ depends on / blocked
 
Reported: 2016-07-04 12:16 UTC by Christian Kalkhoff
Modified: 2019-12-16 06:04 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-04 13:33:07 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: blocker+
ylavi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
VDMS-Logs (9.26 KB, application/x-gzip)
2016-07-04 12:16 UTC, Christian Kalkhoff
no flags Details
hosted-engine log (314.01 KB, text/plain)
2016-07-04 12:25 UTC, Christian Kalkhoff
no flags Details
hosted-engine answers (2.76 KB, text/plain)
2016-07-04 12:26 UTC, Christian Kalkhoff
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 60139 0 master MERGED jsonrpc: fixing getDeviceList call on FC with jsonrpc 2016-07-05 11:54:13 UTC
oVirt gerrit 60142 0 ovirt-hosted-engine-setup-2.0 MERGED jsonrpc: fixing getDeviceList call on FC with jsonrpc 2016-07-05 11:54:27 UTC

Description Christian Kalkhoff 2016-07-04 12:16:56 UTC
Created attachment 1176018 [details]
VDMS-Logs

I cannot setup hosted-engine with FC as storage type. The script dies after selecting FC with a KeyError.

I run a minimal CentOS 7.2 with the upstream yum-Repos for ovirt-release40 (the error also occurs with the versions from ovirt-release40-pre.


How reproducible: Always


Steps to Reproduce:
1. Install CentOS 7.2 Minimal on a host with FC-LUNs
2. Start hosted-engine --deploy
3. Select fc for storage type

Actual results: The script dies


Expected results: A list of LUNs is presented to select from

Comment 1 Christian Kalkhoff 2016-07-04 12:20:22 UTC
Output of the hosted_engine:

[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          During customization use CTRL-D to abort.
          Continuing will configure this host for serving as hypervisor and create a VM where you have to install the engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]: 
[ INFO  ] Hardware supports virtualization
          Configuration files: []
          Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704141921-gu74rf.log
          Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[WARNING] Cannot locate gluster packages, Hyper Converged setup support will be disabled.
[ INFO  ] Please abort the setup and install vdsm-gluster, gluster-server >= 3.7.2 and restart vdsmd service in order to gain Hyper Converged setup support.
[ INFO  ] Stage: Environment customization
         
          --== STORAGE CONFIGURATION ==--
         
          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: fc
[ ERROR ] Failed to execute stage 'Environment customization': 'devList'
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704141931.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704141921-gu74rf.log

Comment 2 Christian Kalkhoff 2016-07-04 12:25:48 UTC
Created attachment 1176046 [details]
hosted-engine log

Comment 3 Christian Kalkhoff 2016-07-04 12:26:17 UTC
Created attachment 1176048 [details]
hosted-engine answers

Comment 4 Christian Kalkhoff 2016-07-04 14:28:48 UTC
After applying the commit to my installation, I was able to successfully run hosted-engine and deploy it on FC.

So can be closed.

Comment 5 Simone Tiraboschi 2016-07-04 15:03:18 UTC
(In reply to Christian Kalkhoff from comment #4)
> After applying the commit to my installation, I was able to successfully run
> hosted-engine and deploy it on FC.
> 
> So can be closed.

Thanks Christian but we have to follow the full bug flow to be sure that the fix comes with the next release.

Comment 6 Yaniv Lavi 2016-07-06 09:00:27 UTC
Should this be MODIFIED?

Comment 7 Jiri Belka 2016-07-18 13:07:50 UTC
I was testing RHEL7 and ovirt 3.6 with FC luns and its migration to 4.0-snapshot on Wed July 13 and it worked fine.

Comment 9 Simone Tiraboschi 2016-07-21 13:32:05 UTC
*** Bug 1358505 has been marked as a duplicate of this bug. ***

Comment 10 Elad 2016-07-31 15:45:51 UTC
After selecting FC during hosted-engine deployment, the setup continues successfully.

[ INFO  ] Please abort the setup and install vdsm-gluster, gluster-server >= 3.7.2 and restart vdsmd service in order to gain Hyper Converged setup support.
[ INFO  ] Stage: Environment customization
         
          --== STORAGE CONFIGURATION ==--
         
          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: fc
          The following luns have been found on the requested target:
                [1]     3514f0c5a5160027c       50GiB   XtremIO XtremApp
                        status: used, paths: 4 active
         
                [2]     3514f0c5a5160027b       50GiB   XtremIO XtremApp
                        status: used, paths: 4 active
         
                [3]     3514f0c5a5160027a       50GiB   XtremIO XtremApp
                        status: used, paths: 4 active
         
                [4]     3514f0c5a516002ae       150GiB  XtremIO XtremApp
                        status: used, paths: 4 active
         
                [5]     3514f0c5a51600278       150GiB  XtremIO XtremApp
                        status: used, paths: 4 active
         
                [6]     3514f0c5a51600289       150GiB  XtremIO XtremApp
                        status: used, paths: 4 active
         
          Please select the destination LUN (1, 2, 3, 4, 5, 6) [1]: 4



=============================
Tested using:
ovirt-hosted-engine-setup-2.0.1.3-1.el7ev.noarch


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