cancel
Showing results for 
Search instead for 
Did you mean: 

Hana Upgrade question from Rev 92 to 112, delivery unit installation fail

mert_karakilic
Participant
0 Kudos

Hi There,

I have been looking into a solution for this issue I have been experiencing over and over after several different upgrade path tries. When I am trying to upgrade hana from SSP9 Rev 92 to SPS11 Rev 112, it finishes the upgrade with a warning but successfully.

Note: 'SAP HANA Database' update finished with warning, because of failed deployment of HANA content (part of 'SAP HANA Database' archive). For next steps, check SAP Note 1795885.

The server status is green but I couldn't find why it is saying it finished with a warning and a delivery unit failed. It is one of the core delivery unit installations too based on the log file it points to which is a bit scary if the core stuff fails. From the log file it says;

19:59:06.115 - INFO:    Output line 49:  All server processes started on host '....' (worker).

19:59:06.116 - INFO:    Output line 50: Importing delivery units...

19:59:06.238 - INFO:    Output line 51: Importing delivery unit HCO_INA_SERVICE

19:59:08.113 - INFO:    Output line 52: Importing delivery unit HANA_DT_BASE

19:59:23.768 - INFO:    Output line 53: Importing delivery unit HANA_IDE_CORE

20:00:04.038 - INFO:    Output line 54: Importing delivery unit HANA_TA_CONFIG

20:00:15.238 - INFO:    Output line 55: Importing delivery unit HANA_UI_INTEGRATION_SVC

20:00:36.530 - INFO:    Output line 56: Importing delivery unit HANA_UI_INTEGRATION_CONTENT

20:00:38.658 - INFO:    Output line 57: Importing delivery unit HANA_XS_BASE

20:01:00.778 - INFO:    Output line 58: Importing delivery unit HANA_XS_DBUTILS

20:01:03.301 - INFO:    Output line 59: Importing delivery unit HANA_XS_LM

20:01:57.841 - INFO:    Output line 60: Importing delivery unit HDC_ADMIN

20:02:09.398 - INFO:    Output line 61: Importing delivery unit HDC_IDE_CORE

20:04:17.729 - INFO:    Output line 62: Importing delivery unit HDC_SEC_CP

20:04:20.088 - INFO:    Output line 63: Importing delivery unit HDC_XS_BASE

20:04:22.286 - INFO:    Output line 64: Importing delivery unit HDC_XS_LM

20:04:23.895 - INFO:    Output line 65: Importing delivery unit SAPUI5_1

20:06:55.450 - INFO:    Output line 66: Importing delivery unit SAP_WATT

20:08:36.472 - INFO:    Output line 67: Importing delivery unit HANA_BACKUP

20:08:48.267 - INFO:    Output line 68: Importing delivery unit HANA_HDBLCM

20:08:58.724 - INFO:    Output line 69: Importing delivery unit HANA_SEC_BASE

20:09:46.282 - INFO:    Output line 70: Importing delivery unit HANA_SEC_CP

20:10:36.519 - INFO:    Output line 71: Importing delivery unit HANA_ADMIN

20:17:51.898 - INFO:    Output line 72:

20:17:51.899 - INFO:    Output line 73:  ##############################################################

20:17:51.899 - INFO:    Output line 74:  # Problems occurred while importing delivery units (content).

20:17:51.899 - INFO:    Output line 75:  # To complete the content update, refer to SAP Note 1795885.

20:17:51.899 - INFO:    Output line 76:  #############################################################

20:17:51.899 - INFO:    Output line 77:

20:17:53.531 - INFO:    Output line 78: Log file written to '/var/tmp/hdb_AR2_hdblcm_update_2016-05-06_19.48.05/hdbupd.log' on host '....'.

20:17:53.963 - INFO:    Program terminated with exit code 2

20:17:53.964 - INFO: -----------------------------------------------------------

20:17:53.964 - INFO: END: Updating SAP HANA Database (start: 19:49:43.034 duration: 00:28:10.929)

20:17:53.964 - INFO: -----------------------------------------------------------

SO, did it fail installing HANA_ADMIN delivery unit? How can I tell which delivery unit or units failed and how can I retrieve those failed ones and import those? Do I use import feature with the system user via Hana Studio to re-import? How can I extract those delivery units from the installation?

I am thinking about upgrading to SPS10 rev 100 first then to sps11 112 next, not sure if that would help?

Thanks in advance for your help.

Accepted Solutions (1)

Accepted Solutions (1)

mert_karakilic
Participant
0 Kudos

Checking the log files, only delivery unit failed to install from the base hana installation is the HANA_XS_LM. I saw this in the log files;

08:26:46.331 - INFO:       Output line 46: ACTIVATION ERROR: object: "", package: "", timestamp: 2016-05-07 08:26:46.2720000

08:26:46.331 - INFO:       Output line 47: : code 129: Transaction was marked in invalid

08:26:46.331 - INFO:       Program terminated with exit code 1

08:26:46.332 - ERR :     Error importing delivery units: regi returned exit code '1'

I have found the DU under the /hana/shared folder and re-imported using the Hana Studio. It installed and activated fine on its own. Am I supposed to re-import and re-activate other things after or do you think that is sufficient? When I selected it from the Studio to import during the wizard, it already said all components were installed for this delivery unit and active. Makes me wonder if there is an error thrown for no reason?

former_member182967
Active Contributor
0 Kudos

Hi Mert,

Please check this note 2303448 - Delivery Units Fail to Import During Upgrade

Symptom

When upgrading your HANA system via Delivery Units you see an error in the hdbupd.log file

ERR : Cannot import delivery unit

/<host>/<SID>/global/hdb/auto_content/HANA_TA_CONFIG.tgz

ERR : Cannot import delivery unit

/<host>/<SID>/global/hdb/auto_content/HANA_XS_LM.tgz

The solution is to manually import the failed delivery units using HANA studio.

Regards,

Ning

davidebruno
Participant
0 Kudos

I confirm what Ning Tong said.

Also during our updating from rev 85 to 112 , we faced this warning, but after the manually re-import from HANA studio, all went fine.

Answers (2)

Answers (2)

mert_karakilic
Participant
0 Kudos

Digging into it a bit more, I found this;

07:43:33.453 - ERR : Cannot import delivery unit /hana/shared/AR3/global/hdb/auto_content/HANA_XS_LM.tgz

08:05:36.361 - INFO: Messages from trace files

08:05:36.323 - INFO:   indexserver_alert_llbpal60.trc: More than 50 relevant messages found, check file.

08:05:36.325 - INFO:   preprocessor_alert_llbpal60.trc: [36471]{-1}[-1/-1] 2016-05-07 08:03:42.368419 e preprocessor     PreprocessorImpl.cpp(01280) : inconsistent result: relativeLength < 0 , docKey=_SYS_REPO:ACTIVE_OBJECTen.CDATA:158032, relativeLength=-1, htmlOffset=521, tokenLength=8

mert_karakilic
Participant
0 Kudos

Thank you folks. I was asking on another thread, if we know there are inter-dependencies among delivery units? Re-importing one delivery unit before another, may perhaps break something else?

mert_karakilic
Participant
0 Kudos

I have now also tried upgrading from sps 9 rev 93 to sps 10 rev 100, I get the same warning and error within the log stating the delivery units are not installed. It seems to be a common issue. I checked some SAP notes about missing delivery units issue but nothing points to this specific issue in the consecutive patches as far as I have seen.

Is there a way to know which delivery unit is missing and how I can get it from the installation? Sorry it may be an easy question, not used the delivery units patching for the base packages before however i worked with the delivery units in terms of importing and activating.