Closed kimausloos closed 1 year ago
This should be fixed in the iscsi v2.1.2 release by running an init service instead of hardcoding it into the rpm-ostree commit, see: https://github.com/open-iscsi/open-iscsi/pull/207
It will require this adaption of the RPM spec to include the init service unit file: https://src.fedoraproject.org/rpms/iscsi-initiator-utils/pull-request/8
Yup, that's basically the same service as the old coreos PR. Good catch!
Do you have an idea on the timeframe of the fix? Don't want to pressure you or anyone; just wondering if we should invest in a workaround if this takes some time or if this is a 'its automated, it will be fine tomorrow' kind of thing as I have no clue.
Once that version lands in Fedora 32, it'll be included in the next composes and subsequent releases. Needs a bit of time to percolate through, but you could bug the RPM maintainers to do the first step rather sooner than later :)
This landed in upstream release https://github.com/open-iscsi/open-iscsi/releases/tag/2.1.2.
PR for updating the downstream RPM is here: https://src.fedoraproject.org/rpms/iscsi-initiator-utils/pull-request/9
Closing as this should be fixed now as the parent PR has been merged for a while. Feel free to re-open or file a new issue if that's not the case.
Hi there,
When using fedora coreos we noticed the iscsi initiatorname in /etc/iscsi/initiatorname.iscsi was always the same. This is odd, since it should be unique. We had a look and couldn't really discover what process would generate this file, so we downloaded the raw image, mounted it and discovered it's value hardcoded, ie. the file is there in the raw.xz already. We downloaded an older release and it has a different value, but the file is also there.
Probably this is a leftover from installing the rpm iscsi-initiator-utils, since that one will generate the initiator when the file doesn't exist already:
We couldn't really find documentation stating what should be done, only an old PR from 2016 where there was a service to generate one: https://github.com/coreos/coreos-overlay/pull/1890/files#diff-648eea9d262e8cc17a7dc7048354fd8cR10
If this isn't a real issue, can you point me to the documentation on what to do to generate an unique one? We'd like to avoid logging in on all machines to generate one ;-)
Thanks!
rpm-ostree status: