Skip to content

Commit ceed152

Browse files
committed
- CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
plugin
1 parent 980b227 commit ceed152

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
@@ -7388,7 +7388,7 @@ private boolean backupSnapshotToS3(final Connection connection,
73887388
serializeProperties(s3, S3Utils.ClientOptions.class));
73897389
parameters.addAll(Arrays.asList("operation", "put", "directory",
73907390
dir, "filename", filename, "iSCSIFlag",
7391-
iSCSIFlag.toString(), "key", key));
7391+
iSCSIFlag.toString(), "bucket", s3.getBucketName(), "key", key));
73927392
final String result = callHostPluginAsync(connection, "s3xen",
73937393
"s3", wait,
73947394
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)