My cookbooks ran fine last week. Why are they failing TODAY? I had another post with problems with windows_package. Here’s one with windows_zipfile. I did upgrade to knife-windows 0.8.4. I also found this
https://tickets.opscode.com/browse/COOK-3542, but this seems like an old report. WT…??? ============================================================================ ==== Error executing action `unzip` on resource 'windows_zipfile[c:\windows\temp\ chef-client]' ============================================================================ ==== LoadError --------- cannot load such file -- zip Cookbook Trace: --------------- c:/chef/cache/cookbooks/windows/providers/zipfile.rb:90:in `rescue in ensure _rubyzip_gem_installed' c:/chef/cache/cookbooks/windows/providers/zipfile.rb:83:in `ensure_rubyzip_g em_installed' c:/chef/cache/cookbooks/windows/providers/zipfile.rb:28:in `block in class_f rom_file' Resource Declaration: --------------------- # In c:/chef/cache/cookbooks/db-flexipdb/recipes/install_flexipdb.rb 38: windows_zipfile "#{node.db_flexipdb.tempdir}" do 39: source "#{node.db_flexipdb.tempdir}"+"\\"+"#{node.db_flexipdb.flexipd b_package}" 40: action :unzip 41: overwrite true 42: end 43: Compiled Resource: ------------------ # Declared in c:/chef/cache/cookbooks/db-flexipdb/recipes/install_flexipdb.r b:38:in `from_file' windows_zipfile("c:\windows\temp\chef-client") do action [:unzip] retries 0 retry_delay 2 default_guard_interpreter :default declared_type :windows_zipfile cookbook_name "db-flexipdb" recipe_name "install_flexipdb" source "c:\\windows\\temp\\chef-client\\FlexIPDB-2.5.0-5.zip" overwrite true end [2015-02-22T21:32:44-05:00] INFO: Running queued delayed notifications before re -raising exception Running handlers: [2015-02-22T21:32:44-05:00] ERROR: Running exception handlers Running handlers complete [2015-02-22T21:32:44-05:00] ERROR: Exception handlers complete [2015-02-22T21:32:44-05:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stack trace.out Chef Client failed. 22 resources updated in 329.556749 seconds [2015-02-22T21:32:44-05:00] INFO: Sending resource update report (run-id: 4ceb5b 4a-9cdc-45c9-8abc-65e7b611ef4a) [2015-02-22T21:32:45-05:00] FATAL: LoadError: windows_zipfile[c:\windows\temp\ch ef-client] (db-flexipdb::install_flexipdb line 38) had an error: LoadError: cann ot load such file -- zip C:\Users\Administrator> |
Archive powered by MHonArc 2.6.16.