aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-27Support Centos7wutianwei24-93/+531
1. install the yum packages 2. add the ifcfg scripts to adapt Centos7 3. change MaxSession to 100 4. if setup-host failed, retry to run the failed container Change-Id: I57589d38f6af1677cb889875c85d6b8bac5c80d0 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-06-26Fix config-compute handlerHarry Huang2-68/+2
The network restart handler comes at the end of all tasks which cause pkg install task be executed when network is not ready. Flush this handler right after configure network tasks. Change-Id: I98b9f6f0f2ec0b79632188a481673529a1b522bb Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-25Merge "replace build.conf with yaml"Justin chi4-126/+148
2017-06-25replace build.conf with yamlchigang4-126/+148
JIRA: - use build.yaml as config file from Euphrates openstack deb/rpm/pip packages download from compass repo containers, not from compass.iso. so delete these packages from build.cfg Change-Id: Id254852ece0d738b3ec543efe68216206bd7daf2 Signed-off-by: chigang <chigang@huawei.com>
2017-06-24Install network pkgs during OS installationHarry Huang2-2/+2
Before network is setup, host can't access to internet. Install bridge-utils, ifenslave and vlan when cobbler managing OS installation so when network restart all pkgs needed is ready. Change-Id: Idaa880ed0abfb50f417d67fe55e964992a185c80 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-20fix baremetal deployhuangxiangyu3-26/+20
1. delete package part when external network is not ready 2. modify some vm_environment ip to adapt with containerized compass4nfv code Change-Id: I9d777675e7ca9d6f9b12a885df8677b2446e6917 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-06-09Merge "support Containerized compass-core"Justin chi73-702/+1443
2017-06-09support Containerized compass-corehuangxiangyu73-702/+1443
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-05-15FIX compass-core vm panic issueQiLiang1-5/+1
JIRA: - Update compass-core vm cpu mode in libvirt xml to let compass-core vm support most instruction set that host support. Change-Id: I654672f441c18e0da87509d3c492ceae2bf9ba95 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-05-08Merge "huawei-pod6 added to sandbox CI so, all config files are added for ↵Justin chi12-0/+1001
huawei-pod6"
2017-05-04Merge "Fix vlan network can't deploy instance"Justin chi4-4/+4
2017-05-02huawei-pod6 added to sandbox CIThaj12-0/+1001
so, all config files are added for huawei-pod6 Change-Id: Ic11ca7de4787a67e52ac75784f760347bcb42315 Signed-off-by: Thaj <Thajudheen.rajak@huawei.com>
2017-04-24tempest test case failed in Functest smokeYifei Xue5-21/+29
JIRA: COMPASS-545 1. LVMISCSIDriver has been removed but LVMVolumeDriver is what actually exists. Updating the LVM driver name in cinder.conf will solve this. 2. Add tgt to cinder-volume's service list 3. Add section of ceph in cinder.conf for cinder backend 4. Add enable_backends in cinder.conf Change-Id: I477d2b17ce9e10871a7b96c1a98a49506b36a6ef Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-04-18Merge "Change the default packages url from compass http server to opnfv ↵Justin chi6-8/+6
artifacts"
2017-04-14Merge "Up br-external after its creation"Justin chi1-0/+2
2017-04-14Merge "Fix memcached doesn't start issue"Justin chi2-1/+19
2017-04-12Change the default packages url from compass http server to opnfv artifactsYifei Xue6-8/+6
JIRA: COMPASS-544 Currently compass4nfv uses compass http server to store those packages used in building ISO. This is not propriate in OPNFV community. So we push all the packages into opnfv artifacts repo and change the package url used in compass to opnfv artifacts repo url. Change-Id: I9661f2d893767e18c037ba9de5f54933f48ce466 Signed-off-by: Yifei Xue <xueyifei@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-04-05Merge "change the package url"Justin chi2-2/+8
2017-04-01Fix vlan network can't deploy instancehuangxiangyu4-4/+4
JIRA: COMPASS-533 Bug: When a vlan network is created and bind to a physical network, the instances launched on this network will fail to get ip address from openstack dhcp server. Solution: Set enable_isolated_metadata to True in dhcp_agent.in Change-Id: I97cf8684d1ec9beeaa30e0ffa290150046ebcab1 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-03-30Update release notes for Danube releaseJustin chi2-23/+20
JIRA: - 1. Add known issues and workaroud instructions 2. Update Danube release date Change-Id: I6058dcf7db478d680999f451f5959ec4f998036f Signed-off-by: Justin chi <chigang@huawei.com> Signed-off-by: chigang <chigang@huawei.com>
2017-03-28Fix memcached doesn't start issueQiLiang2-1/+19
JIRA: - Sometimes memcached does not start after installation finished, which will cause issues like openstack dashboard open instance console failure. This patch add memcached restart notify during package installation and add memcached to cron service-status-check task's config file: /opt/service Change-Id: I625899348fb447875fcca7beedb619b5490ce567 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-27Merge "opera adapter fix2"Justin chi5-4/+12
2017-03-27Merge "FIX access database failed"Justin chi4-15/+2
2017-03-27Merge "Support bond created"Justin chi6-7/+74
2017-03-27Merge "Fix preseed MAC address fetch method"Justin chi1-8/+1
2017-03-27Merge "Support compute node restart on CentOS"Justin chi1-1/+8
2017-03-27opera adapter fix2Harry Huang5-4/+12
* 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>
2017-03-27change the package urlwutianwei2-2/+8
We moved the master package repository from <http://205.177.226.237:9999> to <http://205.177.226.237:9999/master>. When we build the master ISO, we need download the package from new URL. Add md5 checksum after downloading package. Change-Id: Ia6d8a217569e6e8dc676b1290e583348a7b9c347 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-03-24[compass-docs] correct some minor mistakemeimei3-6/+5
Change-Id: I0e065552cbcaeffde83daeac9d1c27445f6cfcbb Signed-off-by: meimei <meimei@huawei.com>
2017-03-24Support compute node restart on CentOSliyuenan1-1/+8
JIRA: - Openvswitch service in Ubuntu named openvswitch-switch, but it named openvswitch in CentOS. Change-Id: I2a4d3d0ae0a646971696bae798b623da059a3781 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-03-22Opera adapter fix 1Harry Huang2-5/+9
After adding sudo opera_adapter can't get $COMPASS_DIR and still has the issue returning 0 when launch opera fail. Changing the way opera_adapter gets $COMPASS_DIR and add judgement inside opera_adapter to get opera launch error. Change-Id: I59d0d496f47b38e474de3dfc1277877dbe8ed840 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-21Opera adapter fixHarry Huang2-6/+22
* 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>
2017-03-20update opera fixHarry Huang1-56/+6
opera codes has been updated and network_openo.yml is modified according to new opera net config. open-o related keys in deploy/compass_conf/package_metadata/openstack.conf should be modified as well Change-Id: I55f8ed3dedcbfd30a3f01b70c958258199f600e6 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-17Merge "update opera related files"Justin chi13-151/+103
2017-03-17Add ONOS scenario to daily masterYifei Xue1-4/+0
Currently ONOS scenario only runs when OpenStack version is set to Mitaka. This patch is going to change daily ONOS scenario to run with OpenStack Newton. Change-Id: I6595d23778bb50772531e1419d2c7b7b72988967 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-03-17update opera related filesHarry Huang13-151/+103
1. update opera_adapter.py to sync new opera config 2. modify all os-nosdn-openo-ha.yml, add open-o version and vnf type 3. modify all network_openo.yml, using only one external ip and assign open-o docker ips Change-Id: Iadcba8cc2fc17ddf32dfea9fe52c471a6bfadde8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-16Merge "onos 1.8 upgradation for danube"Justin chi18-52/+616
2017-03-16Fix preseed MAC address fetch methodQiLiang1-8/+1
JIRA: - e.g.: root@host1:~# ip link show eth4 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether ec:38:8f:79:fa:5c brd ff:ff:ff:ff:ff:ff root@host1:~# echo $(echo $@ | cut -d' ' -f17) ec:38:8f:79:fa:5c root@host4:~# ip link show eth4 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop portid 0100000000000000000000000000003000 state DOWN mode DEFAULT group default qlen 1000 link/ether e0:36:76:d2:34:73 brd ff:ff:ff:ff:ff:ff root@host4:~# echo $(echo $@ | cut -d' ' -f17) 1000 root@host4:~# echo $(echo $@ | cut -d' ' -f19) e0:36:76:d2:34:73 Change-Id: I916c19807da724e9ba471376f81f3c763b9340d5 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-16onos 1.8 upgradation for danuberssaravana18-52/+616
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012 Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
2017-03-14Merge "Adding Labels"Justin chi4-0/+8
2017-03-14Support bond createdliyuenan6-7/+74
JIRA: - You can add bond according to deploy/conf/network_cfg.yaml. Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-03-14Merge "Add vm live migration support"Justin chi1-0/+48
2017-03-14Add vm live migration supportQiLiang1-0/+48
JIRA: - Add libvirtd configure to support vm live migration. Test cmd: nova live-migration <vm-id> <dest-host-name> Change-Id: Ic7f47f1e13a7cd84a2d1c67089fedf76662bf412 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-14Merge "Add deploy log to file"Justin chi1-1/+4
2017-03-10Add deploy log to fileQiLiang1-1/+4
JIRA: - The default log file path is: work/deploy/log/compass-deploy.log Change-Id: I6f8ebb028d169a0da88f2a588e4563db4f2f1f76 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-10Add network_openo.yml in all virtual podsHarry Huang5-0/+456
add network_openo.yml to adapt with open-o scenario in: 1. huawei-virtual1 2. huawei-virtual2 3. huawei-virtual3 4. huawei-virtual4 5. huawei-virtual7 Change-Id: I96046470ddb05f8f613489db35f4a6b623a5cf4c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-09FIX access database failedliyuenan4-15/+2
JIRA: COMPASS-521 Use a hard value to set number of workers for Openstack API service. This way only fix E9000 failed temporarily. Database need to update in a late patch. Change-Id: Ie03f6a758e1e458567054470962b5be4f6ee630e Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-03-08Upgrade tacker from mitaka to newtonYifei Xue16-97/+214
JIRA: COMPASS-528 Add tacker package making scripts into repo/pip/ directory. Compass will install tacker using pip in this release. Upgrade tacker role including tasks, templates and vars. Modify the installation method from using source code to using whl package. Change-Id: Iead323c7b46d8d1df084ed868d0e01bc1b0f7e55 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-03-08Merge "add open-o scenario"Justin chi7-0/+579