FAILED Plug-in 'dev' is already in use in IBM Cloud CLI - ibm-cloud

Im trying install plugins for my ibmcloud repository on Ubuntu. When I run the code: ibmcloud plugin install dev I get the following
Installing binary... FAILED Plug-in 'dev' is already in use in IBM Cloud CLI.
How can I solve this?

The dev plug-in has been bundled inside of the IBM Cloud CLI since version 1.0.0 released in the spring of 2020:
https://www.ibm.com/cloud/blog/announcements/whats-new-in-ibm-cloud-cli-version-1-0-0
It sounds as though you are on this release of the CLI or higher and that is why the dev plug-in can't be installed, because it is actually already there. If you type ibmcloud dev you should get the command list for the plug-in.
At this time, the dev plug-in is still available from the CLI plug-in repo to support users who have not yet moved up to IBM Cloud CLI 1.0.0.

You can check the installed IBM Cloud CLI plugins with
ibmcloud plugin list
To see all the available plugins with installed and not installed status,
ibmcloud plugin repo-plugins
To update all the plugins,
ibmcloud plugin update

Related

Failure to install Google Cloud Tools on Eclipse

I am trying to install Google Cloud Tools on Eclipse after I purchased a new computer and it's just not working. Always getting this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Cloud Platform for Eclipse 1.8.5.202108061424 (com.google.cloud.tools.eclipse.suite.feature.feature.group 1.8.5.202108061424)
Missing requirement: Cloud Tools For Eclipse App Engine Deployment Support 0.1.0.202108052157 (com.google.cloud.tools.eclipse.appengine.deploy 0.1.0.202108052157) requires 'package org.osgi.framework 1.8.0' but it could not be found
Cannot satisfy dependency:
From: Google Cloud Platform for Eclipse 1.8.5.202108061424 (com.google.cloud.tools.eclipse.suite.feature.feature.group 1.8.5.202108061424)
To: com.google.cloud.tools.eclipse.appengine.deploy [0.1.0.202108052157]
Environment:
Windows 10
Tried Eclipse Juno, Kepler & Eclipse IDE for Enterprise Java and Web Developers - 2021-12
I have Google Cloud SDK installed on the machine
Java Version 1.8.0_321
I had the same problem with Eclipse 2022-06. Since https://marketplace.eclipse.org/content/google-cloud-tools-eclipse states that Eclipse 2021-09 (4.21) is supported, I installed that one, and it worked...

IBM integration Bus v10 with latest EGit

When you try to install latest EGit with IBM Integration Toolkit with "Help -> Marketplace -> Search EGit", the following error is thrown:
Cannot complete the install because one or more required items could not be found.
Software being installed: Git integration for Eclipse 5.8.1.202007141445-r (org.eclipse.egit.feature.group 5.8.1.202007141445-r)
Missing requirement: Git integration for Eclipse 5.8.1.202007141445-r (org.eclipse.egit.feature.group 5.8.1.202007141445-r) requires 'org.eclipse.core.runtime [3.12.0,4.0.0)' but it could not be found
Any possible remedy, other than downloading an older version?
The IBM Integration Toolkit is based on Eclipse 4.4 (Luna), see "Help -> About IBM Integration Toolkit".
The table What version of Eclipse does EGit target documents that for Luna the latest supported EGit version is 5.0.3. The table Where can I find older releases of EGit tells you to use the https://download.eclipse.org/egit/updates-5.0.3 p2 repository URL.
Found a hack to achieve this from within IBM integration toolkit.
If we instead install "Eclipse Web Developer Tools" it works.
During install, it asks you if you want to deploy EGit and usually important tools. Check all boxes and install them. This worked for IBM Integration toolkit 10.0.0.15.
I have installed it on WMB and IIB toolkits, I used the versions mentioned
http://download.eclipse.org/egit/updates-2.1
Steps or what to select available in this link
https://ibmintegration.wordpress.com/2020/09/12/installing-e-git-on-iib-wmb/

Azure toolkit for eclipse throws error Missing requirement: Azure Common Plugin Library 2.9.5.201701250103

