Fixes #37566 - Add UEFI Secure Boot Firmware to Libvirt #2139
Annotations
3 errors
Run rake test:units:
test/unit/compute_resource_host_importer_test.rb#L83
Failure: test_0001_imports the VM with all parameters
Fog::Errors::Error: Error making a connection to libvirt URI http://29.example.com/:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resource.rb:182:in `find_vm_by_uuid'
app/models/compute_resources/foreman/model/libvirt.rb:46:in `find_vm_by_uuid'
test/unit/compute_resource_host_importer_test.rb:14:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:10:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:13:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:81:in `block (2 levels) in <class:ComputeResourceHostImporterTest>'
|
Run rake test:units:
test/models/compute_resources/libvirt_test.rb#L285
Failure: test_0001_returns secure boot settings when firmware is 'uefi_secure_boot'
--- expected
+++ actual
@@ -1 +1 @@
-{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader_attributes=>{"secure"=>"yes"}}
+{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader_attributes=>{"secure"=>"yes"}, :secure_boot=>true}
|
Run rake test:units
Process completed with exit code 1.
|
Loading