Glad to hear it!

The reason for the next error could be when bridges are not configured on the 
host. Could you check the bridge config as mentioned here :
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.11/hypervisor/kvm.html


Thanks,
David
________________________________
From: Joshua Schaeffer <jschaef...@harmonywave.com>
Sent: Thursday, September 10, 2020 8:50 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Unable to build first zone

Hi Joshua,
> I don't think it's an issue trying to reach the gateway provided in the API
>
> Could you try and run the command via cloudmonkey ?
>
> cmk create pod zoneid=9d7004b7-c129-412c-8d8f-7f6f65319604 name=POD1 
> gateway=10.2.20.1 netmask=255.255.252.0 startip=10.2.21.65 endip=10.2.21.80
>
>
Okay, I figured out the first issue. The 504 error was because my load balancer 
was timing out before the pod creation finished. If I run the wizard directly 
on one of the controller nodes it gets past that step. I'll adjust the timeout 
settings in HAProxy. However, I'm getting a different error when it gets to the 
step to add the host. It is throwing an HTTP 530 now. I'm pretty sure it is 
because the agent is not running properly on the host. When I try to start the 
agent I get this:

2020-09-10 15:02:54,724 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Agent started
2020-09-10 15:02:54,748 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.14.0.0
2020-09-10 15:02:54,757 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2020-09-10 15:02:54,824 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
2020-09-10 15:02:54,828 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
2020-09-10 15:02:54,901 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2020-09-10 15:02:54,919 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Using default Java settings for IPv6 preference for agent connection
2020-09-10 15:02:55,061 INFO  [cloud.agent.Agent] (main:null) (logid:) id is
2020-09-10 15:02:55,066 WARN  [cloud.resource.ServerResourceBase] (main:null) 
(logid:) Nics are not specified in properties file/db, will try to autodiscover
2020-09-10 15:02:55,073 INFO  [cloud.resource.ServerResourceBase] (main:null) 
(logid:) Designating private to be nic bond-storage
2020-09-10 15:02:55,081 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to find file 
uefi.properties.
2020-09-10 15:02:55,155 INFO  [kvm.resource.LibvirtConnection] (main:null) 
(logid:) No existing libvirtd connection found. Opening a new one
2020-09-10 15:02:55,659 INFO  [org.reflections.Reflections] (main:null) 
(logid:) Reflections took 234 ms to scan 1 urls, producing 9 keys and 11 values
2020-09-10 15:02:55,701 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) No libvirt.vif.driver specified. Defaults to 
BridgeVifDriver.
2020-09-10 15:02:55,718 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to get private nic name
2020-09-10 15:02:55,719 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent: Failed to get private nic name

I just turned on DEBUG and am going through those logs now. Should I manually 
be setting the public.network.device and private.network.device? If so, what 
should these be set to? I'm not seeing a lot of references to these settings in 
the documentation.

--
Thanks,
Joshua Schaeffer


david.jum...@shapeblue.comĀ 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 

Reply via email to