rdbreak / rhce8env

This is a RHCE 8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-hpc829w5-8J60PBmh_5E_nfeBkbfzIA
MIT License
117 stars 52 forks source link

vagrant up issue #39

Open abdularshad06 opened 3 months ago

abdularshad06 commented 3 months ago

arshad@DESKTOP-C7451KF MINGW64 /d/github/ansible/rhce8env (master) $ vagrant up Bringing machine 'repo' up with 'virtualbox' provider... Bringing machine 'node1' up with 'virtualbox' provider... Bringing machine 'node2' up with 'virtualbox' provider... Bringing machine 'node3' up with 'virtualbox' provider... Bringing machine 'node4' up with 'virtualbox' provider... Bringing machine 'control' up with 'virtualbox' provider... ==> repo: Importing base box 'rdbreak/rhel8repo'... ==> repo: Matching MAC address for NAT networking... ==> repo: Setting the name of the VM: rhce8env_repo_1711273380728_18854 ==> repo: Fixed port collision for 22 => 2222. Now on port 2200. ==> repo: Clearing any previously set network interfaces... ==> repo: Preparing network interfaces based on configuration... repo: Adapter 1: nat repo: Adapter 2: hostonly ==> repo: Forwarding ports... repo: 22 (guest) => 2200 (host) (adapter 1) ==> repo: Running 'pre-boot' VM customizations... ==> repo: Booting VM... ==> repo: Waiting for machine to boot. This may take a few minutes... repo: SSH address: 127.0.0.1:2200 repo: SSH username: vagrant repo: SSH auth method: private key ==> repo: Machine booted and ready! [repo] GuestAdditions versions on your host (7.0.12) and guest (6.1.18) 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.

