Skip to content

Commit 04c03a0

Browse files
fix priority for volume copy operation
1 parent 16c60c7 commit 04c03a0

File tree

2 files changed

+2
-1
lines changed
  • plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera
  • tools/marvin

2 files changed

+2
-1
lines changed

plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ public ProviderVolume copy(ProviderAdapterContext context, ProviderAdapterDataOb
311311

312312
parms.setDestVolume(targetVolumeInfo.getExternalName());
313313
parms.setOnline(false);
314+
parms.setPriority(1);
314315
request.setParameters(parms);
315316

316317
PrimeraTaskReference taskref = POST("/volumes/" + sourceVolumeInfo.getExternalName(), request, new TypeReference<PrimeraTaskReference>() {});

tools/marvin/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
raise RuntimeError("python setuptools is required to build Marvin")
2828

2929

30-
VERSION = "4.21.0.0-SNAPSHOT"
30+
VERSION = "4.21.0.0"
3131

3232
setup(name="Marvin",
3333
version=VERSION,

0 commit comments

Comments
 (0)