Hi Gobinda, ovirt-users,I think I'm close, but I'm running into a timeout/error when the ovirt.hosted-engine-setup tasks try to connect to the new "HostedEngineLocal" VM. It seems to complain about host_key_checking. I disabled that via ansible.cfg, but it fails on the next task (see short logs.) Do you see anything obviously wrong in my inventory and json files? I've attached the verbose playbook logs when I run this from the first HCI host...[root@rhhi1 hc-ansible-deployment]# pwd
/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment[root@rhhi1 hc-ansible-deployment]# ansible-playbook -b -vvv -i gluster_inventory.yml hc_deployment.yml --extra-vars='@he_gluster_vars.json' | tee playbook.logsOn Wed, Dec 11, 2019 at 11:09 PM Gobinda Das <godas@redhat.com> wrote:Hi John,You need to specify storage-fqdn(Which should mapped to storage network) and ovirtmgmt-fqdn (Which should mapped to frontend network) like this:hc_nodes:
hosts:
host1-STORAGE-fqdn:
host2-STORAGE-fqdn:
host3-STORAGE-fqdn:
vars:
cluster_nodes:
- host1-STORAGE-fqdn
- host2-STORAGE-fqdn
- host3-STORAGE-fqdn
gluster_features_hci_cluster: "{{ cluster_nodes }}"
gluster:
host2-ovirtmgmt-fqdn:
host3-ovirtmgmt-fqdn:
storage_domains: [{"name":"data","host":"host1-STORAGE-fqdn","address":"host1-STORAGE-fqdn","path":"/data","mount_options":"backup-volfile-servers=host2-STORAGE-fqdn:host3-STORAGE-fqdn"},{"name":"vmstore","host":"host1-STORAGE-fqdn","address":"host1-STORAGE-fqdn","path":"/vmstore","mount_options":"backup-volfile-servers=host2-STORAGE-fqdn:host3-STORAGE-fqdn"}]On Thu, Dec 12, 2019 at 2:47 AM John Call <jcall@redhat.com> wrote:_______________________________________________Hi ovirt-users,I'm trying to automate my HCI deployment, but can't figure out how to specify multiple network interfaces in gluster_inventory.yml. My servers have two NICs, one for ovirtmgmt (and everything else), and the other is just for Gluster. How should I populate the inventory/vars file? Is this correct?[root@rhhi1 hc-ansible-deployment]# pwd
/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment[root@rhhi1 hc-ansible-deployment]# cat gluster_inventory.yml--lots of stuff omitted--hc_nodes:
hosts:
host1-STORAGE-fqdn:
host2-STORAGE-fqdn:
host3-STORAGE-fqdn:
vars:
cluster_nodes:
- host1-ovirtmgmt-fqdn
- host2-ovirtmgmt-fqdn
- host3-ovirtmgmt-fqdn
gluster_features_hci_cluster: "{{ cluster_nodes }}"gluster:
host2-STORAGE-fqdn:
host3-STORAGE-fqdn:
storage_domains: [{"name":"data","host":"host1-STORAGE-fqdn","address":"host1-STORAGE-fqdn","path":"/data","mount_options":"backup-volfile-servers=host2-STORAGE-fqdn:host3-STORAGE-fqdn"},{"name":"vmstore","host":"host1-STORAGE-fqdn","address":"host1-STORAGE-fqdn","path":"/vmstore","mount_options":"backup-volfile-servers=host2-STORAGE-fqdn:host3-STORAGE-fqdn"}]
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/TEAHUX6LSPM5YQ7SYBN2L7H6VUGUDNMI/
--Thanks,Gobinda