Symptoms:
Command> software-packages stage --iso
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/__init__.py", line 1029, in emit
self.flush()
File "/usr/lib/python3.7/logging/__init__.py", line 1009, in flush
self.stream.flush()
OSError: [Errno 28] No space left on device
Call stack:
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 853, in <module>
main()
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 840, in main
returncode = args.func(args)
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 343, in stage
logger.debug("Staging software update packages {args = %r}" % args)
Message: 'Staging software update packages {args = Namespace(acceptEulas=False, func=<function stage at 0x7f51f55b1b00>, iso=True, stageEulas=False, thirdParty=False, url=None)}'
Arguments: ()
VMware vCenter Server 7.x/ 8.x.
In order to resolve the issue, please perform the following steps
cd /storage/log
du -a |sort -n -r |head -n 20
Note: Post clearing the logs, if VAMI returns "Exception occurred in install precheck phase", refer to "Exception occurred in install precheck phase" while patching
Impact/Risks:
This issue is seen if '/storage/log' partition is full