Skip to content

Commit 3cf09f3

Browse files
committed
- CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
plugin
1 parent 79af8b1 commit 3cf09f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7500,7 +7500,7 @@ private boolean backupSnapshotToS3(final Connection connection,
75007500
serializeProperties(s3, S3Utils.ClientOptions.class));
75017501
parameters.addAll(Arrays.asList("operation", "put", "directory",
75027502
dir, "filename", filename, "iSCSIFlag",
7503-
iSCSIFlag.toString(), "key", key));
7503+
iSCSIFlag.toString(), "bucket", s3.getBucketName(), "key", key));
75047504
final String result = callHostPluginAsync(connection, "s3xen",
75057505
"s3", wait,
75067506
parameters.toArray(new String[parameters.size()]));

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ private boolean backupSnapshotToS3(final Connection connection,
11291129
serializeProperties(s3, S3Utils.ClientOptions.class));
11301130
parameters.addAll(Arrays.asList("operation", "put", "directory",
11311131
dir, "filename", filename, "iSCSIFlag",
1132-
iSCSIFlag.toString(), "key", key));
1132+
iSCSIFlag.toString(), "bucket", s3.getBucketName(), "key", key));
11331133
final String result = hypervisorResource.callHostPluginAsync(connection, "s3xen",
11341134
"s3", wait,
11351135
parameters.toArray(new String[parameters.size()]));

0 commit comments

Comments
 (0)