-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Milestone
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
Core, Agent
CLOUDSTACK VERSION
4.17.0.0
CONFIGURATION
KVM
OS / ENVIRONMENT
Ubuntu 22.04
libvirt - 8.0.0
qemu - 6.2.0
openjdk 11.0.15 2022-04-19
SUMMARY
KVM agent fails to start immediately after install with the following:
> journalctl -u cloudstack-agent
Jun 10 15:33:02 kvm0 systemd[1]: Started CloudStack Agent.
Jun 10 15:33:03 kvm0 java[16056]: log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
Jun 10 15:33:03 kvm0 java[16056]: log4j:WARN Please initialize the log4j system properly.
Jun 10 15:33:03 kvm0 java[16056]: log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Jun 10 15:33:03 kvm0 java[16056]: Unable to start agent: Unable to find update_host_passwd.sh
Jun 10 15:33:03 kvm0 systemd[1]: cloudstack-agent.service: Main process exited, code=exited, status=66/NOINPUT
Jun 10 15:33:03 kvm0 systemd[1]: cloudstack-agent.service: Failed with result 'exit-code'.No logs are written.
The file itself is found on /usr/share/cloudstack-common/scripts/vm/hypervisor/update_host_passwd.sh
STEPS TO REPRODUCE
1. Install KVM agent binaries
2. Start `cloudstack-agent.service`
EXPECTED RESULTS
KVM agent starts on Ubuntu 22.04
ACTUAL RESULTS
KVM agent fails on Ubuntu 22.04
pierrelefevre, saffronjam and HtainL