aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2017-12-21Add compass-docker-composeHarry Huang1-14/+3
1. Add ansible for docker compose containerized compass 2. deploy/conf/compass.conf no longer specify image tags for runtime. build.yaml now is added into compass tarball to be the only place determine image tags 3. This patch is based on patch: https://gerrit.opnfv.org/gerrit/#/c/47393/ use merged compass-tasks 4. Tempoarily using private docker repo for compass-tasks. Switch to opnfv repo when patch https://gerrit.opnfv.org/gerrit/#/c/47329/ is merged 5. Modify ansible callback module accrodingly Change-Id: I0728a9002a1cc7804c9e8f13bd1afdccb684a159 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue1-7/+7
JIRA: COMPASS-565 For OPNFV F release, it's going to use OpenStack Pike as the NFVI component. This task is created to monitor the upgrade work of OpenStack Pike. Subtasks as follow: - Add Pike related configurations to compass_conf - Upgrade ubuntu os to ubuntu 16.04.3 - Upgrade centos os to centos 7.4 - Upgrade openstack-ansible from ocata to pike - Upgrade openstack repos from ocata to pike Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-09build: support aarch64 deployment imagesYibo Cai1-0/+41
- Use per architecture build-ARCH.yaml if available - Repos for aarch64 OS and docker images are passed by env Change-Id: Id7f9ca6dad690b8d375a3d8f488c7bf955a128ad Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-09-29add docker images tagwutianwei1-6/+6
Change-Id: I7705a085491a11e57edaf79b462b750818bedc8d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-13Update the image tags to euphratesYifei Xue1-2/+2
JIRA: - Currently the latest tag is used in building tarball. As OPNFV Euphrates will be released soon, we change the tags of some docker images to euphrates. Change-Id: Ic7a746f3a3338cf7f5cacd2f932816b3776e7de6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-08Add k8s supporthu xinhui1-0/+6
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue1-0/+5
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-04yardstick installation for compass4nfvManjunath Ranganathaiah1-0/+5
JIRA: COMPASS-552 This patch adds changes to install yardstick on jump host. Change-Id: Id389d253f948a19cb682d54bd95bfbc3139ceb39 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
2017-07-29Switch to compass4nfv docker repoHarry Huang1-1/+1
Dynamic inventory support for compass4nfv/compass-tasks-osa is ready, switch docker repo. Change-Id: I9ad5cd1cc860dd649cf43c6d5f1ea1e7c39e20fc Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-24Dynamic InventoryHarry Huang1-1/+1
JIRA: COMPASS-556 1. using dynamic ansible inventory 2. modify Class AnsibleInstaller in compass-tasks 3. modify compass conf to support this behavior 4. specify docker image in /deploy/conf/compass.conf 5. remove clusterhost status update in playbook_done.py Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-17To judge download is successful or notwutianwei1-4/+12
if download fialed then exit Change-Id: I40d847523ac5448c51d0788f79e4af9737bb5944 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-11Utilize yaml.safe_loadlhinds1-1/+1
The patch changes instances of yaml.load with yaml.safe_load which is more secure at blocking arbitrary code execution. The following blog has a decent explaination: https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html Change-Id: I8201baab6cb31ab31228eca83134f87a57c2f5d2 Signed-off-by: lhinds <lhinds@redhat.com>
2017-07-06Change docker repo in buildHarry Huang1-6/+6
1. change docker repo to compass4nfv 2. change compass-docker-compose github to Compass4NFV Change-Id: I81803ec3123c681e023f6e38456f431c6fc2e346 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-25replace build.conf with yamlchigang3-42/+145
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-09support Containerized compass-corehuangxiangyu1-12/+25
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-12Change the default packages url from compass http server to opnfv artifactsYifei Xue1-3/+0
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-03-08Upgrade tacker from mitaka to newtonYifei Xue1-1/+1
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-01-25Ansible Module substitute for Shell Commandsliyuenan1-1/+0
JIRA: COMPASS-520 After update ansible version to v3, keystone_user module only support v2 API. So we use Shell Commands now, but it will failed with high probability. Those Shell Commands should be instead by ansible modules to manage Identity users, projects or some other work like crate networks. Change-Id: I63d38b4a811a9c063ac4404da72787f594411b53 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan1-12/+2
JIRA: COMPASS-518 Make Centos Newton ppa. Update host Centos version to 7.3. Support Centos Newton Deploy. Support Ceph Deploy. Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20master only support newtonliyuenan1-8/+8
JIRA: COMPASS-513 Remove other roles and ppa, master only support newton. Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-17Create make_repo directory and optimize the current repo making related scriptYifei Xue43-19443/+3
JIRA: COMPASS-496 Change-Id: I662d996382d38a3e9d0de6598dabe403b9d51665 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-11-15Repair Flake8's warnings & errorsKingPoo1-4/+4
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-11Merge "autopep8 make py files more standard"Justin chi1-15/+25
2016-11-09autopep8 make py files more standardKingPoo1-15/+25
Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-10Rename pip-ops to pip-openstackliyuenan1-1/+1
Change-Id: Ie806f15b75ce409fc9283d5c0c0bc6691b430b27 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-08Split the Openstack's pip from pipliyuenan1-0/+1
JIRA: COMPASS-491 Change-Id: Ief6df7da1b3729beb2ac56ff1cfd14a44c71ef21 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-28Merge "support rhel7.2 with osp9 iso build"Justin chi1-0/+2
2016-10-27support rhel7.2 with osp9 iso buildQiLiang1-0/+2
Change-Id: Icbe64f57d936ace63419a0a359a163a822dc5e9c Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-27add osp9 ppa create scriptsQiLiang5-0/+8779
JIRA: - Change-Id: I404f2ddb652d9b166a6162de14cb1d2a166d226b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-24Edit the docker file and adjust HA ymlliyuenan1-1/+2
JIRA: COMPASS-491 Change-Id: Ibca46dca0ca614b9a6e7eb3fe5b9d5c8ca26c006 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-16Merge "Support for policy2tosca python module installation"Justin chi1-1/+2
2016-10-13Make the openstack-newton packageliyuenan4-6/+113
JIRA: COMPASS-491 Change-Id: I27ca70b02c947e3c6a2467ad250ff81461c5de6f Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-12Support for policy2tosca python module installationYifei Xue1-1/+2
JIRA: COMPASS-356 Change-Id: I5a5f68600545456d3d645b9042a5603d65e9b648 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-09-06Prepare the jump host offlineYifei Xue4-1/+212
JIRA: COMPASS-456 Change-Id: Iffc877a0fa4b361daa966cdcdca38c76e35d81ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-19Revert "Prepare the jump host offline"Yifei Xue5-179/+1
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc. Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-17Prepare the jump host offlineYifei Xue5-1/+179
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-12FIX centos7 ppa create failureQiLiang2-24/+5
ceph repo update, related upstream link: http://tracker.ceph.com/issues/16916 centos ceph-deploy rpm download failure workaround Error info: Package python-setuptools is obsoleted by python2-setuptools, but obsoleting package does not provide for requirements --> Finished Dependency Resolution Error: Package: ceph-deploy-1.5.31-1.el7.noarch (centos-ceph-hammer) Requires: python-distribute Available: python-setuptools-0.9.8-4.el7.noarch (base) python-distribute = 0.9.8-4.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest JIRA: COMPASS-455 Change-Id: Ibebc8b25786b12308d5963e77b0f7959d700113a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-06make_pip_repo bug fixQiLiang1-3/+3
Because of `set -ex` shell setup, if function return no zero the whole scripts will exit. JIRA: COMPASS-427 Change-Id: I153e2f18d367741f41a9840d8a98a39a4b2d055f Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-14Support Ubuntu 14.04 and Ubuntu 16.04 in one ISOchenshuai@huawei.com1-1/+2
JIRA: COMPASS-431 Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-12Merge "Improvement: add xenial into make_repo.sh"shuai chen1-2/+8
2016-07-12Improvement: add xenial into make_repo.shQiLiang1-2/+8
JIRA: COMPASS-431 Change-Id: I95d46d4a92923df4f00a0ca48d18ba2e2cd9ed55 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-11Improvement: add xenial into make_repo.shchenshuai@huawei.com2-0/+27
JIRA: COMPASS-431 Change-Id: I46253881a4578737b905e65bc7ed566a71326536 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-08Improvement: add xenial into make_repo.shchenshuai@huawei.com2-2/+81
JIRA: COMPASS-431 Change-Id: Ic03bdd4d4c70d77912f0c1c96ccf63ee97aadf74 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-06make_pip_repo auto download package dependencyQiLiang2-7/+85
JIRA: COMPASS-427 Change-Id: If62736cc9ee7ad3d44be6b688cc52d84cf94cd5d Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-02Upgrade networking-odl and its related pip packagesYifei Xue1-1/+5
JIRA: COMPASS-425 Change-Id: I9a09540fe5e295485f843e66c937f8fa2ad4dad0 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-07-01Update tacker related packagesYifei Xue1-1/+4
JIRA: COMPASS-423 Change-Id: I3efa0868c0147cc43b1df096ae89a6bdc42f4204 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-06-20onosfw: openvswitch support sfcchenshuai@huawei.com1-8/+16
JIRA: COMPASS-424 Change-Id: I3242219d1fff7f3a3919c5edd6dfab0c3557c454 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-06-16openvswitch: upgrade to 2.5.0chenshuai@huawei.com1-4/+4
JIRA: COMPASS-421 Change-Id: I80d0b482c093fd00b4ae0fa8a24b399c918e0beb Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-06-07Fix make_repo.sh args passingQiLiang1-2/+2
JIRA: COMPASS-418 Change-Id: I7be1cd58632d0cdda70a954db6dc53ecff581f22 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-06Update build.shYifei Xue1-1/+2
JIRA: COMPASS-417 Change-Id: I7bb791b2c148cf29a5b8c45ef63204f1eac9e83a Signed-off-by: Yifei Xue <xueyifei@huawei.com>