Hi,
I had the same issue but with an earlier Cloudstack Version on some
hosts, try to to do the following as described in this thread:
https://www.mail-archive.com/search?l=users@cloudstack.apache.org&q=subject:%22uefi%22&o=newest&f=1
There are two main files which would need to be created/edited:
/etc/cloudstack/agent/uefi.properties and /etc/libvirt/qemu.conf. After
that, perform a restart of cloudstack-agent. In the database, you should
see an entry in table host_details showing that this particular host has
uefi enabled.
Best,
Mevludin
Am 03.04.2024 um 10:28 schrieb Granwille Strauss:
Hi
I have two Almalinux 8 hosts, both identically configured and uses
same package versions. I just upgraded to 4.19.0.1, as well as upgrade
cloudstack-agent accordingly. My one host now fails to connect and
remains in "Disconnected" state. While the other connects successfully.
One the host that fails, the agent log shows this:
---
2024-04-03 10:18:51,616 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Agent started
2024-04-03 10:18:51,622 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Implementation Version is 4.19.0.1
2024-04-03 10:18:51,625 INFO [cloud.agent.AgentShell] (main:null)
(logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
2024-04-03 10:18:51,679 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Defaulting to using properties file for storage
2024-04-03 10:18:51,681 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Defaulting to the constant time backoff algorithm
2024-04-03 10:18:51,745 INFO [cloud.utils.LogUtils] (main:null)
(logid:) log4j configuration found at
/etc/cloudstack/agent/log4j-cloud.xml
2024-04-03 10:18:51,745 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Using default Java settings for IPv6 preference for agent
connection
2024-04-03 10:18:51,853 INFO [cloud.agent.Agent] (main:null) (logid:)
id is 36
2024-04-03 10:18:51,868 ERROR [kvm.resource.LibvirtComputingResource]
(main:null) (logid:) uefi properties file not found due to: Unable to
find file uefi.properties.
2024-04-03 10:18:51,949 INFO [kvm.resource.LibvirtConnection]
(main:null) (logid:) No existing libvirtd connection found. Opening a
new one
---
And the log just remains stuck there.
One the connected host it shows:
---
2024-04-03 10:19:37,769 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Agent started
2024-04-03 10:19:37,775 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Implementation Version is 4.19.0.1
2024-04-03 10:19:37,778 INFO [cloud.agent.AgentShell] (main:null)
(logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
2024-04-03 10:19:37,858 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Defaulting to using properties file for storage
2024-04-03 10:19:37,860 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Defaulting to the constant time backoff algorithm
2024-04-03 10:19:37,926 INFO [cloud.utils.LogUtils] (main:null)
(logid:) log4j configuration found at
/etc/cloudstack/agent/log4j-cloud.xml
2024-04-03 10:19:37,926 INFO [cloud.agent.AgentShell] (main:null)
(logid:) Using default Java settings for IPv6 preference for agent
connection
2024-04-03 10:19:38,038 INFO [cloud.agent.Agent] (main:null) (logid:)
id is 44
2024-04-03 10:19:38,055 ERROR [kvm.resource.LibvirtComputingResource]
(main:null) (logid:) uefi properties file not found due to: Unable to
find file uefi.properties.
2024-04-03 10:19:38,130 INFO [kvm.resource.LibvirtConnection]
(main:null) (logid:) No existing libvirtd connection found. Opening a
new one
2024-04-03 10:19:38,389 WARN [kvm.resource.LibvirtComputingResource]
(main:null) (logid:) Execution of process [1880112] for command
[/bin/bash -c ldd /usr/libexec/qemu-kvm | grep -Eqe
'[[:space:]]liburing\.so' ] failed.
2024-04-03 10:19:38,390 WARN [kvm.resource.LibvirtComputingResource]
(main:null) (logid:) Process [1880112] for command [/bin/bash -c ldd
/usr/libexec/qemu-kvm | grep -Eqe '[[:space:]]liburing\.so' ]
encountered the error: [].
2024-04-03 10:19:38,391 INFO [kvm.resource.LibvirtComputingResource]
(main:null) (logid:) IO uring driver for Qemu: disabled
2024-04-03 10:19:38,516 INFO [kvm.storage.KVMStoragePoolManager]
(main:null) (logid:) adding storage adaptor for
com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor
2024-04-03 10:19:38,520 INFO [kvm.storage.KVMStoragePoolManager]
(main:null) (logid:) adding storage adaptor for
com.cloud.hypervisor.kvm.storage.StorPoolStorageAdaptor
2024-04-03 10:19:38,521 WARN [kvm.storage.KVMStoragePoolManager]
(main:null) (logid:) Duplicate StorageAdaptor type PowerFlex, not
loading com.cloud.hypervisor.kvm.storage.ScaleIOStorageAdaptor
---
After this:
2024-04-03 10:18:51,949 INFO [kvm.resource.LibvirtConnection]
(main:null) (logid:) No existing libvirtd connection found. Opening a
new one
The disconnected host does not want to connect. While the other does.
Can someone please assist with this, please? Both host have the
following versions:
/usr/libexec/qemu-kvm --version
QEMU emulator version 6.2.0
(qemu-kvm-6.2.0-40.module_el8.9.0+3714+46544554.2)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd -v
2024-04-03 08:26:59.882+0000: 1939570: info : libvirt version: 8.0.0,
package: 22.module_el8.9.0+3714+46544554 (AlmaLinux Packaging Team
<packa...@almalinux.org>, 2024-01-15-11:34:31, )
--
Regards / Groete
<https://www.namhost.com> Granwille Strauss // Senior Systems Admin
*e:* granwi...@namhost.com
*m:* +264 81 323 1260 <tel:+264813231260>
*w:* www.namhost.com <https://www.namhost.com/>
<https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>
<https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>
Namhost Internet Services (Pty) Ltd,
24 Black Eagle Rd, Hermanus, 7210, RSA
The content of this message is confidential. If you have received it
by mistake, please inform us by email reply and then delete the
message. It is forbidden to copy, forward, or in any way reveal the
contents of this message to anyone without our explicit consent. The
integrity and security of this email cannot be guaranteed over the
Internet. Therefore, the sender will not be held liable for any damage
caused by the message. For our full privacy policy and disclaimers,
please go to https://www.namhost.com/privacy-policy
Powered by AdSigner
<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>
--
---
Mevludin Blazevic, M.Sc.
Research Assistant / Cloud Administrator
University of Koblenz
Center for Information and Media Technologies (CIMT)
Research Group Information Systems and Smart Data
Universitätsstr. 1 | 56070 Koblenz | Germany
P: +49 261 287 1326
M: mblaze...@uni-koblenz.de <mailto:%7B%7B%20email%20%7D%7D>
W: https://uni-ko.de/riehle
<https://www.uni-koblenz.de/Service/%7B%7B%20web%20%7D%7D>
<https://www.instagram.com/uni_koblenz/>
<https://www.facebook.com/universitaet.koblenz>
<https://twitter.com/unikoblenzde>
<https://www.youtube.com/@universitaetkoblenz>
<https://de.linkedin.com/company/universit%C3%A4t-koblenz>
<https://www.uni-koblenz.de>