Base 193 MB/s | 2.2 MB 00:00 AppStream 235 MB/s | 5.3 MB 00:00 Package kernel-devel-4.18.0-80.el8.x86_64 is already installed. Package kernel-devel-4.18.0-240.15.1.el8_3.x86_64 is already installed. Package kernel-devel-4.18.0-240.15.1.el8_3.x86_64 is already installed. Package gcc-8.3.1-5.1.el8.x86_64 is already installed. Package binutils-2.30-79.el8.x86_64 is already installed. Package make-1:4.2.1-10.el8.x86_64 is already installed. Package perl-interpreter-4:5.26.3-417.el8_3.x86_64 is already installed. Package bzip2-1.0.6-26.el8.x86_64 is already installed. Package elfutils-libelf-devel-0.180-1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso Mounting Virtualbox Guest Additions ISO to: /mnt mount: /mnt: WARNING: device write-protected, mounted read-only. Installing Virtualbox Guest Additions 7.0.12 - guest version is 6.1.18 Verifying archive integrity... 100% MD5 checksums are OK. All good. Uncompressing VirtualBox 7.0.12 Guest Additions for Linux 100% VirtualBox Guest Additions installer Removing installed version 6.1.18 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... 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 VirtualBox Guest Additions: or VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Building the modules for kernel 4.18.0-240.15.1.el8_3.x86_64. strip:/var/tmp/dracut.fBm55M/initramfs/usr/lib/modules/4.18.0-240.15.1.el8_3.x86_64/misc/vboxvideo.ko: could not create temporary file to hold stripped copy: No error strip:/var/tmp/dracut.fBm55M/initramfs/usr/lib/modules/4.18.0-240.15.1.el8_3.x86_64/misc/vboxsf.ko: could not create temporary file to hold stripped copy: No error strip:/var/tmp/dracut.fBm55M/initramfs/usr/lib/modules/4.18.0-240.15.1.el8_3.x86_64/misc/vboxguest.ko: could not create temporary file to hold stripped copy: No error /bin/dracut: line 1927: /var/tmp/dracut.fBm55M/initramfs.img: No space left on device dracut: dracut: creation of /boot/initramfs-4.18.0-240.15.1.el8_3.x86_64.img failed dracut failed with exit status 1. VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted or 'rcvboxadd reload' triggered VirtualBox Guest Additions: reloading kernel modules and services VirtualBox Guest Additions: kernel modules and services 7.0.12 r159484 reloaded VirtualBox Guest Additions: NOTE: you may still consider to re-login if some user session specific services (Shared Clipboard, Drag and Drop, Seamless or Guest Screen Resize) were not restarted automatically An error occurred during installation of VirtualBox Guest Additions 7.0.12. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed. Redirecting to /bin/systemctl start vboxadd.service Redirecting to /bin/systemctl start vboxadd-service.service Unmounting Virtualbox Guest Additions ISO from: /mnt ==> repo: Checking for guest additions in VM... ==> repo: Configuring and enabling network interfaces... ==> repo: Installing rsync to the VM... ==> repo: Rsyncing folder: /cygdrive/d/github/ansible/rhce8env/ => /vagrant ==> repo: - Exclude: [".vagrant/", ".git/"] ==> repo: Running provisioner: shell... repo: Running: inline script repo: Physical volume "/dev/sdb" successfully created. repo: Volume group "rhel_rhel8" successfully extended repo: Size of logical volume rhel_rhel8/root changed from <28.93 GiB (7405 extents) to 30.92 GiB (7916 extents). repo: Logical volume rhel_rhel8/root successfully resized. repo: meta-data=/dev/mapper/rhel_rhel8-root isize=512 agcount=4, agsize=1895680 blks repo: = sectsz=512 attr=2, projid32bit=1 repo: = crc=1 finobt=1, sparse=1, rmapbt=0 repo: = reflink=1 repo: data = bsize=4096 blocks=7582720, imaxpct=25 repo: = sunit=0 swidth=0 blks repo: naming =version 2 bsize=4096 ascii-ci=0, ftype=1 repo: log =internal log bsize=4096 blocks=3702, version=2 repo: = sectsz=512 sunit=0 blks, lazy-count=1 repo: realtime =none extsz=4096 blocks=0, rtextents=0 repo: data blocks changed from 7582720 to 8105984 ==> repo: Running provisioner: shell... repo: Running: inline script ==> repo: Running provisioner: shell... repo: Running: inline script repo: Updating Subscription Management repositories. repo: Unable to read consumer identity repo: repo: This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repo: repo: Last metadata expiration check: 0:01:17 ago on Sun 24 Mar 2024 02:43:38 AM PDT. repo: epel-release-latest-7.noarch.rpm 9.5 kB/s | 15 kB 00:01 repo: Dependencies resolved. repo: ================================================================================ repo: Package Architecture Version Repository Size repo: ================================================================================ repo: Installing: repo: epel-release noarch 7-14 @commandline 15 k repo: repo: Transaction Summary repo: ================================================================================ repo: Install 1 Package repo: repo: Total size: 15 k repo: Installed size: 25 k repo: Downloading Packages: repo: Running transaction check repo: Transaction check succeeded. repo: Running transaction test repo: Transaction test succeeded. repo: Running transaction repo: Preparing : 1/1 repo: Installing : epel-release-7-14.noarch 1/1 repo: Running scriptlet: epel-release-7-14.noarch 1/1 repo: Verifying : epel-release-7-14.noarch 1/1 repo: Installed products updated. repo: repo: Installed: repo: epel-release-7-14.noarch repo: repo: Complete! repo: Updating Subscription Management repositories. repo: Unable to read consumer identity repo: repo: This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repo: repo: Extra Packages for Enterprise Linux 7 - x86_64 80 kB/s | 17 MB 03:34 repo: Last metadata expiration check: 0:01:21 ago on Sun 24 Mar 2024 02:47:15 AM PDT. repo: Package httpd-2.4.37-30.module+el8.3.0+7001+0766b9e7.x86_64 is already installed. repo: Dependencies resolved. repo: ======================================================================================= repo: Package Arch Version Repo Size repo: ======================================================================================= repo: Installing: repo: createrepo_c x86_64 0.11.0-1.el8 AppStream 76 k repo: python3-pip noarch 9.0.3-13.el8 AppStream 18 k repo: python36-devel x86_64 3.6.8-1.module+el8+2710+846623d6 AppStream 16 k repo: sshpass x86_64 1.06-1.el7 epel 21 k repo: vsftpd x86_64 3.0.3-28.el8 AppStream 180 k repo: Installing dependencies: repo: annobin x86_64 8.64-1.el8 AppStream 187 k repo: createrepo_c-libs x86_64 0.11.0-1.el8 AppStream 101 k repo: drpm x86_64 0.3.0-14.el8 AppStream 71 k repo: dwz x86_64 0.12-9.el8 AppStream 109 k repo: efi-srpm-macros noarch 3-2.el8 AppStream 22 k repo: ghc-srpm-macros noarch 1.4.2-7.el8 AppStream 9.4 k repo: go-srpm-macros noarch 2-16.el8 AppStream 14 k repo: ocaml-srpm-macros noarch 5-4.el8 AppStream 9.5 k repo: openblas-srpm-macros noarch 2-2.el8 AppStream 8.0 k repo: perl-srpm-macros noarch 1-25.el8 AppStream 11 k repo: platform-python-devel x86_64 3.6.8-1.el8 AppStream 242 k repo: python-rpm-macros noarch 3-37.el8 AppStream 14 k repo: python-srpm-macros noarch 3-37.el8 AppStream 14 k repo: python3-rpm-generators noarch 5-4.el8 AppStream 24 k repo: python3-rpm-macros noarch 3-37.el8 AppStream 13 k repo: python3-setuptools noarch 39.2.0-4.el8 Base 162 k repo: python36 x86_64 3.6.8-1.module+el8+2710+846623d6 AppStream 19 k repo: qt5-srpm-macros noarch 5.11.1-2.el8 AppStream 11 k repo: redhat-rpm-config noarch 116-1.el8 AppStream 82 k repo: rust-srpm-macros noarch 5-2.el8 AppStream 9.3 k repo: unzip x86_64 6.0-41.el8 Base 193 k repo: zip x86_64 3.0-23.el8 Base 270 k repo: Downgrading: repo: platform-python x86_64 3.6.8-1.el8 Base 78 k repo: platform-python-pip noarch 9.0.3-13.el8 Base 1.8 M repo: platform-python-setuptools noarch 39.2.0-4.el8 Base 632 k repo: python3-libs x86_64 3.6.8-1.el8 Base 7.9 M repo: Enabling module streams: repo: python36 3.6 repo: repo: Transaction Summary repo: ======================================================================================= repo: Install 27 Packages repo: Downgrade 4 Packages repo: repo: Total size: 12 M repo: Total download size: 21 k repo: Downloading Packages: repo: sshpass-1.06-1.el7.x86_64.rpm 29 kB/s | 21 kB 00:00 repo: -------------------------------------------------------------------------------- repo: Total 10 kB/s | 21 kB 00:02 repo: warning: /var/cache/dnf/epel-a56bdfa2f5efdfb9/packages/sshpass-1.06-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY repo: Extra Packages for Enterprise Linux 7 - x86_64 1.6 MB/s | 1.6 kB 00:00 repo: Importing GPG key 0x352C64E5: repo: Userid : "Fedora EPEL (7) epel@fedoraproject.org" repo: Fingerprint: 91E9 7D7C 4A5E 96F1 7F3E 888F 6A2F AEA2 352C 64E5 repo: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 repo: Key imported successfully repo: Running transaction check repo: Transaction check succeeded. repo: Running transaction test repo: Transaction test succeeded. repo: Running transaction repo: Preparing : 1/1 repo: Downgrading : platform-python-pip-9.0.3-13.el8.noarch 1/35 repo: Downgrading : platform-python-setuptools-39.2.0-4.el8.noarch 2/35 repo: Downgrading : python3-libs-3.6.8-1.el8.x86_64 3/35 repo: Downgrading : platform-python-3.6.8-1.el8.x86_64 4/35 repo: Running scriptlet: platform-python-3.6.8-1.el8.x86_64 4/35 repo: Installing : python3-rpm-macros-3-37.el8.noarch 5/35 repo: Installing : python-srpm-macros-3-37.el8.noarch 6/35 repo: Installing : drpm-0.3.0-14.el8.x86_64 7/35 repo: Installing : createrepo_c-libs-0.11.0-1.el8.x86_64 8/35 repo: Installing : python-rpm-macros-3-37.el8.noarch 9/35 repo: Installing : python3-setuptools-39.2.0-4.el8.noarch 10/35 repo: Installing : python3-pip-9.0.3-13.el8.noarch 11/35 repo: Installing : python36-3.6.8-1.module+el8+2710+846623d6.x86_64 12/35 repo: Running scriptlet: python36-3.6.8-1.module+el8+2710+846623d6.x86_64 12/35 repo: Installing : python3-rpm-generators-5-4.el8.noarch 13/35 repo: Installing : rust-srpm-macros-5-2.el8.noarch 14/35 repo: Installing : qt5-srpm-macros-5.11.1-2.el8.noarch 15/35 repo: Installing : perl-srpm-macros-1-25.el8.noarch 16/35 repo: Installing : openblas-srpm-macros-2-2.el8.noarch 17/35 repo: Installing : ocaml-srpm-macros-5-4.el8.noarch 18/35 repo: Installing : go-srpm-macros-2-16.el8.noarch 19/35 repo: Installing : ghc-srpm-macros-1.4.2-7.el8.noarch 20/35 repo: Installing : efi-srpm-macros-3-2.el8.noarch 21/35 repo: Installing : dwz-0.12-9.el8.x86_64 22/35 repo: Installing : annobin-8.64-1.el8.x86_64 23/35 repo: Installing : unzip-6.0-41.el8.x86_64 24/35 repo: Installing : zip-3.0-23.el8.x86_64 25/35 repo: Installing : redhat-rpm-config-116-1.el8.noarch 26/35 repo: Installing : platform-python-devel-3.6.8-1.el8.x86_64 27/35 repo: Installing : python36-devel-3.6.8-1.module+el8+2710+846623d6.x8 28/35 repo: Running scriptlet: python36-devel-3.6.8-1.module+el8+2710+846623d6.x8 28/35 repo: Installing : createrepo_c-0.11.0-1.el8.x86_64 29/35 repo: Installing : vsftpd-3.0.3-28.el8.x86_64 30/35 repo: Running scriptlet: vsftpd-3.0.3-28.el8.x86_64 30/35 repo: Installing : sshpass-1.06-1.el7.x86_64 31/35 repo: Cleanup : platform-python-setuptools-39.2.0-6.el8.noarch 32/35 repo: Cleanup : platform-python-3.6.8-31.el8.x86_64 33/35 repo: Running scriptlet: platform-python-3.6.8-31.el8.x86_64 33/35 repo: Cleanup : platform-python-pip-9.0.3-18.el8.noarch 34/35 repo: Cleanup : python3-libs-3.6.8-31.el8.x86_64 35/35 repo: Running scriptlet: python3-libs-3.6.8-31.el8.x86_64 35/35 repo: Verifying : platform-python-3.6.8-1.el8.x86_64 1/35 repo: Verifying : platform-python-3.6.8-31.el8.x86_64 2/35 repo: Verifying : platform-python-pip-9.0.3-13.el8.noarch 3/35 repo: Verifying : platform-python-pip-9.0.3-18.el8.noarch 4/35 repo: Verifying : platform-python-setuptools-39.2.0-4.el8.noarch 5/35 repo: Verifying : platform-python-setuptools-39.2.0-6.el8.noarch 6/35 repo: Verifying : python3-libs-3.6.8-1.el8.x86_64 7/35 repo: Verifying : python3-libs-3.6.8-31.el8.x86_64 8/35 repo: Verifying : sshpass-1.06-1.el7.x86_64 9/35 repo: Verifying : python3-setuptools-39.2.0-4.el8.noarch 10/35 repo: Verifying : unzip-6.0-41.el8.x86_64 11/35 repo: Verifying : zip-3.0-23.el8.x86_64 12/35 repo: Verifying : annobin-8.64-1.el8.x86_64 13/35 repo: Verifying : createrepo_c-0.11.0-1.el8.x86_64 14/35 repo: Verifying : createrepo_c-libs-0.11.0-1.el8.x86_64 15/35 repo: Verifying : drpm-0.3.0-14.el8.x86_64 16/35 repo: Verifying : dwz-0.12-9.el8.x86_64 17/35 repo: Verifying : efi-srpm-macros-3-2.el8.noarch 18/35 repo: Verifying : ghc-srpm-macros-1.4.2-7.el8.noarch 19/35 repo: Verifying : go-srpm-macros-2-16.el8.noarch 20/35 repo: Verifying : ocaml-srpm-macros-5-4.el8.noarch 21/35 repo: Verifying : openblas-srpm-macros-2-2.el8.noarch 22/35 repo: Verifying : perl-srpm-macros-1-25.el8.noarch 23/35 repo: Verifying : platform-python-devel-3.6.8-1.el8.x86_64 24/35 repo: Verifying : python-rpm-macros-3-37.el8.noarch 25/35 repo: Verifying : python-srpm-macros-3-37.el8.noarch 26/35 repo: Verifying : python3-pip-9.0.3-13.el8.noarch 27/35 repo: Verifying : python3-rpm-generators-5-4.el8.noarch 28/35 repo: Verifying : python3-rpm-macros-3-37.el8.noarch 29/35 repo: Verifying : python36-3.6.8-1.module+el8+2710+846623d6.x86_64 30/35 repo: Verifying : python36-devel-3.6.8-1.module+el8+2710+846623d6.x8 31/35 repo: Verifying : qt5-srpm-macros-5.11.1-2.el8.noarch 32/35 repo: Verifying : redhat-rpm-config-116-1.el8.noarch 33/35 repo: Verifying : rust-srpm-macros-5-2.el8.noarch 34/35 repo: Verifying : vsftpd-3.0.3-28.el8.x86_64 35/35 repo: Installed products updated. repo: repo: Downgraded: repo: platform-python-3.6.8-1.el8.x86_64 repo: platform-python-pip-9.0.3-13.el8.noarch repo: platform-python-setuptools-39.2.0-4.el8.noarch repo: python3-libs-3.6.8-1.el8.x86_64 repo: repo: Installed: repo: annobin-8.64-1.el8.x86_64 repo: createrepo_c-0.11.0-1.el8.x86_64 repo: createrepo_c-libs-0.11.0-1.el8.x86_64 repo: drpm-0.3.0-14.el8.x86_64 repo: dwz-0.12-9.el8.x86_64 repo: efi-srpm-macros-3-2.el8.noarch repo: ghc-srpm-macros-1.4.2-7.el8.noarch repo: go-srpm-macros-2-16.el8.noarch repo: ocaml-srpm-macros-5-4.el8.noarch repo: openblas-srpm-macros-2-2.el8.noarch repo: perl-srpm-macros-1-25.el8.noarch repo: platform-python-devel-3.6.8-1.el8.x86_64 repo: python-rpm-macros-3-37.el8.noarch repo: python-srpm-macros-3-37.el8.noarch repo: python3-pip-9.0.3-13.el8.noarch repo: python3-rpm-generators-5-4.el8.noarch repo: python3-rpm-macros-3-37.el8.noarch repo: python3-setuptools-39.2.0-4.el8.noarch repo: python36-3.6.8-1.module+el8+2710+846623d6.x86_64 repo: python36-devel-3.6.8-1.module+el8+2710+846623d6.x86_64 repo: qt5-srpm-macros-5.11.1-2.el8.noarch repo: redhat-rpm-config-116-1.el8.noarch repo: rust-srpm-macros-5-2.el8.noarch repo: sshpass-1.06-1.el7.x86_64 repo: unzip-6.0-41.el8.x86_64 repo: vsftpd-3.0.3-28.el8.x86_64 repo: zip-3.0-23.el8.x86_64 repo: repo: Complete! ==> repo: Running provisioner: shell... repo: Running: inline script repo: WARNING: Running pip install with root privileges is generally not a good idea. Try __main__.py install --user instead. repo: Collecting pip repo: Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB) repo: Installing collected packages: pip repo: Successfully installed pip-21.3.1 repo: Collecting pexpect repo: Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB) repo: Collecting ptyprocess>=0.5 repo: Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) repo: Installing collected packages: ptyprocess, pexpect repo: Successfully installed pexpect-4.9.0 ptyprocess-0.7.0 repo: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv repo: Collecting ansible repo: Downloading ansible-4.10.0.tar.gz (36.8 MB) repo: Preparing metadata (setup.py): started repo: Preparing metadata (setup.py): finished with status 'done' repo: Collecting ansible-core~=2.11.7 repo: Downloading ansible-core-2.11.12.tar.gz (7.1 MB) repo: Preparing metadata (setup.py): started repo: Preparing metadata (setup.py): finished with status 'done' repo: Collecting jinja2 repo: Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) repo: Collecting PyYAML repo: Downloading PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (677 kB) repo: Requirement already satisfied: cryptography in /usr/lib64/python3.6/site-packages (from ansible-core~=2.11.7->ansible) (2.3) repo: Collecting packaging repo: Downloading packaging-21.3-py3-none-any.whl (40 kB) repo: Collecting resolvelib<0.6.0,>=0.5.3 repo: Downloading resolvelib-0.5.4-py2.py3-none-any.whl (12 kB) repo: Requirement already satisfied: idna>=2.1 in /usr/lib/python3.6/site-packages (from cryptography->ansible-core~=2.11.7->ansible) (2.5) repo: Requirement already satisfied: asn1crypto>=0.21.0 in /usr/lib/python3.6/site-packages (from cryptography->ansible-core~=2.11.7->ansible) (0.24.0) repo: Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.6/site-packages (from cryptography->ansible-core~=2.11.7->ansible) (1.11.0) repo: Requirement already satisfied: cffi!=1.11.3,>=1.7 in /usr/lib64/python3.6/site-packages (from cryptography->ansible-core~=2.11.7->ansible) (1.11.5) repo: Collecting MarkupSafe>=2.0 repo: Downloading MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB) repo: Collecting pyparsing!=3.0.5,>=2.0.2 repo: Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB) repo: Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.7->cryptography->ansible-core~=2.11.7->ansible) (2.14) repo: Using legacy 'setup.py install' for ansible, since package 'wheel' is not installed. repo: Using legacy 'setup.py install' for ansible-core, since package 'wheel' is not installed. repo: Installing collected packages: pyparsing, MarkupSafe, resolvelib, PyYAML, packaging, jinja2, ansible-core, ansible repo: Running setup.py install for ansible-core: started repo: Running setup.py install for ansible-core: finished with status 'done' repo: Running setup.py install for ansible: started

repo:     Running setup.py install for ansible: still running...
repo:     Running setup.py install for ansible: finished with status 'done'
repo: Successfully installed MarkupSafe-2.0.1 PyYAML-6.0.1 ansible-4.10.0 ansible-core-2.11.12 jinja2-3.0.3 packaging-21.3 pyparsing-3.1.2 resolvelib-0.5.4
repo: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

==> node1: Importing base box 'rdbreak/rhel8node'... ==> node1: Matching MAC address for NAT networking... ==> node1: Setting the name of the VM: rhce8env_node1_1711273855603_50252 ==> node1: Clearing any previously set network interfaces... ==> node1: Preparing network interfaces based on configuration... node1: Adapter 1: nat node1: Adapter 2: hostonly ==> node1: Forwarding ports... node1: 22 (guest) => 2222 (host) (adapter 1) ==> node1: Running 'pre-boot' VM customizations... ==> node1: Booting VM... ==> node1: Waiting for machine to boot. This may take a few minutes... node1: SSH address: 127.0.0.1:2222 node1: SSH username: vagrant node1: SSH auth method: private key ==> node1: Machine booted and ready! [node1] GuestAdditions versions on your host (7.0.12) 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. Skipping unmount of Virtualbox Guest Additions ISO, because it was not mounted. ==> node1: Checking for guest additions in VM... node1: The guest additions on this VM do not match the installed version of node1: VirtualBox! In most cases this is fine, but in rare cases it can node1: prevent things such as shared folders from working properly. If you see node1: shared folder errors, please make sure the guest additions within the node1: virtual machine match the version of VirtualBox you have installed on node1: your host and reload your VM. node1: node1: Guest Additions Version: 5.2.30 node1: VirtualBox Version: 7.0 The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

