Hey,
I'd love some help with this please!
I have 2 VCSA, an External PSC that I have updated to 6.0.0.30400, updated from 6.0.0.200 last night, and a vCenter running 6.0.0.5110 which I am trying to upgrade to 6.0.0.30400
The patches stage ok but I get the errors shown below when I install them.
The PSC had been on 6.0.0.200 for a while. My colleague had previously been battling with the vCenter which was on 6.0.0. I managed to get the vCenter up to 6.0.0.5110 last night. I tried more recent updates but it always fails.
df -h shows good space
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 11G 5.2G 5.1G 51% /
udev 7.9G 168K 7.9G 1% /dev
tmpfs 7.9G 36K 7.9G 1% /dev/shm
/dev/sda1 128M 38M 84M 31% /boot
/dev/mapper/core_vg-core 50G 36G 12G 76% /storage/core
/dev/mapper/log_vg-log 15G 7.6G 6.5G 55% /storage/log
/dev/mapper/db_vg-db 9.9G 294M 9.1G 4% /storage/db
/dev/mapper/dblog_vg-dblog 5.0G 587M 4.1G 13% /storage/dblog
/dev/mapper/seat_vg-seat 25G 1.5G 22G 7% /storage/seat
/dev/mapper/netdump_vg-netdump 1001M 18M 932M 2% /storage/netdump
/dev/mapper/autodeploy_vg-autodeploy 9.9G 151M 9.2G 2% /storage/autodeploy
/dev/mapper/invsvc_vg-invsvc 9.9G 213M 9.2G 3% /storage/invsvc
I've rotated the log files '/etc/logrotate.d/logrotate -f /etc/logrotate.conf'
The only other solutions I have integrated are vRealize Operations Manager which is running 6.0.5571310
I've got the VMware-vCenter-Server-Appliance-6.0.0.30400-7464101-patch-FP.iso mounted
These are the commands I'm running:
Command> software-packages stage --iso --acceptEulas
[2018-03-06T11:20:32.065] : Staging software update packages from ISO
[2018-03-06T11:20:32.065] : ISO mounted successfully
[2018-03-06 11:20:32,287] : Running pre-stage script.....
[2018-03-06T11:20:33.065] : Verifying staging area
[2018-03-06T11:20:33.065] : Validating software update payload
[2018-03-06T11:20:33.065] : Validation successful
[2018-03-06 11:20:33,828] : Processing software packages in update payload 231/231
[2018-03-06T11:21:52.065] : ISO unmounted successfully
[2018-03-06T11:21:52.065] : (212) packages staged successfully
[2018-03-06T11:21:52.065] : Staging process completed successfully
Command> software-packages install --staged
[2018-03-06 11:25:16,264] : Running test transaction ....
[2018-03-06T11:25:19.065] : Installation process failed
I have another SSH session to the vCenter so that I can tail the /var/log/vmware/applmgmt/software-packages.log
Here is the end of /var/log/vmware/applmgmt/software-packages.log
~#~
2018-03-06T11:21:52.065:root:Staging process completed successfully
2018-03-06T11:25:16.065:root:Installing software update packages {args = Namespace(acceptEulas=False, func=<function install at 0x7f71155c8b90>, iso=False, staged=True)}
2018-03-06T11:25:16.065:vmware.vherd.base.software_update:Iniitialized software update state
Staged status = True
Staged packages:
{}
Installed packages:
{}
Payload packages:
{} MetaData:
{}
2018-03-06T11:25:16.065:vmware.vherd.base.software_update:Extracting information about packages in /var/software-packages/
2018-03-06T11:25:19.065:vmware.vherd.base.software_update:Test transaction failed to update package
out=Preparing... ##################################################
error=warning: /var/software-packages/ruby2.1-rubygem-backports-3.6.6-1.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 0e9af123
warning: /var/software-packages/vmware-tools-core-10.1.10-1.sles11.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID 66fd4949
package libcom_err2-1.41.9-2.10.11.1.x86_64 is already installed
package net-tools-1.60-725.35.1.x86_64 is already installed
package popt-1.7-37.63.64.1.x86_64 is already installed
package rpm-4.4.2.3-37.63.64.1.x86_64 is already installed
package libdw1-0.152-4.9.17.x86_64 is already installed
package sg3_utils-1.35-0.19.1.x86_64 is already installed
package udev-147-0.107.1.x86_64 is already installed
rc=254
2018-03-06T11:25:19.065:root:Installation process failed
2018-03-06T11:25:19.065:root:Test transaction failed to update packages
Exception:
Traceback (most recent call last):
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 143, in install
installPackagesEP(staged=args.staged, iso=args.iso, acceptEulas=args.acceptEulas)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1093, in installPackagesEP
_runTestTransaction(pkgType)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 770, in _runTestTransaction
raise GenericException("Test transaction failed to update packages")
GenericException: Test transaction failed to update packages
2018-03-06T11:25:19.065:vmware.vherd.base.software_update:Destroyed software update state
~#~
Many thanks,
Gerg
Hi khan1234 were you able to get this sorted?
Hi Vijay2027,
thank you very much for very prompt response. I have the following version 6.0.0.20050 Build Number 4191363 will the attached rpm work with this build?
I have not tried as yet but I will give a go tonight and will update the forum. I really appreciated your help.
also just for knowledge just noob for Linux world how did you export the rpm and how can I install these rpm?
much appreciated.
Reagrds
Hi Vijay2027,
thank you very much for your hardwork and finding the solution. i have installed the provided rpm's and i was able to patch VCSA successfully. Well done and it was very helpfull
excellent work.
5 starts
Glad I could help!!
Hey all,
I Am trying to update VCSA 6.0.0.10200 BUild 3343022 to 6.0.0.30800 Build Number 9448190. But it gives me an update failed.
I have checked the Software-package.log and saw the folowing:
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:UpdateTask: status=running, percent=45, message=[Completed] Stage Packages
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:Opening file /etc/applmgmt/appliance/tasks.conf with lock
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:File /etc/applmgmt/appliance/tasks.conf locked
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:File /etc/applmgmt/appliance/tasks.conf unlocked
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:UpdateTask: status=running, percent=50, message=[Started] Test Package update
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:Opening file /etc/applmgmt/appliance/tasks.conf with lock
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:File /etc/applmgmt/appliance/tasks.conf locked
2019-02-16T11:09:36.047 [17520]DEBUG:task_manager:File /etc/applmgmt/appliance/tasks.conf unlocked
2019-02-16T11:09:36.047 [17520]DEBUG:vmware.vherd.base.software_update:Run command: ['/bin/rpm', '-Uhv', '--test', '/var/software-packages/*.rpm']
2019-02-16T11:09:39.047 [17520]DEBUG:vmware.vherd.base.software_update:STDOUT: Preparing... ##################################################
2019-02-16T11:09:39.047 [17520]DEBUG:vmware.vherd.base.software_update:STDERR: warning: /var/software-packages/sshpass-1.06-7.1.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 17280ddf
warning: /var/software-packages/vmware-tools-core-10.1.10-1.sles11.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID 66fd4949
file /etc/init.d/snmpd from install of vmware-snmp-1.0.13-1.x86_64 conflicts with file from package net-snmp-5.4.2.1-5.1.x86_64
2019-02-16T11:09:40.047 [17520]DEBUG:vmware.vherd.base.software_update:Test transaction failed to update package
out=
error=
rc=254
2019-02-16T11:09:40.047 [17520]CRITICAL:root:Installation process failed
2019-02-16T11:09:40.047 [17520]DEBUG:root:Test transaction failed to update packages
Exception:
Traceback (most recent call last):
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 191, in install
thirdParty=args.thirdParty)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1540, in installPackagesEP
_runTestTransaction(pkgType, percent=50)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/task_manager.py", line 158, in trackedfunc
value = func(*args, **kwargs)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 967, in _runTestTransaction
raise GenericException("Test transaction failed to update packages")
GenericException: Test transaction failed to update packages
It looks like i am missing some RPM's to, but installing the RPM's fromt his topic isn't helping.
For the record: i need to install the RPM's by using the following command?
- rpm -ivh release-notes-SLES-for-VMware-11.3.43-0.16.1.x86_64.rpm --nodeps
Kind Regards
JVNK.