Bug 2231974

Summary: efs-utils cannot create log files
Product: [Fedora] Fedora Reporter: Major Hayden 🤠 <mhayden>
Component: efs-utilsAssignee: Major Hayden 🤠 <mhayden>
Status: ON_QA --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: mhayden
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Major Hayden 🤠 2023-08-14 21:11:28 UTC
Traceback (most recent call last):
  File "/usr/bin/amazon-efs-mount-watchdog", line 2158, in <module>
    main()
  File "/usr/bin/amazon-efs-mount-watchdog", line 2115, in main
    bootstrap_logging(config)
  File "/usr/bin/amazon-efs-mount-watchdog", line 595, in bootstrap_logging
    handler = RotatingFileHandler(
              ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/handlers.py", line 155, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
  File "/usr/lib64/python3.11/logging/handlers.py", line 58, in __init__
    logging.FileHandler.__init__(self, filename, mode=mode,
  File "/usr/lib64/python3.11/logging/__init__.py", line 1181, in __init__
    StreamHandler.__init__(self, self._open())
                                 ^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/__init__.py", line 1213, in _open
    return open_func(self.baseFilename, self.mode,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/amazon/efs/mount-watchdog.log'

Reproducible: Always

Comment 1 Fedora Update System 2023-08-14 21:29:40 UTC
FEDORA-2023-1227825d9e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1227825d9e

Comment 2 Fedora Update System 2023-08-15 01:33:09 UTC
FEDORA-2023-1227825d9e has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1227825d9e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1227825d9e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Release Engineering 2023-08-16 08:14:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.