tetra12 opened a new issue, #6450:
URL: https://github.com/apache/cloudstack/issues/6450

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Core, Agent
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.17.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   KVM
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 22.04
   libvirt - 8.0.0
   qemu - 6.2.0
   openjdk 11.0.15 2022-04-19
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   KVM agent fails to start immediately after install with the following:
   ```bash
   > 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
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Install KVM agent binaries
   2. Start `cloudstack-agent.service`
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   KVM agent starts on Ubuntu 22.04
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   KVM agent fails on Ubuntu 22.04
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to