Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-32540

Backup does not fail if the target directory does not have enough space.

XMLWordPrintable

    • 5
    • False
    • Moderate
    • sat-rocket
    • None
    • None
    • None
    • To Do
    • Yes

      Description of problem:

      • Backup does not fail if the target directory does not have enough space.

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

      • Satellite 6.16

      How reproducible:

      • Always.

      Steps to Reproduce:

      1. Create a separate mount with 1 GB or less for the backups.

      2. Initiate backup process as follows.

         satellite-maintain backup offline /sat_backups/

       

      Actual results:

      • The backup process gets stuck at the following stage.
        Backup Pulp data: 
        - Collecting Pulp data

       

      • The process keeps on running even though the mount is full.
          /dev/mapper/backups-sat_backups    978944   978920        24 100% /sat_backups

       

      Expected results:

      • If the mount runs out of space, the backup should fail.

      Additional info:

      • If the mount runs out of space earlier in the process, for example at the `Backup config files` stage or at `Prepare backup Directory` stage, the process fails and the space issue is reported.
         
          Prepare backup Directory: 
          Creating backup folder /sat_backups/satellite-backup-2025-04-05-01-43-24
                                                                                [FAIL]
          No space left on device @ dir_s_mkdir - /sat_backups/satellite-backup-2025-04-05-01-43-24

         

      • This does not happen during the pulp backup stage.

              Unassigned Unassigned
              rhn-support-msunil Manu Sunil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: