Glen,
 Upgrade is not supposed to auto-start cloud-management service. Was the 
cloud-management service stopped before upgrading? 
Copy of cloud-setup-encryption from the repo has references to few variables 
and won't work as is. You can try installing 3.0.2 on a different
machine and copy cloud-setup-encryption from there.

~kishan

> -----Original Message-----
> From: Glen Baars [mailto:[email protected]]
> Sent: Wednesday, 30 May 2012 9:00 AM
> To: [email protected]
> Subject: RE: 3.0.2 Ubuntu package
> 
> Thanks David,
> 
> I ran the python script cloud-setup-encryption.in and it came back with:
> 
> Traceback (most recent call last):
>   File "cloud-setup-encryption.in", line 248, in <module>
>     o.run()
>   File "cloud-setup-encryption.in", line 236, in run
>     self.prepareDBFiles()
>   File "cloud-setup-encryption.in", line 147, in prepareDBFiles
>     prepareDBDotProperties()
>   File "cloud-setup-encryption.in", line 124, in prepareDBDotProperties
>     dbproperties = file(dbpPath).read().splitlines()
> 
> I'm not familier with python at all.
> 
> Regards,
> 
> Glen Baars  o  Onsite Computer Services  o  Phone: (08) 9792 5577
> 
> 
> 
> -----Original Message-----
> From: David Nalley [mailto:[email protected]]
> Sent: Tuesday, 29 May 2012 12:54 AM
> To: [email protected]
> Subject: Re: 3.0.2 Ubuntu package
> 
> On Sat, May 26, 2012 at 9:31 PM, Onsite Support
> <[email protected]> wrote:
> > Hello Cloudstack dev,
> >
> > My apologies if this is the wrong place for this.
> >
> > I just spent a few hours trying to upgrade our 2.2.14 cloudstack install to
> 3.0.2 and came across a few issues.
> >
> > 1. When installing the package, the cloud-setup-encryption is missing.
> >
> > 2. After running the install.sh software to upgrade the software, it tries 
> > to
> auto start the cloud-management service. This causes issues with the
> database as the cloud-setup-encryption hasn't been completed at that point.
> A db revert seems to fix the issue.
> >
> > Regards,
> >
> > Glen Baars  o  Onsite Computer Services  o  Phone: (08) 9792 5577
> >
> 
> Hi Glen,
> 
> Would you mind filing those as bugs at bugs.cloudstack.org
> 
> To acquire cloud-setup-encryption - you likely can just grab a copy of source
> from here:
> https://git-wip-us.apache.org/repos/asf?p=incubator-
> cloudstack.git;a=blob;f=setup/bindir/cloud-setup-
> encryption.in;h=009b69470e6bf228e9e6ff3a8141b8d1d542685b;hb=HEAD
> 
> Thanks,
> 
> --David
> 

Reply via email to