Bug 1904243
Summary: | RHCOS 4.6.1 missing ISCSI initiatorname.iscsi ! | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Micah Abbott <miabbott> |
Component: | RHCOS | Assignee: | Jonathan Lebon <jlebon> |
Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 4.7 | CC: | aghadge, agudi, bbreard, bgilbert, dornelas, imcleod, jlebon, jligon, lucab, miabbott, mnguyen, nstielau, rkant, umesh_sunnapu, welin |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The service unit which normally regenerates the iSCSI initiator name on first boot had its name in a systemd preset mistyped, causing it to not run.
Consequence: The iSCSI initiator name wasn't regenerated on first-boot.
Fix: The service unit's name in the preset was corrected.
Result: The iSCSI initiator name is now regenerated on first-boot.
|
Story Points: | --- |
Clone Of: | 1901021 | Environment: | |
Last Closed: | 2021-02-24 15:37:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1901021 | ||
Bug Blocks: | 1186913, 1899176 |
Description
Micah Abbott
2020-12-03 21:48:12 UTC
This is fixed with https://github.com/openshift/os/pull/453 and https://github.com/openshift/installer/pull/4414 This is pending the merge of the installer PR; setting UpcomingSprint to appease the bots. Installer PR is merged, moving to MODIFIED Verified with 4.6.0-0.nightly-2020-12-09-162454 / RHCOS 46.82.202012082041-0 ``` [core@cosa-devsh ~]$ rpm-ostree status State: idle Deployments: * ostree://0c0f8983e459f70654a92f1deb03e74814d881c814416f43a8433bc7f91bb1c8 Version: 46.82.202012082041-0 (2020-12-08T20:45:12Z) [core@cosa-devsh ~]$ ls /etc/iscsi/ initiatorname.iscsi iscsid.conf [core@cosa-devsh ~]$ cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:26bc2b78e478 [core@cosa-devsh ~]$ systemctl status coreos-generate-iscsi-initiatorname ● coreos-generate-iscsi-initiatorname.service - CoreOS Generate iSCSI Initiator Name Loaded: loaded (/usr/lib/systemd/system/coreos-generate-iscsi-initiatorname.service; enabled; vendor preset: enabled) Active: active (exited) since Wed 2020-12-09 22:06:49 UTC; 2min 23s ago Docs: https://bugzilla.redhat.com/show_bug.cgi?id=1493296 https://bugzilla.redhat.com/show_bug.cgi?id=1687722 Process: 1422 ExecStart=/usr/bin/sh -c echo "InitiatorName=`/usr/sbin/iscsi-iname`" > /etc/iscsi/initiatorname.iscsi (code=exited, status=0/SUCCESS) Main PID: 1422 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 5724) Memory: 0B CGroup: /system.slice/coreos-generate-iscsi-initiatorname.service Dec 09 22:06:49 localhost systemd[1]: Starting CoreOS Generate iSCSI Initiator Name... Dec 09 22:06:49 localhost systemd[1]: Started CoreOS Generate iSCSI Initiator Name. ``` Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |