aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/network.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-09support Containerized compass-corehuangxiangyu1-6/+7
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-04-05Up br-external after its creationQiLiang1-0/+2
JIRA: - On a clean env run compass4nfv deploy script will cause the jumpserver network unreachable. This patch fix this issue. Change-Id: Ib04762c5cf745ab40adcf05497d518e6d86ad97c Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-01-10Fix multi-nics BM deploy network unreachable issueQiLiang1-0/+7
Configure OS_MGMT_NIC when openstack external network and mgmt network use different nics. Otherwise openstack mgmt is unreachabe from jumpserver, then compass cann't pass functest healthcheck. JIRA: - Change-Id: If156806d3b92933ac316f178d3eb2d0aaa9e1b4a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-11-22up INSTALL_NIC during installationQiLiang1-0/+2
Some jumpserver's INSTALL_NIC is down during compass4nfv installation, this will cause pxe boot failure. So add auto up the INSTALL_NIC during installation. JIRA: - Change-Id: I109b45360edf03e575f00e88d4b2ce12c01b2869 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-15Add recovery scriptsQiLiang1-0/+41
- 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>
2016-08-28Persist jumpserver network setupQiLiang1-0/+20
JIRA: COMPASS-474 Change-Id: I11d0862c3c98db02cf2bbbae31bf4bf643c5ca52 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-15bugfix: route config error on jump serverchenshuai@huawei.com1-1/+1
JIRA: COMPASS-420 Change-Id: Ibb8845ee934ff08a6d2a661ee52795f82be7846d Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-03-17Clarify the config file to dha filegrakiss1-5/+13
JIRA:COMPASS-344 - make it easy Change-Id: I6e29136670f7a9f75ff90e893eff865d77235b31 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-30add apache2 headers for shell scripts and ansible scriptscarey.xu1-0/+8
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-12create a virtual port on jumpserver for functestcarey.xu1-1/+1
- create a virtual port on jumpserver, for functest communicate with openstack admin network - force mtu to 1450 when vxlan mode - make only one mysql node primary(bug workaround) JIRA: COMPASS-243 Change-Id: I498ed05f4b1b64f4f4db2455dd58dd2b4e82ae82 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-06create a virtual port on jumpserver for functestcarey.xu1-0/+2
- create a virtual port on jumpserver, for functest communicate with openstack admin network JIRA: COMPASS-243 Change-Id: Ib6f0c56253bb26155f0856caeae11a809c92f276 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-30add Shebang for bash scriptscarey.xu1-1/+1
* 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>
2015-12-29remove the forward reject rule of iptablesJohn Anderson1-0/+6
* Functest's testcase running in the docker, and need access openstack's network. But the libvirt nat networks will create forward iptable rules, which reject the connection from the docker. Change-Id: Id0122879aa133ccb81a0bba1ea8d06ac36a65290 Author: carey.xu<carey.xuhan@huawei.com> Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-26use ovs network instead of macvtap for virtual deploycarey.xu1-1/+39
JIRA: COMPASS-218 Change-Id: I3fdfa71e9f94be964c9bc5ec7313b6fbea9b46dd Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-14support connecting compass core and virtual machine by external ipcarey.xu1-141/+32
JIRA: COMPASS-86 Change-Id: I53ac86242088d5d6f22f6d692a7e60ce97e07f6e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-12/+41
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-17lack broadcast parameter when move ips from nic to br_install and lead to ↵baigk1-18/+56
the broadcast add is 0.0.0.0 JIRA: COMPASS-57 Change-Id: I7b5ff7dc4f6566d8b28b00bda417b4da98ac6c18 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-27/+53
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-13Add deploy scripts for compasscarey.xu1-0/+70
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>