Re: Upgrade 4.7 to 4.9 issue
Hi Yuriy, Simon and all, Apologies for digging out an old thread. We were hit by this bug when we tried to upgrade to 4.9.0 some time in Nov 2016 -- all our KVM agents were not able to start with similar error messages as outlined on this thread, so we had to upgrade to 4.8.1 instead. May I know if the latest ACS 4.9.2 fixes this bug? I can't seem to find the associated JIRA article for the bug. Looking forward to your reply, thank you. Cheers. On Thu, Sep 8, 2016 at 3:37 PM, Yuriy Karpel <yu...@karpel.su> wrote: > Sorry for the long answer. I updated to 4.8.1 there is no problem. > > 2016-08-16 22:34 GMT+03:00 Simon Weller <swel...@ena.com>: > > > This is interesting. So, at a cursory glance, it seems that your > interface > > name for the private.network.device is causing a problem with 4.9. > > > > Do you have a lab environment where you could change the private network > > interface to see what happens? > > > > > > You might want to try an update to 4.8.1 and see whether the issue exists > > there. > > > > > > - si > > > > > > From: Yuriy Karpel <yu...@karpel.su> > > Sent: Tuesday, August 16, 2016 2:05 PM > > To: users@cloudstack.apache.org > > Subject: Re: Upgrade 4.7 to 4.9 issue > > > > [root@srv-kvm01 ~]# cat /etc/cloudstack/agent/agent.properties > > #Storage > > #Tue Aug 16 19:57:54 MSK 2016 > > guest.network.device=cloudbr0 > > workers=5 > > private.network.device=mgm0 > > port=8250 > > resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource > > guest.cpu.mode=IvyBridge > > pod=4 > > zone=4 > > guid=49e79980-b27f-377f-835f-8686d83f971f > > hypervisor.type=kvm > > cluster=4 > > public.network.device=cloudbr0 > > local.storage.uuid=16b92fae-597c-4f5c-a560-400e041232c3 > > domr.scripts.dir=scripts/network/domr/kvm > > host=10.30.10.42 > > LibvirtComputingResource.id=121 > > > > > > 2016-08-16 20:17 GMT+03:00 Simon Weller <swel...@ena.com>: > > > > > Can you post your agent.properties file? > > > > > > > > > > > > From: Yuriy Karpel <yu...@karpel.su> > > > Sent: Tuesday, August 16, 2016 11:53 AM > > > To: users@cloudstack.apache.org > > > Subject: Re: Upgrade 4.7 to 4.9 issue > > > > > > 2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Agent started > > > 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Implementation Version is 4.9.0 > > > 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) > > (logid:) > > > agent.properties found at /etc/cloudstack/agent/agent.properties > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: guest.network.device > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: workers > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: private.network.device > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: port > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: resource > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: guest.cpu.mode > > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: pod > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: zone > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: hypervisor.type > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: guid > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: public.network.device > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: cluster > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > > (logid:) > > > Found property: local.storage.uuid > > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (
Re: Upgrade 4.7 to 4.9 issue
Sorry for the long answer. I updated to 4.8.1 there is no problem. 2016-08-16 22:34 GMT+03:00 Simon Weller <swel...@ena.com>: > This is interesting. So, at a cursory glance, it seems that your interface > name for the private.network.device is causing a problem with 4.9. > > Do you have a lab environment where you could change the private network > interface to see what happens? > > > You might want to try an update to 4.8.1 and see whether the issue exists > there. > > > - si > > > From: Yuriy Karpel <yu...@karpel.su> > Sent: Tuesday, August 16, 2016 2:05 PM > To: users@cloudstack.apache.org > Subject: Re: Upgrade 4.7 to 4.9 issue > > [root@srv-kvm01 ~]# cat /etc/cloudstack/agent/agent.properties > #Storage > #Tue Aug 16 19:57:54 MSK 2016 > guest.network.device=cloudbr0 > workers=5 > private.network.device=mgm0 > port=8250 > resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource > guest.cpu.mode=IvyBridge > pod=4 > zone=4 > guid=49e79980-b27f-377f-835f-8686d83f971f > hypervisor.type=kvm > cluster=4 > public.network.device=cloudbr0 > local.storage.uuid=16b92fae-597c-4f5c-a560-400e041232c3 > domr.scripts.dir=scripts/network/domr/kvm > host=10.30.10.42 > LibvirtComputingResource.id=121 > > > 2016-08-16 20:17 GMT+03:00 Simon Weller <swel...@ena.com>: > > > Can you post your agent.properties file? > > > > > > ________________ > > From: Yuriy Karpel <yu...@karpel.su> > > Sent: Tuesday, August 16, 2016 11:53 AM > > To: users@cloudstack.apache.org > > Subject: Re: Upgrade 4.7 to 4.9 issue > > > > 2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > Agent started > > 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > Implementation Version is 4.9.0 > > 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > agent.properties found at /etc/cloudstack/agent/agent.properties > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: guest.network.device > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: workers > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: private.network.device > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: port > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: resource > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: guest.cpu.mode > > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: pod > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: zone > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: hypervisor.type > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: guid > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: public.network.device > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: cluster > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: local.storage.uuid > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: domr.scripts.dir > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: LibvirtComputingResource.id > > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:) > > Found property: host > > 2016-08-16 19:50:22,875 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > Defaulting to using properties file for storage > > 2016-08-16 19:50:22,876 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > Defaulting to the constant time backoff algorithm > > 2016-08-16 19:50:22,895 INFO [cloud.utils.LogUtils] (main:null) (logid:) > > log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml > > 2016-08-16 19:50:22,912 INFO [cloud.agent.AgentShell] (main:null) > (logid:) > > Using default Java settings for IPv6 preference for agent connection > > 2016-08-16 19:50:22,912 DEBUG [cloud.agent.AgentShell] (main:null) > (logid:
Re: Upgrade 4.7 to 4.9 issue
This is interesting. So, at a cursory glance, it seems that your interface name for the private.network.device is causing a problem with 4.9. Do you have a lab environment where you could change the private network interface to see what happens? You might want to try an update to 4.8.1 and see whether the issue exists there. - si From: Yuriy Karpel <yu...@karpel.su> Sent: Tuesday, August 16, 2016 2:05 PM To: users@cloudstack.apache.org Subject: Re: Upgrade 4.7 to 4.9 issue [root@srv-kvm01 ~]# cat /etc/cloudstack/agent/agent.properties #Storage #Tue Aug 16 19:57:54 MSK 2016 guest.network.device=cloudbr0 workers=5 private.network.device=mgm0 port=8250 resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource guest.cpu.mode=IvyBridge pod=4 zone=4 guid=49e79980-b27f-377f-835f-8686d83f971f hypervisor.type=kvm cluster=4 public.network.device=cloudbr0 local.storage.uuid=16b92fae-597c-4f5c-a560-400e041232c3 domr.scripts.dir=scripts/network/domr/kvm host=10.30.10.42 LibvirtComputingResource.id=121 2016-08-16 20:17 GMT+03:00 Simon Weller <swel...@ena.com>: > Can you post your agent.properties file? > > > > From: Yuriy Karpel <yu...@karpel.su> > Sent: Tuesday, August 16, 2016 11:53 AM > To: users@cloudstack.apache.org > Subject: Re: Upgrade 4.7 to 4.9 issue > > 2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Agent started > 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Implementation Version is 4.9.0 > 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) (logid:) > agent.properties found at /etc/cloudstack/agent/agent.properties > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guest.network.device > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: workers > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: private.network.device > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: port > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: resource > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guest.cpu.mode > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: pod > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: zone > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: hypervisor.type > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guid > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: public.network.device > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: cluster > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: local.storage.uuid > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: domr.scripts.dir > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: LibvirtComputingResource.id > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: host > 2016-08-16 19:50:22,875 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to using properties file for storage > 2016-08-16 19:50:22,876 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to the constant time backoff algorithm > 2016-08-16 19:50:22,895 INFO [cloud.utils.LogUtils] (main:null) (logid:) > log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml > 2016-08-16 19:50:22,912 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Using default Java settings for IPv6 preference for agent connection > 2016-08-16 19:50:22,912 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Checking to see if agent.pid exists. > 2016-08-16 19:50:22,923 DEBUG [cloud.utils.ProcessUtil] (main:null) > (logid:) Executing: bash -c echo $PPID > 2016-08-16 19:50:23,006 DEBUG [cloud.utils.ProcessUtil] (main:null) > (logid:) Execution is successful. > 2016-08-16 19:50:23,064 INFO [cloud.agent.Agent] (main:null) (logid:) id > is 121 > 2016-08-16 19:50:23,064 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: mgm0 > 2016-08-16 19:50:23,068 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: cloudbr0 > 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResour
Re: Upgrade 4.7 to 4.9 issue
[root@srv-kvm01 ~]# cat /etc/cloudstack/agent/agent.properties #Storage #Tue Aug 16 19:57:54 MSK 2016 guest.network.device=cloudbr0 workers=5 private.network.device=mgm0 port=8250 resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource guest.cpu.mode=IvyBridge pod=4 zone=4 guid=49e79980-b27f-377f-835f-8686d83f971f hypervisor.type=kvm cluster=4 public.network.device=cloudbr0 local.storage.uuid=16b92fae-597c-4f5c-a560-400e041232c3 domr.scripts.dir=scripts/network/domr/kvm host=10.30.10.42 LibvirtComputingResource.id=121 2016-08-16 20:17 GMT+03:00 Simon Weller <swel...@ena.com>: > Can you post your agent.properties file? > > > > From: Yuriy Karpel <yu...@karpel.su> > Sent: Tuesday, August 16, 2016 11:53 AM > To: users@cloudstack.apache.org > Subject: Re: Upgrade 4.7 to 4.9 issue > > 2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Agent started > 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Implementation Version is 4.9.0 > 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) (logid:) > agent.properties found at /etc/cloudstack/agent/agent.properties > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guest.network.device > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: workers > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: private.network.device > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: port > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: resource > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guest.cpu.mode > 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: pod > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: zone > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: hypervisor.type > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: guid > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: public.network.device > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: cluster > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: local.storage.uuid > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: domr.scripts.dir > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: LibvirtComputingResource.id > 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Found property: host > 2016-08-16 19:50:22,875 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to using properties file for storage > 2016-08-16 19:50:22,876 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to the constant time backoff algorithm > 2016-08-16 19:50:22,895 INFO [cloud.utils.LogUtils] (main:null) (logid:) > log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml > 2016-08-16 19:50:22,912 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Using default Java settings for IPv6 preference for agent connection > 2016-08-16 19:50:22,912 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) > Checking to see if agent.pid exists. > 2016-08-16 19:50:22,923 DEBUG [cloud.utils.ProcessUtil] (main:null) > (logid:) Executing: bash -c echo $PPID > 2016-08-16 19:50:23,006 DEBUG [cloud.utils.ProcessUtil] (main:null) > (logid:) Execution is successful. > 2016-08-16 19:50:23,064 INFO [cloud.agent.Agent] (main:null) (logid:) id > is 121 > 2016-08-16 19:50:23,064 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: mgm0 > 2016-08-16 19:50:23,068 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: cloudbr0 > 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: null > 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] > (main:null) (logid:) Retrieving network interface: null > 2016-08-16 19:50:23,073 WARN [cloud.resource.ServerResourceBase] > (main:null) (logid:) Incorrect details for private Nic during > initialization of ServerResourceBase > 2016-08-16 19:50:23,073 ERROR [cloud.agent.AgentShell] (main:null) (logid:) > Unable to start agent: Unable to configure LibvirtComputingResource > > > 201
Re: Upgrade 4.7 to 4.9 issue
Can you post your agent.properties file? From: Yuriy Karpel <yu...@karpel.su> Sent: Tuesday, August 16, 2016 11:53 AM To: users@cloudstack.apache.org Subject: Re: Upgrade 4.7 to 4.9 issue 2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) (logid:) Agent started 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.9.0 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guest.network.device 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: workers 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: private.network.device 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: port 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: resource 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guest.cpu.mode 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: pod 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: zone 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: hypervisor.type 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guid 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: public.network.device 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: cluster 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: local.storage.uuid 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: domr.scripts.dir 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: LibvirtComputingResource.id 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: host 2016-08-16 19:50:22,875 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2016-08-16 19:50:22,876 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2016-08-16 19:50:22,895 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2016-08-16 19:50:22,912 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2016-08-16 19:50:22,912 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Checking to see if agent.pid exists. 2016-08-16 19:50:22,923 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Executing: bash -c echo $PPID 2016-08-16 19:50:23,006 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Execution is successful. 2016-08-16 19:50:23,064 INFO [cloud.agent.Agent] (main:null) (logid:) id is 121 2016-08-16 19:50:23,064 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: mgm0 2016-08-16 19:50:23,068 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: cloudbr0 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-16 19:50:23,073 WARN [cloud.resource.ServerResourceBase] (main:null) (logid:) Incorrect details for private Nic during initialization of ServerResourceBase 2016-08-16 19:50:23,073 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: Unable to configure LibvirtComputingResource 2016-08-16 19:44 GMT+03:00 Yuriy Karpel <yu...@karpel.su>: > After downgrade agent started. No errors. > > 2016-08-16 19:30 GMT+03:00 Simon Weller <swel...@ena.com>: > >> Does your agent.properties file in /etc/cloudstack/agent look correct? >> >> >> Can you enable agent debugging and post the output? Here's a how-to if >> you haven't done it before: https://cwiki.apache.org/confl >> uence/display/CLOUDSTACK/KVM+agent+debug >> >> - Si >> >> From: Yuriy Karpel <yu...@karpel.su> >> Sent: Tuesday, August 16, 2016 11:26 AM >> To: users@cloudstack.apache.org >> Subject: Upgrade 4.7 to 4.9 issue >> >> Agent does not start after updating. Centos7 kvm node: >> >> 2016-08-16 19:20:29,475 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) >> Agent started >> 2016-08-16 19:20:29,478 INFO [cloud.
Re: Upgrade 4.7 to 4.9 issue
2016-08-16 19:50:22,861 INFO [cloud.agent.AgentShell] (main:null) (logid:) Agent started 2016-08-16 19:50:22,865 INFO [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.9.0 2016-08-16 19:50:22,867 INFO [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guest.network.device 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: workers 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: private.network.device 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: port 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: resource 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guest.cpu.mode 2016-08-16 19:50:22,873 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: pod 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: zone 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: hypervisor.type 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: guid 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: public.network.device 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: cluster 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: local.storage.uuid 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: domr.scripts.dir 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: LibvirtComputingResource.id 2016-08-16 19:50:22,874 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: host 2016-08-16 19:50:22,875 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2016-08-16 19:50:22,876 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2016-08-16 19:50:22,895 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2016-08-16 19:50:22,912 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2016-08-16 19:50:22,912 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Checking to see if agent.pid exists. 2016-08-16 19:50:22,923 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Executing: bash -c echo $PPID 2016-08-16 19:50:23,006 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Execution is successful. 2016-08-16 19:50:23,064 INFO [cloud.agent.Agent] (main:null) (logid:) id is 121 2016-08-16 19:50:23,064 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: mgm0 2016-08-16 19:50:23,068 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: cloudbr0 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-16 19:50:23,069 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-16 19:50:23,073 WARN [cloud.resource.ServerResourceBase] (main:null) (logid:) Incorrect details for private Nic during initialization of ServerResourceBase 2016-08-16 19:50:23,073 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: Unable to configure LibvirtComputingResource 2016-08-16 19:44 GMT+03:00 Yuriy Karpel: > After downgrade agent started. No errors. > > 2016-08-16 19:30 GMT+03:00 Simon Weller : > >> Does your agent.properties file in /etc/cloudstack/agent look correct? >> >> >> Can you enable agent debugging and post the output? Here's a how-to if >> you haven't done it before: https://cwiki.apache.org/confl >> uence/display/CLOUDSTACK/KVM+agent+debug >> >> - Si >> >> From: Yuriy Karpel >> Sent: Tuesday, August 16, 2016 11:26 AM >> To: users@cloudstack.apache.org >> Subject: Upgrade 4.7 to 4.9 issue >> >> Agent does not start after updating. Centos7 kvm node: >> >> 2016-08-16 19:20:29,475 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) >> Agent started >> 2016-08-16 19:20:29,478 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) >> Implementation Version is 4.9.0 >> 2016-08-16 19:20:29,480 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) >> agent.properties found at /etc/cloudstack/agent/agent.properties >> 2016-08-16 19:20:29,486 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) >> Defaulting to using properties file for storage >> 2016-08-16 19:20:29,487 INFO
Re: Upgrade 4.7 to 4.9 issue
After downgrade agent started. No errors. 2016-08-16 19:30 GMT+03:00 Simon Weller: > Does your agent.properties file in /etc/cloudstack/agent look correct? > > > Can you enable agent debugging and post the output? Here's a how-to if > you haven't done it before: https://cwiki.apache.org/ > confluence/display/CLOUDSTACK/KVM+agent+debug > > - Si > > From: Yuriy Karpel > Sent: Tuesday, August 16, 2016 11:26 AM > To: users@cloudstack.apache.org > Subject: Upgrade 4.7 to 4.9 issue > > Agent does not start after updating. Centos7 kvm node: > > 2016-08-16 19:20:29,475 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Agent started > 2016-08-16 19:20:29,478 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Implementation Version is 4.9.0 > 2016-08-16 19:20:29,480 INFO [cloud.agent.AgentShell] (main:null) (logid:) > agent.properties found at /etc/cloudstack/agent/agent.properties > 2016-08-16 19:20:29,486 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to using properties file for storage > 2016-08-16 19:20:29,487 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Defaulting to the constant time backoff algorithm > 2016-08-16 19:20:29,505 INFO [cloud.utils.LogUtils] (main:null) (logid:) > log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml > 2016-08-16 19:20:29,524 INFO [cloud.agent.AgentShell] (main:null) (logid:) > Using default Java settings for IPv6 preference for agent connection > 2016-08-16 19:20:29,684 INFO [cloud.agent.Agent] (main:null) (logid:) id > is 121 > 2016-08-16 19:20:29,693 WARN [cloud.resource.ServerResourceBase] > (main:null) (logid:) Incorrect details for private Nic during > initialization of ServerResourceBase > 2016-08-16 19:20:29,694 ERROR [cloud.agent.AgentShell] (main:null) (logid:) > Unable to start agent: Unable to configure LibvirtComputingResource >
Re: Upgrade 4.7 to 4.9 issue
Does your agent.properties file in /etc/cloudstack/agent look correct? Can you enable agent debugging and post the output? Here's a how-to if you haven't done it before: https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug - Si From: Yuriy KarpelSent: Tuesday, August 16, 2016 11:26 AM To: users@cloudstack.apache.org Subject: Upgrade 4.7 to 4.9 issue Agent does not start after updating. Centos7 kvm node: 2016-08-16 19:20:29,475 INFO [cloud.agent.AgentShell] (main:null) (logid:) Agent started 2016-08-16 19:20:29,478 INFO [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.9.0 2016-08-16 19:20:29,480 INFO [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties 2016-08-16 19:20:29,486 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2016-08-16 19:20:29,487 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2016-08-16 19:20:29,505 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2016-08-16 19:20:29,524 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2016-08-16 19:20:29,684 INFO [cloud.agent.Agent] (main:null) (logid:) id is 121 2016-08-16 19:20:29,693 WARN [cloud.resource.ServerResourceBase] (main:null) (logid:) Incorrect details for private Nic during initialization of ServerResourceBase 2016-08-16 19:20:29,694 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: Unable to configure LibvirtComputingResource