Skip to content

Instantly share code, notes, and snippets.

@Sauraus Sauraus/output1
Created Jun 10, 2016

Embed
What would you like to do?
Why is this code returning NULL when no RETURN is present?
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/diw-jenkins/recipes/server.rb
================================================================================
Chef::Exceptions::InvalidDataBagItemID
--------------------------------------
Data Bag items must have an id matching /^[\.\-[:alnum:]_]+$/, you gave: nil
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/diw-jenkins/recipes/server.rb:143:in `rescue in from_file'
/tmp/kitchen/cache/cookbooks/diw-jenkins/recipes/server.rb:105:in `from_file'
Relevant File Content:
----------------------
/tmp/kitchen/cache/cookbooks/diw-jenkins/recipes/server.rb:
136:
137: databag_items = Chef::EncryptedDataBagItem.encrypt_data_bag_item(jenkins_keys, secret)
138:
139: log "databag_items:: #{databag_items}"
140:
141: databag_item = Chef::DataBagItem.new
142: databag_item.data_bag(node['jenkins']['master']['keys'])
143>> databag_item.raw_data = databag_items
* log[jenkins_keys:: {:id=>"jenkins_keys", :private_key=>"-----BEGIN RSA PRIVATE KEY-----\nMIIJKAIBAAKCAgEAvSvJ+hFjO6HGLsPQpTeVmyade8Ga637801TBnqSf0wram3vK\nh289y910KsUMGOb/4D6VVg03brYTKRY2xdTK9KbMgXT1vcyO1rDyMSTSQ+gQLAtf\nxONjknDQbn74PYLSj5Cr9OLRP1I4vxp0JB7b5Yo0YVoR5tPpM2dtciuE7HoR9gFY\n68L3V2pwbXRgUkRGRNXEgOwO6InVyKXd3MP5/7akGQ7TZyXElOcPQwWMQXB2VN9z\ngfWJpVEiiV1bQ0QPfqoxHQKwn/MFwNFRLkTEx3HI+LM5JKT5Kzs/NubtPgNl/EC+\nhlmnr3GTFyxztOcXeaPjM+dcBDuB7rFC/CjEgADyJXbta4ktU7b8PU1HA2y+I1W2\nwMCeOIcCPv/8uVfDWvdtPXj0bdwFbfMbDZCUJcENhLdYotV2wwfi+Ccpg1ZR0A97\nESx3vtW9lUZQ/TkM5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B+L4JymDVlHQD3sRLHe+1b2VRlD9OQzk+jCE3riOupzv/iaCAs0QUUv6LJPjO/kwPM2UnzLrw26c+f5qyeNafOIHtrOuNCKHyawkeruLptZizL8V/XYqU4s64aziV9Y61EY8YpBACb+bNQoz+7sZ4a2XKK1UovHFd0tFRse7IOOY4TrNeEQX6sK9WKwMjD57q8ceeecV2U7O8kwmGIrv08sXzeOu61j0SFLYoqqwd6Ne/uKSm/vfiRkpiZxUkyTnOThbRbgv+Q=="}] action write
* log[databag_items:: {:id=>{"encrypted_data"=>"KSvUMLUMq7LWpsaX2VR0mX47GAliiYeShL3y9WRYxBs=\n", "iv"=>"NowAK86f5KvXwIdXlEwehw==\n", "version"=>1, "cipher"=>"aes-256-cbc"}, :private_key=>{"encrypted_data"=>"4A+pZG3vAS5+tjyEVae7LOg8XXp2S7Zccmpniwsro93zKOIWlckNIYj/wZIf\nO1ghhblFvqZJSokKYIm0rHjE3lsb5RD7y30vIE2eu5ZVFR2Xz8OVldwnQG2z\n8d06qEFnmsTBnZZlIvQrnvFl66nhgWigVfmxZ+k5IvQnEJEVveGOPoxksZC4\nSAa/mxWNCLEt+1+PROOC6ty73rcXCu9V+ljM1iS3m8Akm4cQG5+vOlP+7bRI\n4Aqc3pIQN6Y7pFZJqR7wF6eLVIGcJ8TPbLTZUtoGB1mwV3XmLZQXuaDmFRxq\n49/ROozCHqEsbAByQm2+ymgzQbkE+DwDiUA6vE5lRRlh9h4jUUtyAIdrdApc\nhPKZ9QmCMxkPVeIlNuQdaMNEw0H8xghugnUOeYTrHaZY1o37Y8wrFJFRwbgp\nTg2mscVFYod2VVP3YeKOBv9UEYFwAAAJAQjHG6A0WuArr9PrKOb2qbc81W3P\ndfklnt6WPUlHGsUZtEk8PZ6hlDAnKlKXmE1tkl1OkOaESpCYT35UeoPzlKZu\nOKNSYP6VOW4rRE72nSm01WNPOC5Nbe8Xz8UkmtFHq9XI6CXU6An5u5EhX8di\ngistVgoMw5w510YmLrrRYE8LsWxRKA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WK7vgMSQWMLfNXMnQd2L2zEHRW/iUfGvx5mQG\nFFGMb8Jh3QZ4SM17Kd9s4++cRyCXFfaXvf+FohA4JIehVh43889suArrRKHu\nVLUNPTKu7EISU4C+McWs+uWFHxMLQlehUA6qTdHFRPWEQTs8141hT4fgl6qs\nCE8jORZ/w1isTFiIdOEwnpXUvNkVi3kLsH6slgYnb7i9g0qM8SuU5NoyWDov\nzXaHj+IJxwuX6odvjqd/S2g8+uwm3prnkOcCzA4tRNtaC3W/ipLeMU8/hllR\njjDsp0TlSfxW84nsm5J2oqy55LR890ZFFTrymyDrqjsjqNv4aJnFupixwYOW\nog3xDyLpQRe+DuPLDfKhnAfeJHhrWpe/Fw/sgE/FD49aVN68FABCxKW/FizK\nQ3ZRC7kkaBCDQaz4wWxzRc9DFlQ+sfdevqgFK1+zOL/9YfM3JVk/QJAjKe/s\n4EmcY/r1w/n4JvowtutoAFCP2cetFNZlg/4qryBMBhHcdfB4O77epYKA1Gjh\n0AUtzCEV0qE5J1jbwOHcFj3HNG8rjmDLm8F2u6l3Qosu4dh5jdL36zU6Gm24\nijNdZy85yemZTaipwlj+N0g5my6uI6HMDTXMCdi+9K+Mpr5zq2mnYhCe762r\ncs4iiXOWcZeW2BtRfizOqgTVsvQO7HVrlSs7oM7xwt9hMukMCkh6r9n0H3sO\nP3UPrpDtNPx6TPxY+jKi9qBYrY+MEuEUzjpcrynoYsU=\n", "iv"=>"Y1/Wge258jPu8o6jKGca7g==\n", "version"=>1, "cipher"=>"aes-256-cbc"}}] action write
jenkins_keys = {
id: 'jenkins_keys',
private_key: private_key,
public_key: public_key
}
log "jenkins_keys:: #{jenkins_keys}"
databag_items = Chef::EncryptedDataBagItem.encrypt_data_bag_item(jenkins_keys, secret)
log "databag_items:: #{databag_items}"
databag_item = Chef::DataBagItem.new
databag_item.data_bag(node['jenkins']['master']['keys'])
databag_item.raw_data = databag_items
jenkins_keys = {
id: 'jenkins_keys',
private_key: private_key,
public_key: public_key
}
log "jenkins_keys:: #{jenkins_keys}"
databag_items = Chef::EncryptedDataBagItem.encrypt_data_bag_item(jenkins_keys, secret)
log "databag_items:: #{databag_items}"
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.