hi - wondering if a guru can help a home labber?!
My VCSA update on 7.0 is spinning at 0%
if I click cancel i get this error:
![]()
with this in the applmgmt.log:
2020-07-15T05:35:14.678 [21601]ERROR:vmware.vapi.provider.local:Error in invoking com.vmware.appliance.update in cancel - [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/provider/local.py", line 277, in invoke
service_id, operation_id, input_value, ctx)
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/provider/local.py", line 248, in _invoke_int
method_result = iface.invoke(ctx, method_id, input_value)
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/skeleton.py", line 371, in invoke
meth_output = method(**meth_args)
File "/usr/lib/applmgmt/vapi/py/vmware/appliance/vapi/appliance_impl.py", line 78, in cancel
s.sendto(b'{"rpc": "cancel"}', MICROSERVICE_SOCKFILE)
FileNotFoundError: [Errno 2] No such file or directory
My update files staged successfully into /storage/updatemgr/software-update6yt9kjw9/
however in update_microservice.log i see:
]# tail update_microservice.log
2020-07-15 05:23:31,104 - 29269 - update_b2b:: _is_staged:2439 - DEBUG - Checking if version 7.0.0.10400 is already staged
2020-07-15 05:23:31,104 - 29269 - dbfunctions:: executeDML: 54 - DEBUG - Executing Query {SELECT _value from config where _config = ?} with parameters ('stageDir',)
2020-07-15 05:23:31,105 - 29269 - update_b2b:: install:2061 - DEBUG - Scanning stage directory /storage/updatemgr/software-update6yt9kjw9/stage
2020-07-15 05:23:31,105 - 29269 - update_functions:: readJsonFile: 224 - ERROR - Can't read JSON file /storage/updatemgr/software-update6yt9kjw9/stage/pkg_list [Errno 2] No such file or directory: '/storage/updatemgr/software-update6yt9kjw9/stage/pkg_list'
2020-07-15 05:23:31,105 - 29269 - update_b2b:: install:2065 - DEBUG - Exception occurred while checking for discrepancies [Errno 2] No such file or directory: '/storage/updatemgr/software-update6yt9kjw9/stage/pkg_list'
2020-07-15 05:23:31,105 - 29269 - update_microservice:: _runEvent: 409 - DEBUG - Event callback succeeded
2020-07-15 05:24:01,155 - 29269 - update_microservice:: waitForEvents: 473 - INFO - Exiting by timeout
2020-07-15 05:24:01,156 - 29269 - update_microservice:: __del__: 359 - DEBUG - Closing socket...
2020-07-15 05:24:01,156 - 29269 - update_microservice:: __del__: 361 - DEBUG - Removing sockfile
2020-07-15 05:24:01,156 - 29269 - update_microservice:: _deletePidFile: 297 - DEBUG - Removing pid file: /var/run/vmware/applmgmt/update_microservice.pid
Does anyone have any thoughts why this error occurs?
Can't read JSON file /storage/updatemgr/software-update6yt9kjw9/stage/pkg_list
thanks!
ps: I can successfully cancel the update using VMware Knowledge Base but wondering why it isnt working.
Message was edited by: mgillard