I had an offline conversation with Chiradeep to sort this out. Provided the latest SystemVM code is built, there's no difficulty. E.g. using "mvn clean install -P developer,systemvm" See https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch
That said, our instructions elsewhere, and for newbies in particular, are different. I'm not sure what to do about that. DL > -----Original Message----- > From: Donal Lafferty > Sent: 24 July 2013 11:04 AM > To: [email protected] > Subject: RE: [GSOC]cannot add host with the lastest master > > Hi Chiradeep, > > Before I explore further, can I ask where > "StartupSecondaryStorageCommand" mentioned in the defect > https://issues.apache.org/jira/browse/CLOUDSTACK-3377 gets used? > > DL > > > > -----Original Message----- > > From: Chiradeep Vittal [mailto:[email protected]] > > Sent: 24 July 2013 6:01 AM > > To: [email protected] > > Subject: Re: [GSOC]cannot add host with the lastest master > > > > Not sure what the vintage of the systemvm has to do with it. They do > > not contain the agent (Java jar files) until the systemvm is created and > started. > > When first started, the jar files are copied into the system vm. > > > > > > On 7/24/13 3:41 AM, "Donal Lafferty" <[email protected]> wrote: > > > > >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:[email protected]] > > >> Sent: 23 July 2013 9:27 PM > > >> To: [email protected] > > >> 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=summar > > >> > y > > >> > > > >> > > >> 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 > > >> >
