fusor / ansible-ovirt

Ansible scripts for deploying Ovirt/RHV
14 stars 11 forks source link

Add additional hosts in 4.1 #30

Closed kobihk closed 7 years ago

kobihk commented 7 years ago

Since in 4.1 we no longer able to use the "hosted-engine --deploy" to add additional hosts we have to add additional hosts via the sdk.

mykaul commented 7 years ago

Why not use oVirt Ansible?

kobihk commented 7 years ago

ovirt ansible doesn't support it yet, I opened issue about it: https://github.com/ansible/ansible/issues/20966

kobihk commented 7 years ago

Done!!

fabianvf commented 7 years ago

Right, but for normal, non-self-hosted deploys, presumably we need to leave this flag off?

On Mar 22, 2017 5:54 PM, "kobihk" notifications@github.com wrote:

@kobihk commented on this pull request.

In roles/register_hypervisor/tasks/main.yml https://github.com/fusor/ansible-ovirt/pull/30#discussion_r107543110:

@@ -28,6 +37,7 @@ --host-name='{{ host_name if host_name is defined else "" }}' --host-password='{{ root_password }}' --cluster='{{ cluster_name }}'

  • --deploy-hosted-engine

In 4.1 we no longer able to use the command "hosted-engine --deploy" for additional hosts. So, to add additional hosts we have to add these hosts (hypervisors) via the sdk API and we have to add this flag "--deploy-hosted-engine" otherwise it will install hypervisor without hosted engine capabilities.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fusor/ansible-ovirt/pull/30#discussion_r107543110, or mute the thread https://github.com/notifications/unsubscribe-auth/ACUb5sl4F8isl4Pyy7-oICL2cAnOdBYgks5roZiMgaJpZM4Lyk2t .

kobihk commented 7 years ago

Updated!! Please let me know if this is what you meant.

fabianvf commented 7 years ago

Yep!