Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding fedora28 distribution #61

Closed
gdha opened this issue Jun 20, 2018 · 11 comments
Closed

Adding fedora28 distribution #61

gdha opened this issue Jun 20, 2018 · 11 comments

Comments

@gdha
Copy link
Owner

gdha commented Jun 20, 2018

  • Missing RPM package to kick off ansible-playbooks
TASK [rear-test : Install the hosts file] **************************************
fatal: [server]: FAILED! => {"changed": false, "checksum": "c6e37c98e90d5a7e21a0ffd4c1d51fb7505e5683", "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}
@gdha
Copy link
Owner Author

gdha commented Jul 6, 2018

fixed the missing packages by adding a task yaml file: install_prereq_pkgs_fedora.yml

@gdha gdha closed this as completed Jul 6, 2018
@gdha
Copy link
Owner Author

gdha commented Jul 6, 2018

TASK [rear-test : include_tasks] ***********************************************
included: /vagrant/centos7/ansible/common/roles/rear-test/tasks/update_rh_packages.yml for server

TASK [rear-test : update all packages] *****************************************
fatal: [server]: FAILED! => {"changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead."}

After adding some yum dependencies we go further, but we get now the following:

TASK [rear-test : update all packages] *****************************************
fatal: [client]: FAILED! => {"changed": true, "msg": "Yum command has been deprecated, use dnf instead.

all fixed

@gdha gdha reopened this Jul 6, 2018
@gdha
Copy link
Owner Author

gdha commented Jul 11, 2018

PXE boot recover fedora28 did not find ldlinux.c32 executable. Not to check if it was copied or even available on the client system.
this is fixed.

@gdha
Copy link
Owner Author

gdha commented Jul 16, 2018

KERNEL_CMDLINE="$KERNEL_CMDLINE net.ifnames=0"

The recover VM started to restore with this - excellent.

  • problem2:
    After the restore the recover VM rebooted, but could not load the hard disk because it was missing the libcom32.c32 executable.
    Libcom32.c32 complaint vanished after adding the rule for it

gdha added a commit that referenced this issue Jul 16, 2018
Signed-off-by: Gratien D'haese <gratien.dhaese@gmail.com>
@gdha
Copy link
Owner Author

gdha commented Jul 16, 2018

For problem 1 have a look at /usr/lib/dracut/modules.d/40network/net-lib.sh is_persistent_ethernet_name() {

Added the required code on the client and it works fine - still need to merge it with the upstream

@gdha
Copy link
Owner Author

gdha commented Jul 18, 2018

The recover VM tries to boot from HD and now it complains about a missing libutil.c32

@gdha
Copy link
Owner Author

gdha commented Jul 18, 2018

Seems pstree command not found during recovery (not that important), but the recover worked fine with the latest added code.

gdha added a commit that referenced this issue Jul 20, 2018
@gdha
Copy link
Owner Author

gdha commented Dec 5, 2018

provisioning failed at:

TASK [rear-test : disable RTC time in the local time zone] *********************
fatal: [server]: FAILED! => {"changed": true, "cmd": ["/usr/bin/timedatectl", "set-local-rtc", "0"], "delta": "0:00:00.024883", "end": "2018-12-05 13:52:51.524056", "msg": "non-zero return code", "rc": 1, "start": "2018-12-05 13:52:51.499173", "stderr": "Failed to set local RTC: hwclock failed: Child process exited with code 1", "stderr_lines": ["Failed to set local RTC: hwclock failed: Child process exited with code 1"], "stdout": "", "stdout_lines": []}

if you run it again then it works -- strange

@gdha
Copy link
Owner Author

gdha commented Dec 10, 2018

Validation report: https://gist.github.com/d03251478980839148229ac7e164211a
Status GREEN

@gdha gdha added the fixed label Dec 10, 2018
@gdha
Copy link
Owner Author

gdha commented Dec 10, 2018

Fedora28 upgraded to fedora29 validation report: https://gist.github.com/28203b1bb8969345122f7cc3b8a5c269

Status: GREEN

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant