Open Dhamo1107 opened 2 months ago
Hi @GilbertCherrie @jeffibm @Fryguy @agrare, Do you have any idea on this?
Hey @Dhamo1107 I wonder if the issue is that event-based targeted refresh didn't happen to pick up the hosts in that host aggregate.
Can you go to the openstack cloud provider and click Configuration / Refresh Relationships and Power States
to kick a full refresh?
Hi @agrare,
Even after refreshing the Relationships and Power States, the host values are not being updated.
However, I was able to retrieve the host values using the following method (which fetches the hosts from the provider using the API):
def fetch_hosts_from_openstack ext_management_system.with_provider_connection do |connection| connection.list_aggregates.body['aggregates'].find { |agg| agg['id'] == ems_ref.to_i }['hosts'] end end
Do you have any insights on this?
Hi @agrare, @Dhamo1107,
I'm encountering the same issue. When I navigate to the Host Aggregates tab in the cloud provider section of ManageIQ, both the Host and Instances values are always showing as zero.
For your reference, I’m sharing the following screenshots:
3.The instances are also associated with the same hostname in OpenStack.
It seems like there's a discrepancy between the host and instance values in ManageIQ and OpenStack. Could you please help analyze this issue?
Hi @Fryguy,
Do you have any updates on the above issue?
Additionally, when I try to create a new Host Aggregate, I encounter the following error:
Invalid input for field/attribute name. Value: None. None is not of type 'string'.
Could you please assist with this as well?
Hi @jeffibm,
We only have a Cloud Provider in OpenStack (no Infrastructure Provider), and there is no Ironic service in OpenStack. We have 3 hosts in a host aggregate created in OpenStack, but even after refreshing relationships and power states, the hosts are not appearing on the Host Aggregate page in ManageIQ (Compute -> Cloud -> Host Aggregates). We are using Petrosian version. Do you have any idea why this might be happening?
Thanks.
Hi @skateman, Do you have any idea on this?
Hi @Dhamo1107 I'm aware of this issue I haven't had a chance to investigate it yet though
Thanks for the update, @agrare. Looking forward to your findings.
I created a host aggregate with 3 hosts in OpenStack:
In ManageIQ, I expected to see the host count updated on the Host Aggregates page. While the host aggregate name is correctly displayed, the hosts and instances values are not updated:
Version : Petrosian