Bug 1814028

Summary: Veritas NetBackup Engineering would like an official RHEL method to create /etc/udev/rules.d/60-persistent-tape.rules
Product: Red Hat Enterprise Linux 7 Reporter: Brett Hull <bhull>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: high Docs Contact:
Priority: high    
Version: 7.7CC: bhull, jmagrini, jsynacek, loberman, msekleta, systemd-maint-list, systemd-maint, udev-maint-list
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1831155 1835206 (view as bug list) Environment:
Last Closed: 2020-09-29 20:32:28 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1831155, 1835206    

Description Brett Hull 2020-03-16 19:38:40 UTC
Description of problem:

Veritas (NetBackup) uses SAN connected tape devices with multiple paths. NetBackup is required to manage multiple paths to the SAN tape devices. The only way they can make this persistent through a boot is by using udev symlink's. 

Version-Release number of selected component (if applicable): RHEL 6 - RHEL 8


How reproducible: Does not exist so every time. 


Steps to Reproduce:
1.
2.
3.

Actual results: Manually need to create the symlink's


Expected results: Script to create symlink's such as from https://access.redhat.com/solutions/285703. This was created by Laurence Oberman and specified by NetBackup Engineering. 


Additional info: A from Veritas NetBackup Engineering for this automation. 
They will work with us to provide a full test environment. 

https://access.redhat.com/solutions/285703

Comment 2 Brett Hull 2020-03-29 17:05:51 UTC
Hello,

The customer would like to know if there is any status/information?

Best regards,
Brett

Comment 3 Michal Sekletar 2020-04-01 09:44:55 UTC
Hi Brett,

so if I understand correctly this is about introduction of tape/by-path rules for tape robots (medium changers) in RHEL-7. If that is the case then that shouldn't be a problem. We don't have the support for them in RHEL-8 either, but upstream already supports them [1]. Backporting the commit is very easy, testing that produced symlinks are correct and accurate not so much. Hence it is great that Veritas wants to help us out with testing.

Cheers,

Michal

[1] https://github.com/systemd/systemd/commit/7f8ddf96a25162f06bd94a684cf700c128d18142

Comment 4 Brett Hull 2020-04-01 22:11:44 UTC
Hello Michal,

> so if I understand correctly this is about introduction of tape/by-path rules for tape robots (medium changers) in RHEL-7.
Yes sir.

> If that is the case then that shouldn't be a problem. We don't have the support for them in RHEL-8 either, but upstream already supports them [1].
Excellent!  

When you are ready Veritas will fully test, and I believe they also can test RHEL 8. I will make sure.

Thank you!
Brett

Comment 8 Brett Hull 2020-04-20 16:17:22 UTC
Hello Michal,

Netbackup has been able to fully test RHEL 7 (7.8) and are very happy with the fix. They are creating a RHEL 8 (8.1) setup and will test there soon.

Thank you!!
Brett

How I had them install:

1) yum install libmicrohttpd libmicrohttpd.so.12  glib2-devel
2) mkdir testpatch; cd testpatch
3) tar -xvf rhel7-tapePathPatch.tar
4) rpm -Uvh --force *
5) reboot

Comment 10 Lukáš Nykrýn 2020-04-27 13:13:38 UTC
fix merged to github master branch -> https://github.com/systemd-rhel/rhel-7/pull/100

Comment 17 Lukáš Nykrýn 2020-05-13 12:06:27 UTC
What is the bussiness reason for doing a z-stream? This issue seems to impact on a limited amount of users and is super easy to work around (you just create that rule by hand.)

Comment 20 errata-xmlrpc 2020-09-29 20:32:28 UTC
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 (Low: systemd security and bug fix 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:4007