-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error while creating pods using the network created by Contiv #1166
Comments
Also unable to create pods using below the network configuration.
ERROR: |
Maybe you can have a look about the netplugin pod in the node is runing? |
That is up and running in the nodes.
On Wed, 3 Apr 2019 at 12:01 PM, Jackson ***@***.***> wrote:
Also unable to create pods using below the network configuration.
{ "Config": { "key": "default:contiv-net", "encap": "vxlan", "gateway":
"172.1.16.1", "networkName": "contiv-net", "nwType": "data", "subnet": "
172.1.16.0/24", "tenantName": "default", "link-sets": {}, "links": {
"Tenant": { "type": "tenant", "key": "default" } } }, "Oper": {
"allocatedAddressesCount": 1, "allocatedIPAddresses":
"172.1.16.1-172.1.16.2", "availableIPAddresses": "172.1.16.3-172.1.16.254",
"endpoints": [ { "containerName": "contiv-blue-c1", "endpointID":
"e06abf64b57e419acd628301f175a294c133ca6b9d9894302bebd9c4f6bbf9b8",
"homingHost": "k8s-minion-2", "ipAddress": [ "172.1.16.2", "" ], "labels":
"map[]", "macAddress": "02:02:ac:01:10:02", "network": "contiv-net.default"
} ], "externalPktTag": 2, "networkTag": "contiv-net.default",
"numEndpoints": 1, "pktTag": 2 } }
*ERROR*:
Warning FailedCreatePodSandBox 2s kubelet, k8s-minion-2.ucsbang6.com
Failed create pod sandbox: rpc error: code = Unknown desc = failed to set
up sandbox container
"1ca44cf517e87cd12bef465c9d03c42e1bbad10e466b1a750e0ae0104ac9f3bc" network
for pod "contiv-blue-c4": NetworkPlugin cni failed to set up pod
"contiv-blue-c4_default" network: Contiv:Post
http://localhost/ContivCNI.AddPod: dial unix /run/contiv/contiv-cni.sock:
connect: connection refused
Maybe you can have a look about the netplugin pod in the node is runing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1166 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkxOxs5tnJp1jdU62M5C3Sx_3wQbaL2Mks5vdErFgaJpZM4cXwnb>
.
--
Regards,
*Arnab Kumar Nandy,*
Contact : +91 8150033200
|
Hello,
I am creating a alpine pod after creating the network using below the command.
COMMAND:
netctl net create --subnet=172.1.16.0/24 --gateway=172.1.16.1 contiv-net
ERROR (kubectl describe pods ):
Warning FailedCreatePodSandBox 3s (x4 over 6s) kubelet, k8s-minion-2.ucsbang6.com (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "04b8c9eb8da462148289b7aec1b05003b312119c872b7b50c73ca773107c1200" network for pod "contiv-blue-c1": NetworkPlugin cni failed to set up pod "contiv-blue-c1_default" network: Contiv:Error creating EP; Err: Flow {"Priority":100,"InputPort":0,"MacDa":null,"MacDaMask":null,"MacSa":null,"MacSaMask":null,"Ethertype":2048,"VlanId":0,"ArpOper":0,"IpSa":null,"IpSaMask":null,"IpDa":"132.1.1.5","IpDaMask":null,"Ipv6Sa":null,"Ipv6SaMask":null,"Ipv6Da":null,"Ipv6DaMask":null,"IpProto":0,"IpDscp":0,"TcpSrcPort":0,"TcpDstPort":0,"UdpSrcPort":0,"UdpDstPort":0,"Metadata":4294967296,"MetadataMask":1095216660480,"TunnelId":0,"TcpFlags":null,"TcpFlagsMask":null} already exists
Please help !
Thanks in Advance !
Arnab
The text was updated successfully, but these errors were encountered: