Restoring the archive is not robust

Steps to reproduce

It seems that when restoring the archive, one missing series or recording will prevent restoring of the archive index:

mh01.ethz.ch | 2013-09-30 15:56:17 WARN (WorkspaceImpl$1:307) - Could not copy http://mh01.ethz.ch/archive/archive/mediapackage/0058a523-99c1-41cd-b80d-4791bd8b5ead/7b5211cb-6aa4-4d44-9869-e5b808cff926/0/catalog.xml to /var/matterhorn/work/shared/workspace/http_mh01.ethz.ch/archive/archive/mediapackage/0058a523-99c1-41cd-b80d-4791bd8b5ead/7b5211cb-6aa4-4d44-9869-e5b808cff926/0/catalog.xml: Unexpected response status 503
mh01.ethz.ch | 2013-09-30 15:56:17 ERROR (DublinCoreUtil:88) - Unable to load metadata from catalog '{}'
org.opencastproject.util.NotFoundException: org.opencastproject.util.NotFoundException: Unexpected response status 503
at org.opencastproject.workspace.impl.WorkspaceImpl$1.apply(WorkspaceImpl.java:309)
at org.opencastproject.workspace.impl.WorkspaceImpl$1.apply(WorkspaceImpl.java:243)
at org.opencastproject.util.IoSupport.locked(IoSupport.java:465)
at org.opencastproject.workspace.impl.WorkspaceImpl.get(WorkspaceImpl.java:243)
at org.opencastproject.metadata.dublincore.DublinCoreUtil.loadDublinCore(DublinCoreUtil.java:85)
at org.opencastproject.metadata.dublincore.DublinCoreUtil$1.apply(DublinCoreUtil.java:71)
at org.opencastproject.metadata.dublincore.DublinCoreUtil$1.apply(DublinCoreUtil.java:69)
at org.opencastproject.util.data.Option$1.fmap(Option.java:176)
at org.opencastproject.util.data.Option.map(Option.java:45)
at org.opencastproject.metadata.dublincore.DublinCoreUtil.loadDublinCore(DublinCoreUtil.java:68)
at org.opencastproject.metadata.dublincore.DublinCoreUtil.loadEpisodeDublinCore(DublinCoreUtil.java:49)
at org.opencastproject.archive.opencast.solr.SolrIndexManager.createEpisodeInputDocument(SolrIndexManager.java:446)
at org.opencastproject.archive.opencast.solr.SolrIndexManager.add(SolrIndexManager.java:397)
at org.opencastproject.archive.opencast.OpencastArchive.index(OpencastArchive.java:76)
at org.opencastproject.archive.base.ArchiveBase.populateIndex(ArchiveBase.java:372)
at org.opencastproject.archive.opencast.OpencastArchivePublisher.setHttpMediaPackageElementProvider(OpencastArchivePublisher.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
at org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:548)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)
at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1028)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:308)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:170)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
at org.apache.felix.framework.Felix.registerService(Felix.java:3275)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)
at org.opencastproject.util.osgi.SimpleServicePublisher.registerService(SimpleServicePublisher.java:161)
at org.opencastproject.archive.opencast.endpoint.OsgiOpencastArchiveRestEndpoint.endpointPublished(OsgiOpencastArchiveRestEndpoint.java:70)
at org.opencastproject.kernel.rest.RestPublisher.createEndpoint(RestPublisher.java:233)
at org.opencastproject.kernel.rest.RestPublisher$JaxRsServiceTracker.addingService(RestPublisher.java:320)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:906)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:941)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
at org.apache.felix.framework.Felix.registerService(Felix.java:3275)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:449)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:460)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1009)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:283)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:170)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
at org.apache.felix.framework.Felix.registerService(Felix.java:3275)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:449)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:460)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1009)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:283)
at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:170)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
at org.apache.felix.framework.Felix.registerService(Felix.java:3275)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)
at org.opencastproject.workflow.impl.WorkflowDefinitionScanner.install(WorkflowDefinitionScanner.java:118)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:880)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:808)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:446)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)
Caused by: org.opencastproject.util.NotFoundException: Unexpected response status 503
at org.opencastproject.workspace.impl.WorkspaceImpl$1.apply(WorkspaceImpl.java:303)
... 79 more
mh01.ethz.ch | 2013-09-30 15:56:17 WARN (ArchiveBase:381) - Unable to index series instances: {}

Status

Assignee

Lukas Rohner

Reporter

Lukas Rohner

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure