Age | Commit message (Collapse) | Author | Files | Lines |
|
1. echo a string to compass log to avoid deploy error
bing concealed
2. judge return code of ./opera_launch.sh
Change-Id: I7ac2bac9b600f289c01116e7f7777d1219a58eb2
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
* opera_adapter need sshpass which may cause deploy
fail
* compass log redirection is the last command which
always return 0 and thus cover deploy error
1. add installation of sshpass in prepare.sh
2. echo a string at the end of deploy/launch.sh into
log file to judge if deployment is complete
3. fix typing error in util/check_valid.py
Change-Id: Ifa57faed29e1055a35ab0e24b0026b520f395807
Signed-off-by: Justin chi <chigang@huawei.com>
|
|
* opera_adapter need sshpass which may cause deploy
fail
* compass log redirection is the last command which
always return 0 and thus cover deploy error
1. add installation of sshpass in prepare.sh
2. echo a string at the end of deploy/launch.sh into
log file to judge if deployment is complete
3. fix typing error in util/check_valid.py
Change-Id: Ic4bca50b2c316bf46cace45b9b3317ef9452a0ba
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
* CI return 0 when opera_adapter fails which cover the error.
* opera_adapter runs with no sudo will fail when generate ssh
key.
* opera_adapter.py use simple ip replacement for openrc file
will lead to error when openrc file changed in compass.
1. add judgement to tell if opera_adapter fails
2. add sudo when run opera_adapter
3. pass data in openrc files to opera openrc instead of ip
rewriting
Change-Id: I681717947746b768791529975a5b0d2a23c6069a
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit b21d57081d4b705689cb6d7372e254818b84a760)
|
|
JIRA: COMPASS-504
JIRA: OPERA-1
Function:
support open-o deployment by calling opera project.
open-o deployment will start at the end of normal
compass4nfv deployment.
Changes:
1. add scenario and network yaml for opera
2. add opera_adapter.py for calling opera
Attention:
The git URL for opera will change after opera patch
OPERA-2 is meraged. This patch should be modifed
before meraged.
Change-Id: Id0afcece920c4107bb23f42b460c46eec3ca97e6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
Change-Id: I80a379bcb5851ef2b29a52c8d45450dd1d36ade0
Signed-off-by: liyuenan <liyuenan@huawei.com>
|
|
Add refresh.sh exec on compass-core, so user don't need to manually execute
the refresh.sh script when they what redeploy the openstack without redeploy
the compass-core vm.
Change-Id: I1a6b5ca84d4dd00a3f326b30b68e0ecac022d5ef
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
Use flag ENABLE_UBUNTU_THEME to configure enable or disable ubuntu
dashboard theme.
Set default to use ubuntu theme.
JIRA: -
Change-Id: I454c69b0290084c244979bb86c733a03721481cb
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
- add recovery shell scripts
- add boot-recovery role to stop services during system boot which
could cause boot pending
- configure nfs mount in /etc/fstab cause system boot pending,
so mount nfs during ansible-playbook run.
- kill mysqld before mysql recovery, running mysqld may cause mysql
recover failure
JIRA: COMPASS-474
Change-Id: I0f6f0ee935fbe3fbbe28a451a02decfb01a6165b
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
|
|
Add function check_input_para in /deploy/launch.sh to check
whether there is invalid address in DHA and NETWORK file after
function process_input_para is called.
Check_input_para is defined in /deploy/deploy_parameter.sh and
calls check_valid.py in /util. Exit installation when invalid
address or format error is found.
JIRA:COMPASS-480
Change-Id: Ib01c368db6b48cbded0045a2819d895c980c2b1b
Signed-off-by: Herry Huang <huangxiangyu5@huawei.com>
|
|
Through modify the virtual_cluster_expansion.yml, include
host's name and mac, you can decide to how many compute
nodes you need to add.
And you also need to modify network.yml. Note that external
subnet's ip_range should be changed as the first 6 IPs are
already taken by the first deployment.
Edit ``add.sh``, check the environment variable. Note that
the OS version and OpenStack version should be same as the
first deployment.
Run ``add.sh``.
JIRA:COMPASS-481
Change-Id: Id85f02518667e0ff80c2475e70856cd30cf1b9b7
Signed-off-by: liyuenan <liyuenan@huawei.com>
|
|
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc.
Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: COMPASS-456
Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
If you do not run deploy.sh for the first time, then export below env
before run deploy.sh can avoid needless package reinstall.
export DEPLOY_FIRST_TIME="false"
JIRA: COMPASS-449
Change-Id: Ia3b51bd02f4a131d57bf5793900faad9e1acb09e
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
JIRA: COMPASS-398
Change-Id: If48fbdf9c6a1c2623fdbbea40963791c8fa4da78
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
|
|
JIRA: COMPASS-391
Change-Id: I99120617282a27ed8b2d811ad00ae4d10adff93b
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
|
|
JIRA: COMPASS-317
Change-Id: I27b6bb3aa8707f02a51951eed83646a78dafc841
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
|
|
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
JIRA: bugfix_python_env
Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
* Our bash scripts use some bash sepcific syntax, so
them can not be started by other shell like zsh.
Add shebang for them, so zsh can simplely execute
'./deploy.sh'
Change-Id: Ic6e6afaa83c6de131e6ac4eda1601d11c5b22656
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
JIRA: COMPASS-216
Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9
Signed-off-by: baigk <baiguoku@huawei.com>
|
|
JIRA: COMPASS-212
Change-Id: If19bd069ae1fc8cfe565f1e1ed352f24b9fc3950
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
JIRA: COMPASS-194
- add two entry for seperate deployment
Change-Id: I7ea964f7fc1ac7e9191b4c21032e24a1a70aa07d
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
|
|
JIRA: COMPASS-132
Change-Id: I8e3f73b93acd8dae9f40dd43548679bc2eb1ea3c
Signed-off-by: baigk <baiguoku@huawei.com>
|
|
JIRA: COMPASS-88
Change-Id: Ie40033b99d29e79c6a50b3073f4147109a02d7fa
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
JIRA: COMPASS-81
Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e
Signed-off-by: baigk <baiguoku@huawei.com>
|
|
JIRA: COMPASS-19
Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b
Signed-off-by: baigk <baiguoku@huawei.com>
|