Services

The main services in Openstack that we use are:

  1. Doni: enrolling workers

  2. Blazar: reservations and enrolling network segments (SDRs, Adv routers, EP5G)

  3. Zun: container orchestration service using k8s

  4. Neutron: networking service

  5. Horizon: the web interface

Check if the service's container is healthy

  • Blazar:

    (venv) expeca@controller-01:/opt/chi-in-a-box$ docker ps | grep "blazar"
    722d4ff498b5   samiemostafavi/ubuntu-source-blazar-manager:xena  ... 4 months ago   Up 3 days (healthy)   blazar_manager
    9b72ebaab4a6   samiemostafavi/ubuntu-source-blazar-api:xena      ... 4 months ago   Up 3 days (healthy)   blazar_api
  • Zun:

    (venv) expeca@controller-01:/opt/chi-in-a-box$ docker ps | grep "zun"
    e8f723aee767   samiemostafavi/ubuntu-source-zun-compute-k8s:xena  ... 2 days ago     Up 2 days (healthy)  zun_compute_k8s
    d18d7348b92d   samiemostafavi/ubuntu-source-zun-wsproxy:xena      ... 2 days ago     Up 2 days (healthy)  zun_wsproxy
    54f7dbf64c50   samiemostafavi/ubuntu-source-zun-api:xena          ... 2 days ago     Up 2 days (healthy)  zun_api

Check the service's internal logs (last 100 lines)

  • Blazar:

    docker exec -it blazar_manager tail -100 /var/log/kolla/blazar/blazar-manager.log
  • Zun k8s:

    docker exec -it zun_compute_k8s tail -100 /var/log/kolla/zun/zun-compute.log

If it is restarting, you can check the container logs

```
docker logs blazar_manager
docker logs zun_compute_k8s
```

Check the config files

  • Blazar:

    docker exec -it blazar_manager cat /etc/blazar/blazar.conf
  • Zun k8s:

    docker exec -it zun_compute_k8s cat /etc/zun/zun.conf

Restart a service

```
docker restart blazar_manager
docker restart zun_compute_k8s
```

Re-deploy a service, after some configurations were changed

```
./cc-ansible --site ../site-config/ deploy --tags blazar
./cc-ansible --site ../site-config/ deploy --tags zun
./cc-ansible --site ../site-config/ deploy --tags doni
```

Last updated