Skip to content

Instantly share code, notes, and snippets.

@hkumarmk
Created June 15, 2016 13:32
Show Gist options
  • Select an option

  • Save hkumarmk/1c7af1e5591d2c84ab5a33f746e238e2 to your computer and use it in GitHub Desktop.

Select an option

Save hkumarmk/1c7af1e5591d2c84ab5a33f746e238e2 to your computer and use it in GitHub Desktop.
## Current state
Currently we have containerized contrail-config. We have not added any provisioning/orchestration system till yet, I just take standard provisioned system, stopped all config services and started config container on that node. Currently I have added this on a single node setup, but adding to multi node setup is not going to be difficult.
I have a setup on the node 10.204.217.162 – you may login to it and get a feel of it.
```
# Stopped supervisor-config on the host
root@contrail:~# service supervisor-config status
supervisor-config stop/waiting
# Docker container of config is started on the host
root@contrail:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e693097c5e10 contrail-config-liberty:3.0.2.0-35 "/bin/sh -c /entrypoi" 25 hours ago Up 25 hours pedantic_bartik
# Config Services are running inside the container
root@contrail:~# docker exec -it e693097c5e10 bash
root@contrail:/# ps -efw
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Jun14 ? 00:00:00 /bin/sh -c /entrypoint.sh
root 6 1 0 Jun14 ? 00:00:00 bash /entrypoint.sh
root 8 6 0 Jun14 ? 00:00:38 /usr/bin/python /usr/bin/supervisord -n -c /etc/contrail/supervisord_config.conf
root 9 6 0 Jun14 ? 00:00:00 tee -a /var/log/supervisor_config
contrail 12 8 0 Jun14 ? 00:00:00 /bin/sh /usr/bin/ifmap-server
contrail 14 12 3 Jun14 ? 00:49:29 java -cp ./lib/ -jar ./irond.jar
contrail 15 8 0 Jun14 ? 00:07:56 /usr/bin/python /usr/bin/contrail-api --conf_file /etc/contrail/contrail-api.conf --conf_file /etc/contrail/contrail-keystone-auth.conf --worker_id 0
contrail 17 8 0 Jun14 ? 00:05:14 /usr/bin/python /usr/bin/contrail-device-manager --conf_file /etc/contrail/contrail-device-manager.conf --conf_file /etc/contrail/contrail-keystone-auth.
contrail 18 8 0 Jun14 ? 00:05:01 /usr/bin/python /usr/bin/contrail-schema --conf_file /etc/contrail/contrail-schema.conf --conf_file /etc/contrail/contrail-keystone-auth.conf
contrail 19 8 0 Jun14 ? 00:07:16 /usr/bin/python /usr/bin/contrail-svc-monitor --conf_file /etc/contrail/contrail-svc-monitor.conf --conf_file /etc/contrail/contrail-keystone-auth.conf
root 156 0 0 08:42 ? 00:00:00 bash
root 170 156 0 08:43 ? 00:00:00 ps -efw
root@contrail:/#
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment