AgeCommit message (Collapse)AuthorFilesLines
2019-03-08Modify compass-tasks-k8sHEADmasterHarry Huang2-1/+5
JIRA: - 1. Upgrade ansible inside virtualenv and link ansible binaries outside. 2. Upgrade Kubernetes to 1.11.3 Change-Id: Ic41bea94dd25cd1ea99f3a27a100be6e7f9277dd Signed-off-by: Harry Huang <>
2018-12-20Add reserved_range in subnet tableHarry Huang8-26/+160
JIRA: COMPASS-612 1. reserved_range can be range and individual ips e.g. "," 2. IP within reserved range will cause an error Change-Id: If2160af165a57cab3bc8b528379879cad42a5db0 Signed-off-by: Harry Huang <>
2018-12-14Fix fence_libvirtHarry Huang1-1/+1
JIRA: - Bug fix Change-Id: I97dee71f21e01534ac9ea24e554ad61b34916494 Signed-off-by: Harry Huang <>
2018-11-12Modify manage_db.pyHarry Huang2-1/+54
JIRA: COMPASS-613 Add add_machine and add_subnet Change-Id: Ibe3be5040a8d34c4415b6c0fe927b486b14495c8 Signed-off-by: Harry Huang <>
2018-10-30Merge "Manage host power from cobbler"Harry Huang19-155/+298
2018-10-30Manage host power from cobblerHarry Huang19-155/+298
JIRA: COMPASS-616 1. Use fence_ipmilan to control power of baremetal servers. Add fence_libvirt to control power of virtual servers. 2. Use power_manage field instead of ipmi field 3. Add power_type to specify machine's power manage tool 4. Store power manage information in db and update to cobbler 5. Manage power from cobbler for both virtual and baremetal machines Change-Id: Ic36ae640dc0aa1703566b5b0b549880a71be36e4 Signed-off-by: Harry Huang <>
2018-10-16Ignore owner_idHarry Huang2-2/+2
JIRA: - Support add machine without owner_id Change-Id: Ia47d6c4cd514ee315350b45eaa64282e15f97346 Signed-off-by: Harry Huang <>
2018-09-17Add gateway in subnet tableHarry Huang4-8/+10
JIRA: COMPASS-618 Change-Id: I3800d2aa7a38616484eb76390e6a623645dc441c Signed-off-by: Harry Huang <>
2018-09-03Merge "Passing ipmi credentials to cobbler"Harry Huang4-3/+6
2018-09-03Passing ipmi credentials to cobblerHarry Huang4-3/+6
JIRA: COMPASS-616 Add host ipmi credentials into cobbler system to manage host power. Change-Id: I6ffbb390f920fe146887513d3f7e48f05630a25f Signed-off-by: Harry Huang <>
2018-08-10Support multiple mac addresses in dbHarry Huang4-8/+10
JIRA: COMPASS-613 Change-Id: I1828c512d04060271cd0dc4884d892aa8f5adf97 Signed-off-by: Harry Huang <>
2018-06-29Merge "fixup docker package and upgrade k8s to 1.9.1"opnfv-7.0.0Justin chi3-86/+22
2018-06-14arm64: fix concurrent building errorYibo Cai2-2/+6
compass-tasks and compass-tasks-osa arm64 images are currently a simple wrap of compass-tasks-base image. The three images share one single image id, which causes concurrent building failure in releng task as one job will try to remove the built image while another job is still using the image with same id. Error logs: This patch add another layer in compass-tasks and compass-tasks-osa to make sure they have different image id from compass-tasks-base. Change-Id: I0d8f299a3268322d043c22de7814cf5f87e3658e Signed-off-by: Yibo Cai <>
2018-05-29fix celery version to 4.1.0 in compass-deck dockerwutianwei1-1/+1
it would fail to deploy when celery version is 4.1.1. Change-Id: I64c8bc9e3a0cc7532c5b1abaacd5deb1c9aaa598 Signed-off-by: wutianwei <>
2018-05-28Merge "compass-tasks-osa: upgrade from Pike to Queens"Harry Huang2-16/+19
2018-05-25compass-tasks-osa: upgrade from Pike to Queensramamani yeleswarapu2-16/+19
Change-Id: I42e6efc5255caf8312fc4b18e7bbad0687f07a1f Signed-off-by: Ramamani Yeleswarapu <>
2018-05-18fixup docker package and upgrade k8s to 1.9.1Di Xu3-86/+22
Change-Id: I05c53c3163845713d0d59ee2330edf3bae563e00 Signed-off-by: Di Xu <>
2018-05-17Replace deprecated usages of FlaskHarry Huang8-11/+11
JIRA: COMPASS-598 Old usage like "from flask.ext.script import Manager" should be replaced by "from flask_script import Manager" as Flask is upgraded from 0.12.2 to 1.0.2. Fix all deprecated usage among compass containers. Change-Id: If03b73a01d7dfc33a505a9fa2c893c6993feaeb2 Signed-off-by: Harry Huang <>
2018-05-15Merge "compass-tasks-k8s: support arm64"Harry Huang5-0/+228
2018-05-15Merge "compass-tasks-base: support arm64"Harry Huang1-0/+12
2018-04-24compass-tasks-osa: add arm64 placeholderYibo Cai2-0/+6
ARM64 support for this OpenStack deployment task is not ready. Adding a placeholder Dockerfile-arm64 to satisfy image building script, which requires both arm64 and x86 images to support multi architecture. Change-Id: I9fbc288197cd43389eb00c989cc9b1b39fb05ce7 Signed-off-by: Yibo Cai <>
2018-04-24compass-tasks-k8s: support arm64Yibo Cai5-0/+228
Gaps from x86 to be fixed: - kubernetes version: arm = 1.7.5, x86_64 = 1.9.1 - arm64/: arm specific patches Change-Id: I0cb11ea304da1cf8de6dd582190a04cc111b1ff9 Signed-off-by: Yibo Cai <>
2018-04-18compass-tasks-base: support arm64Yibo Cai1-0/+12
Add Dockerfile-arm64 to keep a consistent building interface among all docker images. It's actually the same as original Dockerfile. Change-Id: Ibd5962384c82957dc8383b8af1f8e15f4af2a16f Signed-off-by: Yibo Cai <>
2018-04-09Fix pip versionHarry Huang4-4/+2
JIRA: - Avoid package problems brought by pip10 Change-Id: I082571ba71b6624f4b8f8a8b4a2a4eed9315cd10 Signed-off-by: Harry Huang <>
2018-04-09Fix pip version at 9.0.1Harry Huang2-0/+2
JIRA: - Avoid package problems brought by pip10 Change-Id: Ibc6c92d0b212b746c531aca8b07f3b00ed3bbd9e Signed-off-by: Harry Huang <>
2018-02-27Merge "compass-db: support arm64"opnfv-6.1.0opnfv-6.0.0Justin chi2-0/+58
2018-02-27Merge "compass-cobbler: support arm64"Justin chi3-4/+58
2018-02-27Merge "compass-deck: support arm64"Justin chi2-1/+27
2018-02-24Seprate compass-tasksHarry Huang11-0/+824
JIRA: - Keep three compass-tasks: compass-tasks - merge both OSA and kubespray compass-tasks-osa - only OSA compass-tasks-k8s - only kubespray Change-Id: Ia790da1b5080322c5e2efe0980aabe9a76867c10 Signed-off-by: Harry Huang <>
2018-01-27Add tacker support in compass-containers for FraserYifei Xue7-466/+150
JIRA: - Add tacker support for OPNFV Fraser including adding secret, git repo, etc. Change-Id: I8dc992e48c12d1452c0094ef9527e405a1a7d692 Signed-off-by: Yifei Xue <>
2018-01-19Fix mysql failure with overlay driverHarry Huang1-0/+2
JIRA: COMPASS-572 Add volume /var/lib/mysql to compass-db Change-Id: I5f91e05f33241aa95d74147730b11553e6585033 Signed-off-by: Harry Huang <>
2018-01-19compass-db: support arm64Yibo Cai2-0/+58
Differences from x86_64: - Dockerfile: don't quit if apt-get update failed - Dockerfile: add volume /var/lib/msql - create user and db only if not exists Change-Id: Ic9aa757b1943c8340eb5b2429683bb12e034a29b Signed-off-by: Yibo Cai <>
2018-01-19compass-cobbler: support arm64Yibo Cai3-4/+58
Differences from x86_64: - User centos:7 as base image - Don't install syslinux, install cobbler-grub-aarch64 - Replace default pxeprofile_arm.template - Fixup cobbler to support arm64 deployment Change-Id: I23e2d1b3c462420a9b76f27135e530e00db82d27 Signed-off-by: Yibo Cai <>
2018-01-19compass-deck: support arm64Yibo Cai2-1/+27
Differences from x86_64: - Dockerfile: use centos:7 as base image - Dockerfile: embed changes in huangxiangyu/centos-systemd - don't quit if doesn't exist Change-Id: I8d04f87f473dbf23e000be2e0ea1d99a7602b91c Signed-off-by: Yibo Cai <>
2018-01-09Change OSA commit idHarry Huang2-4/+4
1. Use commit id 16c69046bfd90d1b984de43bc6267fece6b75f1c to avoid flush handler issue 2. Install ansible in compass-tasks-base virtualenv Change-Id: I257b2f93baa2e36c3b26299782495b8e8c42d06c Signed-off-by: Harry Huang <>
2018-01-05Update base imageHarry Huang1-1/+1
Use opnfv/compass-tasks-base as base image of compass-tasks Change-Id: Ibcd10d8dd3995ecdb84ec59ffa471e67c033304d Signed-off-by: Harry Huang <>
2018-01-05Update compass-tasks-baseHarry Huang2-1/+2
Install ansible into compass-core virtualenv. Using ansible Change-Id: I7d5597b3d4ac214291c980b3b6c2cad48a260fa8 Signed-off-by: Harry Huang <>
2018-01-04Merge "Update compass-tasks"Yifei Xue2-4/+10
2018-01-04Update compass-deckHarry Huang1-1/+7
Using for loop to mv compass modules into compass dir to fix dir mv issue Change-Id: Id36781a8c2768aed12d1afb574dab0947f56b361 Signed-off-by: Harry Huang <>
2018-01-04Update compass-tasksHarry Huang2-4/+10
1. use latest OSA commit id 2. create soft link of ansible-playbook from compass virtualenv Change-Id: Ie16a957a7e7d7150ef6189995624b45d914bd067 Signed-off-by: Harry Huang <>
2017-12-28Merge "Merge compass-tasks-osa and compass-tasks-k8s"Yifei Xue143-113/+138
2017-12-25fix ntp issueHarry Huang1-1/+1
Install ntp to avoid service ntp start failure Change-Id: Ib14607bf05f8ceacb000570a210fd5cc2b4bc3c1 Signed-off-by: Harry Huang <>
2017-12-21Merge compass-tasks-osa and compass-tasks-k8sHarry Huang143-113/+138
JIRA: COMPASS-568 rename compass-tasks to compass-tasks-base. add both osa and k8s support in compass-tasks Change-Id: I438f5b17e509d4cb751ced0ffe640ec70899882f Signed-off-by: Harry Huang <>
2017-12-21Update compass-cobblerHarry Huang2-2/+3
1. update ubuntu signatrue to 16.04.3 2. enable ntpd service Change-Id: I36643aa01efcbe92017d6befa5746a1060e63c20 Signed-off-by: Harry Huang <>
2017-12-12Merge "Solve compass-db restart issue"Yifei Xue1-3/+4
2017-12-04Change the package of cobbler containerwutianwei1-2/+2
The URL of cobbler and cobbler-web don't exist, so we use artifacts repo instead of these. Change-Id: I5652a070ecd909f907165ecc0e0e31522272d8fb Signed-off-by: wutianwei <>
2017-11-30add ARG in Dockerfilewutianwei6-2/+9
when run the command "docker build --no-cache -t opnfv/compass-tasks:latest --build-arg BRANCH=master -f Dockerfile ." if docker version is lower 1.13, it will fail when not using build-arg in Dockerfile Change-Id: I891a37731d242aba4e37c7b56e0361c741e7eac8 Signed-off-by: wutianwei <>
2017-11-21Solve compass-db restart issueHarry Huang1-3/+4
JIRA: COMPASS-569 Add condition check in so init part of mysql only be executed once Change-Id: I1abfac0845847a6989beae6209881f415b4254b2 Signed-off-by: Harry Huang <>
2017-11-03Merge "Add compass-deck"Justin chi138-0/+32544
2017-11-03Merge "Add compass-tasks-osa"Justin chi10-0/+1099