Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kokhang/581f9daa3d4ea115da394fc3637bcb66 to your computer and use it in GitHub Desktop.
Save kokhang/581f9daa3d4ea115da394fc3637bcb66 to your computer and use it in GitHub Desktop.
$ kubectl describe pod -n kolla neutron-openvswitch-agent-network-hzvf7
Name: neutron-openvswitch-agent-network-hzvf7
Namespace: kolla
Node: castle10.rook.com/192.168.1.110
Start Time: Thu, 04 May 2017 13:46:47 -0700
Labels: component=neutron
pod-template-generation=1
system=openvswitch-agent-network
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"kolla","name":"neutron-openvswitch-agent-network","uid":"c9bcdcb6-310a-11e7-96be-0...
Status: Pending
IP: 192.168.1.110
Controllers: DaemonSet/neutron-openvswitch-agent-network
Init Containers:
dependencies:
Container ID: docker://56ad121ca07c40500cb94375d2f0af68187c5160d74ef4386970a15fd9862e2f
Image: docker.io/kolla/centos-source-kubernetes-entrypoint:4.0.0
Image ID: docker-pullable://kolla/centos-source-kubernetes-entrypoint@sha256:e01591cfdb5def77ebc0f243b4d3fe7c94c19acac7ed41a73bdbca82fbcdd312
Port:
State: Terminated
Reason: Completed
Exit Code: 0
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Thu, 04 May 2017 13:47:20 -0700
Ready: True
Restart Count: 0
Environment:
NAMESPACE: kolla
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-12j4q (ro)
update-config:
Container ID: docker://b3c6aeec492d5b615dc5dde80a8aef8519318c5ec8fe367745b1df2f97d4370e
Image: docker.io/kolla/centos-source-kolla-toolbox:3.0.2
Image ID: docker-pullable://kolla/centos-source-kolla-toolbox@sha256:fe10cce8325402a8c0a175ec88f11be13c8ff46430f6ef22a30c962c817adcbb
Port:
Command:
/bin/sh
-c
cp -a /srv/configmap/..data/* /srv/pod-main-config/; TUNNEL_INTERFACE=eno1; F=/var/lib/kolla-kubernetes/neutron-openvswitch-agent/tunnel_interface; [ -f $F ] && TUNNEL_INTERFACE=$(<$F); IP=$(ip addr list "$TUNNEL_INTERFACE" | grep 'inet ' |cut -d' ' -f6|cut -d/ -f1); crudini --set /srv/pod-main-config/ml2_conf.ini ovs local_ip $IP
State: Terminated
Reason: Completed
Exit Code: 0
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Thu, 04 May 2017 13:49:34 -0700
Ready: True
Restart Count: 0
Environment: <none>
Mounts:
/srv/configmap from neutron-openvswitch-agent-configmap (rw)
/srv/pod-main-config from pod-main-config (rw)
/var/lib/kolla-kubernetes from host-var-lib-kk (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-12j4q (ro)
deps-and-update-permissions:
Container ID: docker://4317b6f7f8787f6e3f1e6bd8925b4851f167b390492c520a5049dcbd92f6bc7e
Image: docker.io/kolla/centos-source-neutron-openvswitch-agent:4.0.0
Image ID: docker-pullable://kolla/centos-source-neutron-l3-agent@sha256:40050002814fe411c157b1287bec266c72facd46a8611b1fe2262a7d8e688072
Port:
Command:
/bin/sh
-c
chown --recursive neutron.kolla /var/log/kolla; echo Waiting for openvswitch kernel module to load; while true; do loaded=$(lsmod | grep openvswitch | wc -l); [ $loaded -ne 0 ] && break; sleep 1; done; echo Done.; timeout 5s ovs-dpctl show; echo Waiting for openvswitch daemon to be responsive; while true; do timeout 5s ovs-appctl version; [ $? -eq 0 ] && break; sleep 1; echo Trying again.; done; echo Done.;
State: Running
Started: Thu, 04 May 2017 13:51:03 -0700
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/log/kolla from kolla-logs (rw)
/var/run from host-run (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-12j4q (ro)
Containers:
main:
Container ID:
Image: docker.io/kolla/centos-source-neutron-openvswitch-agent:4.0.0
Image ID:
Port:
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Environment:
KOLLA_CONFIG_STRATEGY: COPY_ONCE
Mounts:
/dev from host-dev (rw)
/etc/localtime from host-etc-localtime (ro)
/etc/resolv.conf from resolv-conf (rw)
/lib/modules from host-lib-modules (ro)
/var/lib/kolla-kubernetes/neutron-openvswitch-agent from openvswitch-config (ro)
/var/lib/kolla/config_files from pod-main-config (ro)
/var/log/kolla/ from kolla-logs (rw)
/var/run from host-run (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-12j4q (ro)
Conditions:
Type Status
Initialized False
Ready False
PodScheduled True
Volumes:
host-etc-localtime:
Type: HostPath (bare host directory volume)
Path: /etc/localtime
kolla-logs:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
resolv-conf:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: resolv-conf
Optional: false
neutron-openvswitch-agent-configmap:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: neutron-openvswitch-agent
Optional: false
pod-main-config:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
openvswitch-config:
Type: HostPath (bare host directory volume)
Path: /var/lib/kolla-kubernetes/neutron-openvswitch-agent
host-run:
Type: HostPath (bare host directory volume)
Path: /var/run
host-dev:
Type: HostPath (bare host directory volume)
Path: /dev
host-lib-modules:
Type: HostPath (bare host directory volume)
Path: /lib/modules
host-var-lib-kk:
Type: HostPath (bare host directory volume)
Path: /var/lib/kolla-kubernetes
default-token-12j4q:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-12j4q
Optional: false
QoS Class: BestEffort
Node-Selectors: kolla_controller=true
Tolerations: <none>
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment