Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Neutron, OpenStack, networking-onos dependency package comparison

파이썬 패키지

neutron (stable/newton)

Upper constraint (stable/newton)

neutron (stable/ocata)

Upper constraint (stable/ocata)

networking-onos (master)

pbr>=1.6===1.10.0>=1.8===1.10.0!=2.1.0,>=2.0.0
Babel ===2.3.4 ===2.3.4!=2.4.0,>=2.3.4
stevedore>=1.17.1===1.17.1>=1.17.1===1.20.0>=1.16.0
debtcollector>=1.2.0===1.8.0>=1.2.0===1.11.0>=1.2.0
neutron-lib>=0.4.0===0.4.0>=1.1.0===1.1.0>=1.3.0 (실제로는 1.1.0 이상)
oslo.config>=3.14.0===3.17.1!=3.18.0,>=3.14.0===3.22.0>=3.22.0
oslo.db!=4.13.1,!=4.13.2,>=4.10.0===4.13.5>=4.15.0===4.17.0>=4.19.0
oslo.log>=1.14.0===3.16.0>=3.11.0===3.20.1>=3.22.0
oslo.i18n>=2.1.0===3.9.0>=2.1.0===3.12.0>=2.1.0
oslo.serialization>=1.10.0===2.13.0>=1.10.0===2.16.0>=1.10.0
oslo.utils>=3.16.0===3.16.0>=3.18.0===3.22.0>=3.20.0
oslo.context>=2.9.0===2.9.0>=2.9.0===2.12.1>=2.12.0
oslo.policy>=1.9.0===1.14.0>=1.17.0===1.18.0>=1.17.0
oslo.concurrency>=3.8.0===3.14.0>=3.8.0===3.18.0>=3.8.0
oslo.messaging>=5.2.0===5.10.1>=5.14.0===5.17.1>=5.19.0
oslo.middleware>=3.0.0===3.19.1>=3.0.0===3.23.1>=3.10.0

How to install networking-onos in each OpenStack version

stable/newton

  • networking-onos에 필요한 neutron-lib은 정확히는 >=1.1.0 이상이어야 하며, 다른 패키지들은 Neutron 혹은 OpenStack upper constraint를 따라도 동작에는 문제가 없다.
  • neutron-lib version for networking-onos needs to be >= 1.1.0, and other packages can be installed following the OpenStack upper constraints.
  • DevStack으로 설치 시, networking-onos 설치 후 stack.sh 실행 전에 requirements/upper-constraint.txt의 neutron-lib 항목만 1.1.0으로 수정하면 문제 없이 설치가 가능하다.
  • When DevStack is used to install OpenStack, AFTER install of networking-onos, neutron-lib version needs to be fixed to 1.1.0 in requirements/upper-constraint.txt file before the execution of stack.sh.
  • 패키지 설치 자동화 시에는 Neutron 설치 후, networking-onos를 의존성 없이 setup.py install로 설치하고 neutron-lib의 버전을 1.1.0으로 매뉴얼 업그레이드 해 주되, neutron-lib의 의존성 패키지들인 oslo.*의 버전은 위 upper-constraint로 유지되도록 해야한다.

추천 방법

Neutron server가 설치된 상태에서 setup.py install로 networking-onos를 설치한 후, 아래와 같은 방법으로 neutron-lib을 1.1.0으로 업데이트 한다.

$ git clone https://github.com/openstack/requirements.git -b stable/newton
sed -i -e 's/neutron-lib===0.4.0/neutron-lib===1.1.0/g' requirements/upper-constraints.txt
sudo pip install -c requirements/upper-constraints.txt neutron-lib

stable/ocata

  • Neutron 및 OpenStack의 upper constraint 버전이 networking-onos가 정상 동작하는데 충분하다. (단, 실제 동작 기준이며 requirements.txt에 적힌 버전과는 상이하다)
  • DevStack으로 설치 시, networking-onos를 setup.py install로 의존성 없이 설치해 주면 된다.
  • 패키지 설치 자동화 시에도 Neutron 설치 후 networking-onos를 "setup.py install"로 의존 패키지 추가 설치 없이 설치하면 동작하는데 이상이 없을 것이다.

Reference

[1] Neutron 관련 패키지 버전 정보 https://github.com/openstack/neutron/blob/stable/newton/requirements.txt

[2] networking-onos 관련 패키지 버전 정보 https://github.com/openstack/networking-onos/blob/master/test-requirements.txt

[3] OpenStack Global 관련 패키지 버전 정보 https://github.com/openstack/requirements/blob/stable/newton/upper-constraints.txt

  • No labels