Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Commitment of Objects packed in TARs fails with Storage Verification Policy: OBJECT_EXISTS or OBJECT_SIZE #4246

Closed
gunterze opened this issue Oct 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Oct 6, 2023

Storage Commitment of Objects packed in TARs fails with Storage Verification Policy: OBJECT_EXISTS or OBJECT_SIZE

2023-10-06 12:18:40,034 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-221) DCM4CHEE<-STGCMT(18) >> 1:N-ACTION-RQ[pcid=2, actionID=1
  cuid=1.2.840.10008.1.20.1 - Storage Commitment Push Model SOP Class
  iuid=1.2.840.10008.1.20.1.1 - Storage Commitment Push Model SOP Instance
  tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2023-10-06 12:18:40,040 INFO  [org.dcm4chee.arc.qmgt.impl.TaskManagerEJB] (EE-ManagedExecutorService-default-Thread-221) Create Task{taskID=10, deviceName='dcm4chee-arc', queueName='S
tgCmtSCP', type=STGCMT_SCP, status=SCHEDULED, scheduledTime=Fri Oct 06 12:18:40 CEST 2023, numberOfFailures=0, localAET=DCM4CHEE, remoteAET=STGCMT}
2023-10-06 12:18:40,052 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-221) DCM4CHEE<-STGCMT(18) << 1:N-ACTION-RSP[pcid=2, status=0H
  cuid=1.2.840.10008.1.20.1 - Storage Commitment Push Model SOP Class
  iuid=1.2.840.10008.1.20.1.1 - Storage Commitment Push Model SOP Instance
  tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2023-10-06 12:18:40,054 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-221) DCM4CHEE<-STGCMT(18) >> A-RELEASE-RQ
2023-10-06 12:18:40,054 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-221) DCM4CHEE<-STGCMT(18) << A-RELEASE-RP
2023-10-06 12:18:40,057 INFO  [org.dcm4chee.arc.qmgt.impl.TaskScheduler] (EE-ManagedExecutorService-default-Thread-222) Start processing Task{taskID=10, deviceName='dcm4chee-arc', que
ueName='StgCmtSCP', type=STGCMT_SCP, status=IN PROCESS, scheduledTime=2023-10-06 12:18:40.037, numberOfFailures=0, localAET=DCM4CHEE, remoteAET=STGCMT}
2023-10-06 12:18:40,063 INFO  [org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl] (EE-ManagedExecutorService-default-Thread-222) MISSING_OBJECT of Location[pk=2, systemID=fs2, path=2023/
10/06/58BE7E77/9247637B!3A98E43C.tar, tsuid=1.2.840.10008.1.2.1, size=263000, status=OK, objectType=DICOM_FILE] of Instance[uid=1.3.6.1.4.1.5962.1.1.0.1.1.1175775772.5723.0] of Study[
uid=1.3.6.1.4.1.5962.1.2.0.1175775772.5723.0]:
: java.nio.file.NoSuchFileException: /opt/wildfly/standalone/data/fs2/2023/10/06/58BE7E77/9247637B!3A98E43C.tar
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
        at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
        at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
        at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
        at java.base/java.nio.file.Files.size(Files.java:2468)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear//org.dcm4chee.arc.storage.filesystem.FileSystemStorage.getContentLength(FileSystemStorage.java:137)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl.compareObjectSize(StgCmtManagerImpl.java:498)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl.checkLocation(StgCmtManagerImpl.java:461)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl.checkLocationsOfInstance(StgCmtManagerImpl.java:420)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl.checkLocations(StgCmtManagerImpl.java:355)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl.calculateResult(StgCmtManagerImpl.java:145)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtManagerImpl$Proxy$_$$_WeldClientProxy.calculateResult(Unknown Source)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtSCPTaskProcessor.process(StgCmtSCPTaskProcessor.java:96)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-stgcmt-5.31.1.jar//org.dcm4chee.arc.stgcmt.impl.StgCmtSCPTaskProcessor$Proxy$_$$_WeldClientProxy.process(Unknown Source)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-qmgt-5.31.1.jar//org.dcm4chee.arc.qmgt.impl.TaskScheduler.processTask(TaskScheduler.java:214)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-qmgt-5.31.1.jar//org.dcm4chee.arc.qmgt.impl.TaskScheduler.processTasksSequential(TaskScheduler.java:149)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-qmgt-5.31.1.jar//org.dcm4chee.arc.qmgt.impl.TaskScheduler.process(TaskScheduler.java:129)
        at deployment.dcm4chee-arc-ear-5.31.1-psql.ear.dcm4chee-arc-qmgt-5.31.1.jar//org.dcm4chee.arc.qmgt.impl.TaskScheduler.lambda$process$0(TaskScheduler.java:118)
        at org.jboss.as.ee@29.0.1.Final//org.jboss.as.ee.concurrent.ControlPointUtils$ControlledRunnable.run(ControlPointUtils.java:125)
        at org.wildfly.security.elytron-base@2.2.1.Final//org.wildfly.security.auth.server.SecurityIdentity.runAsConsumer(SecurityIdentity.java:376)
        at org.wildfly.security.elytron-base@2.2.1.Final//org.wildfly.security.auth.server.Scoped.runAsConsumer(Scoped.java:112)
        at org.wildfly.security.elytron-base@2.2.1.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:60)
        at org.jboss.as.ee@29.0.1.Final//org.jboss.as.ee.concurrent.SecurityIdentityUtils.lambda$doIdentityWrap$1(SecurityIdentityUtils.java:63)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.glassfish.jakarta.enterprise.concurrent//org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:119)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
        at org.glassfish.jakarta.enterprise.concurrent//org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:322)

Related #3656

@gunterze gunterze added the bug Something isn't working label Oct 6, 2023
@gunterze gunterze added this to the 5.31.1 milestone Oct 6, 2023
@gunterze gunterze self-assigned this Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant