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 174 forks source link

RHCSA Environment issue #28

Closed marmila closed 2 years ago

marmila commented 3 years ago

Hi there! I am using since 6/7 months this cool RHCSA environment on a win10 pc without any issue(also using the last virtual box and vagrant versions ; today I had to vagrant destroy everything and start the assessment exam from a new environment..so, after destroy -f, I have done a vagrant up...everything is going fine except for server2, that fails with this error:

INFO interface: detail: mke2fs 1.44.3 (10-July-2018) The file /dev/sdb does not exist and no size was specified. INFO interface: detail: server2: mke2fs 1.44.3 (10-July-2018) server2: The file /dev/sdb does not exist and no size was specified. server2: mke2fs 1.44.3 (10-July-2018) server2: The file /dev/sdb does not exist and no size was specified. DEBUG ssh: Exit status: 1 ERROR warden: Error occurred: The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

what is going wrong guys? after this error the VM server2 is deployed with minimal configuration (also no login banner is showed) I really need the environment in these days, my real exam is on 16th of decemberrr

PS: next time I will use the ansible-playbook playbooks/reset.yml command to reset the servers 1/2 for sure :))))

thanks!

marmila commented 3 years ago

If it can be useful, after that error, no ansible tasks starts for server2:

`PLAY [Setting up Repo Server] **

TASK [Setting Hostname] **** changed: [repo.eight.example.com]

TASK [Configuring network] ***** changed: [repo.eight.example.com]

TASK [Building Host File] ** changed: [repo.eight.example.com]

TASK [Starting services] *** ok: [repo.eight.example.com] => (item=firewalld) ok: [repo.eight.example.com] => (item=httpd)

TASK [Enabling Firewall Services] ** changed: [repo.eight.example.com] => (item=http) changed: [repo.eight.example.com] => (item=https) changed: [repo.eight.example.com] => (item=ntp) changed: [repo.eight.example.com] => (item=dns) changed: [repo.eight.example.com] => (item=ftp)

TASK [Enabling IPV6] *** changed: [repo.eight.example.com]

TASK [Creating Welcome Message] **** changed: [repo.eight.example.com]

TASK [Fixing SELinux Contexts] ***** changed: [repo.eight.example.com]

TASK [Building Welcome Message] **** changed: [repo.eight.example.com]

PLAY [Setting Up Server 1] *****

TASK [Setting Up Python] *** changed: [server1.eight.example.com]

TASK [Setting Hostname] **** changed: [server1.eight.example.com]

TASK [Configuring network] ***** changed: [server1.eight.example.com]

TASK [Reloading Network] *** changed: [server1.eight.example.com]

TASK [Building Host File] ** changed: [server1.eight.example.com]

TASK [Erasing Repos] *** ok: [server1.eight.example.com]

TASK [Starting services] *** ok: [server1.eight.example.com] => (item=firewalld) changed: [server1.eight.example.com] => (item=httpd)

TASK [Enabling Firewall Services] ** changed: [server1.eight.example.com] => (item=http) changed: [server1.eight.example.com] => (item=https) changed: [server1.eight.example.com] => (item=ntp) changed: [server1.eight.example.com] => (item=dns) changed: [server1.eight.example.com] => (item=ftp)

TASK [Reloading Firewall] ** changed: [server1.eight.example.com]

TASK [Enabling IPV6] *** changed: [server1.eight.example.com]

TASK [Changing User Password] ** changed: [server1.eight.example.com]

TASK [Changing Root Password] ** changed: [server1.eight.example.com]

TASK [Creating Welcome Message] **** changed: [server1.eight.example.com]

TASK [Building Welcome Message then rebooting] ***** changed: [server1.eight.example.com]

TASK [Adjusting Services and Rebooting] **** changed: [server1.eight.example.com]

PLAY [Creating Welcome Message] ****

TASK [Welcome to the RHCSA 8 Study/Test Environment!] ** ok: [server1.eight.example.com] => msg:

PLAY RECAP ***** repo.eight.example.com : ok=9 changed=8 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 server1.eight.example.com : ok=16 changed=14 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

==> server1: Running provisioner: shell... server1: Running: inline script ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries ==> server1: [vagrant-hostsupdater] Checking for host entries`

marmila commented 3 years ago

for the moment I have fixed by commenting the following code from my vagrantfile: immagine

I will add additional disks using the virtual box GUI