I have just installed the latest Eclipse IDE (same behavior with Indigo and Helios) and was installing Azure tools for Eclipse via http://dl.microsoft.com/eclipse. I am basically following the following article. https://learn.microsoft.com/en-us/azure/azure-toolkit-for-eclipse-installation for this.
but the installation always fails with below error.
Cannot complete the install because one or more required items could not be found.
Software being installed: Azure HDInsight plugin for Java 1.0.0.201701250103 (com.microsoft.hdinsights.feature.feature.group 1.0.0.201701250103)
Missing requirement: Azure Common Plugin Library 2.9.5.201701250103 (com.microsoftopentechnologies.wacommon 2.9.5.201701250103) requires 'bundle org.eclipse.jdt.ui 3.10.0' but it could not be found
Cannot satisfy dependency:
From: HDInsights 1.0.0.201701250103 (com.microsoft.hdinsights 1.0.0.201701250103)
To: bundle com.microsoftopentechnologies.wacommon 2.9.5
Cannot satisfy dependency:
From: Azure HDInsight plugin for Java 1.0.0.201701250103 (com.microsoft.hdinsights.feature.feature.group 1.0.0.201701250103)
To: com.microsoft.hdinsights [1.0.0.201701250103]
If I uncheck HDInsight from the installation, the error moves on to next items
like Azure WebApp Plugin for Java, Azure Explorer for Plugin etc.. and basically I cant install anything.
Appreciate any inputs to get this working.
not able to reproduce this issue. Pls make sure to try on a clean Eclipse install, and a recent version, like Mars or Neon.
According to your question there is a missing plugin, check for that plugin in Eclipse market place. For me it gave error Missing requirement: Azure Core Plugin Library 3.31.0.202205311349 (com.microsoft.azuretools.core 3.31.0.202205311349). missing Mylyn plugin for which i downloaded Mylyn plugin first for Market place and then retried downloading Azure plugin

What versions of Eclipse RTC Plugin does BlueMix DevOps support?

My team currently uses BlueMix Devops and would like to download the latest version of the Eclipse RTC plugin (ver 6) into my eclipse environment because it has a couple bug fixes that would really help me.
What RTC Plugin versions are supported against BlueMix DevOps?
What version of RTC is installed on BlueMix DevOps?
When can we expect version 6 of Eclipse RTC to be supported by the BlueMix DevOps?
Thank you!
Currently it is based on RTC 5.0.2 and it supports RTC Client 5.0.2
No idea about plans to upgrade.

How do you install Jenkins workflow multibranch plugin

I just set up a vanilla Jenkins (ver. 1.634) instance in EC2 and followed the tutorial for getting the workflow plugin installed. That all worked as expected.
Now I'd like to move on to trying out the multi-branch portion of this plugin. I noticed the tutorial says:
A new Workflow: Multibranch plugin (as of this writing still in beta) offers a better way of versioning your Workflow and managing your project. You need to create a distinct project type, Multibranch Workflow.
First Attempt
Which I took to mean that this plugin doesn't exist at http://updates.jenkins-ci.org/update-center.json but rather some other update center. So after some searching, I wound up on this Jenkins page and changed the update center to http://updates.jenkins-ci.org/experimental/update-center.json After looking at the new set of available plugins, the Workflow: Multibranch plugin was still absent.
Second Attempt
I then proceeded to try packaging the plugin myself by cloning jenkinsci/workflow-plugin repo and running mvn package from the multibranch directory which gave me the workflow-multibranch.hpi plugin that I had been trying to find via the update site. Next, I attempted to install the plugin manually Jenkins -> PluginManager -> Advanced (Tab) -> Upload Plugin.
Jenkins presented me with the following error:
java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to install workflow-multibranch plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:487)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
... 5 more
Caused by: java.io.IOException: Dependency workflow-job (1.11-beta-1), branch-api (0.2-beta-5), workflow-cps (1.11-beta-1) doesn't exist
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:533)
at hudson.PluginManager.dynamicLoad(PluginManager.java:477)
... 6 more
Now, before I end up making a mess of my plugins by manually installing all of these dependent plugins listed in the stacktrace, is there a more direct way to install the Workflow: Multibranch plugin?
Thanks.
You were correct to set the experimental update center, but
After looking at the new set of available plugins, the Workflow: Multibranch plugin was still absent.
probably just means that you needed to click the Update Now button in the Advanced tab to actually fetch the new update center content.
I ended up installing the plugins one at a time until I found a rather odd dependency, Cloudbees. After looking through the list of Jenkins plugins for Cloudbees I found the plugin required to make Workflow: Multibranch appear in the list of available plugins.
CloudBees Free Enterprise Plugins
This plugin installs free enterprise plugins from CloudBees. The following plugins are automatically installed:
Folders: easily organize your jobs
Backup to Cloud: backup your Jenkins into CloudBees cloud
Wasted Minutes: find out if you are short of slaves and need to add capacity to speed up builds
CloudBees Status: find out how much of the free CloudBees Jenkins capacity in the cloud is available for your use
Note: You will be asked to register for a free CloudBees account to use these plugins
(This plugin was formerly known as the CloudBees Plugin Gateway plugin)
Once this plugin was installed and I restarted Jenkins then I was able to install Workflow: Multibranch. Additionally, all of the other Workflow: * plugins had updates available.
Hope this saves someone the hours I spent.