{"record":{"id":"1e7dbbee65149b84","repo":"hashicorp/vagrant","slug":"vagrant-chef-run-list-empty","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_client.rb","lineNumber":76,"sourceCode":"        end\n\n        def upload_validation_key\n          @machine.ui.info I18n.t(\"vagrant.provisioners.chef.upload_validation_key\")\n          @machine.communicate.upload(validation_key_path, guest_validation_key_path)\n        end\n\n        def setup_server_config\n          setup_config(\"provisioners/chef_client/client\", \"client.rb\", {\n            chef_server_url: @config.chef_server_url,\n            validation_client_name: @config.validation_client_name,\n            validation_key: guest_validation_key_path,\n            client_key: guest_client_key_path,\n          })\n        end\n\n        def run_chef_client\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          )\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)\n              end","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/provisioners/chef/provisioner/chef_client.rb#L58-L94","documentation":"Error \"vagrant.chef_run_list_empty\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at plugins/provisioners/chef/provisioner/chef_client.rb:76 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"}