bash -c 'type -p dnf || type -p yum' install -y kernel-devel kernel-devel-uname -r gcc binutils make perl-interpreter bzip2 elfutils-libelf-devel

Stdout from the command:

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.

Stderr from the command:

Error: There are no enabled repos.

arshad@DESKTOP-C7451KF MINGW64 /d/github/ansible/rhce8env (master) $

abdularshad06 commented 3 months ago

Hello Buddy,

I have resolved this issue.

by the adding below line in your code

config.vbguest.auto_update = false

another change is for repo vm for disk size, size will update from 21024 to 31024 updated line is mentioned below

from repo.customize ['createhd', '--filename', file_to_disk5, '--variant', 'Standard', '--size', 2 * 1024]

to repo.customize ['createhd', '--filename', file_to_disk5, '--variant', 'Standard', '--size', 3 * 1024]

After Apply these 2 changes hit below command so whole compilation is working successfully. : $ vagrant up

============================================================================== I just want to share my installed version of softwares for future reference for me and somebody else.

PS C:\WINDOWS\system32> choco list Chocolatey v2.2.2 3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:

chocolatey 2.2.2 chocolatey-compatibility.extension 1.0.0 chocolatey-core.extension 1.4.0 chocolatey-windowsupdate.extension 1.0.5 git.install 2.43.0 KB2919355 1.0.20160915 KB2919442 1.0.20160915 KB2999226 1.0.20181019 KB3033929 1.0.5 KB3035131 1.0.3 vagrant 2.4.1 vagrant-manager 1.0.0.6 vagrant-vmware-utility 1.0.22 vcredist140 14.38.33130 vcredist2015 14.0.24215.20170201 virtualbox 7.0.14 vmwareworkstation 17.5.0.22583795 vscode 1.86.2 vscode.install 1.86.2 19 packages installed.


PS C:\WINDOWS\system32> vagrant plugin list vagrant-guest_ansible (0.0.4, global)

==============================================================================