Search code examples
ibm-cloudcloud-foundryibm-cloud-plugin

Unable to install most Bluemix CF plugins


Attempting to install plugins from the Bluemix Plugin Repository using the latest cf client:

cf version 6.14.0+2654a47-2015-11-18

on both Mac OSX and Centos 7, I get the following error when attempting an install from the repo (the following are from the Centos machine):

[michael@oracle ~]$ cf install-plugin -r bluemix vpn

Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.

Do you want to install the plugin vpn? (y or n)> y
Looking up 'vpn' from repository 'bluemix'
9741777 bytes downloaded...
FAILED
Downloaded plugin binary's checksum does not match repo metadata

Downloading the binary plugin and attempting a local install, gives me:

cf install-plugin bluemix-admin-linux_x64

Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.

Do you want to install the plugin bluemix-admin-linux_x64? (y or n)> y

Installing plugin ./bluemix-admin-linux_x64...
FAILED
exit status 127

Further examination yields:

ldd bluemix-admin-linux_x64
./bluemix-admin-linux_x64: error while loading shared libraries: ./bluemix-admin-linux_x64: unsupported version 6773 of Verneed record

While this example is for the vpn plugin, all plugins besides IBM-Containers yield the same results on a remote install attempt (the checksum error) and some variation in examining the binary itself, for instance with active_deploy:

ldd active-deploy-linux-amd64-0.1.67
    linux-vdso.so.1 =>  (0x00007ffc649d4000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00000036a0a00000)
    libc.so.6 => /lib64/libc.so.6 (0x000000369fe00000)
    /lib64/ld-linux-x86-64.so.2 (0x000000369fa00000)

I've not seen this with other community Cloud Foundry plugins so this phenomenon seems unique to how these plugins are being generated by IBM. Any suggestions or thoughts on how I could resolve this myself (a source repo that I could compile these myself, while unfortunate, would suffice at this point).

Tks,


Solution

  • Use this container, it has cf and container plugin installed already: https://hub.docker.com/r/reachlin/bluemix/