-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.346.2 installed via apt
Ubuntu 20.04.4 LTS
After the update from 2.346.1 to 2.346.2 (including all plugins at that time) the libvirt plugin stopped working for me.
Problems:
- The slave configuration is accessible but I cannot see/select any hypervisor
- There is a "Uncategorized/libvirt" section in the /manage menu
- The icons are not loaded (404 error)
- There are no hypervisors
- No option to edit or create hypervisors
- The "Cloud" section in "Manage Jenkins" mentioned by the documentation is gone
What I did:
- Tried to build a project using the plugin that last succeeded on 28. June with Jenkins 2.346.1
- Failed because the agent did not start
- Checked the slave config page and hypervisor was selectable but no snapshots
- Hypervisor was listed under "Uncategorized/libvirt" but I could not see any config
- Disabled the plugin and restarted Jenkins
- Enabled the plugin again and restarted Jenkins
- Hypervisor is gone
- I could not find any error messages in the Jenkins log
- Slave config page says "ERROR: Could not find our libvirt cloud instance!"
Additional information:
On 23. June I upgraded from 2.319.2 to 2.346.1 and on 28. June the last build was done.
I always update the Jenkins plugins along with the apt updates.
I managed to get the plugin working again.
The "Cloud" option is now located under "Manage Jenkins->Manage Nodes and Clouds->Configure Clouds(left side)" (or example.com/configureClouds/), so the documentation is definitely outdated.
The configured hypervisor vanished, I am not sure if this happened during the update or by disabling/enabling the plugin.
I created a new hypervisor and found that it seems to be impossible to use ssh/pubkey authentication with ssh or libssh2 using the Jenkins credential provider.
The last ssh/pubkey configuration was saved this way, so maybe this was the problem.
I had to configure a new ssh key using the "URI parameters" (system?keyfile=/var/lib/jenkins/.ssh/keyfile&no_verify=1&). Unfortunately, this is not an improvement.
The "Uncategorized/libvirt" (example.com/libvirt-slave/) page shows the hypervisor and I can also view its "Domains" status page, the last time I could not open the status page. The icons are still not loaded (404).