On my VMware vCenter Server Appliance i checked for updates.
Updates were found and I clicked "install updates"
After a while update failed with message "Failed to install updates (Error while running post-install scripts)" and vCenter stopped working.
Afterwards I found this http://blog.solori.net/tag/vcsa/ and this http://vkoolaid.blogspot.com/2012/07/vcsa-upgrade-tips-recommendations.html
But it was too late.
I SSH on appliance and found that I-nodes are depleted.
I created new disk, mounted on /storage/db/export as suggested but still nothing.
In logs I found that update could not get vcdb version
Is there a way out??
No I don't have snapshot or backup... silly me.
Here is log snippet from /opt/vmware/var/log/vami/updatecli.log:
22/11/2012 12:50:21 23974 main:UA_CLI.cpp:187 (updatecli) [INFO] Starting Install
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Starting Install
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Running pre-install scripts
22/11/2012 12:50:21 23974 executeFile:UA_CLI.cpp:86 (updatecli) [INFO] Running /opt/vmware/var/lib/vami/update/data/job/20/pre_install '5.0.0.3324' '5.0.0.5480'
Installing update from version 5.0.0.3324 to version 5.0.0.5480
ERROR: Failed to get the vcdb version at get_current_vcdb_version
[ISQL]ERROR: Could not SQLConnect
VMware vSphere Client is not running.
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Done pre-install scripts
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Running installation tests
22/11/2012 12:50:21 23974 executeFile:UA_CLI.cpp:103 (updatecli) [INFO] Skipping missing file /opt/vmware/var/lib/vami/update/data/job/20/test_command, file doesn't exist
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Done installation tests
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Running package installation
22/11/2012 12:50:21 23974 executeFile:UA_CLI.cpp:103 (updatecli) [INFO] Skipping missing file /opt/vmware/var/lib/vami/update/data/job/20/run_command, file doesn't exist
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Done package installation
22/11/2012 12:50:21 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Running post-install scripts
22/11/2012 12:50:21 23974 executeFile:UA_CLI.cpp:86 (updatecli) [INFO] Running /opt/vmware/var/lib/vami/update/data/job/20/post_install '5.0.0.3324' '5.0.0.5480' 0
no
patching file /etc/openldap/schema/core.schema
Hunk #1 FAILED at 119.
Hunk #2 FAILED at 398.
2 out of 2 hunks FAILED -- saving rejects to file /etc/openldap/schema/core.schema.rej
Stopping Likewise Event Log Service ..done
Stopping Likewise DCE/RPC Portmapper Service ..done
Stopping syslog-collector service..done
Stopping syslog-collector SSL service..done
Starting syslog-collector service..done
Starting syslog-collector SSL service..done
Customize grub menu.lst
/etc/init.d/vami-sfcb: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
/etc/init.d/vami-sfcb: OK
Already disabled LD_PRELOAD in /etc/init.d/vami-sfcb
ERROR: Failed to update DB version
[ISQL]ERROR: Could not SQLConnect
22/11/2012 12:50:22 23974 executeFile:UA_CLI.cpp:92 (updatecli) [ERROR] Failed with exit code 256
22/11/2012 12:50:22 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Running VMware tools reconfiguration
22/11/2012 12:50:22 23974 executeFile:UA_CLI.cpp:86 (updatecli) [INFO] Running /opt/vmware/share/vami/vami_reconfigure_tools
Configuring VAMI VMware tools service wrapper.
vmware-toolbox-cmd is /usr/bin/vmware-toolbox-cmd
22/11/2012 12:50:22 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Done VMware tools reconfiguration
22/11/2012 12:50:22 23974 updateStatus:UA_CLI.cpp:45 (updatecli) [INFO] Update status: Error while running post-install scripts
22/11/2012 12:50:22 23974 main:UA_CLI.cpp:223 (updatecli) [ERROR] Failure: updatecli exiting abnormally
22/11/2012 12:50:22 23974 main:UA_CLI.cpp:225 (updatecli) [INFO] Install Finished
Version - 5.0.0.3324 Build 472350
Description - VMware vCenter Server Appliance
Update to version 5.0.0
So there is no way out from this?
Hmm can I download then latest vCSA 5.1 and use the same licence key?
Obviously I will have to build Virtual Center from scratch...
Shame on VMWare that update is to difficult....