Code Monkey home page Code Monkey logo

opsworks-rabbitmq's People

Contributors

andrewjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

opsworks-rabbitmq's Issues

Version of rabbitmq cookbook

As per this commit - 45e34fd#diff-b22b9fdef9829890209682dd271cccb3 - the version of the rabbitmq cookbook was downgraded to 2.4 from 3.7. The version 2.4 cookbook installs version 3.1.5 of RabbitMQ which is quite old whereas the 3.7 version installs 3.4.4 which, though not latest, is still quite recent.

Any particular reason for this downgrade?

How do nodes join cluster?

Hello Verdigris,

First, thanks for writing this cookbook. Indeed a great help.

I"m trying to get my head across how do a node join cluster?
The cluster recipe only runs when there is a change in cookie. Also, when the node is first launch. However, since sever list is populated at run time and it's only happening at line 101, no template change is happening. It is only restarting the node and resetting it, making it fresh installation.

That explain why /etc/rabbitmq/rabbitmq.config file has cluster node list empty. However, surprisingly when i run rabbitmqctl cluster_status it shows me all the connecting nodes. I cannot figure out how did it happen. Please help me, if you could recall anything anyhow

Setup info:

env: aws
cluster: true
layer_name:

Opswork configure throwing error

Please help me to figure out why opswork is not running the mentioned configure event properly thanks

================================================================================
Recipe Compile Error in /var/chef/runs/44e738b3-9018-4d01-b390-f6200628e13a/local-mode-cache/cache/cookbooks/opsworks_rabbitmq/recipes/cluster.rb

NoMethodError

undefined method `[]' for nil:NilClass

Cookbook Trace:

/var/chef/runs/44e738b3-9018-4d01-b390-f6200628e13a/local-mode-cache/cache/cookbooks/opsworks_rabbitmq/recipes/cluster.rb:33:in `from_file'

Relevant File Content:

/var/chef/runs/44e738b3-9018-4d01-b390-f6200628e13a/local-mode-cache/cache/cookbooks/opsworks_rabbitmq/recipes/cluster.rb:

26: # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27: # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28: # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29:
30: # Configurable through stack's custom JSON
31: rabbitmq_layer = node['rabbitmq']['opsworks']['layer_name']
32:
33>> instances = node[:opsworks][:layers][rabbitmq_layer][:instances]
34: rabbitmq_cluster_nodes = instances.map{ |name, attrs| "rabbit@#{name}" }
35: node.set['rabbitmq']['cluster_disk_nodes'] = rabbitmq_cluster_nodes
36:

Platform:

x86_64-linux

[2017-06-05T11:53:55+00:00] ERROR: Running exception handlers
[2017-06-05T11:53:55+00:00] ERROR: Exception handlers complete
[2017-06-05T11:53:55+00:00] FATAL: Stacktrace dumped to /var/chef/runs/44e738b3-9018-4d01-b390-f6200628e13a/local-mode-cache/cache/chef-stacktrace.out
[2017-06-05T11:53:55+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-06-05T11:53:55+00:00] ERROR: undefined method `[]' for nil:NilClass
[2017-06-05T11:53:55+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

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.