2. ABOUT ME
so ware engineer(라고 쓰고 cloud engineer 아니..
openstack engineer.. A.K.A VM dealer)
개발, 리서치(라고 쓰고 온갖 삽질), 운영, 아키텍팅등
( ~현재)
현재약10000+ VMs, 4 regions
grizzly -> havana -> icehouse -> juno -> kilo 업그레이드
( ~2014) public cloud storage service in KT about 3 years
이어형
private cloud service in kakao about 3 years
16. 아무튼어떻게 패치하나? (과거)
PATCH_FILE
...
diff --git a/keystone/common/config.py b/keystone/common/config.py
index 85c49f8..b455d5f 100644
--- a/keystone/common/config.py
+++ b/keystone/common/config.py
@@ -69,6 +69,8 @@ FILE_OPTIONS = {
'(eg /prefix/v2.0) or the endpoint should be found o
'a different server.'),
+ cfg.IntOpt('public_workers', default=1),
+ cfg.IntOpt('admin_workers', default=1),
cfg.StrOpt('onready',
help='onready allows you to send a notification when the
...
PATCH!!
apt-get install -y keystone
cd /usr/lib/python2.7/dist-packages
patch -p1 -i ${PATCH_FILE}
18. 결국 SOURCE LEVEL 로설치(현재)
debian package를repackaging 했으나
dependency 관리가 지옥
결국 version control 할수있는git을사용
main repo를mirroring 하면서custom commit 들을
버전마다지속적인rebase가 필요
20. 결국 그러려면PYTHON LIBRARY 관리필요
를이용해서전체requirements 를설치
이걸 매번반복하면엄청난양을compile 하는것을볼수있음..
그렇기 때문에가능한wheel 로 시간
절약가능
requirements
미리compile 해두면
추후에아래와같이사용
# 여기에서 전체 requiments 설치
cd openstack/requirements
pip install --use-wheel --no-index --find-links=${URL} -c upper-constraints.t
# 위에서 전체 requiments 가 설치 되었으므로 아래에서는 거의 코드만 설치됨
cd openstack/keystone
pip install .