Hi Gurus,
First of all, thank you so much for providing with wonderful and precise solutions to almost any individual problems that one can come across. With that being said, I am having a small hiccup when ot comes to patching vCenter 7.0. My current version of vCenter is as follows
Version - 7.0.0.10100
Build - 15952498
I am planning to patch it to the following -
Version - 7.0.0.10300
Build -16189094
I have vCenter setup in HA mode. The procedure that I am following is as per the Vmware Documentation over Here
I have downloaded the correct .iso for the same. But as soon as I try to stage the iso, I encounter an error. Just to be sure, I have now downloaded the iso twice to eliminate the doubt of a corrupt download. The error that I get is as follows:
Command> software-packages stage --iso
[2020-05-27T19:21:43.148] : ISO mounted successfully
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Target VCSA version = 7.0.0.10300
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : No manifest whitelist present, it is not leaf service upgrade.
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:44.148] : Checking if HLM is enabled
[2020-05-27T19:21:44.148] : Product configuration file does not exists.
[2020-05-27T19:21:44.148] : Filtering components as not all are allowed to run. Whitelist []
Blacklist []
[2020-05-27T19:21:45.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:45.148] : Not running on a VMC Gateway appliance.
[2020-05-27T19:21:45.148] : About to perform WCP checks
[2020-05-27T19:21:45.148] : Performing WCP checks
[2020-05-27T19:21:45.148] : Adding WCP path to Python path
[2020-05-27T19:21:45.148] : Found Kubernetes versions {'1.17', '1.16', '1.15'} in /storage/core/software-packages/scripts/patches/payload/components-script/wcp/wcp_versions.yaml
[2020-05-27T19:21:45.148] : Found Kubernetes versions {'1.16', '1.15'} in /etc/vmware/wcp/wcp_versions.yaml
Error Code : 1021
[2020-05-27T19:21:45.148] : Exception raised while running wcp prechecks.
Traceback (most recent call last):
File "/storage/core/software-packages/scripts/update_wcp_utils.py", line 51, in doWcpPrechecks
result = precheck.doPrecheck(skipPrechecksIds)
File "/storage/core/software-packages/scripts/patches/payload/components-script/wcp/precheck.py", line 113, in doPrecheck
stub_cfg = utils.create_vapi_stub_config()
File "/storage/core/software-packages/scripts/patches/payload/components-script/wcp/utils.py", line 214, in create_vapi_stub_config
token_data = token_handler[0]()
File "/storage/core/software-packages/scripts/patches/payload/components-script/wcp/utils.py", line 171, in get_hok_token
sts_auth = get_sts_authenticator()
File "/storage/core/software-packages/scripts/patches/payload/components-script/wcp/utils.py", line 158, in get_sts_authenticator
ls_url = VmafdClient().get_ls_location()
File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 83, in get_ls_location
return self.client.GetLSLocation()
RuntimeError: unidentifiable C++ exception
Process Process-1:1:
Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/storage/core/software-packages/scripts/update_wcp_utils.py", line 56, in doWcpPrechecks
json_result = JsonSerializer().serialize([result, ex])
File "/usr/lib/applmgmt/base/py/vmware/update/json_utils.py", line 222, in serialize
cnt = json.dumps(o, default=ObjectJsonConverter(True).encode, indent=4)
File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib/python3.7/json/encoder.py", line 201, in encode
chunks = list(chunks)
File "/usr/lib/python3.7/json/encoder.py", line 429, in _iterencode
yield from _iterencode_list(o, _current_indent_level)
File "/usr/lib/python3.7/json/encoder.py", line 325, in _iterencode_list
yield from chunks
File "/usr/lib/python3.7/json/encoder.py", line 438, in _iterencode
o = _default(o)
File "/usr/lib/applmgmt/base/py/vmware/update/json_utils.py", line 176, in encode
result = json.JSONEncoder().default(o)
File "/usr/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type RuntimeError is not JSON serializable
[2020-05-27T19:21:45.148] : ISO unmounted successfully
[2020-05-27T19:21:45.148] : Staging process failed.
Do you folks have any idea regarding the same? Could it be that the source iso was released with a problem?
Appreciate any inputs.
Thanks & Regards,
Siddhesh
Although I had to go a little different way, I was able to resolve this.
Here's what I did
Hope this helps.
Thanks & Regards,
Siddhesh
I'd recommend opening a support case with VMware.
Hi Daphissov,
Thank you for the immediate response. I am afraid I can't open a support case since I am using the vCenter in Evaluation Mode as of now. We were planning to explore vCenter 7 a bit before we made a decision to purchase it.
Regards,
Siddhesh
Although I had to go a little different way, I was able to resolve this.
Here's what I did
Hope this helps.
Thanks & Regards,
Siddhesh