Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If there are issues around KVM hypervisor in CloudStack, better to have the following information when reports issues/bugs and or bringing the issue to the mailing lists:

  1. Which KVM host os OS is usingbeing used? Centos 6.2, 6,1, Ubuntu 10.04/12.04? 
  2. Which version of libvirt is using, "virsh --version"
  3. turn Turn the agent log level to debug:  sed
    Code Block
    
    $sed -i 's/INFO/DEBUG/g' /etc/cloud/agent/log4j-cloud.xml
    
  4. reproduce Reproduce the issue, attach paste the /var/log/cloud/agent/agent.log to bugs.cloudstack.orga pastebin
  5. If adding kvm host failed, take a look at: /var/log/cloud/setupAgent.log 
  6. Ensure that virtualization modules are present on your host OS. Following shows KVM modules
    Code Block
    
    $lsmod | grep kvm
    

Steps to debug the KVM agent  from eclipse:

...

              service cloud(stack)-agent restart

  • Verify that 8787 port is opened by java using  ‘netstat --napt’ command.

...