You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/05/11 10:52:35 UTC

[GitHub] [cloudstack] jl0x61 opened a new issue #4072: System VMs stuck at Starting when adding a host

jl0x61 opened a new issue #4072:
URL: https://github.com/apache/cloudstack/issues/4072


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master 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.
   -->
   ~~~
   System VM Creation
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.13.1.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   I use basic network. The gateway and management server ip are both 11.11.11.21. 
   The management network ip range is between 11.11.11.53 and 11.11.11.59.
   The guest network ip range is between 11.11.11.60 to 11.11.11.200.
   The netmask is 255.255.255.0. 
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 18.04.3 LTS
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I installed CloudStack in a two node cluster.  The management server is running on 11.11.11.21 and the agent is running on 11.11.11.22.  The gateway is also 11.11.11.21. 
   
   The management server created two system VMs in agent. When I type `virsh list` on 11.11.11.22, the statuses of secondary storage VM and console proxy VM are both "running".  But on the management server UI, the two system VMs are stuck at "Starting" state.  ` There is no secondary storage VM for secondary storage host nfs://11.11.11.50/export/secondary` appear in management server logs every one minute.
   
   It seems that the management server cannot detect the liveliness of system VMs.
   
   I think the problem is that the system VMs cannot access the network 11.11.11.0/24. Because I cannot ping or ssh VMs' public/private/link local ip address listed on cloudstack management server UI. But when I type `virsh console [VMName]`, there is a prompt for username and password.
   
   The creating VM job log: https://paste.ubuntu.com/p/tkNHM9r8yf/
   The ifconfig output of agent host: https://paste.ubuntu.com/p/6BHmS995Fh/
   The ifconfig output of management server host: https://paste.ubuntu.com/p/BY5xtd62k4/
   Could anyone help me? Any help will be appreciated.
   
   ##### 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.
   -->
   installation steps is the same as [this link](https://rohityadav.cloud/blog/cloudstack-kvm/)
   <!-- 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? -->
   
   ~~~
   The two system VMs running correctly.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   The state of the two system VMs are stuck at "Starting".
   ~~~
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] jl0x61 commented on issue #4072: System VMs stuck at Starting when adding a host

Posted by GitBox <gi...@apache.org>.
jl0x61 commented on issue #4072:
URL: https://github.com/apache/cloudstack/issues/4072#issuecomment-626649889


   @weizhouapache I use the systemvm template downloaded from http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2. Is it correct? Does the system VM template for 4.13.1 exist?
   Besides, I see argument `-drive file=/usr/share/cloudstack-common/vms/systemvm.iso` in system VMs' qemu argument. Is `systemvm.iso` also a system VM template?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4072: System VMs stuck at Starting when adding a host

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4072:
URL: https://github.com/apache/cloudstack/issues/4072#issuecomment-626647461


   is the systemvm template correct ?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] jl0x61 closed issue #4072: System VMs stuck at Starting when adding a host

Posted by GitBox <gi...@apache.org>.
jl0x61 closed issue #4072:
URL: https://github.com/apache/cloudstack/issues/4072


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org