Difference between revisions of "StarlingX/Devstack/stx-config"
Austin.sun (talk | contribs) (→ToDo) |
Austin.sun (talk | contribs) (→Limitation or Issue) |
||
Line 10: | Line 10: | ||
=== Limitation or Issue === | === Limitation or Issue === | ||
<big> | <big> | ||
− | * some db migrate code need to adapt | + | * some db migrate code need to adapt if Devstack is using mysql(default), String must have length and String length Max is 255. if use postgresql , it is ok. |
− | https://review.openstack.org/#/c/588184/ is the draft gerrit id to fix | + | https://review.openstack.org/#/c/588184/ is the draft gerrit id to fix mysql 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'. | * 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'. | ||
# [http://git.openstack.org/cgit/openstack/stx-update/tree/tsconfig/tsconfig tsconfig] | # [http://git.openstack.org/cgit/openstack/stx-update/tree/tsconfig/tsconfig tsconfig] |
Revision as of 03:38, 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 if Devstack is using mysql(default), String must have length and String length Max is 255. if use postgresql , it is ok.
https://review.openstack.org/#/c/588184/ is the draft gerrit id to fix mysql 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'.
- 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 tempest 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