You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: