Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-16881

[RFE] Leapp IPU is blocked by the fsize limit

    • Normal
    • FutureFeature
    • sst_upgrades
    • False
    • Hide

      None

      Show
      None
    • x86_64

      What were you trying to do that didn't work?

      Leapp 7.9 to 8 

      ~~~

      ensure that there is enough diskspace in /var/lib/leapp/scratch/diskimages/root_boot at least 3000 MiB 

      ~~~

      Strace shows following error from customer system:

      ~~~
      Risk Factor: high (error)\nTitle: Failed to execute command `/bin/dd if=/dev/zero of=/var/lib/leapp/scratch/diskimages/root_ bs=1M count=0 seek=21724`. Error: Command ['/bin/dd', 'if=/dev/zero', 'of=/var/lib/leapp/scratch/diskimages/root_', 'bs=1M', 'count=0', 'seek=21724'] failed with exit code 1.\nSummary: {\"Please ensure that there is enough diskspace on the partition hostingthe /var/lib/leapp/scratch/diskimages directory.\": \"Please ensure that there is enough diskspace on the partition hostingthe /var/lib/leapp/scratch/diskimages directory.\
      ~~~

      Please provide the package NVR for which bug is seen:

      leapp-deps|0.16.0|1.el7_9|0
      leapp|0.16.0|1.el7_9|0
      python2-leapp|0.16.0|1.el7_9|0
      leapp-upgrade-el7toel8-deps|0.19.0|1.el7_9|0
      leapp-upgrade-el7toel8|0.19.0|1.el7_9|0

      How reproducible:

      100%

      Steps to reproduce

      1.  Set fsize ulimits
        ~~~
      2. ulimit -f
        1024000
        ~~~
      3. Create the image that with the command that is run during the leapp: 
        ~~~
      4. dd if=/dev/zero of=/test.img bs=1M count=0 seek=21724
        ~~~

      Expected results

      Leapp should flag fsize set value as inhibitor in preupgrade phase and notifying required value or to unset the value as recommendation/remediation . 

       

      Actual results

      `File size limit exceeded`

            no-user-match-found no-user-match-found
            rhn-support-plawate Pranav Lawate
            Tomas Fratrik Tomas Fratrik
            RHEL Upgrades QE Team RHEL Upgrades QE Team
            Miriam Portman Miriam Portman
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: