| Summary: | Initiator IQN should be generated at first boot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Fabian Deutsch <fdeutsch> |
| Component: | iscsi-initiator-utils | Assignee: | Chris Leech <cleech> |
| Status: | CLOSED WONTFIX | QA Contact: | Martin Hoyer <mhoyer> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.2 | CC: | cleech, cshao, fsuba, huzhao, michal.skrivanek, revers, weiwang, yaniwang, ycui, yturgema |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-15 07:28:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1393661 | ||
|
Description
Fabian Deutsch
2016-11-10 12:32:58 UTC
Raising the severity - because I't affects every deployment using iSCSI. There's a few things I'd want to check before jumping on firstboot vs RPM install scripts. Like what happens if you install the RPM after the first boot? And is anaconda relying on the RPM install to generate an IQN for iSCSI boot installs. Right - What I rather meant with the "firstboot" is: On the first start of the service, if the file is non-existent, then generate a new file. The service should actually have the condition to only run if the file does not exists. That should cover two cases: 1. Generates a random name on the first start (of the service) after the rpm got installed 2. Would not touch a an empty name file (which IIUIC is needed to cove rthe hardware initiator case). To keep backwards compatibility the rpm %post could still be generating the file, but a service could be added to regenerate the file if it get's deleted. We would then delete the name file in our builds, to get them generated on the first boot. On RHEL nothing would happen, because the name file is still getting installed during rpm %post. I actually added a patch to the blocked bug which is pointing out the idea (and which we use as a workaround). Thoughts? Is this problem still occurring in rhel7.7? Hah. You got me! I don't know. But Yuval, do you happen to know? Not really sure about RHEL, but I don't think it was fixed. For RHVH, we're handling this by ourselves - we delte the file in build time, and generate it on first boot with our service stale bug and lacking info to resolve in z-stream. removing z-request After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |