Hi Meng, You may also be having problems with your system VM. Let me explain:
The issue you see is caused by a change in JSON serialisation that happened in 4.2. Previously, we recorded an object's type using it's class' simple name. Now, we are using the full class name, which include the package. E.g. the serializer used to write { "StartupRoutingCommand" : ... }, but now it records {"com.cloud.agent.api.com.cloud.agent.api.StartupRoutingCommand":...} A lot of code compile against 4.1 will not be able to communicate with the latest management server. This means you also have to update your system VM templates. If you don't, you get an error like https://issues.apache.org/jira/browse/CLOUDSTACK-3377 Unfortunately, the default download URLs for system VMs are for 4.1. If you have not already, download the latest system VMs from http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/ Cheers, DL > -----Original Message----- > From: Wido den Hollander [mailto:w...@widodh.nl] > Sent: 23 July 2013 9:27 PM > To: dev@cloudstack.apache.org > Subject: Re: [GSOC]cannot add host with the lastest master > > Hi Meng, > > On 07/23/2013 09:28 PM, Han,Meng wrote: > > Hi Wei, > > > > Thank you for your reply. > > > > On Wed, 24 Jul 2013 02:08:36 +0800, Wei ZHOU wrote: > >> I suggest updating the agent on host as well > > > > > > I run yum install cloudstack-agent on the kvm host, it told me that > > it's already the latest version. I found the post > > here:https://issues.apache.org/jira/browse/CLOUDSTACK-3118 > > Rajesh Battala mentioned that he installed the latest agent from the > > build CloudStack-non-OSS-MASTER-499-rhel6.3. > > > > This is what you run into: > https://issues.apache.org/jira/browse/CLOUDSTACK-3714 > > > Do you know where can I get that build and how to start the agent if I > > have the build(will service cloudstack-agent start do) ? > > I didn't find the build in > > https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=summary > > > > I see you use RHEL/CentOS, with the packaging script in packaging/rhel you > should be able to build RPM packages from master. > > Wido > > > > > Any help is appreciated. > > > > Cheers, > > Meng > >