๐ก OpenStack Nova & Neutron Network โ Executive Summary
Technical architectural analysis, practical configuration manifests, and deployment instructions for OpenStack Nova & Neutron Network.
Volume Sewing Machine
Rationale
- k8s node notReady status: Check communication status between kubelet and vm
- Check vm console log
- openstack
bash
#openstack ssh ์ ์
cat platfrom_openrc
>>>
export OS_USERNAME=admin
export OS_PASSWORD=Enterprise Cloud2018
export OS_PROJECT_NAME=platform-project
#export OS_PROJECT_NAME=eGov
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_AUTH_URL=http://192.168.12.17:5000/v3
export OS_IDENTITY_API_VERSION=3
<<<
#๊ณ์ ์ ๋ณด ์ธ์
์ ํ๊ฒฝ๋ณ์๋ก ๋ฑ๋ก
source platform_openrc
#get serverId
openstack server list | grep {{ nodename }} #k8s-worker
#get info
openstack server show {{ servierId }}
# volumes_attached์ ์ฒซ๋ฒ์งธ id๋ฅผ ๋ณต์ฌ
>>>
#tail
| volumes_attached | id='1e583263-b2d3-4c0c-a811-4d0254223714' |
| | id='fbbdead4-6837-46c4-acbe-170e14747272' |
| | id='828cd9ba-be36-435f-abd9-321a81f98d9e' |
| | id='e188bfea-c7f6-4352-8d9c-ec3962b3bcfd' |
+-------------------------------------+------------------------------------------------------------+
<<<
#ํน์ ์๋์๊ฐ์ด ์ฐพ์๋ ๋จ
#get volumeId
openstack volume list | grep {{ nodename }} #platform-k8s-worker-3
---
lxc exec ceph-mon01 bash
# ๋ณผ๋ฅจ ์ ๋ณด ํ์ธ : 'volume-' + {{volumeId}}
rbd -p volumes ls | grep {{ volumeId }}
# rebuild
rbd -p volumes object-map rebuild {{ realVolumeId }}
exit
---
# ๋ฌ๋์ํ์ผ ๊ฒฝ์ฐ
openstack server reboot {{ serverId }}
- k8s-cluster vm: When not ready
bash
ssh {{ NotReadyNode }}
systemctl restart docker
sysremctl restart kubelet
bash
#get volumeId
openstack volume list | grep {{ nodename }} #platform-k8s-worker-3
#get info
openstack volume show {{ volumeId }}




Leave a Reply