Don't worry. I deployed success with 4.1. You just need follow exactly the installation guide. Some troubles if you use openvswitch instead of linux bridge. Normally we should use 2 NICs, but it's still ok with only 1 NIC. Cloud0 is automatically generated when cloudstack-agent starting
2013/9/30 Travis Graham <[email protected]> > Did you rerun cloudstack-setup-agent and let it reconfigure the > agent.properties file and reconfigure the networking and all the other > stuff it does? > > Travis > > On Sep 30, 2013, at 10:49 AM, sebgoa <[email protected]> wrote: > > > > > On Sep 30, 2013, at 4:46 PM, Nguyen Anh Tu <[email protected]> wrote: > > > >> 2013/9/30 sebgoa <[email protected]> > >> > >>> I am on ubuntu 12.04 with KVM. > >>> I was playing with various network configuration and messed up my > agent. > >>> Now when I start to start it I get: > >>> # service cloudstack-agent start > >>> * Starting CloudStack Agent cloud-agent > >>> cat: /var/run/cloud-agent.pid: No such file or directory > >>> * jsvc failed to start > >>> > >> > >> could you please post /var/log/cloud/agent/agent.log ? > >> > >> > >> -- > >> > >> N.g.U.y.e.N.A.n.H.t.U > > > > 2013-09-30 06:34:14,380 INFO [cloud.agent.Agent] (main:null) id is 0 > > 2013-09-30 06:34:14,383 ERROR [cloud.resource.ServerResourceBase] > (main:null) Nics are not configured! > > 2013-09-30 06:34:14,388 INFO [cloud.resource.ServerResourceBase] > (main:null) Designating private to be nic eth1 > > 2013-09-30 06:34:14,396 INFO > [resource.virtualnetwork.VirtualRoutingResource] (main:null) > VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm > > 2013-09-30 06:34:14,738 ERROR [cloud.agent.AgentShell] (main:null) > Unable to start agent: Failed to get private nic name > > 2013-09-30 06:35:37,447 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 06:35:37,448 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 06:36:32,052 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 06:36:32,053 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 06:45:35,106 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 06:45:35,107 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 06:45:52,694 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 06:45:52,695 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:27:37,437 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:27:37,439 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:28:25,586 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:28:25,588 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:41:29,428 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:41:29,429 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:42:57,204 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:42:57,205 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:42:57,208 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2013-09-30 07:44:09,656 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:44:09,657 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:44:09,660 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2013-09-30 07:45:00,084 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:45:00,085 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:45:00,088 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2013-09-30 07:45:00,089 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to using properties file for storage > > 2013-09-30 07:45:00,090 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to the constant time backoff algorithm > > 2013-09-30 07:45:00,193 INFO [cloud.agent.Agent] (main:null) id is 0 > > 2013-09-30 07:45:00,196 ERROR [cloud.resource.ServerResourceBase] > (main:null) Nics are not configured! > > 2013-09-30 07:45:00,206 INFO [cloud.resource.ServerResourceBase] > (main:null) Designating private to be nic eth1 > > 2013-09-30 07:45:00,226 INFO > [resource.virtualnetwork.VirtualRoutingResource] (main:null) > VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm > > 2013-09-30 07:45:00,228 WARN [utils.script.Script] (main:null) Unable > to find script call_firewall.sh > > 2013-09-30 07:45:00,228 ERROR [cloud.agent.AgentShell] (main:null) > Unable to start agent: Unable to find the call_firewall.sh > > 2013-09-30 07:45:47,022 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:45:47,023 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:45:47,026 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2013-09-30 07:45:47,027 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to using properties file for storage > > 2013-09-30 07:45:47,028 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to the constant time backoff algorithm > > 2013-09-30 07:45:47,131 INFO [cloud.agent.Agent] (main:null) id is 0 > > 2013-09-30 07:45:47,134 ERROR [cloud.resource.ServerResourceBase] > (main:null) Nics are not configured! > > 2013-09-30 07:45:47,145 INFO [cloud.resource.ServerResourceBase] > (main:null) Designating private to be nic eth1 > > 2013-09-30 07:45:47,164 INFO > [resource.virtualnetwork.VirtualRoutingResource] (main:null) > VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm > > 2013-09-30 07:45:47,166 WARN [utils.script.Script] (main:null) Unable > to find script call_firewall.sh > > 2013-09-30 07:45:47,166 ERROR [cloud.agent.AgentShell] (main:null) > Unable to start agent: Unable to find the call_firewall.sh > > 2013-09-30 07:46:29,355 INFO [cloud.agent.AgentShell] (main:null) Agent > started > > 2013-09-30 07:46:29,356 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.1.1 > > 2013-09-30 07:46:29,359 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2013-09-30 07:46:29,360 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to using properties file for storage > > 2013-09-30 07:46:29,361 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to the constant time backoff algorithm > > 2013-09-30 07:46:29,453 INFO [cloud.agent.Agent] (main:null) id is 0 > > 2013-09-30 07:46:29,456 ERROR [cloud.resource.ServerResourceBase] > (main:null) Nics are not configured! > > 2013-09-30 07:46:29,460 INFO [cloud.resource.ServerResourceBase] > (main:null) Designating private to be nic eth1 > > 2013-09-30 07:46:29,469 INFO > [resource.virtualnetwork.VirtualRoutingResource] (main:null) > VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm > > 2013-09-30 07:46:29,472 WARN [utils.script.Script] (main:null) Unable > to find script call_firewall.sh > > 2013-09-30 07:46:29,472 ERROR [cloud.agent.AgentShell] (main:null) > Unable to start agent: Unable to find the call_firewall.sh > > > > > > > > As I was messing with the network I removed the cloud0 and cloudbr0 that > had been created. At some point I removed agent.properties fileā¦:) > > > > So it's messed up but I can't seem to get back on my feet. > > > > > > -- N.g.U.y.e.N.A.n.H.t.U
