Jump to: navigation, search

Difference between revisions of "StarlingX/Devstack/stx-config"

(ToDo)
(Limitation or Issue)
Line 18: Line 18:
 
# [https://git.openstack.org/cgit/openstack/stx-fault/tree/fm-api fm_api]
 
# [https://git.openstack.org/cgit/openstack/stx-fault/tree/fm-api fm_api]
 
# [https://git.openstack.org/cgit/openstack/stx-utils/tree/middleware/util/recipes-common/platform-util/platform-util platform-util]*
 
# [https://git.openstack.org/cgit/openstack/stx-utils/tree/middleware/util/recipes-common/platform-util/platform-util platform-util]*
* si-cond service will fail in first time ,so restart si-cond service in test-config phase
+
* si-cond service will fail in first time when using mysql ,so need to restart si-cond service in test-config phase, use postgresql is ok.
 
* sysinv-api port is same as ironic port 6385
 
* sysinv-api port is same as ironic port 6385
 
</big>
 
</big>

Revision as of 03:21, 3 August 2018

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 when using mysql ,so need to restart si-cond service in test-config phase, use postgresql is ok.
  • 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