I’ve been struggling with this issue for days and I can’t figure out what I am doing wrong.
I used the code generator tool Morpheus Developer Zone to build the plugin template. I made a few changes for a cloud provider and uploaded my plugin to a community edition running in my lab. The plugin runs find, I can connect with a cloud, add instances, etc.
Now when I delete the plugin and then reinstall it, I can’t create an instance. My provision provider disappear from the list after delete/reinstall. In some instances it comes back if I change the provision provider CODE but it’s not consistent.
Understand if not possible, but can you share your plugin code or even a built JAR. Maybe forum users can replicate the issue and possiblly help diagnose the cause.
Discussing internally, it may be worth checking /var/opt/morpheus/morpheus-ui/plugins/ and seeing if any old plugin code persists. If so, remove, and then re-upload via the UI.
Additionally, you don’t necessarily have to delete a plugin to re-add. You can upload/install over the top. Even if the versions are not bumped.
Lastly, we have just released v7.0.4. There may be a potential fix to caching that could be the impacting factor here.