[
https://issues.apache.org/jira/browse/CLOUDSTACK-7410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554932#comment-14554932
]
Aleksandr commented on CLOUDSTACK-7410:
---------------------------------------
Same problem in ACS 4.5.1. Not defined for VPC DR with OVS net offering.
For just ovs net offering ( without VPC ) :
{noformat}
2015-05-21 22:30:38,035 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null)
Seq 7-6962283548938076196: Processing: { Ans: , MgmtId: 95497700609, via: 7,
Ver: v1, Flags: 110,
[{"com.cloud.agent.api.OvsCreateTunnelAnswer":{"from":7,"to":4,"networkId":206,"fromIp":"192.168.100.2","toIp":"192.168.100.1","key":2007,"bridge":"OVSTunnel2007","result":true,"details":"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
\"OVSTunnel2007\" column other_config","wait":0}}] }
2015-05-21 22:30:38,036 INFO [c.c.n.o.OvsTunnelManagerImpl]
(Work-Job-Executor-22:ctx-c52f7373 job-97/job-98 ctx-4554daa7) Create GRE
tunnel from 7 to 4 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
"OVSTunnel2007" column other_config(hostIP:192.168.100.2,
remoteIP:192.168.100.1, bridge:OVSTunnel2007,greKey:2007, portName:null)
2015-05-21 22:30:38,216 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null)
Seq 4-3804697260197937231: Processing: { Ans: , MgmtId: 95497700609, via: 4,
Ver: v1, Flags: 110,
[{"com.cloud.agent.api.OvsCreateTunnelAnswer":{"from":4,"to":7,"networkId":206,"fromIp":"192.168.100.1","toIp":"192.168.100.2","key":2007,"bridge":"OVSTunnel2007","result":true,"details":"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
\"OVSTunnel2007\" column other_config","wait":0}}] }
2015-05-21 22:30:38,218 INFO [c.c.n.o.OvsTunnelManagerImpl]
(Work-Job-Executor-22:ctx-c52f7373 job-97/job-98 ctx-4554daa7) Create GRE
tunnel from 4 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
"OVSTunnel2007" column other_config(hostIP:192.168.100.1,
remoteIP:192.168.100.2, bridge:OVSTunnel2007,greKey:2007, portName:null)
{noformat}
> 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
> Fix For: Future, 4.6.0, 4.5.2
>
> 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)