ECS: S3 Lifecycle Delete Scanner (LDS) non funziona per il controllo delle versioni dei bucket OFF su ECS 3.8.1

Summary: Nella versione ECS 3.8.1.x, LDS non attiva una nuova policy applicata agli oggetti per il controllo delle versioni dei bucket OFF.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

In un bucket con il controllo delle versioni impostato su OFF (bucket abilitato per il controllo delle versioni senza controllo delle versioni), viene applicata una nuova policy del ciclo di vita agli oggetti esistenti. 

Politica del campione: 

<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <Rule>
        <ID>in</ID>
        <Prefix>abc/xyz</Prefix>
        <Status>Enabled</Status>
        <Expiration>
            <Days>1</Days>
        </Expiration>
    </Rule>
</LifecycleConfiguration>

La policy risulta quindi non avere avuto effetto e l'elenco dei bucket mostra gli object scaduti ancora non eliminati. 

Inserzione di esempio: gli oggetti corrispondenti al prefisso vengono comunque visualizzati nell'inserzione anche se sono scaduti (risalenti a più di 1 giorno fa)

    [MTIME]: 2025-02-25T15:46:32.405Z [SIZE]: 1488041      [OBJECT]: abc/xyz/CDE_20250225154aaaaa.dat
    [MTIME]: 2025-02-27T14:34:53.302Z [SIZE]: 74938        [OBJECT]: abc/xyz/CDE_20250227143aaaaa.dat
    [MTIME]: 2025-02-27T15:31:14.174Z [SIZE]: 230337       [OBJECT]: abc/xyz/CDE_20250227153aaaaa.dat
    [MTIME]: 2025-03-04T18:01:15.108Z [SIZE]: 152016       [OBJECT]: abc/xyz/CDE_20250304180aaaaa.dat
    [MTIME]: 2025-02-25T15:46:14.727Z [SIZE]: 433766       [OBJECT]: abc/xyz/CDE_20250225154aaaaa.dat
    [MTIME]: 2025-02-26T13:00:51.655Z [SIZE]: 15888        [OBJECT]: abc/xyz/CDE_20250226130aaaaa.dat
    [MTIME]: 2025-02-26T19:00:56.724Z [SIZE]: 11111        [OBJECT]: abc/xyz/CDE_20250226190aaaaa.dat
    [MTIME]: 2025-02-26T23:30:47.104Z [SIZE]: 11892        [OBJECT]: abc/xyz/CDE_20250226233aaaaa.dat
    [MTIME]: 2025-02-27T04:00:59.589Z [SIZE]: 6914         [OBJECT]: abc/xyz/CDE_20250227040aaaaa.dat
    [MTIME]: 2025-02-27T08:02:25.596Z [SIZE]: 0            [OBJECT]: abc/xyz/CDE_20250227080aaaaa.dat
    [MTIME]: 2025-02-27T12:30:51.687Z [SIZE]: 0            [OBJECT]: abc/xyz/CDE_20250227123aaaaa.dat
    [MTIME]: 2025-02-27T15:31:12.039Z [SIZE]: 30494        [OBJECT]: abc/xyz/CDE_20250227153aaaaa.dat
    [MTIME]: 2025-03-04T17:30:53.601Z [SIZE]: 228674       [OBJECT]: abc/xyz/CDE_20250304173aaaaa.dat
    [MTIME]: 2025-03-05T20:30:47.875Z [SIZE]: 38760        [OBJECT]: abc/xyz/CDE_20250305203aaaaa.dat
    [MTIME]: 2025-02-25T15:46:08.499Z [SIZE]: 26506        [OBJECT]: abc/xyz/CDE_20250225154aaaaa.dat
    [MTIME]: 2025-02-27T14:34:52.043Z [SIZE]: 14719        [OBJECT]: abc/xyz/CDE_20250227143aaaaa.dat
    [MTIME]: 2025-02-27T15:31:11.496Z [SIZE]: 16078        [OBJECT]: abc/xyz/CDE_20250227153aaaaa.dat
    [MTIME]: 2025-03-04T18:01:14.990Z [SIZE]: 12745        [OBJECT]: abc/xyz/CDE_20250304180aaaaa.dat

Lo scanner per l'eliminazione del ciclo di vita è abilitato. 

admin@ecs:~> svc_param info com.emc.ecs.resource.lifecycledeletescanner.enable
svc_param v1.2.4 (svc_tools v2.22.0)                 Started 2025-04-25 20:18:15


Param: com.emc.ecs.resource.lifecycledeletescanner.enable

  Description                     Enable or disable LifeCycleDeleteScanner
  Default value                   false
  Configured Value (active)       true
  Modification reason             test
  Last modified                   2023-04-09 13:36:55 UTC (1744205815102)


admin@ecs:~>

 

 

 

 

 

Cause

Esiste un problema noto con LDS nel codice ECS 3.8.1.x che causa questo comportamento. 

Resolution

Per un rapido sollievo, una soluzione alternativa temporanea:  
 

L'emissione di un comando di elenco delle versioni utilizzando qualsiasi client S3 attiva la policy sugli oggetti scaduti e li elimina. Solo "version listing" attiva la policy, anche nel bucket non abilitato per la versione. 
Se il problema persiste sul codice ECS 3.8.1, contattare il supporto tecnico Dell ECS per assistenza con la correzione necessaria. 

 

Correzione a lungo termine: Questo problema è stato risolto nel codice ObjectScale 4.0 e versioni successive. 

Affected Products

ECS Appliance, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption

Products

ECS
Article Properties
Article Number: 000312945
Article Type: Solution
Last Modified: 30 Apr 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.