You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rajani Karuturi <Ra...@citrix.com> on 2014/07/03 11:10:34 UTC

[ACS431]CLOUDSTACK-6360: Usage server failed to start with 4.4 build

Hi Sebastien,

while rebasing the fix for CLOUDSTACK-6926, I observed that mysql connector related changes aren’t done in the debian cloud-usage script.
I reopened the related issue https://issues.apache.org/jira/browse/CLOUDSTACK-6360?focusedCommentId=14051219

I think it would be good to have the fix for CLOUDSTACK-6360 in 4.3.1

~Rajani



On 02-Jul-2014, at 7:33 pm, Sebastien Goasguen <ru...@gmail.com>> wrote:

This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22721/


Hi, no it does not apply cleanly to current 4.3 branch. Can you rebase.

thanks


- Sebastien Goasguen


On June 18th, 2014, 10:15 a.m. UTC, Rajani Karuturi wrote:

Review request for cloudstack, Kishan Kavala and Rayees Namathponnan.
By Rajani Karuturi.

Updated June 18, 2014, 10:15 a.m.

Bugs: CLOUDSTACK-6926<https://issues.apache.org/jira/browse/CLOUDSTACK-6926>
Repository: cloudstack-git
Description

used to readlink -e and dirname to get the JAVA_HOME
if JAVA_HOME is not already defined, sets it to jdk home if javac is present else jre home if java is present.
if nothing is present, it exits with error


Testing

tested it when java is not installed, jre is installed, jdk installed or when a older version is installed on centos 6.4 and ubuntu 14.04


Diffs

  *   packaging/centos63/cloud-usage.rc (6170379)
  *   packaging/debian/init/cloud-usage (1cc75cc)

View Diff<https://reviews.apache.org/r/22721/diff/>



Re: [ACS431]CLOUDSTACK-6360: Usage server failed to start with 4.4 build

Posted by Shanker Balan <sh...@shapeblue.com>.
Comments inline.

On 04-Jul-2014, at 9:09 am, Rajani Karuturi <Ra...@citrix.com> wrote:

> I was thinking that Rayees would commit the fix as the bug is reopened. Will wait for him to comment.
>
> ~Rajani


As a side note, packaging/centos63/cloud-usage.rc refers to
/etc/sysconfig/default/"$SHORTNAME”.

There is no such folder "/etc/sysconfig/default/“ on CentOS/RHEL systems AFAIK.

Can this be fixed to use /etc/sysconfig/"$SHORTNAME”?



--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: [ACS431]CLOUDSTACK-6360: Usage server failed to start with 4.4 build

Posted by Rajani Karuturi <Ra...@citrix.com>.
I was thinking that Rayees would commit the fix as the bug is reopened. Will wait for him to comment. 

~Rajani



On 03-Jul-2014, at 6:43 pm, sebgoa <ru...@gmail.com> wrote:

> 
> On Jul 3, 2014, at 11:10 AM, Rajani Karuturi <Ra...@citrix.com> wrote:
> 
>> Hi Sebastien,
>> 
>> while rebasing the fix for CLOUDSTACK-6926, I observed that mysql connector related changes aren’t done in the debian cloud-usage script. 
>> I reopened the related issue https://issues.apache.org/jira/browse/CLOUDSTACK-6360?focusedCommentId=14051219 
>> 
>> I think it would be good to have the fix for CLOUDSTACK-6360 in 4.3.1
>> 
> 
> Happy to apply the patch if you give me one.
> 
>> ~Rajani
>> 
>> 
>> 
>> On 02-Jul-2014, at 7:33 pm, Sebastien Goasguen <ru...@gmail.com> wrote:
>> 
>>> This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22721/
>>> Hi, no it does not apply cleanly to current 4.3 branch. Can you rebase.
>>> 
>>> thanks
>>> 
>>> 
>>> - Sebastien Goasguen
>>> 
>>> 
>>> On June 18th, 2014, 10:15 a.m. UTC, Rajani Karuturi wrote:
>>> 
>>> Review request for cloudstack, Kishan Kavala and Rayees Namathponnan.
>>> By Rajani Karuturi.
>>> Updated June 18, 2014, 10:15 a.m.
>>> 
>>> Bugs: CLOUDSTACK-6926
>>> Repository: cloudstack-git
>>> Description
>>> 
>>> used to readlink -e and dirname to get the JAVA_HOME
>>> if JAVA_HOME is not already defined, sets it to jdk home if javac is present else jre home if java is present.
>>> if nothing is present, it exits with error
>>> 
>>> Testing
>>> 
>>> tested it when java is not installed, jre is installed, jdk installed or when a older version is installed on centos 6.4 and ubuntu 14.04 
>>> Diffs
>>> 
>>> 	• packaging/centos63/cloud-usage.rc (6170379)
>>> 	• packaging/debian/init/cloud-usage (1cc75cc)
>>> View Diff
>>> 
>> 
> 


Re: [ACS431]CLOUDSTACK-6360: Usage server failed to start with 4.4 build

Posted by sebgoa <ru...@gmail.com>.
On Jul 3, 2014, at 11:10 AM, Rajani Karuturi <Ra...@citrix.com> wrote:

> Hi Sebastien,
> 
> while rebasing the fix for CLOUDSTACK-6926, I observed that mysql connector related changes aren’t done in the debian cloud-usage script. 
> I reopened the related issue https://issues.apache.org/jira/browse/CLOUDSTACK-6360?focusedCommentId=14051219 
> 
> I think it would be good to have the fix for CLOUDSTACK-6360 in 4.3.1
> 

Happy to apply the patch if you give me one.

> ~Rajani
> 
> 
> 
> On 02-Jul-2014, at 7:33 pm, Sebastien Goasguen <ru...@gmail.com> wrote:
> 
>> This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22721/
>> Hi, no it does not apply cleanly to current 4.3 branch. Can you rebase.
>> 
>> thanks
>> 
>> 
>> - Sebastien Goasguen
>> 
>> 
>> On June 18th, 2014, 10:15 a.m. UTC, Rajani Karuturi wrote:
>> 
>> Review request for cloudstack, Kishan Kavala and Rayees Namathponnan.
>> By Rajani Karuturi.
>> Updated June 18, 2014, 10:15 a.m.
>> 
>> Bugs: CLOUDSTACK-6926
>> Repository: cloudstack-git
>> Description
>> 
>> used to readlink -e and dirname to get the JAVA_HOME
>> if JAVA_HOME is not already defined, sets it to jdk home if javac is present else jre home if java is present.
>> if nothing is present, it exits with error
>> 
>> Testing
>> 
>> tested it when java is not installed, jre is installed, jdk installed or when a older version is installed on centos 6.4 and ubuntu 14.04 
>> Diffs
>> 
>> 	• packaging/centos63/cloud-usage.rc (6170379)
>> 	• packaging/debian/init/cloud-usage (1cc75cc)
>> View Diff
>> 
>