vagrant up時に「Read-only file system (Net::SCP::Error)」
今回はvagrant up時に下記のエラーが発生したときに私はどう対処したのかについてご紹介いたします。(エラーは後ほど全文を貼ります)
先にどう対処したか書いてしまうと、boxを削除してVirtualBoxとVagrantを再インストールして入れ直して解決しました。
vagrant up時に「Read-only file system (Net::SCP::Error)」
ある日突然vagrant up時にエラーが発生し、下記のエラーが出ました。(エラー全文はかなり長いです)
結論を冒頭に書きましたが、どうやっても対処することができず(そもそも情報が少なすぎてやれることが限られていたことも大きいですが…)結局VirtualBoxとVagrantを再インストールして解決しました。
VirtualBoxとVagrantを再インストールすることで解決できたので、逆に言えばboxの問題と言うことができます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
MacBook-Pro:vagrant chico27$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key ==> default: Machine booted and ready! [default] GuestAdditions seems to be installed (7.0.6) correctly, but not running. Redirecting to /bin/systemctl start vboxadd.service Redirecting to /bin/systemctl start vboxadd-service.service /opt/VBoxGuestAdditions-7.0.6/bin/VBoxClient: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory /opt/VBoxGuestAdditions-7.0.6/bin/VBoxClient: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory rm: cannot remove '/lib/modules/3.10.0-957.21.2.el7.x86_64/misc/vboxguest.ko': Read-only file system rm: cannot remove '/lib/modules/3.10.0-957.21.2.el7.x86_64/misc/vboxsf.ko': Read-only file system rm: cannot remove '/lib/modules/3.10.0-957.21.2.el7.x86_64/misc/vboxvideo.ko': Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.softdep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.builtin.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.devname.tmp, 1101, 644): Read-only file system mktemp: failed to create directory via template '/var/tmp/dracut.XXXXXX': Read-only file system dracut: mktemp -p '/var/tmp/' -d -t dracut.XXXXXX failed. dracut failed with error code 1. rm: cannot remove '/etc/depmod.d/vboxvideo-upstream.conf': Read-only file system rm: cannot remove '/var/lib/VBoxGuestAdditions/skip-3.10.0-957.21.2.el7.x86_64': Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.softdep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.builtin.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.devname.tmp, 1101, 644): Read-only file system rm: cannot remove '/etc/kernel/postinst.d/vboxadd': Read-only file system rm: cannot remove '/etc/kernel/prerm.d/vboxadd': Read-only file system VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Setting up modules VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version> VirtualBox Guest Additions: or VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Building the modules for kernel 3.10.0-957.21.2.el7.x86_64. /usr/sbin/rcvboxadd: line 136: /var/log/vboxadd-setup.log: Read-only file system /usr/sbin/rcvboxadd: line 136: /var/log/vboxadd-setup.log: Read-only file system /usr/sbin/rcvboxadd: line 143: /var/log/vboxadd-setup.log: Read-only file system VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.dep.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.alias.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.softdep.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.symbols.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.builtin.bin.tmp, 1101, 644): Read-only file system depmod: ERROR: openat(/lib/modules/3.10.0-957.21.2.el7.x86_64, modules.devname.tmp, 1101, 644): Read-only file system /usr/sbin/rcvboxadd: line 560: /etc/udev/rules.d/60-vboxadd.rules: Read-only file system /usr/sbin/rcvboxadd: line 561: /etc/udev/rules.d/60-vboxadd.rules: Read-only file system /usr/sbin/rcvboxadd: line 573: cannot create temp file for here-document: Read-only file system /usr/sbin/rcvboxadd: line 580: cannot create temp file for here-document: Read-only file system chmod: changing permissions of '/etc/kernel/postinst.d/vboxadd': Read-only file system chmod: changing permissions of '/etc/kernel/prerm.d/vboxadd': Read-only file system ln: cannot remove '/sbin/mount.vboxsf': Read-only file system VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted /usr/sbin/rcvboxadd: line 136: /var/log/vboxadd-setup.log: Read-only file system Restarting VM to apply changes... ==> default: Attempting graceful shutdown of VM... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Configuring and enabling network interfaces... Traceback (most recent call last): 130: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run' 129: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/machine.rb:203:in `action' 128: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/machine.rb:203:in `call' 127: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/environment.rb:631:in `lock' 126: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/machine.rb:217:in `block in action' 125: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/machine.rb:248:in `action_raw' 124: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 123: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 122: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 121: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 120: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 119: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call' 118: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 117: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/call.rb:53:in `call' 116: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 115: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 114: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 113: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 112: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 111: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 110: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 109: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 108: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 107: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call' 106: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 105: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/call.rb:53:in `call' 104: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 103: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 102: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 101: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 100: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 99: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 98: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 97: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 96: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 95: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/env_set.rb:19:in `call' 94: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 93: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call' 92: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 91: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call' 90: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 89: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/box_check_outdated.rb:36:in `call' 88: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 87: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/call.rb:53:in `call' 86: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 85: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 84: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 83: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 82: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 81: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 80: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 79: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/call.rb:53:in `call' 78: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 77: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 76: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 75: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 74: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 73: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 72: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 71: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/call.rb:53:in `call' 70: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `run' 69: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/busy.rb:19:in `busy' 68: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/runner.rb:101:in `block in run' 67: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builder.rb:180:in `call' 66: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 65: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:127:in `block in finalize_action' 64: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 63: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call' 62: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 61: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/clean_machine_folder.rb:26:in `call' 60: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 59: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/set_name.rb:19:in `call' 58: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 57: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in `call' 56: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 55: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/provision.rb:80:in `call' 54: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 53: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/env_set.rb:19:in `call' 52: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 51: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in `call' 50: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 49: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:52:in `call' 48: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 47: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb:12:in `call' 46: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 45: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call' 44: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 43: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call' 42: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 41: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/delayed.rb:19:in `call' 40: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 39: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/builtin/synced_folders.rb:87:in `call' 38: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 37: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:19:in `call' 36: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 35: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/set_default_nic_type.rb:64:in `call' 34: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 33: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/clear_network_interfaces.rb:26:in `call' 32: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/action/warden.rb:48:in `call' 31: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/providers/virtualbox/action/network.rb:159:in `call' 30: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/guest.rb:45:in `capability' 29: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/capability_host.rb:111:in `capability' 28: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/capability_host.rb:111:in `call' 27: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/guests/redhat/cap/configure_networks.rb:25:in `configure_networks' 26: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/guests/redhat/cap/configure_networks.rb:25:in `with_index' 25: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/guests/redhat/cap/configure_networks.rb:25:in `each' 24: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/guests/redhat/cap/configure_networks.rb:58:in `block in configure_networks' 23: from /opt/vagrant/embedded/lib/ruby/2.7.0/tempfile.rb:291:in `open' 22: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/guests/redhat/cap/configure_networks.rb:63:in `block (2 levels) in configure_networks' 21: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:307:in `upload' 20: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:746:in `scp_connect' 19: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:392:in `connect' 18: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:748:in `block in scp_connect' 17: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:338:in `block in upload' 16: from /opt/vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plugins/communicators/ssh/communicator.rb:332:in `block (2 levels) in upload' 15: from /opt/vagrant/embedded/gems/2.3.4/gems/net-scp-4.0.0/lib/net/scp.rb:284:in `upload!' 14: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/channel.rb:272:in `wait' 13: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:179:in `loop' 12: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:179:in `loop' 11: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:179:in `block in loop' 10: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:226:in `process' 9: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/event_loop.rb:28:in `process' 8: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/event_loop.rb:104:in `ev_preprocess' 7: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/event_loop.rb:104:in `each' 6: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:250:in `ev_preprocess' 5: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:540:in `each_channel' 4: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:540:in `each' 3: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/session.rb:250:in `block in ev_preprocess' 2: from /opt/vagrant/embedded/gems/2.3.4/gems/net-ssh-7.0.1/lib/net/ssh/connection/channel.rb:325:in `process' 1: from /opt/vagrant/embedded/gems/2.3.4/gems/net-scp-4.0.0/lib/net/scp.rb:369:in `block (3 levels) in start_command' /opt/vagrant/embedded/gems/2.3.4/gems/net-scp-4.0.0/lib/net/scp.rb:398:in `await_response_state': \x01scp: /tmp/vagrant-network-entry-enp0s8-1695341949-0: Read-only file system (Net::SCP::Error) |
終わりに
今回はvagrant up時に記載したエラーが発生したときにどう対処したのかについてご紹介いたしました。
ディスカッション
コメント一覧
まだ、コメントがありません