VMware Cloud Community
ehaselwanter
Contributor
Contributor

vcenter 6.5 to 6.7 web-ui upgrade fails with vami-lighttp.service from install of applmgmt-6.7.0-14070457.x86_64 conflicts

trying to perform an upgrade. found that I can add a custom repo url. using https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/6.7.0.3000...

this is shown on the update tab:

pastedImage_0.png

but it fails with

2019-07-25T07:04:32.206 [14578]DEBUG:vmware.vherd.base.software_update:Run command: ['/bin/rpm', '-Uhv', '--test', u'/storage/core/software-packages/*.rpm']

2019-07-25T07:04:32.206 [14578]DEBUG:vmware.vherd.base.software_update:You can find the output of the command in temp files out /var/log/vmware/applmgmt/update-outuMAAQM, err /var/log/vmware/applmgmt/update-err9aNsAx

2019-07-25T07:04:33.206 [14578]DEBUG:vmware.vherd.base.software_update:STDOUT: Preparing...                          ########################################

2019-07-25T07:04:33.206 [14578]DEBUG:vmware.vherd.base.software_update:STDERR:  file /usr/lib/systemd/system/vami-lighttp.service from install of applmgmt-6.7.0-14070457.x86_64 conflicts with file from package vmware-studio-vami-lighttpd-3.0.0.5-9878226.x86_64

2019-07-25T07:04:33.206 [14578]DEBUG:vmware.vherd.base.software_update:Test transaction failed to update package

out=Preparing...                          ########################################

error=  file /usr/lib/systemd/system/vami-lighttp.service from install of applmgmt-6.7.0-14070457.x86_64 conflicts with file from package vmware-studio-vami-lighttpd-3.0.0.5-9878226.x86_64

rc=254

2019-07-25T07:04:33.206 [14578]CRITICAL:root:Installation process failed

2019-07-25T07:04:33.206 [14578]DEBUG:root:Test transaction failed to update packages

Exception:

Traceback (most recent call last):

  File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 471, in install

    answers=answer)

  File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1940, in installPackagesEP

    _runTestTransaction(pkgType, percent=50)

  File "/usr/lib/applmgmt/base/py/vmware/vherd/base/task_manager.py", line 160, in trackedfunc

0 Kudos
2 Replies
vwaghule
VMware Employee
VMware Employee

We will not be able to perform the vcenter upgrade using VAMI page (vcenterfqn_orip:5480)

We can performed patching and updates on the same version.

For vCenter 6.5 to 6.7 it would be Upgrade process itself, below documents would be helpful for you for this upgrade.

https://blogs.vmware.com/vsphere/2018/05/upgrading-vcenter-server-appliance-6-5-6-7.html

https://miketabor.com/upgrade-vcsa-6-5-to-vcsa-6-7-update-1/

aaronrombaut_vm
VMware Employee
VMware Employee

Just to assist anyone who stumbles across this post, the fix as written in the posted article by David Stamen is,

"The upgrade process works exactly like a migration scenario, it is a two step process. Step 1 a brand new appliance is deployed with a temporary IP, and then step 2 occurs in which we export the data from the old appliance, and then import the data into the new appliance."

"In previous versions of the appliance, we would either use the Virtual Appliance Management Interface (VAMI) and download the latest update or mount the ISO to the VM and install. This method is correct for patching, but not for upgrades between major versions."

The answer is in the articles posted, but if you are like me, you want the answer now so you can move on with your day.

0 Kudos