{"record":{"id":"91f4bb9d8a51abc5","repo":"hashicorp/vagrant","slug":"vagrant-chef-run-list-empty-91f4bb","errorCode":null,"errorMessage":"vagrant.chef_run_list_empty","messagePattern":"vagrant\\.chef_run_list_empty","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/provisioners/chef/provisioner/chef_zero.rb","lineNumber":59,"sourceCode":"          run_chef_zero\n          delete_encrypted_data_bag_secret\n        end\n\n        def setup_zero_config\n          setup_config(\"provisioners/chef_zero/zero\", \"client.rb\", {\n            local_mode: true,\n            enable_reporting: false,\n            cookbooks_path: guest_paths(@cookbook_folders),\n            nodes_path: guest_paths(@node_folders),\n            roles_path: guest_paths(@role_folders),\n            data_bags_path: guest_paths(@data_bags_folders),\n            environments_path: guest_paths(@environments_folders).first,\n          })\n        end\n\n        def run_chef_zero\n          if @config.run_list && @config.run_list.empty?\n            @machine.ui.warn(I18n.t(\"vagrant.chef_run_list_empty\"))\n          end\n\n          command = CommandBuilder.command(:client, @config,\n            windows:    windows?,\n            colored:    @machine.env.ui.color?,\n            local_mode: true,\n          )\n\n          still_active = 259 #provisioner has asked chef to reboot\n\n          @config.attempts.times do |attempt|\n            exit_status = 0\n            while exit_status == 0 || exit_status == still_active\n              if @machine.guest.capability?(:wait_for_reboot)\n                @machine.guest.capability(:wait_for_reboot)\n              elsif attempt > 0\n                sleep 10\n                @machine.communicate.wait_for_ready(@machine.config.vm.boot_timeout)","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/provisioners/chef/provisioner/chef_zero.rb#L41-L77","documentation":"Error \"vagrant.chef_run_list_empty\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at plugins/provisioners/chef/provisioner/chef_zero.rb:59 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}