Giter VIP home page Giter VIP logo

pacemaker-cookbook's Issues

Use of LWRP provider ordering issues

One of the main "problems" with this cookbook that really isn't addressed in the documentation is the issue of ordering.

Lets say you have a 3 node cluster (node1[master],node2[slave],node3[slave]) that you want to control. Before you can run any of the pacemaker::cluster_create scripts on node1, both node2/3 will have to have had the pacemaker::node_prepare recipes run against them. Any deviation from this ordering will cause failures in the chef runs.

Also, the various providers should really only be run against node1 in the cluster, as if you try to run them against node2/3 before the cluster creation is complete you will get errors in your chef run.

It would be ideal if there were information stored in some data bag or something that could be modified from within the recipes to inform the master that they've been successfully setup so the node_prepare or any primitive etc provider don't try and run until all "slave" nodes within the cluster have been setup.

Update README

This cookbook is unusable without some hint as how to setup the vault as well as listing it as a requirement.

ArgumentError-Property `resources` of resource `pacemaker_group` overwrites an existing method

I am trying to have wrapper cookbook over this and calling "include_recipe 'recipe[pacemaker::node_prepare]'" But running into a issue
"""""""""""""""
ArgumentError

Property resources of resource pacemaker_group overwrites an existing method. A different name should be used for this property.

Cookbook Trace:

/var/chef/cache/cookbooks/pacemaker/resources/group.rb:24:in `class_from_file'

/var/chef/cache/cookbooks/pacemaker/resources/group.rb:

17: # limitations under the License.
18: #
19:
20: actions :create, :delete
21: default_action :create
22:
23: attribute :name, kind_of: String, name_attribute: true
24>> attribute :resources, kind_of: Array, required: true

"""""""""""""

Unable to execute spec tests

The Testing section calls out ChefDK >= 0.10.0 as the only requirement:

─ chef -v
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2

I have a different library for net-ssh that appears to take precedence in Gem Load order

╰─ chef exec rspec
/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2273:in `check_version_conflict': can't activate net-ssh-3.0.2, already activated net-ssh-2.9.2 (Gem::LoadError)

There are other dependencies for the older net-ssh library.

Thoughts?

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.