On Wednesday, June 26, 2013 at 4:06 AM, Jorge Bianquetti wrote:
Hi!Something strange it's happening with one mongoDB node that needs andEBS raid with provisioned IOPS, using Chef 10.26.0First, node creates EBS raid type 10 with two disks without problems,and then use it to hosts mongoDB databases.Then, I reboot or stops the ec2 node.When the node finished the boot process, EBS raid devices areattached to the machine, but when I run chef-client, it fails withmessage:FATAL: ArgumentError: ruby_block[wait_mongodb_data_raid](/var/chef/cache/cookbooks/aws/providers/ebs_raid.rb line 182) had anerror: ArgumentError: You tried to set a nested key, where the parentis not a hash-like object:aws/raid//var/lib/mongodb/device_map/sdi1/sdi2/sdi1Node's info seems right to me:"aws": {"raid": {"/var/lib/mongodb": {"raid_dev": "md0","device_map": {"sdi1": "vol-6bba1647","sdi2": "vol-bbbb1797"}}},"ebs_volume": {"sdi1": {"volume_id": "vol-6bba1647"},"sdi2": {"volume_id": "vol-bbbb1797"}}}So, I tried with different aws cookbook versions: 0.101.3 0.101.20.100. All fails in the same steps.Any suggestions?
Archive powered by MHonArc 2.6.16.