You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Yordan Kostov <Yo...@NSOGROUP.COM> on 2021/02/11 12:45:06 UTC
RE: Failed to add data store: No host up to associate a storage pool
with in cluster 2
Hello Nicolas,
Yes hosts are in cluster. From close inspection of the logs here is what happens.
CS finds the cluster and starts deploying the management network on vSwitch0 on all hosts.
This is done successfully, but after that it fails to find management ports? It is kind of contradicting to me.
2021-02-11 14:38:31,897 INFO [c.c.h.v.m.HostMO] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Waiting for network cloud.private.untagged.0.1-vSwitch0 to be ready
2021-02-11 14:38:32,912 INFO [c.c.h.v.m.HostMO] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Waiting for network cloud.private.untagged.0.1-vSwitch0 to be ready
2021-02-11 14:38:33,941 DEBUG [c.c.h.v.m.HostMO] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Successfully created port group cloud.private.untagged.0.1-vSwitch0 in vSwitch vSwitch0 on host XXXX
2021-02-11 14:38:33,951 INFO [c.c.h.v.m.HypervisorHostHelper] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Network cloud.private.untagged.0.1-vSwitch0 is ready on vSwitch vSwitch0
2021-02-11 14:38:34,138 DEBUG [c.c.h.v.r.VmwareContextFactory] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) initialize VmwareContext. url: https://X.X.X.X/sdk/vimService, username: administrator@vsphere.local, password: X********
2021-02-11 14:38:34,366 INFO [c.c.h.v.u.VmwareContext] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) New VmwareContext object, current outstanding count: 3
2021-02-11 14:38:34,519 INFO [c.c.h.v.r.VmwareResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) VmwareResource network configuration info. private traffic over vSwitch: vSwitch0, public traffic over vmwaresvs : vSwitch0, guest traffic over vmwaresvs : vSwitch0
2021-02-11 14:38:34,554 DEBUG [c.c.a.r.v.VirtualRoutingResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) The router.aggregation.command.each.timeout in seconds is set to 600
2021-02-11 14:38:34,793 INFO [c.c.h.v.r.VmwareResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) VmwareResource network configuration info. private traffic over vSwitch: vSwitch0, public traffic over vmwaresvs : vSwitch0, guest traffic over vmwaresvs : vSwitch0
2021-02-11 14:38:34,793 DEBUG [c.c.a.r.v.VirtualRoutingResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) The router.aggregation.command.each.timeout in seconds is set to 600
2021-02-11 14:38:35,059 INFO [c.c.h.v.r.VmwareResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) VmwareResource network configuration info. private traffic over vSwitch: vSwitch0, public traffic over vmwaresvs : vSwitch0, guest traffic over vmwaresvs : vSwitch0
2021-02-11 14:38:35,059 DEBUG [c.c.a.r.v.VirtualRoutingResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) The router.aggregation.command.each.timeout in seconds is set to 600
2021-02-11 14:38:35,079 INFO [c.c.h.v.u.VmwareContext] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Disconnecting VMware session
2021-02-11 14:38:35,419 INFO [c.c.h.v.r.VmwareResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) Startup report on host hardware info. {"memoryBytes":274392502272,"cpuCount":64,"cpuSpeed":2095,"cpuSockets":2}
2021-02-11 14:38:35,494 INFO [c.c.h.v.u.VmwareHelper] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) [ignored]failed to get message for exception: Unable to find management port group Management Network
2021-02-11 14:38:35,495 ERROR [c.c.h.v.r.VmwareResource] (qtp1026871825-19:ctx-5659faec ctx-6dd62f97) (logid:947f9338) querying host network info failed due to Exception: java.lang.Exception
Message: Unable to find management port group Management Network
java.lang.Exception: Unable to find management port group Management Network
at com.cloud.hypervisor.vmware.mo.HostMO.getHyperHostNetworkSummary(HostMO.java:1019)
at com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostNetworkInfo(VmwareResource.java:6280)
at com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostInfo(VmwareResource.java:6205)
at com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:6129)
Best regards,
Jordan
-----Original Message-----
From: Nicolas Vazquez <Ni...@shapeblue.com.INVALID>
Sent: Friday, January 22, 2021 7:15 AM
To: users@cloudstack.apache.org
Subject: Re: Failed to add data store: No host up to associate a storage pool with in cluster 2
Hi Yordan,
Are your hosts added to the cluster in vCenter before adding the zone in CloudStack?
Regards,
Nicolas Vazquez
________________________________
From: Yordan Kostov <Yo...@NSOGROUP.COM>
Sent: Thursday, January 21, 2021 7:04 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: RE: Failed to add data store: No host up to associate a storage pool with in cluster 2
Thank you Abhishek,
No hosts nor primary storage has been added.
From the logs I see the CS finds the management network which is on the vSwitch0 and creates cloud.private.untagged.0.1-vSwitch0 on all hosts.
I tried to add hosts manually to the cluster and the log says:
Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Exception while retrieving host info: com.cloud.utils.exception.CloudRuntimeException: querying host network info failed due to Exception: java.lang.Exception
Message: Unable to find management port group Management Network
Best regards,
Jordan
Nicolas.Vazquez@shapeblue.com
https://urldefense.com/v3/__http://www.shapeblue.com__;!!A6UyJA!yIAbYgSKtTEGq4sRnCBWHrdPE6rwy0zKCixj0kpLnl9aTa5XsSQ3tMC4NYM4R0HV_S8zMW0FDnPv$
3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue
-----Original Message-----
From: Abhishek Kumar <Ab...@shapeblue.com>
Sent: Thursday, January 21, 2021 10:36 AM
To: users@cloudstack.apache.org
Subject: Re: Failed to add data store: No host up to associate a storage pool with in cluster 2
Hi Yordan,
It seems CloudStack was not able to find any UP ESXi host for your vCenter cluster.
As the wizard is finished you may check if any hosts are being added for the cluster and if they are in UP state. You can retry adding the primary store from Primary Storage section in UI if there are any hosts showing state as UP.
Regards,
Abhishek
________________________________
From: Yordan Kostov <Yo...@NSOGROUP.COM>
Sent: 21 January 2021 13:41
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Failed to add data store: No host up to associate a storage pool with in cluster 2
Hello Everyone,
I am trying to deploy a Cloudstack 4.15.0 on top of existing VMware by using the wizard.
The VMware cluster has 3 VMFS HBA LUNs, where one of them is empty and is pointed as primary storage.
As the wizard is finished I get this error in log files: Failed to add data store: No host up to associate a storage pool with in cluster 2
Any idea why this may happen? The wizard seems to successfully find the VC cluster.
Thank you for you help!
Best Regards,
Jordan
Abhishek.Kumar@shapeblue.com
https://urldefense.com/v3/__http://www.shapeblue.com__;!!A6UyJA!y6REvCu0Oeua8mh9vbN20tEmBScXR0G7Ti11Dzyy_RU8c6Ed0WQOZt-xpdUw7IYzVd5BkhWUFNfD$
3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue