How to operate containerized OpenStack

Nalee Jang
Nalee JangSenior Consultant of Red Hat Korea à Red Hat Korea
How to operate
containerized openstack
2019.10.01
OpenStack Korea User Group NaleeJang
Index
Openstack services
Packages vs Containers
How to configure openstack containers
How to use openstack containers
Summary
2
Openstack services
3
What is OpenStack?
4
OpenStack Architecture
5
OpenStack Deployment Services
6
Deployment Framework TripleO
7
TRIPLEO
TripleO Components
8
OpenStack On OpenStack
OpenStack Services
9
Undercloud (Director) Controller Compute
Red Hat Enterprise Linux 7.x Red Hat Enterprise Linux 7.x Red Hat Enterprise Linux 7.x
Docker daemon
MariaDB
RabbitMQ
Redis
Nova
Neutron
Glance
Swift
Heat Mistral
Ironic Zaqar
Docker daemon
Docker Registry
MariaDB RabbitMQ
Redis Haproxy
Nova Neutron
Glance Barbican
Aodh Ceilometer
Gnocchi Panko
Cinder Manila
Octavia Heat
Pacemaker
Horizon Keystone
Keystone
Docker daemon
Nova-compute
Neutron-ovs-agent
Ceilometer-agent
KVM Hypervisor
Logrotate-corond
VM1
VM2
VM3
VM4
Undercloud Overcloud
Deploy
Configure
Manage
Packages vs Containers
10
Packages vs Containers
11
Packages
Operating System
Sources
Process1
Process2
Process3
Containers
Operating System
Operating System
Process1
Operating System
Process2
vs
Packages types processes are running on host, but in the container environment, the
processes are running on container.
Packages vs Containers
12
Packages
Operating System
Nova
Sources
nova-sch
eduler
nova-con
ductor
nova-api
Containers
Operating System
Operating System
nova-api
Operating System
nova-sch
eduler
vs
In the packages environment, we can modify service’s configuration. But in the containers
environment, we need to rebuild container images for modifying.
OpenStack nova architecture
13
openstack-nova-api
openstack-nova-conductor
openstack-nova-consoleauth
openstack-nova-novncproxy
openstack-nova-scheduler
Package’s name
nova_metadata
nova_api
nova_conductor
nova_vnc_proxy
nova_consoleauth
nova_api_cron
nova_scheduler
nova_placement
Container’s name
OpenStack nova service packages
14
[root@con1 ~]# docker ps | grep nova
b306dea9036e 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877
"kolla_start" 3 months ago Up 46 hours (healthy) nova_metadata
1188bebab31a 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877
"kolla_start" 3 months ago Up 46 hours (healthy) nova_api
caac257c843b 192.168.100.200:8787/rhosp13/openstack-nova-placement-api:13.0-75.1554788885
"kolla_start" 3 months ago Up 46 hours (healthy) nova_placement
4524d6c0dc8f 192.168.100.200:8787/rhosp13/openstack-nova-scheduler:13.0-76.1554788862
"kolla_start" 3 months ago Up 46 hours (healthy) nova_scheduler
41c245f38044 192.168.100.200:8787/rhosp13/openstack-nova-novncproxy:13.0-77.1554788872
"kolla_start" 3 months ago Up 46 hours (healthy) nova_vnc_proxy
de778fb6a443 192.168.100.200:8787/rhosp13/openstack-nova-consoleauth:13.0-74.1554788860
"kolla_start" 3 months ago Up 46 hours (healthy) nova_consoleauth
468fd945d50f 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877
"kolla_start" 3 months ago Up 46 hours nova_api_cron
15baa1302a05 192.168.100.200:8787/rhosp13/openstack-nova-conductor:13.0-74.1554788876
"kolla_start" 3 months ago Up 46 hours (healthy) nova_conductor
[root@con1 ~]#
Nova’s services container list
How to configure
openstack containers
15
OpenStack Container Environment
16
Container
Operating System
Sharing
parted resource
After modify container
configuration, the container’s
state will be initialized if
container restart.
Share
Specific
space
OpenStack Container Environment
17
Controller
Docker
Nova
nova_api nova_metadata
nova_conductor nova_placement
nova_sheduler nova_vnc_proxy
...
Red Hat Enterprise Linux 7.6
Neutron
neutron_api neutron_ovs_agent
neutron_l3_agent neutron_dhcp
neutron_metadata_agent
Cinder
cinder_api cinder_schedulr
openstack_cinder_volume_docker0
Glacne
glance_api
Keystone
keystone
Horizon
horizon
Logs
Nova
/var/log/containers/nova
Neutron
/var/log/containers/neutron
Cinder
/var/log/containers/cinder
Glance
/var/log/containers/glance
Horizon
/var/log/containers/horizon
...
Configs
Nova
/var/lib/config-data/puppet
-generated/nova/etc/nova/
Neutron
/var/lib/config-data/puppet
-generated/neutron/etc/neut
ron/
Cinder
/var/lib/config-data/puppet
-generated/cinder/etc/cinde
r/
Glance
/var/lib/config-data/puppet
-generated/glance/etc/glanc
e/
Horizon
/var/lib/config-data/puppet
-generated/horizon/etc/open
stack-dashboard/
...
Mount
Mount
Mount
Mount
Mount
...
Mount
Mount
Mount
Mount
Mount
...
Container
Directory
rhel7.6
rhel7.6
rhel7.6
rhel7.6
rhel7.6
rhel7.6
How to configure OpenStack
18
[root@con1 puppet-generated]# cd /var/lib/config-data/puppet-generated/nova
[root@con1 nova]# ll
total 0
drwxr-xr-x. 6 root root 62 Sep 29 01:56 etc
drwxr-xr-x. 4 root root 30 Aug 7 09:34 var
[root@con1 nova]#
[root@con1 nova]# ll etc
total 0
drwxr-xr-x. 5 root root 54 Aug 7 09:34 httpd
drwxr-xr-x. 2 root root 25 Sep 29 01:56 my.cnf.d
drwxr-xr-x. 2 root root 23 Aug 7 08:53 nova
drwxr-xr-x. 3 root root 20 Aug 1 18:17 systemd
[root@con1 nova]# ll etc/nova
total 372
-rw-r-----. 1 root 42436 379872 Sep 29 01:56 nova.conf
[root@con1 nova]#
Containerized OpenStack can configure
through specific directory
(/var/lib/config-data/puppet-generated)
How to configure OpenStack
19
[root@con1 nova]# cat etc/nova/nova.conf | grep -v ^# | grep -v ^$
[DEFAULT]
rootwrap_config=/etc/nova/rootwrap.conf
allow_resize_to_same_host=False
vif_plugging_is_fatal=True
vif_plugging_timeout=300
ram_allocation_ratio=1.0
instance_name_template=instance-%08x
my_ip=172.17.1.11
host=con1.example.com
dhcp_domain=
firewall_driver=nova.virt.firewall.NoopFirewallDriver
ssl_only=True
cert=/etc/pki/tls/certs/novnc_proxy.crt
key=/etc/pki/tls/private/novnc_proxy.key
state_path=/var/lib/nova
report_interval=10
...
If modify conf files in shared specific
directory, the container will be run after
loading conf files of specific directory when
container start.
How to see OpenStack logs
20
[root@con1 nova]# cd /var/log/containers/
[root@con1 containers]# ll
total 0
drwxr-xr-x. 2 42402 42402 120 Sep 29 02:27 aodh
drwxr-xr-x. 2 42405 42405 85 Sep 29 02:35 ceilometer
drwxr-xr-x. 2 42407 42407 106 Sep 29 02:35 cinder
drwxr-xr-x. 2 42415 42415 21 Sep 29 02:19 glance
drwxr-xr-x. 2 42416 42416 74 Sep 29 02:35 gnocchi
drwxr-xr-x. 2 root root 25 Sep 29 02:16 haproxy
drwxr-xr-x. 2 42418 42418 73 Sep 29 02:27 heat
drwxr-xr-x. 2 apache apache 25 Sep 29 02:03 horizon
drwxr-xr-x. 14 root root 219 Sep 29 01:49 httpd
drwxr-xr-x. 2 42425 42425 57 Sep 29 11:01 keystone
drwxr-xr-x. 2 42434 42434 24 Sep 29 02:07 mysql
drwxr-xr-x. 2 42435 42435 147 Sep 29 02:29 neutron
drwxr-xr-x. 2 42436 42436 215 Sep 29 02:28 nova
...
We can see services directory in the
specific directory(/var/log/containers)
How to see OpenStack logs
21
[root@con1 containers]# cd nova
[root@con1 nova]# ll
total 3592
-rw-r--r--. 1 42436 42436 1895944 Sep 29 14:09 nova-api.log
-rw-r--r--. 1 42436 42436 847896 Sep 29 14:09 nova-api-metadata.log
-rw-r--r--. 1 42436 42436 8533 Sep 29 11:01 nova-conductor.log
-rw-r--r--. 1 42436 42436 7258 Sep 29 11:01 nova-consoleauth.log
-rw-r--r--. 1 42436 42436 84409 Sep 29 02:22 nova-manage.log
-rw-r--r--. 1 42436 42436 700 Sep 29 02:27 nova-novncproxy.log
-rw-r--r--. 1 42436 42436 271975 Sep 29 14:08 nova-placement-api.log
-rw-r--r--. 1 42436 42436 25284 Sep 29 14:08 nova-scheduler.log
[root@con1 nova]# tail -f nova-api.log
2019-09-29 14:08:59.717 772 INFO nova.api.openstack.requestlog
[req-8d531562-4f33-420c-ae27-dacbb2ad8ee1 f960b35758884d10bc21028180e7d65c
0f4ed0809e3942c99306d70c134d0489 - default default] 172.17.1.11 "OPTIONS /" status: 200 len:
397 microversion: - time: 0.000886
2019-09-29 14:09:01.729 772 INFO nova.api.openstack.requestlog
[req-8d531562-4f33-420c-ae27-dacbb2ad8ee1 f960b35758884d10bc21028180e7d65c
0f4ed0809e3942c99306d70c134d0489 - default default] 172.17.1.11 "OPTIONS /" status: 200 len:
397 microversion: - time: 0.000568
We can see logs in the service
directory of specific directory.
How to use openstack
containers
22
Basic Operation Commands
23
[root@con1 ~]# docker stop nova_api
[root@con1 ~]# docker start nova_api
[root@con1 ~]# docker restart nova_api
[root@con1 ~]# docker restart nova_api nova_placement nova_scheduler
nova_vnc_proxy nova_consoleauth nova_api_corn nova_conductor nova_metadata
Basic Command for controlling and operating services
Network
24
[root@con1 ~]# docker ps | grep neutron
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
4871f1b2259c 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns
exec qdh..." 46 hours ago Up 46 hours
neutron-haproxy-qdhcp-b8c3caac-ea44-464a-a8ef-f6d698bd53b5
6cc5b74a1c10 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns
exec qdh..." 46 hours ago Up 46 hours
neutron-dnsmasq-qdhcp-b8c3caac-ea44-464a-a8ef-f6d698bd53b5
59581f77930b 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns
exec qdh..." 46 hours ago Up 46 hours
neutron-dnsmasq-qdhcp-0c78d4af-96cd-4073-9ed6-ce2b7920a91c
e116eab1a16a 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns
exec qdh..." 46 hours ago Up 46 hours
neutron-haproxy-qdhcp-87721945-9f7c-46ca-9ae7-1f66ddc21ca4
ee1cea3e077f 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns
exec qdh..." 46 hours ago Up 46 hours
neutron-dnsmasq-qdhcp-87721945-9f7c-46ca-9ae7-1f66ddc21ca4
...
74cb96f6c028 192.168.100.200:8787/rhosp13/openstack-neutron-l3-agent:13.0-75.1554788897 "ip netns
exec qro..." 46 hours ago Up 46 hours
neutron-haproxy-qrouter-0ae78562-b7de-484c-92bd-a25a7b8e4c63
Network is also created container.
Storage
25
[root@con1 ~]# docker ps | grep cinder-volume
CONTAINER ID IMAGE
COMMAND CREATED STATUS PORTS NAMES
192.168.100.10:8787/rhosp13/openstack-cinder-volume:pcmklatest
"/bin/bash /usr/lo..." 46 hours ago Up 46 hours
openstack-cinder-volume-docker-0
[root@con1 ~]# docker exec -ti openstack-cinder-volume-docker-0 df -h | grep vol
192.168.100.8:/cinder_vol02 13T 204G 13T 2%
/var/lib/cinder/mnt/4081440e749e9be9cab7a6fed1d1feda
192.168.100.8:/cinder_vol01 13T 153G 13T 2%
/var/lib/cinder/mnt/349ddc02366f05b7be11a4afb50828c5
[root@con1 ~]#
In the Cinder backend storage is NFS case, we can see the NFS mount point in the container.
Summary
26
Summary
27
OpenStack can use Bare metal, Virtual Machine, Container.
Nowadays, OpenStack environment is transfering from VM to Container.
We can modify OpenStack service configuration through shared specific directory between
container and host(/var/lib/config-data/puppet-generated).
We can see OpenStack service logs through specific directory(/var/log/containers).
Thank you
nalee999@gmail.com
28
1 sur 28

Recommandé

[Open infra] how to calculate the cloud system operating rate par
[Open infra] how to calculate the cloud system operating rate[Open infra] how to calculate the cloud system operating rate
[Open infra] how to calculate the cloud system operating rateNalee Jang
579 vues30 diapositives
Open stack day 2014 havana from grizzly par
Open stack day 2014 havana from grizzlyOpen stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzlyChoe Cheng-Dae
1.2K vues50 diapositives
Kubernetes Hands-On Guide par
Kubernetes Hands-On GuideKubernetes Hands-On Guide
Kubernetes Hands-On GuideStratoscale
2.2K vues47 diapositives
Docker on openstack by OpenSource Consulting par
Docker on openstack by OpenSource ConsultingDocker on openstack by OpenSource Consulting
Docker on openstack by OpenSource ConsultingOpen Source Consulting
6.5K vues106 diapositives
Bare Metal to OpenStack with Razor and Chef par
Bare Metal to OpenStack with Razor and ChefBare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and ChefMatt Ray
7K vues71 diapositives
Container Orchestration Integration: OpenStack Kuryr par
Container Orchestration Integration: OpenStack KuryrContainer Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack KuryrTaku Fukushima
2.5K vues39 diapositives

Contenu connexe

Tendances

Storage based on_openstack_mariocho par
Storage based on_openstack_mariochoStorage based on_openstack_mariocho
Storage based on_openstack_mariochoMario Cho
496 vues42 diapositives
Running Docker with OpenStack | Docker workshop #1 par
Running Docker with OpenStack | Docker workshop #1Running Docker with OpenStack | Docker workshop #1
Running Docker with OpenStack | Docker workshop #1dotCloud
17.3K vues11 diapositives
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728 par
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728jieun kim
11.3K vues27 diapositives
Openstack study-nova-02 par
Openstack study-nova-02Openstack study-nova-02
Openstack study-nova-02Jinho Shin
1.5K vues25 diapositives
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup par
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupStefan Schimanski
5.5K vues45 diapositives
Docker and Kubernetes 101 workshop par
Docker and Kubernetes 101 workshopDocker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshopSathish VJ
387 vues79 diapositives

Tendances(20)

Storage based on_openstack_mariocho par Mario Cho
Storage based on_openstack_mariochoStorage based on_openstack_mariocho
Storage based on_openstack_mariocho
Mario Cho496 vues
Running Docker with OpenStack | Docker workshop #1 par dotCloud
Running Docker with OpenStack | Docker workshop #1Running Docker with OpenStack | Docker workshop #1
Running Docker with OpenStack | Docker workshop #1
dotCloud17.3K vues
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728 par jieun kim
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
jieun kim11.3K vues
Openstack study-nova-02 par Jinho Shin
Openstack study-nova-02Openstack study-nova-02
Openstack study-nova-02
Jinho Shin1.5K vues
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup par Stefan Schimanski
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Stefan Schimanski5.5K vues
Docker and Kubernetes 101 workshop par Sathish VJ
Docker and Kubernetes 101 workshopDocker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshop
Sathish VJ387 vues
Orchestrating Docker with OpenStack par Erica Windisch
Orchestrating Docker with OpenStackOrchestrating Docker with OpenStack
Orchestrating Docker with OpenStack
Erica Windisch12.1K vues
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag... par Atlassian
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
Atlassian2.9K vues
Scaling Docker Containers using Kubernetes and Azure Container Service par Ben Hall
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container Service
Ben Hall804 vues
Kubernetes internals (Kubernetes 해부하기) par DongHyeon Kim
Kubernetes internals (Kubernetes 해부하기)Kubernetes internals (Kubernetes 해부하기)
Kubernetes internals (Kubernetes 해부하기)
DongHyeon Kim2.2K vues
OpenStack Development Using devstack par mestery
OpenStack Development Using devstackOpenStack Development Using devstack
OpenStack Development Using devstack
mestery13.1K vues
Kubernetes Walk Through from Technical View par Lei (Harry) Zhang
Kubernetes Walk Through from Technical ViewKubernetes Walk Through from Technical View
Kubernetes Walk Through from Technical View
Lei (Harry) Zhang1.3K vues
OpenStack: Inside Out par Etsuji Nakai
OpenStack: Inside OutOpenStack: Inside Out
OpenStack: Inside Out
Etsuji Nakai12.7K vues
Docker 進階實務班 par Philip Zheng
Docker 進階實務班Docker 進階實務班
Docker 進階實務班
Philip Zheng1.1K vues
Practical Docker for OpenStack (Juno Summit - May 15th, 2014) par Erica Windisch
Practical Docker for OpenStack (Juno Summit - May 15th, 2014)Practical Docker for OpenStack (Juno Summit - May 15th, 2014)
Practical Docker for OpenStack (Juno Summit - May 15th, 2014)
Erica Windisch3.7K vues

Similaire à How to operate containerized OpenStack

Red Hat OpenStack 17 저자직강+스터디그룹_4주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Nalee Jang
200 vues41 diapositives
Oracle 11g R2 RAC setup on rhel 5.0 par
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
4.4K vues54 diapositives
Dockerizing the Hard Services: Neutron and Nova par
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Novaclayton_oneill
1K vues37 diapositives
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1 par
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
16.9K vues19 diapositives
Secure lustre on openstack par
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstackJames Beal
439 vues36 diapositives
Kubernetes Basic Operation par
Kubernetes Basic OperationKubernetes Basic Operation
Kubernetes Basic OperationSimon Su
517 vues36 diapositives

Similaire à How to operate containerized OpenStack(20)

Red Hat OpenStack 17 저자직강+스터디그룹_4주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Nalee Jang200 vues
Oracle 11g R2 RAC setup on rhel 5.0 par Santosh Kangane
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
Santosh Kangane4.4K vues
Dockerizing the Hard Services: Neutron and Nova par clayton_oneill
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Nova
clayton_oneill1K vues
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1 par Osama Mustafa
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa16.9K vues
Secure lustre on openstack par James Beal
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstack
James Beal439 vues
Kubernetes Basic Operation par Simon Su
Kubernetes Basic OperationKubernetes Basic Operation
Kubernetes Basic Operation
Simon Su517 vues
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger par Trivadis
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin BergerTrivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis602 vues
整合Cloud Foundry 和 Kubernetes 技術打造企業級雲應用平台解決方案 par inwin stack
整合Cloud Foundry 和 Kubernetes 技術打造企業級雲應用平台解決方案整合Cloud Foundry 和 Kubernetes 技術打造企業級雲應用平台解決方案
整合Cloud Foundry 和 Kubernetes 技術打造企業級雲應用平台解決方案
inwin stack371 vues
Making MySQL highly available using Oracle Grid Infrastructure par Ilmar Kerm
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid Infrastructure
Ilmar Kerm5.1K vues
Docker and friends at Linux Days 2014 in Prague par tomasbart
Docker and friends at Linux Days 2014 in PragueDocker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
tomasbart2.8K vues
ScyllaDB Cloud Goes Serverless par ScyllaDB
ScyllaDB Cloud Goes ServerlessScyllaDB Cloud Goes Serverless
ScyllaDB Cloud Goes Serverless
ScyllaDB538 vues
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set... par Marco Vigelini
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
Marco Vigelini676 vues
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers par Docker, Inc.
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker ContainersDockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
Docker, Inc.664 vues
Artem Zhurbila - docker clusters (solit 2015) par Artem Zhurbila
Artem Zhurbila - docker clusters (solit 2015)Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila3.5K vues
CERN OpenStack Cloud Control Plane - From VMs to K8s par Belmiro Moreira
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8s
Belmiro Moreira313 vues
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware par Leighton Nelson
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson3.5K vues
Container orchestration from theory to practice par Docker, Inc.
Container orchestration from theory to practiceContainer orchestration from theory to practice
Container orchestration from theory to practice
Docker, Inc.347 vues
Performance characteristics of traditional v ms vs docker containers (dockerc... par Boden Russell
Performance characteristics of traditional v ms vs docker containers (dockerc...Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
Boden Russell4.8K vues

Plus de Nalee Jang

Red Hat OpenStack 17 저자직강+스터디그룹_5주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Nalee Jang
148 vues40 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_3주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Nalee Jang
154 vues42 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_2주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Nalee Jang
275 vues44 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_1주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Nalee Jang
453 vues33 diapositives
셸 스크립트를 이용한 클라우드 시스템 운영 par
셸 스크립트를 이용한 클라우드 시스템 운영셸 스크립트를 이용한 클라우드 시스템 운영
셸 스크립트를 이용한 클라우드 시스템 운영Nalee Jang
750 vues39 diapositives
[Red Hat] OpenStack Automation with Ansible par
[Red Hat] OpenStack Automation with Ansible[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with AnsibleNalee Jang
7.6K vues48 diapositives

Plus de Nalee Jang(20)

Red Hat OpenStack 17 저자직강+스터디그룹_5주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Nalee Jang148 vues
Red Hat OpenStack 17 저자직강+스터디그룹_3주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Nalee Jang154 vues
Red Hat OpenStack 17 저자직강+스터디그룹_2주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Nalee Jang275 vues
Red Hat OpenStack 17 저자직강+스터디그룹_1주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Nalee Jang453 vues
셸 스크립트를 이용한 클라우드 시스템 운영 par Nalee Jang
셸 스크립트를 이용한 클라우드 시스템 운영셸 스크립트를 이용한 클라우드 시스템 운영
셸 스크립트를 이용한 클라우드 시스템 운영
Nalee Jang750 vues
[Red Hat] OpenStack Automation with Ansible par Nalee Jang
[Red Hat] OpenStack Automation with Ansible[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with Ansible
Nalee Jang7.6K vues
Red hat and after 1 year par Nalee Jang
Red hat and after 1 yearRed hat and after 1 year
Red hat and after 1 year
Nalee Jang4.1K vues
오픈스택커뮤니티와기술동향 par Nalee Jang
오픈스택커뮤니티와기술동향오픈스택커뮤니티와기술동향
오픈스택커뮤니티와기술동향
Nalee Jang1.6K vues
Why cloud storage par Nalee Jang
Why cloud storageWhy cloud storage
Why cloud storage
Nalee Jang485 vues
해외 사례로 보는 Billing for OpenStack Solution par Nalee Jang
해외 사례로 보는 Billing for OpenStack Solution해외 사례로 보는 Billing for OpenStack Solution
해외 사례로 보는 Billing for OpenStack Solution
Nalee Jang2K vues
오픈스택한국커뮤니티 소개 par Nalee Jang
오픈스택한국커뮤니티 소개오픈스택한국커뮤니티 소개
오픈스택한국커뮤니티 소개
Nalee Jang1.3K vues
OpenStack in Enterprise par Nalee Jang
OpenStack in EnterpriseOpenStack in Enterprise
OpenStack in Enterprise
Nalee Jang901 vues
User Story :: Cloudike with KT UCloud Biz par Nalee Jang
User Story :: Cloudike with KT UCloud BizUser Story :: Cloudike with KT UCloud Biz
User Story :: Cloudike with KT UCloud Biz
Nalee Jang2.1K vues
OpenSource! OpenStack! par Nalee Jang
OpenSource! OpenStack!OpenSource! OpenStack!
OpenSource! OpenStack!
Nalee Jang1.9K vues
오픈스택 커뮤니티 소개 및 기술 동향 par Nalee Jang
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향
Nalee Jang40.9K vues
오픈스택을다루는기술 집필후기 par Nalee Jang
오픈스택을다루는기술 집필후기오픈스택을다루는기술 집필후기
오픈스택을다루는기술 집필후기
Nalee Jang9.6K vues
Kcd open stack par Nalee Jang
Kcd open stackKcd open stack
Kcd open stack
Nalee Jang1.9K vues
Open technet openstack par Nalee Jang
Open technet openstackOpen technet openstack
Open technet openstack
Nalee Jang48.8K vues
[OpenStack Day in Korea] Introduction to open stack par Nalee Jang
[OpenStack Day in Korea] Introduction to open stack[OpenStack Day in Korea] Introduction to open stack
[OpenStack Day in Korea] Introduction to open stack
Nalee Jang2.6K vues
오픈스택! 이틀이면할수있다! 시즌2 par Nalee Jang
오픈스택! 이틀이면할수있다! 시즌2오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2
Nalee Jang47.9K vues

Dernier

BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth par
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for GrowthInnomantra
22 vues4 diapositives
Ansari: Practical experiences with an LLM-based Islamic Assistant par
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic AssistantM Waleed Kadous
12 vues29 diapositives
CCNA_questions_2021.pdf par
CCNA_questions_2021.pdfCCNA_questions_2021.pdf
CCNA_questions_2021.pdfVUPHUONGTHAO9
7 vues196 diapositives
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf par
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdfPhilipp Daum
5 vues2 diapositives
Plant Design Report-Oil Refinery.pdf par
Plant Design Report-Oil Refinery.pdfPlant Design Report-Oil Refinery.pdf
Plant Design Report-Oil Refinery.pdfSafeen Yaseen Ja'far
9 vues10 diapositives
Field Programmable Gate Arrays : Architecture par
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : ArchitectureUsha Mehta
23 vues74 diapositives

Dernier(20)

BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth par Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 22 vues
Ansari: Practical experiences with an LLM-based Islamic Assistant par M Waleed Kadous
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic Assistant
M Waleed Kadous12 vues
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf par Philipp Daum
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
Philipp Daum5 vues
Field Programmable Gate Arrays : Architecture par Usha Mehta
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : Architecture
Usha Mehta23 vues
Integrating Sustainable Development Goals (SDGs) in School Education par SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank113 vues
Solution Challenge Introduction.pptx par GDSCCEC
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptx
GDSCCEC13 vues
MongoDB.pdf par ArthyR3
MongoDB.pdfMongoDB.pdf
MongoDB.pdf
ArthyR351 vues
AWS Certified Solutions Architect Associate Exam Guide_published .pdf par Kiran Kumar Malik
AWS Certified Solutions Architect Associate Exam Guide_published .pdfAWS Certified Solutions Architect Associate Exam Guide_published .pdf
AWS Certified Solutions Architect Associate Exam Guide_published .pdf
Programmable Switches for Programmable Logic Devices par Usha Mehta
Programmable Switches for Programmable Logic DevicesProgrammable Switches for Programmable Logic Devices
Programmable Switches for Programmable Logic Devices
Usha Mehta19 vues
Details of Acoustic Liner for selection of material par rafiqalisyed
Details of Acoustic Liner for selection of materialDetails of Acoustic Liner for selection of material
Details of Acoustic Liner for selection of material
rafiqalisyed5 vues
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA par Demian Antony D'Mello
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVAMODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf par AlhamduKure
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
AlhamduKure10 vues
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R... par IJCNCJournal
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
IJCNCJournal5 vues

How to operate containerized OpenStack

  • 1. How to operate containerized openstack 2019.10.01 OpenStack Korea User Group NaleeJang
  • 2. Index Openstack services Packages vs Containers How to configure openstack containers How to use openstack containers Summary 2
  • 9. OpenStack Services 9 Undercloud (Director) Controller Compute Red Hat Enterprise Linux 7.x Red Hat Enterprise Linux 7.x Red Hat Enterprise Linux 7.x Docker daemon MariaDB RabbitMQ Redis Nova Neutron Glance Swift Heat Mistral Ironic Zaqar Docker daemon Docker Registry MariaDB RabbitMQ Redis Haproxy Nova Neutron Glance Barbican Aodh Ceilometer Gnocchi Panko Cinder Manila Octavia Heat Pacemaker Horizon Keystone Keystone Docker daemon Nova-compute Neutron-ovs-agent Ceilometer-agent KVM Hypervisor Logrotate-corond VM1 VM2 VM3 VM4 Undercloud Overcloud Deploy Configure Manage
  • 11. Packages vs Containers 11 Packages Operating System Sources Process1 Process2 Process3 Containers Operating System Operating System Process1 Operating System Process2 vs Packages types processes are running on host, but in the container environment, the processes are running on container.
  • 12. Packages vs Containers 12 Packages Operating System Nova Sources nova-sch eduler nova-con ductor nova-api Containers Operating System Operating System nova-api Operating System nova-sch eduler vs In the packages environment, we can modify service’s configuration. But in the containers environment, we need to rebuild container images for modifying.
  • 13. OpenStack nova architecture 13 openstack-nova-api openstack-nova-conductor openstack-nova-consoleauth openstack-nova-novncproxy openstack-nova-scheduler Package’s name nova_metadata nova_api nova_conductor nova_vnc_proxy nova_consoleauth nova_api_cron nova_scheduler nova_placement Container’s name
  • 14. OpenStack nova service packages 14 [root@con1 ~]# docker ps | grep nova b306dea9036e 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877 "kolla_start" 3 months ago Up 46 hours (healthy) nova_metadata 1188bebab31a 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877 "kolla_start" 3 months ago Up 46 hours (healthy) nova_api caac257c843b 192.168.100.200:8787/rhosp13/openstack-nova-placement-api:13.0-75.1554788885 "kolla_start" 3 months ago Up 46 hours (healthy) nova_placement 4524d6c0dc8f 192.168.100.200:8787/rhosp13/openstack-nova-scheduler:13.0-76.1554788862 "kolla_start" 3 months ago Up 46 hours (healthy) nova_scheduler 41c245f38044 192.168.100.200:8787/rhosp13/openstack-nova-novncproxy:13.0-77.1554788872 "kolla_start" 3 months ago Up 46 hours (healthy) nova_vnc_proxy de778fb6a443 192.168.100.200:8787/rhosp13/openstack-nova-consoleauth:13.0-74.1554788860 "kolla_start" 3 months ago Up 46 hours (healthy) nova_consoleauth 468fd945d50f 192.168.100.200:8787/rhosp13/openstack-nova-api:13.0-76.1554788877 "kolla_start" 3 months ago Up 46 hours nova_api_cron 15baa1302a05 192.168.100.200:8787/rhosp13/openstack-nova-conductor:13.0-74.1554788876 "kolla_start" 3 months ago Up 46 hours (healthy) nova_conductor [root@con1 ~]# Nova’s services container list
  • 16. OpenStack Container Environment 16 Container Operating System Sharing parted resource After modify container configuration, the container’s state will be initialized if container restart. Share Specific space
  • 17. OpenStack Container Environment 17 Controller Docker Nova nova_api nova_metadata nova_conductor nova_placement nova_sheduler nova_vnc_proxy ... Red Hat Enterprise Linux 7.6 Neutron neutron_api neutron_ovs_agent neutron_l3_agent neutron_dhcp neutron_metadata_agent Cinder cinder_api cinder_schedulr openstack_cinder_volume_docker0 Glacne glance_api Keystone keystone Horizon horizon Logs Nova /var/log/containers/nova Neutron /var/log/containers/neutron Cinder /var/log/containers/cinder Glance /var/log/containers/glance Horizon /var/log/containers/horizon ... Configs Nova /var/lib/config-data/puppet -generated/nova/etc/nova/ Neutron /var/lib/config-data/puppet -generated/neutron/etc/neut ron/ Cinder /var/lib/config-data/puppet -generated/cinder/etc/cinde r/ Glance /var/lib/config-data/puppet -generated/glance/etc/glanc e/ Horizon /var/lib/config-data/puppet -generated/horizon/etc/open stack-dashboard/ ... Mount Mount Mount Mount Mount ... Mount Mount Mount Mount Mount ... Container Directory rhel7.6 rhel7.6 rhel7.6 rhel7.6 rhel7.6 rhel7.6
  • 18. How to configure OpenStack 18 [root@con1 puppet-generated]# cd /var/lib/config-data/puppet-generated/nova [root@con1 nova]# ll total 0 drwxr-xr-x. 6 root root 62 Sep 29 01:56 etc drwxr-xr-x. 4 root root 30 Aug 7 09:34 var [root@con1 nova]# [root@con1 nova]# ll etc total 0 drwxr-xr-x. 5 root root 54 Aug 7 09:34 httpd drwxr-xr-x. 2 root root 25 Sep 29 01:56 my.cnf.d drwxr-xr-x. 2 root root 23 Aug 7 08:53 nova drwxr-xr-x. 3 root root 20 Aug 1 18:17 systemd [root@con1 nova]# ll etc/nova total 372 -rw-r-----. 1 root 42436 379872 Sep 29 01:56 nova.conf [root@con1 nova]# Containerized OpenStack can configure through specific directory (/var/lib/config-data/puppet-generated)
  • 19. How to configure OpenStack 19 [root@con1 nova]# cat etc/nova/nova.conf | grep -v ^# | grep -v ^$ [DEFAULT] rootwrap_config=/etc/nova/rootwrap.conf allow_resize_to_same_host=False vif_plugging_is_fatal=True vif_plugging_timeout=300 ram_allocation_ratio=1.0 instance_name_template=instance-%08x my_ip=172.17.1.11 host=con1.example.com dhcp_domain= firewall_driver=nova.virt.firewall.NoopFirewallDriver ssl_only=True cert=/etc/pki/tls/certs/novnc_proxy.crt key=/etc/pki/tls/private/novnc_proxy.key state_path=/var/lib/nova report_interval=10 ... If modify conf files in shared specific directory, the container will be run after loading conf files of specific directory when container start.
  • 20. How to see OpenStack logs 20 [root@con1 nova]# cd /var/log/containers/ [root@con1 containers]# ll total 0 drwxr-xr-x. 2 42402 42402 120 Sep 29 02:27 aodh drwxr-xr-x. 2 42405 42405 85 Sep 29 02:35 ceilometer drwxr-xr-x. 2 42407 42407 106 Sep 29 02:35 cinder drwxr-xr-x. 2 42415 42415 21 Sep 29 02:19 glance drwxr-xr-x. 2 42416 42416 74 Sep 29 02:35 gnocchi drwxr-xr-x. 2 root root 25 Sep 29 02:16 haproxy drwxr-xr-x. 2 42418 42418 73 Sep 29 02:27 heat drwxr-xr-x. 2 apache apache 25 Sep 29 02:03 horizon drwxr-xr-x. 14 root root 219 Sep 29 01:49 httpd drwxr-xr-x. 2 42425 42425 57 Sep 29 11:01 keystone drwxr-xr-x. 2 42434 42434 24 Sep 29 02:07 mysql drwxr-xr-x. 2 42435 42435 147 Sep 29 02:29 neutron drwxr-xr-x. 2 42436 42436 215 Sep 29 02:28 nova ... We can see services directory in the specific directory(/var/log/containers)
  • 21. How to see OpenStack logs 21 [root@con1 containers]# cd nova [root@con1 nova]# ll total 3592 -rw-r--r--. 1 42436 42436 1895944 Sep 29 14:09 nova-api.log -rw-r--r--. 1 42436 42436 847896 Sep 29 14:09 nova-api-metadata.log -rw-r--r--. 1 42436 42436 8533 Sep 29 11:01 nova-conductor.log -rw-r--r--. 1 42436 42436 7258 Sep 29 11:01 nova-consoleauth.log -rw-r--r--. 1 42436 42436 84409 Sep 29 02:22 nova-manage.log -rw-r--r--. 1 42436 42436 700 Sep 29 02:27 nova-novncproxy.log -rw-r--r--. 1 42436 42436 271975 Sep 29 14:08 nova-placement-api.log -rw-r--r--. 1 42436 42436 25284 Sep 29 14:08 nova-scheduler.log [root@con1 nova]# tail -f nova-api.log 2019-09-29 14:08:59.717 772 INFO nova.api.openstack.requestlog [req-8d531562-4f33-420c-ae27-dacbb2ad8ee1 f960b35758884d10bc21028180e7d65c 0f4ed0809e3942c99306d70c134d0489 - default default] 172.17.1.11 "OPTIONS /" status: 200 len: 397 microversion: - time: 0.000886 2019-09-29 14:09:01.729 772 INFO nova.api.openstack.requestlog [req-8d531562-4f33-420c-ae27-dacbb2ad8ee1 f960b35758884d10bc21028180e7d65c 0f4ed0809e3942c99306d70c134d0489 - default default] 172.17.1.11 "OPTIONS /" status: 200 len: 397 microversion: - time: 0.000568 We can see logs in the service directory of specific directory.
  • 22. How to use openstack containers 22
  • 23. Basic Operation Commands 23 [root@con1 ~]# docker stop nova_api [root@con1 ~]# docker start nova_api [root@con1 ~]# docker restart nova_api [root@con1 ~]# docker restart nova_api nova_placement nova_scheduler nova_vnc_proxy nova_consoleauth nova_api_corn nova_conductor nova_metadata Basic Command for controlling and operating services
  • 24. Network 24 [root@con1 ~]# docker ps | grep neutron CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4871f1b2259c 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns exec qdh..." 46 hours ago Up 46 hours neutron-haproxy-qdhcp-b8c3caac-ea44-464a-a8ef-f6d698bd53b5 6cc5b74a1c10 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns exec qdh..." 46 hours ago Up 46 hours neutron-dnsmasq-qdhcp-b8c3caac-ea44-464a-a8ef-f6d698bd53b5 59581f77930b 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns exec qdh..." 46 hours ago Up 46 hours neutron-dnsmasq-qdhcp-0c78d4af-96cd-4073-9ed6-ce2b7920a91c e116eab1a16a 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns exec qdh..." 46 hours ago Up 46 hours neutron-haproxy-qdhcp-87721945-9f7c-46ca-9ae7-1f66ddc21ca4 ee1cea3e077f 192.168.100.200:8787/rhosp13/openstack-neutron-dhcp-agent:13.0-77.1554788896 "ip netns exec qdh..." 46 hours ago Up 46 hours neutron-dnsmasq-qdhcp-87721945-9f7c-46ca-9ae7-1f66ddc21ca4 ... 74cb96f6c028 192.168.100.200:8787/rhosp13/openstack-neutron-l3-agent:13.0-75.1554788897 "ip netns exec qro..." 46 hours ago Up 46 hours neutron-haproxy-qrouter-0ae78562-b7de-484c-92bd-a25a7b8e4c63 Network is also created container.
  • 25. Storage 25 [root@con1 ~]# docker ps | grep cinder-volume CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 192.168.100.10:8787/rhosp13/openstack-cinder-volume:pcmklatest "/bin/bash /usr/lo..." 46 hours ago Up 46 hours openstack-cinder-volume-docker-0 [root@con1 ~]# docker exec -ti openstack-cinder-volume-docker-0 df -h | grep vol 192.168.100.8:/cinder_vol02 13T 204G 13T 2% /var/lib/cinder/mnt/4081440e749e9be9cab7a6fed1d1feda 192.168.100.8:/cinder_vol01 13T 153G 13T 2% /var/lib/cinder/mnt/349ddc02366f05b7be11a4afb50828c5 [root@con1 ~]# In the Cinder backend storage is NFS case, we can see the NFS mount point in the container.
  • 27. Summary 27 OpenStack can use Bare metal, Virtual Machine, Container. Nowadays, OpenStack environment is transfering from VM to Container. We can modify OpenStack service configuration through shared specific directory between container and host(/var/lib/config-data/puppet-generated). We can see OpenStack service logs through specific directory(/var/log/containers).