{"record":{"id":"3dffdaa489eead28","repo":"hashicorp/vagrant","slug":"vagrant-actions-disk-provider-unsupported-3dffda","errorCode":null,"errorMessage":"vagrant.actions.disk.provider_unsupported","messagePattern":"vagrant\\.actions\\.disk\\.provider_unsupported","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/vagrant/action/builtin/disk.rb","lineNumber":25,"sourceCode":"  module Action\n    module Builtin\n      class Disk\n        def initialize(app, env)\n          @app    = app\n          @logger = Log4r::Logger.new(\"vagrant::action::builtin::disk\")\n        end\n\n        def call(env)\n          machine = env[:machine]\n          defined_disks = get_disks(machine, env)\n\n          # Call into providers machine implementation for disk management\n          configured_disks = {}\n          if !defined_disks.empty?\n            if machine.provider.capability?(:configure_disks)\n             configured_disks = machine.provider.capability(:configure_disks, defined_disks)\n            else\n              env[:ui].warn(I18n.t(\"vagrant.actions.disk.provider_unsupported\",\n                                 provider: machine.provider_name))\n            end\n          end\n\n          # Always write the disk metadata even if the configured\n          # disks is empty. This ensure that old entries are not\n          # orphaned in the metadata file.\n          write_disk_metadata(machine, configured_disks)\n\n          # Continue On\n          @app.call(env)\n        end\n\n        def write_disk_metadata(machine, current_disks)\n          meta_file = machine.data_dir.join(\"disk_meta\")\n          @logger.debug(\"Writing disk metadata file to #{meta_file}\")\n          File.open(meta_file.to_s, \"w+\") do |file|\n            file.write(JSON.dump(current_disks))","sourceCodeStart":7,"sourceCodeEnd":43,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/lib/vagrant/action/builtin/disk.rb#L7-L43","documentation":"Error \"vagrant.actions.disk.provider_unsupported\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at lib/vagrant/action/builtin/disk.rb:25 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"}