Github user rsafonseca commented on the pull request:
https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359437
Hi @wilderrodrigues
The refactoring of the Libvirt broke Libvirt functionality in runtime.
Whenever spinning up a new instance in master, deploying VMs with kvm fails
with no useful info in the logs.
Upon getting some debugging in, it seems that the injected
LibvirtUtilitiesHelper is returning null at runtime:
LibvirtComputingResource.java:
@Inject
private LibvirtUtilitiesHelper libvirtUtilitiesHelper;
LibvirtXXXXXXXXCommandWrapper.java
...
final LibvirtUtilitiesHelper libvirtUtilitiesHelper =
libvirtComputingResource.getLibvirtUtilitiesHelper();
...
conn = libvirtUtilitiesHelper.getConnectionByType(vm.getHvsType());
...
Throws NullPointerException on libvirtUtilitiesHelper
Can you have a look?
:)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---