1 Reply Latest reply on Jun 18, 2017 9:38 AM by MikeEvans1214

    VCSA 5.5 to 60 upgrade fails with "Internal error occurs during Export of VMware License Service."

    MikeEvans1214 Lurker

      The VCSA upgrade fails...

      vcsa_exp_lic_error.PNG

       

      I receive the following error message in the session logs:

       

      2017-06-17 18:10:14.835389 CIP Service: [VCSA INFO] fetch File form VM - result:{"type":"result","statusCode":"OK","sessionId":"nwDX-cxUM-Lvpf-sCWH","requestId":"715","requestComponentId":"fileTransfer","requestObjectId":"8088-jT99-8gEX-Xsia","result":"{\n    \"status\": \"error\", \n    \"info\": [], \n    \"question\": null, \n    \"progress_message\": {\n        \"args\": [\n            \"VMware License Service\"\n        ], \n        \"id\": \"ur.upgrade.script.export.progress.text\", \n        \"localized\": \"Exporting VMware License Service data...\", \n        \"translatable\": \"Exporting %(0)s data...\"\n    }, \n    \"warning\": [], \n    \"error\": {\n        \"resolution\": {\n            \"id\": \"ur.upgrade.script.internal.resolution\", \n            \"localized\": \"Send upgrade logs files to GSS for further assistance.\", \n            \"translatable\": \"Send upgrade logs files to GSS for further assistance.\"\n        }, \n        \"detail\": [\n            {\n                \"args\": [\n                    \"Export\", \n                    \"VMware License Service\"\n                ], \n                \"id\": \"ur.upgrade.script.internal.text\", \n                \"localized\": \"Internal error occurs during Export of VMware License Service.\", \n                \"translatable\": \"Internal error occurs during %(0)s of %(1)s.\"\n            }, \n            {\n                \"args\": [\n                    \"Export\", \n                    \"VMware License Service\"\n                ], \n                \"id\": \"ur.upgrade.script.internal.text\", \n                \"localized\": \"Internal error occurs during Export of VMware License Service.\", \n                \"translatable\": \"Internal error occurs during %(0)s of %(1)s.\"\n            }\n        ], \n        \"componentKey\": \"upgrade_framework\", \n        \"problemId\": null\n    }, \n    \"progress\": 34\n}","isFinal":"true"}

       

      I've been unsuccessful at finding any relevant KB articles and am hoping that someone here has run into this issue before

        • 1. Re: VCSA 5.5 to 60 upgrade fails with "Internal error occurs during Export of VMware License Service."
          MikeEvans1214 Lurker

          Looking at the export-upgrade-runner.log from the 5.5 VCSA showed me this:

           

          2017-06-17T22:10:02.83Z INFO upgrade.states.component_states license:Export: 2017-06-17T22:10:01.271Z INFO license License export started ...

          2017-06-17T22:10:02.83Z INFO upgrade.states.component_states license:Export: 2017-06-17T22:10:01.271Z INFO license Start exporting management license data...

          2017-06-17T22:10:02.83Z INFO upgrade.states.component_states license:Export: 2017-06-17T22:10:01.271Z INFO license Extracting data...

          2017-06-17T22:10:02.83Z INFO upgrade.states.component_states license:Export: 2017-06-17T22:10:01.271Z ERROR __main__ Upgrade Phase 'license:Export' failed. Exception: RSA key format is not supported

          2017-06-17T22:10:02.83Z INFO upgrade.states.component_states license:Export: Traceback (most recent call last):

          2017-06-17T22:10:02.84Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/componentPhaseLauncher.py", line 379, in main

          2017-06-17T22:10:02.84Z INFO upgrade.states.component_states license:Export:     executionResult = systemExtension(exeContext)

          2017-06-17T22:10:02.84Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/libs/sdk/extensions.py", line 94, in __call__

          2017-06-17T22:10:02.84Z INFO upgrade.states.component_states license:Export:     result = self.extension(*args)

          2017-06-17T22:10:02.85Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/libs/sdk/extensions.py", line 110, in _func

          2017-06-17T22:10:02.85Z INFO upgrade.states.component_states license:Export:     return func(*args)

          2017-06-17T22:10:02.85Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/__init__.py", line 110, in exportData

          2017-06-17T22:10:02.85Z INFO upgrade.states.component_states license:Export:     licenseDataExporter.exportData()

          2017-06-17T22:10:02.85Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/license_data_exporter.py", line 60, in exportData

          2017-06-17T22:10:02.86Z INFO upgrade.states.component_states license:Export:     managementData = self._exportManagementLicenseData()

          2017-06-17T22:10:02.86Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/license_data_exporter.py", line 76, in _exportManagementLicenseData

          2017-06-17T22:10:02.86Z INFO upgrade.states.component_states license:Export:     managementData = managementDataProvider.getData()

          2017-06-17T22:10:02.86Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/management/management_data_provider.py", line 31, in getData

          2017-06-17T22:10:02.86Z INFO upgrade.states.component_states license:Export:     vpxdInstanceConfig = VpxdInstanceConfig(self.log, config_dir)

          2017-06-17T22:10:02.87Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/management/vpxd_instance_config.py", line 60, in __init__

          2017-06-17T22:10:02.87Z INFO upgrade.states.component_states license:Export:     self._LoadConfigurations()

          2017-06-17T22:10:02.87Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/management/vpxd_instance_config.py", line 187, in _LoadConfigurations

          2017-06-17T22:10:02.87Z INFO upgrade.states.component_states license:Export:     self.userPassword = self.DecodePassword(self.userPassword)

          2017-06-17T22:10:02.88Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/python/ls_export/management/vpxd_instance_config.py", line 77, in DecodePassword

          2017-06-17T22:10:02.88Z INFO upgrade.states.component_states license:Export:     self.privateKey = RSA.importKey(open(privateKeyFile, 'r').read())

          2017-06-17T22:10:02.88Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/lib/Crypto/PublicKey/RSA.py", line 247, in importKey

          2017-06-17T22:10:02.88Z INFO upgrade.states.component_states license:Export:     return self._importKeyDER(der)

          2017-06-17T22:10:02.88Z INFO upgrade.states.component_states license:Export:   File "/tmp/vmware-root/tmpvmware186/payload/component-scripts/license/upgrade_lib/lib/Crypto/PublicKey/RSA.py", line 234, in _importKeyDER

          2017-06-17T22:10:02.89Z INFO upgrade.states.component_states license:Export:     raise ValueError("RSA key format is not supported")

          2017-06-17T22:10:02.89Z INFO upgrade.states.component_states license:Export: ValueError: RSA key format is not supported

          2017-06-17T22:10:02.89Z INFO upgrade.states.component_states license:Export: Script completed for 2.0601439476 secs with return-code='1', and executionId=3c4f7042-8cb5-440d-86d1-81bff0d36818

          2017-06-17T22:10:02.93Z ERROR upgrade.states.component_states license:Export: Remote script failed with an error [InternalError()]

          2017-06-17T22:10:02.93Z ERROR upgrade.states.component_states license:Export: failed with internal error. For details take a look at Export_com.vmware.license_2017_06_17_22_09.log.

           

          I guess I could regenerate the self-signed certificates that the VCSA to see if that helps.