Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError on kitchen converge. LoadError cannot load such file poise_archive/cheftie #29

Open
deppfx opened this issue Jun 25, 2019 · 0 comments

Comments

@deppfx
Copy link

deppfx commented Jun 25, 2019

I am getting the below issue when running

localhost@deppfx 00:11:45: ~/git/airflow-cookbook $ (master) kitchen converge airflow-scheduler-centos-72
-----> Starting Kitchen (v1.17.0)
-----> Converging <airflow-scheduler-centos-72>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 6.3.1...
       Removing non-cookbook files before transfer
       Preparing validation.pem
       Preparing client.rb
       el 7 x86_64
       Getting information for chef stable 14.12.3 for el...
       downloading https://omnitruck.chef.io/stable/chef/metadata?v=14.12.3&p=el&pv=7&m=x86_64
         to file /tmp/install.sh.11431/metadata.txt
       trying wget...
       sha1	dea8e74571b15ebb65e03269f0b7c39b49819148
       sha256	a8baf9229d392d723ff42e6b529b7b18411f5909d13247dd39ec0a073b37bb8e
       url	https://packages.chef.io/files/stable/chef/14.12.3/el/7/chef-14.12.3-1.el7.x86_64.rpm
       version	14.12.3
       downloaded metadata file looks valid...
       downloading https://packages.chef.io/files/stable/chef/14.12.3/el/7/chef-14.12.3-1.el7.x86_64.rpm
         to file /tmp/install.sh.11431/chef-14.12.3-1.el7.x86_64.rpm
       trying wget...
       Comparing checksum with sha256sum...
       Installing chef 14.12.3
       installing with rpm...
       warning: /tmp/install.sh.11431/chef-14.12.3-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
       Preparing...                          ################################# [100%]
       Updating / installing...
          1:chef-14.12.3-1.el7               ################################# [100%]
       Thank you for installing Chef!
       Transferring files to <airflow-scheduler-centos-72>
       Starting Chef Client, version 14.12.3
       Creating a new client identity for airflow-scheduler-centos-72 using the validator key.
       resolving cookbooks for run list: ["airflow::default", "airflow::scheduler"]
       Synchronizing Cookbooks:
         - apt (7.1.1)
         - airflow (1.2.4)
         - poise-python (1.7.0)
         - poise-languages (2.1.2)
         - poise-archive (1.5.0)
         - poise (2.8.2)
       Installing Cookbook Gems:
       Compiling Cookbooks...
       
       ================================================================================
       Recipe Compile Error in /tmp/kitchen/cache/cookbooks/poise-archive/libraries/default.rb
       ================================================================================
       
       LoadError
       ---------
       cannot load such file -- poise_archive/cheftie
       
       Cookbook Trace:
       ---------------
         /tmp/kitchen/cache/cookbooks/poise-archive/libraries/default.rb:19:in `<top (required)>'
       
       Relevant File Content:
       ----------------------
       /tmp/kitchen/cache/cookbooks/poise-archive/libraries/default.rb:
       
        12:  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        13:  # See the License for the specific language governing permissions and
        14:  # limitations under the License.
        15:  #
        16:  
        17:  raise 'Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.' unless Chef::Config[:no_lazy_load]
        18:  $LOAD_PATH << File.expand_path('../../files/halite_gem', __FILE__)
        19>> require "poise_archive/cheftie"
        20:  
       
       System Info:
       ------------
       chef_version=14.12.3
       platform=centos
       platform_version=7.2.1511
       ruby=ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]
       program_name=/opt/chef/bin/chef-client
       executable=/opt/chef/bin/chef-client
       
       
       Running handlers:
       [2019-06-25T07:12:41+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2019-06-25T07:12:41+00:00] ERROR: Exception handlers complete
       Chef Client failed. 0 resources updated in 04 seconds
       [2019-06-25T07:12:41+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2019-06-25T07:12:41+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2019-06-25T07:12:41+00:00] FATAL: LoadError: cannot load such file -- poise_archive/cheftie
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <airflow-scheduler-centos-72>.  Please see .kitchen/logs/airflow-scheduler-centos-72.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant