Hey there,
i just want to contact you, because we have an issue with our provisioning. We currently have this issue in Cloudforms, but i also tried it out in MIQ. Same here.
The Problem:
we have 2 Datacenters (Locations) with one vCenter over it. No Storage Domain is used (this means that every location has his Storage LUNs which couldn’t be accessed by the other location).
To provision in these 2 locations we places 2 templates on each.
Now, our placement method goes through, and pulls eligible hosts with the
prov.eligible_hosts.each do |whatever|
But he gets the wrong hosts. These are hosts from the other site, which are not attached to this template
[----] I, [2016-06-08T16:08:43.496896 #32343:3cc3d5c] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> INFO: vm=[CFVM-Template-RHEL6_64v2_location1], space required=[536870912]
[----] I, [2016-06-08T16:08:45.121983 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> DEBUG: Inspecting Host <esx55.location2.company.com> with tags <["host_cluster/location1"]>
[----] I, [2016-06-08T16:08:45.125569 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> DEBUG: ignored tag: customer = internal -> not nesscessary
[----] I, [2016-06-08T16:08:45.125993 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> DEBUG: ignored tag: sdrs_cluster = cluster1 -> not nesscessary
[----] I, [2016-06-08T16:08:45.126414 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> DEBUG: searching through tags: host_cluster => location1
[----] I, [2016-06-08T16:08:45.131401 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> INFO: Host <esx55.location2.company.com> eligable?: <false>
[----] I, [2016-06-08T16:08:45.138753 #32343:6ce37e4] INFO -- : Q-task_id([miq_provision_49000000005821]) <AEMethod vmware_best_fit_with_tags> DEBUG: Inspecting Host <esx07.location2.company.com> with tags <["host_cluster/location1"]>
Do you have any idea why this happen ?