Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-67515

JIRA Import Fails due to upgrade task

    XMLWordPrintable

Details

    Description

      Summary

      Import from Server to Cloud fails

      Environment

      Steps to Reproduce

      1. Export JIRA Server
      2. Import the file on JIRA Cloud

      Expected Results

      Import finishes successfully

      Actual Results

      Non recoverable error during cloudImport: Import task failed: [The upgrade task manager has returned a non-successful result from running the upgrades]
      

      Notes

       

      Similar to bug JRACLOUD-67130

      Workaround

      1. In splunk, find the affected build number
        {	[-]	
          	 @laas:	{	[+]	
          	}	
          	 @timestamp:	 2017-11-08T01:33:44.854Z	
          	 ctx:	{	[+]	
          	}	
          	 ec2:	{	[+]	
          	}	
          	 env:	 prod-east	
          	 ext:	{	[+]	
          	}	
          	 host:	 ip-10-124-137-59.useast.atl-inf.io	
          	 hostname:	 fe02da372311	
          	 level:	 ERROR	
          	 location:	{	[+]	
          	}	
          	 logger:	 cloud.atlassian.upgrade.core.DefaultUpgradeTaskFactoryProcessor	
          	 m:	{	[+]	
          	}	
          	 message:	 Cannot downgrade as there is an upgrade task for factory (host) and build number (73011) that has not completed	
          	 pid:	 32	
          	 product:	 jira	
          	 thread:	 pool-53-thread-1	
          	 time:	 2017-11-08T01:33:44Z	
          	 timestamp:	 2017-11-08T01:33:44,854Z	
        }
        
      2. Search for the upgrade history id in entities.xml file that has the affected build number
        example:
        <UpgradeTaskHistory id="10005" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER"/>
        
        <UpgradeTaskHistoryAuditLog id="10005" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-10-31 10:47:00.097" action="upgrade"/>
        <UpgradeTaskHistoryAuditLog id="10100" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 16:35:25.813" action="upgrade"/>
        <UpgradeTaskHistoryAuditLog id="10200" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 17:42:36.14" action="upgrade"/>
        <UpgradeTaskHistoryAuditLog id="10300" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 17:48:13.427" action="upgrade"/>
        <UpgradeTaskHistoryAuditLog id="10400" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-02 19:28:45.587" action="upgrade"/>
        
      3. Remove that from the entities.xml file
      4. Zip backup file
      5. Perform JIRA Restoration

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              hbui Houston B.
              Votes:
              3 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: