pcfriek1987 opened a new issue, #8819:
URL: https://github.com/apache/cloudstack/issues/8819
<!--
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.
-->
~~~
UI
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.19
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
N/A
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
N/A
##### SUMMARY
<!-- Explain the problem/feature briefly -->
When migrating a virtual machine from a remote KVM which has a large disk a
timeout occurs, on the remote host you can see the qemu convert option running
which I think takes too long and then SSH times out. On the GUI the following
is displayed:
"Failed to import volumes while importing vm: test vm. Error while copying
volume".
On the agent log of the cloudstack server it's trying to copy it too you can
see the following:
2024-03-21 14:05:28,673 ERROR [utils.ssh.SshHelper]
(agentRequest-Handler-5:null) (logid:55e6fedb) Timed out in waiting for SSH
execution exit status
2024-03-21 14:05:28,674 ERROR
[resource.wrapper.LibvirtCopyRemoteVolumeCommandWrapper]
(agentRequest-Handler-5:null) (logid:55e6fedb) Error while copying file from
remote host: com.cloud.utils.ssh.SshException: Timed out in waiting for SSH
execution exit status
In the journal log on the remote host you can see it connected on SSH:
Mar 21 14:03:28 sshd[2790590]: Accepted password for root from IP port 44740
ssh2
Mar 21 14:03:28 sshd[2790590]: pam_unix(sshd:session): session opened for
user root(uid=0) by (uid=0)
Mar 21 14:03:28 systemd-logind[897]: New session 601 of user root.
Mar 21 14:03:28 systemd[1]: Started session-601.scope - Session 601 of User
root.
Mar 21 14:03:28 sshd[2790590]: pam_env(sshd:session): deprecated reading of
user environment enabled
Mar 21 14:05:28 sshd[2790590]: Received disconnect from IP port 44740:11:
Closed due to user request.
Already tried to try and have a longer SSH session by setting
ClientAliveInterval 600
ClientAliveCountMax 6
in the SSHD file but that didn't change much, but maybe I need to change a
different setting?
##### 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.
-->
Have remote KVM host and try to import a large KVM vm (here it stopped at
47GB already) but might depend on the speed of the storage too.
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
~~~
--
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]