ECS: 3.7: S3: campo StorageClass mancante nella risposta XML quando si elencano i bucket
Summary: Nel campo di ECS 3.7 manca la risposta XML durante l'elenco dei bucket
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
Le applicazioni non riescono a leggere <StorageClass> quando elencano un bucket.
Campo mancante nella restituzione.
Campo mancante nella restituzione.
Cause
Le applicazioni che verificano <StorageClass> non saranno in grado di procedere poiché il campo non è presente nel file xml restituito da ECS.
A questo punto la classe di storage non viene utilizzata in ECS e dovrebbe sempre restituire "Standard".
Risposta di esempio in 3.7:
A questo punto la classe di storage non viene utilizzata in ECS e dovrebbe sempre restituire "Standard".
<StorageClass>STANDARD</StorageClass>
<StorageClass>STANDARD</StorageClass>
Tuttavia, alcune applicazioni possono dipendere da ciò che restituisce questo valore.
Risposta di esempio in 3.7:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>mike-s3</Name>
<Prefix/>
<Marker/>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<ServerSideEncryptionEnabled>false</ServerSideEncryptionEnabled>
<Contents>
<Key>20220308_231130_run_Health_Check.zip</Key>
<LastModified>2022-03-09T18:24:39.604Z</LastModified>
<ETag>"35f6f6e4fdb993e792b4865249ecc0c8"</ETag>
<Size>96662</Size>
<Owner>
<ID>mike</ID>
<DisplayName>mike</DisplayName>
</Owner>
<IsFanoutObject>false</IsFanoutObject>
</Contents>
</ListBucketResult>
Resolution
Il problema verrà risolto nella versione 3.7.0.2
Come soluzione alternativa temporanea, l'applicazione può elencare il bucket utilizzando il tag "?versions" nel comando list:
Esempio:
Come soluzione alternativa temporanea, l'applicazione può elencare il bucket utilizzando il tag "?versions" nel comando list:
Esempio:
sudo perl ./s3curl.pl --id xxx -- -v "http://10.x.x.x:9020/mike-s3?versions"| xmllint --format -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListVersionsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>mike-s3</Name>
<Prefix/>
<KeyMarker/>
<VersionIdMarker/>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Version>
<Key>20220308_231130_run_Health_Check.zip</Key>
<VersionId>null</VersionId>
<IsLatest>true</IsLatest>
<LastModified>2022-03-09T18:24:39.604Z</LastModified>
<ETag>"35f6f6e4fdb993e792b4865249ecc0c8"</ETag>
<Size>96662</Size>
<Owner>
<ID>mike</ID>
<DisplayName>mike</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Version>
</ListVersionsResult>
Affected Products
ECS, ECS Appliance, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware SeriesArticle Properties
Article Number: 000198731
Article Type: Solution
Last Modified: 19 Dec 2022
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.