redhat-openstack / redhat-openstack/infrared

Prevents leapp upgrade from RHEL 7 to RHEL 8

Open
#398 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
105
Forks
100
PR merge metrics
No merged PRs in 30d

Description

This causes the leapp upgrade to fail because it is unable to install systemd, do we need to have this set to immutable?
error: unpacking of archive failed on file /usr/lib/systemd/resolv.conf: cpio: rename failed - Operation not permitted
error: systemd-239-31.el8_2.2.x86_64: install failed

https://github.com/redhat-openstack/infrared/blob/1e34d13f80167e619c82678734dc522bba7408aa/infrared/common/roles/tls-everywhere/tasks/set_undercloud_dns.yml#L28-L35

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect infrared/common/roles/tls-everywhere/tasks/set_undercloud_dns.yml at lines 28-35, then compare that task with the reported systemd installation failure during a RHEL 7 to RHEL 8 leapp upgrade. Determine whether the DNS-related setting should be immutable; done means the upgrade can install systemd without the reported rename error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, linux
Domain
devops, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.