Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1308

Specify a full path to the called modinfo utility

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.7.0
    • None
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 2024-R1
    • Testable

      Hello,

      I meet an error when I try to convert centos 7.9 to rhel 7.9.

       

      ========== Error (Must fix before conversion) ==========                            
      (ERROR) ENSURE_KERNEL_MODULES_COMPATIBILITY::UNEXPECTED_ERROR - Unhandled           
          exception caught                                                                
           Description: Unhandled exception was caught: [Errno 2] No such file or         
      directory                                                                           
          Please file a bug at https://issues.redhat.com/ to have this fixed or a         
      specific error message added.                                                       
          Traceback: Traceback (most recent call last):                                   
            File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py",     
      line 559, in run                                                                    
              action.run()                                                                
            File "/usr/lib/python2.7/site-                                                
      packages/convert2rhel/actions/pre_ponr_changes/kernel_modules.py", line 206, in     
      run                                                                                 
              host_kmods = self._get_loaded_kmods()                                       
            File "/usr/lib/python2.7/site-                                                
      packages/convert2rhel/actions/pre_ponr_changes/kernel_modules.py", line 56, in      
      _get_loaded_kmods                                                                   
              for module in modules                                                       
            File "/usr/lib/python2.7/site-packages/convert2rhel/utils.py", line 366,      
      in run_subprocess                                                                   
              bufsize=1,                                                                  
            File "/usr/lib64/python2.7/subprocess.py", line 711, in _init_              
              errread, errwrite)                                                          
            File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child       
              raise child_exception                                                       
          OSError: [Errno 2] No such file or directory                                    
                                                                                          
           Diagnosis: [No further information given]                                      
           Remediation: [No further information given]                                    
                                                                                          
      ========== Skip (Could not be checked due to other failures) ==========             
      (SKIP) VALIDATE_PACKAGE_MANAGER_TRANSACTION::SKIP - Skipped action                  
           Description: Skipped because ENSURE_KERNEL_MODULES_COMPATIBILITY was not       
      successful                                                                          
           Diagnosis: [No further information given]                                      
           Remediation: [No further information given]                                    
                                                                                          

            mbocek@redhat.com Michal Bocek
            mostafa.sersar-ext@socgen.com Mostafa SERSAR (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: