angeline shen created CLOUDSTACK-2753:
-----------------------------------------

             Summary: PVLAN - Ubuntu 13.04 KVM  openvswitch - Add host Fail
                 Key: CLOUDSTACK-2753
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2753
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: MS ubuntu 13.04 KVM ACS 4.2 PVLAN     build 417
host ubuntu 13.04 KVM ACS 4.2 PVLAN    build 22
            Reporter: angeline shen
            Assignee: Sheng Yang
            Priority: Blocker
             Fix For: 4.2.0


1. advance zone. Add host fail.
   On host,  kill libvirtd,    libvirtd  -d -l   .    Add host  still fail.


2.  Host:
root@ubuntu8161:/var/log/cloudstack/agent# ip route
default via 10.223.81.1 dev cloudbr0 
10.223.81.0/26 dev cloudbr0  proto kernel  scope link  src 10.223.81.61 
169.254.0.0/16 dev cloud0  proto kernel  scope link  src 169.254.0.1 
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.


root@ubuntu8161:/var/log/cloudstack/agent# ps aux | grep libvirtd
root     23938  0.1  0.2 325108  9976 ?        Sl   16:42   0:00 libvirtd -d -l
root     24012  0.0  0.0   9436   960 pts/2    S+   16:43   0:00 grep 
--color=auto libvirtd
root@ubuntu8161:/var/log/cloudstack/agent# kill -9 23938
root@ubuntu8161:/var/log/cloudstack/agent# libvirtd -d -l
root@ubuntu8161:/var/log/cloudstack/agent# ps aux | grep libvirtd
root     24016  1.6  0.2 325108  9956 ?        Sl   16:44   0:00 libvirtd -d -l
root     24076  0.0  0.0   9436   960 pts/2    S+   16:44   0:00 grep 
--color=auto libvirtd
root@ubuntu8161:/var/log/cloudstack/agent# ps aux | grep libvirtd
root     24016  0.5  0.2 325108  9956 ?        Sl   16:44   0:00 libvirtd -d -l
root     24079  0.0  0.0   9436   960 pts/2    S+   16:44   0:00 grep 
--color=auto libvirtd

3.   agent.log:

2013-05-29 16:41:15,951 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2013-05-29 16:41:16,137 ERROR [cloud.agent.AgentShell] (main:null) Unable to 
start agent: 
com.cloud.utils.exception.CloudRuntimeException: Failed to connect socket to 
'/var/run/libvirt/libvirt-sock': No such file or directory
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:717)
        at com.cloud.agent.Agent.<init>(Agent.java:163)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:506)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:461)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:442)
        at com.cloud.agent.AgentShell.start(AgentShell.java:539)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to