You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -2171,11 +2171,11 @@ private MigrationOptions.Type decideMigrationTypeAndCopyTemplateIfNeeded(Host de
LOGGER.debug(String.format("Copying template [%s] of volume [%s] from source storage pool [%s] to target storage pool [%s].", srcVolumeInfo.getTemplateId(), srcVolumeInfo.getId(), sourceStoragePool.getId(), destStoragePool.getId()));
2174
+
logger.debug(String.format("Copying template [%s] of volume [%s] from source storage pool [%s] to target storage pool [%s].", srcVolumeInfo.getTemplateId(), srcVolumeInfo.getId(), sourceStoragePool.getId(), destStoragePool.getId()));
LOGGER.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a " +
2178
+
logger.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a " +
2179
2179
"template or we are doing full clone migration.", sourceStoragePool.getId(), destStoragePool.getId(), srcVolumeInfo.getId()));
Copy file name to clipboardexpand all lines: plugins/storage/object/ceph/src/main/java/org/apache/cloudstack/storage/datastore/driver/CephObjectStoreDriverImpl.java
Copy file name to clipboardexpand all lines: plugins/storage/object/ceph/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CephObjectStoreLifeCycleImpl.java
Copy file name to clipboardexpand all lines: services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/formatinspector/Qcow2Inspector.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@
19
19
20
20
importcom.cloud.utils.NumbersUtil;
21
21
importorg.apache.commons.lang3.ArrayUtils;
22
-
importorg.apache.log4j.Logger;
22
+
importorg.apache.logging.log4j.LogManager;
23
+
importorg.apache.logging.log4j.Logger;
23
24
24
25
importjava.io.FileInputStream;
25
26
importjava.io.IOException;
@@ -42,7 +43,7 @@
42
43
* and on the <a href="https://review.opendev.org/c/openstack/cinder/+/923247/2/cinder/image/format_inspector.py">OpenStack's Cinder implementation for Python</a>.
Copy file name to clipboardexpand all lines: services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -3489,7 +3489,7 @@ public String postUpload(String uuid, String filename, long processTimeout) {
3489
3489
try {
3490
3490
Qcow2Inspector.validateQcow2File(finalFilename);
3491
3491
} catch (RuntimeExceptione) {
3492
-
s_logger.error(String.format("Uploaded file [%s] is not a valid QCOW2.", finalFilename), e);
3492
+
logger.error(String.format("Uploaded file [%s] is not a valid QCOW2.", finalFilename), e);
3493
3493
return"The uploaded file is not a valid QCOW2. Ask the administrator to check the logs for more details.";
0 commit comments