Code Monkey home page Code Monkey logo

Comments (5)

ksingh7 avatar ksingh7 commented on August 15, 2024

In addition to that i am also seeing problems with haproxy service restart by CeTune

[2016-05-08T15:31:04.080848][LOG]: Generating rgw ceph.conf parameters
[2016-05-08T15:31:04.081019][LOG]: Distribute ceph.conf
[2016-05-08T15:31:08.846870][LOG]: Restart ceph cluster
[2016-05-08T15:31:08.855572][LOG]: Shutting down mon daemon
[2016-05-08T15:31:09.277531][LOG]: Shutting down osd daemon
[2016-05-08T15:31:10.246832][LOG]: Starting mon daemon
[2016-05-08T15:31:11.014001][LOG]: Started mon.node1 daemon on node1
[2016-05-08T15:31:11.014233][LOG]: Starting osd daemon
[2016-05-08T15:31:11.524375][LOG]: Started osd.0 daemon on node1
[2016-05-08T15:31:12.154690][LOG]: Started osd.1 daemon on node2
[2016-05-08T15:31:12.605467][LOG]: Started osd.2 daemon on node3
[2016-05-08T15:31:12.612739][LOG]: Restart radosgw
[2016-05-08T15:31:14.177886][ERROR]: node2: bash: /etc/init.d/haproxy: No such file or directory
pdsh@node1: node2: ssh exited with exit code 127

from cetune.

xuechendi avatar xuechendi commented on August 15, 2024

hi, @ksingh7 , deploy rgw part is quite hard coded, to make sure everything goes well after running 'deploy rgw', we add haproxy configuration and restart, but which only works on debian(apt-get installed ).I am thinking the more reasonable way is to remove 'haproxy deployment codes' away from 'deploy rgw codes', do you think that will be more workable in your environment?

from cetune.

ksingh7 avatar ksingh7 commented on August 15, 2024

Hi @xuechendi
In my opinion haproxy is useful in case we want to run COSbench over multiple RGW instances to test scalability and performance out of multiple RGW instances.

I guess as a long term solution we need to make haproxy part more flexible with a check like this

if os==ubuntu/debian 
 do this 
else if os==rhel 
 do this 

I am not sure how difficult it is to implement this ? Do you have any alternate thoughts to fix this ?

from cetune.

cephperfportal avatar cephperfportal commented on August 15, 2024

I didn't go that way is because I don't have a rhel setup myself, but I think to separate the handling by os is the first thing I need to add.

It that ok for you to share a centos haproxy default and rgw deployed configuration to me,so I can just fix this on my Ubuntu setup?

发自我的 iPhone
在 2016年5月9日,18:18,karan singh <[email protected]mailto:[email protected]> 写道:

Hi @xuechendihttps://github.com/xuechendi
In my opinion haproxy is useful in case we want to run COSbench over multiple RGW instances to test scalability and performance out of multiple RGW instances.

I guess as a long term solution we need to make haproxy part more flexible with a check like this

if os==ubuntu/debian
do this
else if os==rhel
do this

I am not sure how difficult it is to implement this ? Do you have any alternate thoughts to fix this ?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-217827722

from cetune.

ksingh7 avatar ksingh7 commented on August 15, 2024

Unfortunately i don't have working haproxy config file for CentOS system , i hope if you have a Ubuntu one then tailoring it for CentOS should not be much change ?

from cetune.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.