Koozali.org: home of the SME Server

9.2 VMtools / key error

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
9.2 VMtools / key error
« on: November 13, 2018, 10:28:56 PM »
As in my previous WordPress thread/post, I've recently installed an SME 9.2 instance in VMware ESXi 5.5 and have successfully restored from an 8.2 Workstation Backup.

However, when attempting to install the VM Tools as per https://wiki.contribs.org/VMware_Tools#SME_Server_9_Guest_on_ESXi_5.5, at the step to install the NON-PAE tools, the following error occurs after accepting the y prompt to install 23 packages:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 66fd4949: NOKEY
Retrieving key from http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub


GPG key retrieval failed: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Any ideas appreciated; with thanks.
« Last Edit: November 13, 2018, 10:41:44 PM by Knyte »
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: 9.2 VMtools / key error
« Reply #1 on: November 13, 2018, 11:45:25 PM »
For whatever reason the URL is wrong.

Just try clicking it to open in a browser and you'll get a 404

So take the key off and see if you can view the directory

https://packages.vmware.com/tools/keys/index.html

Yup.....

New URL:

https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: 9.2 VMtools / key error
« Reply #2 on: November 14, 2018, 12:08:06 AM »
Thanks; completely missed that.

but now:

Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 66fd4949: NOKEY
Retrieving key from https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub


The GPG keys listed for the "VMWare Tools" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

Is there some way I can delete the imported key and start over?
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: 9.2 VMtools / key error
« Reply #3 on: November 14, 2018, 12:13:43 AM »
Beyond me as I don't use it.

You need Terry on his white charger to the rescue. He'll probably pop in later. Be patient.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: 9.2 VMtools / key error
« Reply #4 on: November 14, 2018, 12:44:57 AM »
Beyond me as I don't use it.

You need Terry on his white charger to the rescue. He'll probably pop in later. Be patient.

Meh, I'm in no rush :)  Thanks for the idea, though!!
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: 9.2 VMtools / key error
« Reply #5 on: November 14, 2018, 01:02:42 AM »
Packages downloading...installing..jeez gives the VM a bit of a work over..and complete

Installed for me..I wasn't sure of the legacy keys so imported both

[root@sme92test ~]# rpm --import https://packages.vmware.com/tools/legacykeys/VMWARE-PACKAGING-GPG-DSA-KEY.pub

[root@sme92test ~]# rpm --import https://packages.vmware.com/tools/legacykeys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

[root@sme92test ~]# db yum_repositories set vmware-tools repository \
> Name 'VMWare Tools' \
> BaseURL 'http://packages.vmware.com/tools/esx/5.5latest/rhel6/$basearch' \
> EnableGroups no \
> GPGCheck yes \
> GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
> Visible no \
> status disabled


[root@sme92test ~]# signal-event yum-modify

[root@sme92test ~]# db yum_repositories show
vmware-tools=repository
    BaseURL=http://packages.vmware.com/tools/esx/5.5latest/rhel6/$basearch
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub
    Name=VMWare Tools
    Visible=no
    status=disabled

[root@sme92test ~]# uname -r
2.6.32-696.1.1.el6.x86_64

[root@sme92test ~]# yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ausnetservers.net.au
 * smeaddons: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: mirror.launtel.net.au
vmware-tools                                                                          |  951 B     00:00
vmware-tools/primary                                                                  |  16 kB     00:00
vmware-tools                                                                                           40/40
Resolving Dependencies
--> Running transaction check
---> Package vmware-tools-esx-kmods.x86_64 0:10.0.9-1.el6 will be installed
--> Processing Dependency: vmware-tools-foundation >= 10.0.9 for package: vmware-tools-esx-kmods-10.0.9-1.el6.x86_64
--> Processing Dependency: kmod-vmware-tools-vsock for package: vmware-tools-esx-kmods-10.0.9-1.el6.x86_64
--> Processing Dependency: kmod-vmware-tools-vmxnet for package: vmware-tools-esx-kmods-10.0.9-1.el6.x86_64
--> Processing Dependency: kmod-vmware-tools-vmci for package: vmware-tools-esx-kmods-10.0.9-1.el6.x86_64
---> Package vmware-tools-esx-nox.x86_64 0:10.0.9-1.el6 will be installed
--> Processing Dependency: vmware-tools-plugins-grabbitmqProxy >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-vix >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-vgauth >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-powerOps >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-libraries-nox >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-deployPkg >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-services >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-vmbackup >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-autoUpgrade >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-timeSync >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-guestlib >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-hgfsServer >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-plugins-guestInfo >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Processing Dependency: vmware-tools-core >= 10.0.9 for package: vmware-tools-esx-nox-10.0.9-1.el6.x86_64
--> Running transaction check
---> Package kmod-vmware-tools-vmci.x86_64 0:9.8.1.0-2.6.32.71.el6.x86_64.5.el6 will be installed
--> Processing Dependency: vmware-tools-vmci-common >= 10.0.9 for package: kmod-vmware-tools-vmci-9.8.1.0-2.6.32.71.el6.x86_64.5.el6.x86_64
---> Package kmod-vmware-tools-vmxnet.x86_64 0:2.1.0.0-2.6.32.71.el6.x86_64.5.el6 will be installed
--> Processing Dependency: vmware-tools-vmxnet-common >= 10.0.9 for package: kmod-vmware-tools-vmxnet-2.1.0.0-2.6.32.71.el6.x86_64.5.el6.x86_64
---> Package kmod-vmware-tools-vsock.x86_64 0:9.8.1.0-2.6.32.71.el6.x86_64.5.el6 will be installed
--> Processing Dependency: vmware-tools-vsock-common >= 10.0.9 for package: kmod-vmware-tools-vsock-9.8.1.0-2.6.32.71.el6.x86_64.5.el6.x86_64
---> Package vmware-tools-core.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-foundation.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-guestlib.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-libraries-nox.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-autoUpgrade.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-deployPkg.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-grabbitmqProxy.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-guestInfo.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-hgfsServer.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-powerOps.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-timeSync.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-vix.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-plugins-vmbackup.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-services.x86_64 0:10.0.9-1.el6 will be installed
---> Package vmware-tools-vgauth.x86_64 0:10.0.9-1.el6 will be installed
--> Running transaction check
---> Package vmware-tools-vmci-common.x86_64 0:10.0.9-5.el6 will be installed
---> Package vmware-tools-vmxnet-common.x86_64 0:10.0.9-5.el6 will be installed
---> Package vmware-tools-vsock-common.x86_64 0:10.0.9-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================
 Package                               Arch     Version                                 Repository      Size
=============================================================================================================
Installing:
 vmware-tools-esx-kmods                x86_64   10.0.9-1.el6                            vmware-tools   2.6 k
 vmware-tools-esx-nox                  x86_64   10.0.9-1.el6                            vmware-tools   3.1 k
Installing for dependencies:
 kmod-vmware-tools-vmci                x86_64   9.8.1.0-2.6.32.71.el6.x86_64.5.el6      vmware-tools   152 k
 kmod-vmware-tools-vmxnet              x86_64   2.1.0.0-2.6.32.71.el6.x86_64.5.el6      vmware-tools    44 k
 kmod-vmware-tools-vsock               x86_64   9.8.1.0-2.6.32.71.el6.x86_64.5.el6      vmware-tools    96 k
 vmware-tools-core                     x86_64   10.0.9-1.el6                            vmware-tools   4.0 M
 vmware-tools-foundation               x86_64   10.0.9-1.el6                            vmware-tools   128 k
 vmware-tools-guestlib                 x86_64   10.0.9-1.el6                            vmware-tools    62 k
 vmware-tools-libraries-nox            x86_64   10.0.9-1.el6                            vmware-tools   4.4 M
 vmware-tools-plugins-autoUpgrade      x86_64   10.0.9-1.el6                            vmware-tools   5.6 k
 vmware-tools-plugins-deployPkg        x86_64   10.0.9-1.el6                            vmware-tools    58 k
 vmware-tools-plugins-grabbitmqProxy   x86_64   10.0.9-1.el6                            vmware-tools   405 k
 vmware-tools-plugins-guestInfo        x86_64   10.0.9-1.el6                            vmware-tools    25 k
 vmware-tools-plugins-hgfsServer       x86_64   10.0.9-1.el6                            vmware-tools   5.7 k
 vmware-tools-plugins-powerOps         x86_64   10.0.9-1.el6                            vmware-tools   7.4 k
 vmware-tools-plugins-timeSync         x86_64   10.0.9-1.el6                            vmware-tools   9.9 k
 vmware-tools-plugins-vix              x86_64   10.0.9-1.el6                            vmware-tools    99 k
 vmware-tools-plugins-vmbackup         x86_64   10.0.9-1.el6                            vmware-tools    17 k
 vmware-tools-services                 x86_64   10.0.9-1.el6                            vmware-tools   367 k
 vmware-tools-vgauth                   x86_64   10.0.9-1.el6                            vmware-tools   432 k
 vmware-tools-vmci-common              x86_64   10.0.9-5.el6                            vmware-tools    32 k
 vmware-tools-vmxnet-common            x86_64   10.0.9-5.el6                            vmware-tools    50 k
 vmware-tools-vsock-common             x86_64   10.0.9-5.el6                            vmware-tools    32 k

Transaction Summary
=============================================================================================================
Install      23 Package(s)

Total download size: 10 M
Installed size: 29 M
Is this ok [y/N]: ^CExiting on user Command
Your transaction was saved, rerun it with:
« Last Edit: November 14, 2018, 01:09:32 AM by TerryF »
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: 9.2 VMtools / key error
« Reply #6 on: November 14, 2018, 01:12:28 AM »
Considering the version of VMWare, 5.5, can understand the archiving etc of stuff like this, I was a long time user but switched to proxmox a year or so ago
--
qui scribit bis legit

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: 9.2 VMtools / key error
« Reply #7 on: November 14, 2018, 04:27:15 AM »
Considering the version of VMWare, 5.5, can understand the archiving etc of stuff like this

...yeah, that's fair.  Still haven't decided if ESXi 6 is next or, yes, maybe Proxmox.  That's the thing, once it's all running - it just stays running.  It's not often we have to change hypervisors.

Thanks for the help.
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5