cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7410) OVS distributed routing + KVM / NameError: name 'configure_ovs_bridge_for_routing_policies' is not defined
Date Fri, 15 May 2015 17:29:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545830#comment-14545830
] 

Aleksandr commented on CLOUDSTACK-7410:
---------------------------------------

Did you try to run usual OVS network offering on KVM (without VPC) ? On several hosts with
a test.
I think that usual OVS offering is not working too : 
[c.c.n.o.OvsTunnelManagerImpl] (Work-Job-Executor-7:ctx-37c991b3 job-579/job-580 ctx-a56584dc)
Create GRE tunnel from 1 to 7 succeeded.Traceback (most recent call last):  File "/usr/share/cloudstack-common/scripts/vm/network/vnet/ovstunnel.py",
line 294, in <module>    create_tunnel(option.bridge, option.remote_ip, option.key,
option.src_host, option.dst_host)  File "/usr/share/cloudstack-common/scripts/vm/network/vnet/ovstunnel.py",
line 221, in create_tunnel    "other_config:is-ovs_vpc_distributed_vr_network"])  File "/usr/share/cloudstack-common/scripts/vm/network/vnet/cloudstack_pluginlib.py",
line 105, in do_cmd    raise PluginError(err)cloudstack_pluginlib.PluginError: ovs-vsctl:
no key "is-ovs_vpc_distributed_vr_network" in Bridge record "OVSTunnel2172" column other_config(hostIP:192.168.100.1,
remoteIP:192.168.100.2, bridge:OVSTunnel2172,greKey:2172, portName:null)

If you are trying to run VR and Instance on different hosts the VR instance will just timeout
at "starting" stage.

> OVS distributed routing + KVM / NameError: name 'configure_ovs_bridge_for_routing_policies'
is not defined
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7410
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7410
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.4.0
>         Environment: Environment:
>  CloudStack 4.4.0
>  KVM(CentOS6.4)
>  Open vSwitch 1.11.0
>  VPC Offering
>    :
>   Connectivity:Ovs
>   DistributedRouter:On
>  Network Offering
>    :
>   Virtual Networking:Ovs
>            Reporter: satoru nakaya
>         Attachments: computenode_agent.zip, computenode_messages.zip, management-server.zip
>
>
> Error is output following when you deploy VM instances in VPC.
> 2014-08-03 14:52:25,608 DEBUG [c.c.a.t.Request] (AgentManager-Handler-5:null) Seq 8-7588002422165864587:
Processing: { Ans: , MgmtId: 52236007434, via: 8, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"Traceback
(most recent call last): File \"/usr/share/cloudstack-common/scripts/vm/network/vnet/ovstunnel.py\",
line 302, in configure_ovs_bridge_for_routing_policies(bridge, config)NameError: name 'configure_ovs_bridge_for_routing_policies'
is not defined","wait":0}}] }
> 2014-08-03 14:52:25,608 DEBUG [c.c.a.t.Request] (Work-Job-Executor-57:ctx-f0d66eef job-299/job-300
ctx-3845c1db) Seq 8-7588002422165864587: Received: { Ans: , MgmtId: 52236007434, via: 8, Ver:
v1, Flags: 10, { Answer } }
> 2014-08-03 14:52:25,608 DEBUG [c.c.n.o.OvsTunnelManagerImpl] (Work-Job-Executor-57:ctx-f0d66eef
job-299/job-300 ctx-3845c1db) Failed to update the host 8 with latest routing policies.
> 2014-08-03 14:52:25,609 DEBUG [c.c.n.o.OvsTunnelManagerImpl] (Work-Job-Executor-57:ctx-f0d66eef
job-299/job-300 ctx-3845c1db) Failed to send VPC routing policy change update to host : 8.
But moving on with sending the updates to the rest of the hosts.
> :
> 2014-08-03 14:52:25,622 ERROR [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-57:ctx-f0d66eef
job-299/job-300 ctx-3845c1db) Failed to start instance VM[User|i-2-40-VM]
> com.cloud.utils.exception.CloudRuntimeException: Failed to add VPC router VM[DomainRouter|r-38-VM]
to guest network Ntwk[95583273-9dc0-4569-be29-706b28543932|Guest|15]
> at com.cloud.network.element.VpcVirtualRouterElement.implement(VpcVirtualRouterElement.java:188)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message