rdbreak / rhcsa8env

This is a RHCSA8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
295 stars 177 forks source link

umount: /mnt: not mounted. #61

Closed etorin closed 2 years ago

etorin commented 3 years ago

Describe the bug Can't start machines

PS E:\Education\MinimumVagrant\RGEL8\rhcsa8env> vagrant.exe --version
Vagrant 2.2.17
PS E:\Education\MinimumVagrant\RGEL8\rhcsa8env> dir

    Каталог: E:\Education\MinimumVagrant\RGEL8\rhcsa8env

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        29.07.2021     22:08                .github
d-----        03.08.2021     12:37                .vagrant
d-----        29.07.2021     22:08                playbooks
-a----        29.07.2021     22:08             42 .gitignore
-a----        29.07.2021     22:08            410 ansible.cfg
-a----        03.08.2021     15:49     8592031744 disk-0-1.vdi
-a----        03.08.2021     15:50     8592031744 disk-0-2.vdi
-a----        29.07.2021     22:08            462 inventory
-a----        29.07.2021     22:08           1085 LICENSE
-a----        29.07.2021     22:08          12391 README.md
-a----        24.10.2020      4:23         520187 rsync.exe
-a----        03.08.2021     14:08           1184 rsync.lnk
-a----        29.07.2021     22:08           4436 Vagrantfile

To Reproduce Steps to reproduce the behavior: firstly, had an error with rsync, some of command is an attempt to fix it (successfully)

vagrant plugin install vagrant-rsync-back
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-guest_ansible

vagrant.exe up

Output

PS E:\Education\MinimumVagrant\RGEL8\rhcsa8env> vagrant.exe up
Bringing machine 'server2' up with 'virtualbox' provider...
Bringing machine 'repo' up with 'virtualbox' provider...
Bringing machine 'server1' up with 'virtualbox' provider...
==> server2: Importing base box 'rdbreak/rhel8node'...
==> server2: Matching MAC address for NAT networking...
==> server2: Setting the name of the VM: rhcsa8env_server2_1627994853571_39655
==> server2: Clearing any previously set network interfaces...
==> server2: Preparing network interfaces based on configuration...
    server2: Adapter 1: nat
    server2: Adapter 2: hostonly
    server2: Adapter 3: hostonly
==> server2: Forwarding ports...
    server2: 22 (guest) => 2222 (host) (adapter 1)
==> server2: Running 'pre-boot' VM customizations...
==> server2: Booting VM...
==> server2: Waiting for machine to boot. This may take a few minutes...
    server2: SSH address: 127.0.0.1:2222
    server2: SSH username: vagrant
    server2: SSH auth method: private key
==> server2: Machine booted and ready!
[server2] GuestAdditions versions on your host (6.1.26) and guest (5.2.30) do not match.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: There are no enabled repos.
Unmounting Virtualbox Guest Additions ISO from: /mnt
umount: /mnt: not mounted.
==> server2: Checking for guest additions in VM...
    server2: The guest additions on this VM do not match the installed version of
    server2: VirtualBox! In most cases this is fine, but in rare cases it can
    server2: prevent things such as shared folders from working properly. If you see
    server2: shared folder errors, please make sure the guest additions within the
    server2: virtual machine match the version of VirtualBox you have installed on
    server2: your host and reload your VM.
    server2:
    server2: Guest Additions Version: 5.2.30
    server2: VirtualBox Version: 6.1
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

umount /mnt

Stdout from the command:

Stderr from the command:

umount: /mnt: not mounted.

Expected behavior Running structure

Screenshots image

Desktop (please complete the following information):

Additional context Fixing problem with rsync

https://www.vagrantup.com/docs/synced-folders/rsync http://repo.msys2.org/msys/x86_64/rsync-3.2.3-1-x86_64.pkg.tar.zst https://www.reddit.com/r/unix/comments/kl15ow/im_trying_to_extract_a_zstd_file_but_i_cant_do_it/ https://github.com/facebook/zstd

PS C:\Program Files\zstd> dir "c:\Program Files\zstd\"
Directory: C:\Program Files\zstd
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        03.08.2021     13:29                dll
d-----        03.08.2021     13:29                example
d-----        03.08.2021     13:29                include
d-----        03.08.2021     13:29                static
-a----        19.12.2020      2:06           2953 README.md
-a----        03.08.2021     13:05         354320 rsync-3.2.3-1-x86_64.pkg.tar.zst
-a----        19.12.2020      2:06           2953 win rsync — todo steps.md
-a----        19.12.2020      2:11        1275277 zstd.exe

PS C:\Program Files\zstd> .\zstd.exe  --decompress rsync-3.2.3-1-x86_64.pkg.tar.zst
rsync-3.2.3-1-x86_64.pkg.tar.zst: 686080 bytes
8. tar was unpacked by TTCMD c:\Program Files\rsync\