Storage connection details, storage domain and DC should be injected into Engine as part of engine-setup, so when engine runs, it already has the data about the storage parts of the host (including the connections, the domain, the DC and that the host is a SPM).
TBD: inject host data as well (to relieve some of the work from host-deploy, or just because it's needed for the above!)
The change description is here: https://github.com/oVirt/ovirt-site/pull/1273
Adding 'tracking' since this bug doesn't include patches to match criteria to move to ON_QA. and its tracking all the dependent bugs on it.
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:
[No relevant external trackers attached]
For more info please contact: email@example.com
Using ovirt-hosted-engine-setup-2.2.1-0.0.master.20171206172737.gitd3001c8.el7.centos.noarch and ovirt-engine-appliance-4.2-20171210.1.el7.centos.noarch:
1.Deployed over NFS storage - success.
2.Deployed over iSCSI storage - success.
3.Deployed over Gluster storage - success.
4.Deployed over FC storage - TBD.
The initial SHE-VM that was created during deployment and then powered-off, still appears and shown as "external-HostedEngineLocal".
SHE regular deployment over FC has failed. More details available from here: https://bugzilla.redhat.com/show_bug.cgi?id=1525907#c14.I think that unless regular deployment fixed, node zero will also fail the same way.
I'm getting these during FC deployment with node zero:
[ INFO ] TASK [Remove host-deploy configuration file]
[ INFO ] changed: [localhost]
Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs)[nfs]: fc
[ INFO ] Getting Fibre Channel LUNs list
[ ERROR ] ERROR! the playbook: /usr/share/ovirt-hosted-engine-setup/ansible/fc_getdevices.yml could not be found
[ ERROR ] Unable to get target list
Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs)[nfs]:
[root@purple-vds2 ~]# ll -lsh /usr/share/ovirt-hosted-engine-setup/ansible/
12K -rw-r--r--. 1 root root 8.3K Dec 14 17:47 bootstrap_local_vm.yml
0 drwxr-xr-x. 2 root root 77 Dec 18 17:00 callback_plugins
4.0K -rw-r--r--. 1 root root 1.1K Dec 14 17:47 clean_environment.yml
8.0K -rw-r--r--. 1 root root 5.2K Dec 14 17:47 create_storage_domain.yml
12K -rw-r--r--. 1 root root 12K Dec 14 17:47 create_target_vm.yml
4.0K -rw-r--r--. 1 root root 588 Dec 14 17:47 iscsi_discover.yml
4.0K -rw-r--r--. 1 root root 1.2K Dec 14 17:47 iscsi_getdevices.yml
0 drwxr-xr-x. 2 root root 104 Dec 18 17:00 library
0 drwxr-xr-x. 2 root root 249 Dec 18 17:00 templates
Works for me on these components:
Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Tested using CLI on all types of storages (iSCSI, NFS, Gluster, FC) for both vintage and Node 0.
Moving to verified.
Feel free to reopen if you see any new issues.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.
Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.