Jump to: navigation, search

StarlingX/Devstack/stx-config

< StarlingX‎ | Devstack
Revision as of 02:34, 3 August 2018 by Austin.sun (talk | contribs) (Sysinv Devstack summary)

Sysinv Devstack summary

Done

Code Structure is done https://review.openstack.org/#/c/586443/ has run successfully on devstack env (VM Centos 7.5 and VM Ubuntu 16.04 ) si-api(sysinv-api) and si-cond(sysinv-conductor) can run successfully

Limitation or Issue

  • some db migrate code need to adapt. Devstack is using mysql, String must have length and String length Max is 255.
 https://review.openstack.org/#/c/588184/ is the draft gerrit id to fix this issue
  • There are several dependence other starlingx python packages need to install, and these python packages do not have setup.cfg files, only support setuptools install, can not use 'pip install -e'.
  1. tsconfig
  2. configigutilities
  3. controllerconfig
  4. fm_api
  5. platform-util*
  • si-cond service will fail in first time ,so restart si-cond service in test-config phase
  • sysinv-api port is same as ironic port 6385

ToDo

  • fix "Limitation or Issue" and upload official patch
  • test-config setup and basic functional test

Local.conf

[[local|localrc]]
GIT_BASE=https://git.openstack.org
TARGET_BRANCH=stable/pike
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
LOGFILE=/opt/stack/logs/stack.sh.log
STX_REPO=$GIT_BASE/openstack/stx-config
STX_BRANCH=refs/changes/43/586443/3
enable_plugin stx-config $STX_REPO $STX_BRANCH
#use postgresql for database backend,
#if use mysql as backend, please modify local change https://review.openstack.org/#/c/588184/
disable_service mysql
enable_service postgresql
#enable it once download code to speed-up
#OFFLINE=True