Description of problem: hosted-engine --deploy ignores "None" settings for iSCSI auth / login in answers file Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.2.16-1.el7.centos.noarch How reproducible: Every time Steps to Reproduce: 1. As an example, provide an answers file containing: OVEHOSTED_STORAGE/iSCSIDiscoverUser=none:None OVEHOSTED_STORAGE/iSCSIDiscoverPassword=none:None OVEHOSTED_STORAGE/iSCSIPortalUser=none:None OVEHOSTED_STORAGE/iSCSIPortalPassword=none:None 2. Run hosted-engine --deploy --config-append=<your answers file> Actual results: You will be prompted to enter the following: Please specify the iSCSI discover user: Please specify the iSCSI discover password: Please specify the iSCSI portal login user: Please specify the iSCSI portal login password: Expected results: These should all be skipped (null/empty/none) if None is provided in the answers file. Additional info: Note: if an empty `=str:` value is provided in the answers file, the install actually crashes with: [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'None' has no attribute 'split'\n\nThe error appears to have been in '/usr/share/ovirt-hosted-engine-setup/ansible/create_storage_domain.yml': line 71, column 5, but may\nbe elsewhere in the file depending on the exact syntax probl em.\n\nThe offending line appears to be:\n\n register: otopi_storage_domain_details\n - name: Add iSCSI storage domain\n ^ here\n"}
We do not not support not using authentication. This is by design.
(In reply to Yaniv Lavi from comment #1) > We do not not support not using authentication. > This is by design. I'm not trying to use authentication. The oVirt hosted-engine --deploy is _offering_ to use authentication.
If you don't want to use authentication you can add the answerfile the following lines: OVEHOSTED_STORAGE/iSCSIDiscoverUser=str: OVEHOSTED_STORAGE/iSCSIDiscoverPassword=str: OVEHOSTED_STORAGE/iSCSIPortalUser=str: OVEHOSTED_STORAGE/iSCSIPortalPassword=str: This way you will not be asked about users and passwords.
There is still a bug here - the generated answers file puts these values in with none:None, so if they're meant to be str: then it's doing it wrong.