Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-7099

Protect the Home-Directory files from being deleted when the server hard drive is full

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • None
    • Installation
    • None

    Description

      edit: Before this ticket was reporting that only the bamboo.cfg.xml could disappear. Changed this ticket to be more generic after handling cases where we could not identify what was the missing or corrupted file.

      Currently, files from the Bamboo-Home-Dir disappear from the hard disk where the Bamboo Server is installed when the disk gets full.

      The Server logs report:

      2010-10-05 04:00:13,673 ERROR [Persistence Adaptor Task] [AMQPersistenceAdapter] Failed to mark the Journal: java.io.IOException: No space left on device
      java.io.IOException: No space left on device
      	at sun.nio.ch.FileDispatcher.write0(Native Method)
      	at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57)
      	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122)
      	at sun.nio.ch.IOUtil.write(IOUtil.java:93)
      	at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224)
      	at org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205)
      	at org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116)
      	at org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227)
      
      2010-10-05 04:03:45,580 WARN [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultArtifactManager] Error occurred trying to generate an artifact redirect
      java.io.IOException: No space left on device
      	at java.io.FileOutputStream.writeBytes(Native Method)
      	at java.io.FileOutputStream.write(FileOutputStream.java:284)
      	at org.apache.commons.io.IOUtils.write(IOUtils.java:784)
      	at org.apache.commons.io.IOUtils.write(IOUtils.java:808)
      	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254)
      	at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91)
      	at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75)
      	at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62)
      	at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      	at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy265.call(Unknown Source)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
      	at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      	at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy264.call(Unknown Source)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189)
      	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102)
      	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47)
      	at java.lang.Thread.run(Thread.java:636)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: