summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-08xci: Fix images directory permissionsFatih Degirmenci2-2/+2
Change-Id: Ibc1b9662bb9865c0e309128327d620324ddca85c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-07APEX: Change virtual compute ram to 7gbFeng Pan1-1/+1
Change-Id: I6f42ffe5fad41ac90830784d8a4ec8ee04eae7d2 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-07Merge "xci: Exclude aodh, ceilometer, and gnocchi from deployments"Fatih Degirmenci4-83/+0
2017-04-07APEX: Remove setting of hugepagesFeng Pan1-5/+1
Change-Id: Ic482f75bb905082f503958c1be01c9cd7e68566a Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-06xci: Exclude aodh, ceilometer, and gnocchi from deploymentsFatih Degirmenci4-83/+0
Aodh is broken on the master branch due to use of conflicting sqlAlhcemy package, causing issues during osa repo_build. This patch disables aodh and the related services ceilometer and gnocchi since the reason for us to have these 2 is to get aodh. See the failure from https://build.opnfv.org/ci/job/xci-deploy-virtual-xenial-daily-master/26/consoleFull Change-Id: Ic6b74328cf1692b5e26c5f30b3eb3799240c7117 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-06APEX: reduce hugepages and ram for virtual fdio/ovs deploymentsFeng Pan1-1/+5
Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-06Merge "[WIP]:jobs to deploy danube and run dovetail from master"mei mei3-35/+22
2017-04-06change not_found to forbidden when db not existSerenaFeng2-6/+6
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-06unify error message in TestAPISerenaFeng14-67/+122
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-06Merge "xci: Introduce XCI_LOOP variable to control what to do properly"Fatih Degirmenci8-3/+24
2017-04-05[WIP]:jobs to deploy danube and run dovetail from masterMatthewLi3-35/+22
JIRA: DOVETAIL-180 Change-Id: Ia8d44b609c53696c141eced747e3855c67faccb5 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-05APEX: Reduce virtual ram on compute nodes for fdio/ovs scenariosFeng Pan1-1/+1
Change-Id: I7df2c6a6a940f49268146334cb7f77d3fffeb665 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-05jjb: xci: bifrost-cleanup-job: Fix undefined variableMarkos Chandras1-1/+1
Variable 'i' does not exist. It should be 'try_to_rm' instead. Change-Id: Ic2aa5a1115715851379e2c7ba5c11699cb8e7407 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-04-05Merge "xci: Log info about provisioned VMs to console"Fatih Degirmenci1-1/+3
2017-04-05Merge "xci: Start developer documentation"Fatih Degirmenci1-0/+31
2017-04-05xci: Log info about provisioned VMs to consoleFatih Degirmenci1-1/+3
Change-Id: If29aaf0be6ddd860450eeb10432fe75e12b1d03b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-05xci: SHA bump as of April 4Fatih Degirmenci3-60/+53
The bifrost, osa, and ansible role requirements sha1s are bumped based on the HEAD of the master of the projects on April 4. designate is also disabled based on the comment the osa commit mentions. https://review.openstack.org/gitweb?p=openstack/openstack-ansible.git;a=commit;h=d9e1330c7ff9d72a604b6b4f3af765f66a01b30e Change-Id: Ib47515490c799d3b1d2b4b319277c8900cd37328 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-05Merge "Compass Adapter to get deployment information"Jose Lausuch5-1/+213
2017-04-04xci: Introduce XCI_LOOP variable to control what to do properlydanube.1.0Fatih Degirmenci8-3/+24
XCI has different jobs/loops to run - patchset verification jobs (currently bifrost and osa in future) - periodic jobs (bifrost and osa) - daily jobs (for OPNFV platform deployment and testing) The same scripts/playbooks used by XCI will also be used by developers. We need to do different things depending on the context the scripts and playbooks are executed. - periodic jobs will use latest of everything to find working versions of the components. (periodic osa will use unpinned role requirements for example) - daily jobs will use pinned versions in order to bring up the platform and run OPNFV testing against it. (daily deployment will use pinned versions and role requirements for example) - developers might choose to use pinned versions or latest Depending on what loop we are running, we need to do things differently in scripts and playbooks. This variable will help us to do this in easy way. We can of course do pattern matching of the job name but it will not work if the scripts are used outside of Jenkins. The default loop for non-Jenkins execution is set to daily as we want developers to use working versions unless they change it to something else intentionally. Change-Id: Iff69c77ae3d9db2c14de1783ce098da9e9f0c83d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04Merge "xci: Do not log info to console if running daily deployment"Fatih Degirmenci1-12/+14
2017-04-04xci: Do not log info to console if running daily deploymentFatih Degirmenci1-12/+14
Periodic and daily jobs use same script and we should not log info about osa sha1 to pin into console if it is not run as part of periodic job. Change-Id: I8203a822638603af92fd046d8038a3b4122dbf37 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04xci: Fix build blocker so downstream jobs can be startedFatih Degirmenci1-1/+0
Change-Id: Ie33bcbbe1d4c4fd2166c8931bd9f135cf4200263 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04xci: Fix the haproxy service and gnocchi db sync problemFatih Degirmenci4-0/+9
This patch reflects the fix Tianwei found for the keystone and gnocchi issues with HA deployment. https://gerrit.opnfv.org/gerrit/#/c/32367/ The keystone issue should be fixed upstream but until that happens, we can use the patch here to move us forward. Previously removed OpenStack services have also been enabled to try as close deployment as possible to upstream openstack-ansible. Change-Id: Ib7b1cfe0f363381466b43a3249667c638c09d9fd Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04Merge "xci: Create periodic osa jobs to find working version"Fatih Degirmenci2-0/+188
2017-04-03xci: Adjust and fix jobs and scriptsFatih Degirmenci8-117/+32
This change - fixes GIT_BASE in jobs - adjusts build blockers - fixes where the flavor vars should be sourced from - sources flavor vars for bifrost periodic jobs - renames the xcimaster node to opnfv to be consistent - removes obsolete xci-provision.sh script - enable additional openstack services including tempest to ensure the deployment is sane Change-Id: Ifdce1da52d68a26c2b87e1bd3b1996ec119d8d90 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-03Merge "Removing _l3 from Apex scenario names in master"Tim Rozet1-0/+6
2017-04-03Merge "Updating Apex ENV Var Names"Tim Rozet3-9/+9
2017-04-03Change Danube image for reportingMorgan Richomme1-0/+0
to be sync with communication Change-Id: I7747416ab73f85d979d405afd9b87d57faac2bf0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-04-02xci: Create periodic osa jobs to find working versionFatih Degirmenci2-0/+188
These jobs run periodically against the HEAD of master and stable/ocata branches in order to attempt deployment and help us to find more recent working versions to pin. In perfect world, these jobs should be run post-merge, helping us to move faster but lack of resources prevent us doing that. One thing to note here is that we use the pinned version of bifrost in order to make sure we change one thing at a time to reduce the delta. Change-Id: Ieaff7e80581c7577b253b3646ca386313295a45a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-02Merge "xci: Create periodic bifrost jobs to find working version"Fatih Degirmenci2-0/+253
2017-04-02Merge "xci: Configure daily job to use xci scripts"Fatih Degirmenci3-199/+65
2017-04-01Merge "Dial in docker and ssh environment"Tim Rozet1-5/+7
2017-04-01change openrc file path to /etc/yardstick/openstack.credschenjiankun1-1/+1
JIRA: YARDSTICK-623 Now almost yardstick openrc file is in /etc/yardstick/openstack.creds. But only in prepare_env.sh it is /home/opnfv/openrc. So I unified it and change it to /etc/yardstick/openstack.creds in the follow patch: https://gerrit.opnfv.org/gerrit/#/c/32005/ Also there is some adapt work to do in releng. Change-Id: I7764582dec1d9a8f74e53b23e23d98021a20589b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-04-01add daisy unittest verify jobSerenaFeng1-18/+22
Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-01Update block parametersJulien4-16/+7
Fix issue: 1. father job block child jobs 2. deploy the env in daisy-virtual slaves Change-Id: Idcda4b8ca5fcf9abbfae3c60bf656a0901a20e02 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-31Dial in docker and ssh environmentJamo Luhrsen1-5/+7
- need the key to be in /tmp/.ssh/ because that is what robot is expecting. - need to run docker with -ti Change-Id: I8260e749d6afefec33b447d8fdbb89b3d4d39941 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-04-01Add tox supportJulien7-0/+62
be easier to test jjb locally before submit for review. add unitest in modules dir to tox(tox -emodules) Change-Id: Ief4f10debc567d1d3ba111685c86b812a2058697 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-31xci: Start developer documentationFatih Degirmenci1-0/+31
Change-Id: Ib5200372a44ee6a22b45c2105b3729d362eacb1d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31xci: Create periodic bifrost jobs to find working versionFatih Degirmenci2-0/+253
These jobs run periodically against the HEAD of master and stable/ocata branches in order to attempt provisioning and help us to find more recent working versions to pin. In perfect world, these jobs should be run post-merge, helping us to move faster but lack of resources prevent us doing that. Change-Id: I6f6b2fcc58eda112b1e811a7b11269e928bbceef Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31xci: Configure daily job to use xci scriptsFatih Degirmenci3-199/+65
Daily jobs are now switched to using xci-deploy.sh script together with the environment variables, playbooks, and so on. These jobs do not set any version for any of the component as the point with these jobs is to test the platform itself, not the tools. DIB related stuff is still left as parameters to deploy job for SUSE and CentOS jobs so we can override what is set by xci depending on the distro. Change-Id: I5a5292e6bae8fdd052858108db409e8d495fbf24 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31Apex: fixes writing sha info into propertiesTim Rozet1-4/+4
Change-Id: Idc5ca86dbc51d83860f26244a4ed7d88015552d0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31Apex: Fixes regexp to match label names as wellTim Rozet1-1/+1
Change-Id: I42f8836320e4bce2f890aa4a17d59f53efab7f97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31xci: Update main script and readmeFatih Degirmenci2-7/+373
This change - updates the main script to run the playbooks - creates the initial version of the readme file Change-Id: I4110433bce541a5d9645f34457f9e1b1ee93df19 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31Updating Apex ENV Var NamesDan Radez3-9/+9
- CONFIG and RESOURCES have been replaced by BASE and IMAGES in Danube Change-Id: I1b1d4e73b1f4e8a13d63bd199ec4c91e853d14a6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-31xci: Create playbook to destroy, create and provision VM nodesFatih Degirmenci5-29/+44
This change moves preparation (cloning repos, combining opnfv/bifrost with openstack/bifrost), destroying and creating VM nodes from the script into a separate playbook. This requires the host to have ansible installed. The version of ansible to install using pip currently matches to what bifrost uses but it is hardcoded and needs to be fixed properly. The reason for having this as a playbook to simplify the script and increase the reuse. This playbook will be used for - developer sandbox - periodic bifrost jobs to run against latest on given branch and promoting bifrost sha1 to pin later on - daily jobs to run using pinned versions of bifrost Change-Id: I033f12290dfea19d4c74be80eea7203211c0369e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31Compass Adapter to get deployment informationhelenyao5-1/+213
result of example.py for Compass(ODL enabled) can be refered here https://pastebin.com/k3UW9bUJ Change-Id: I56352d71152078a44d706d97c67fb8d69b20ad2d Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-31Merge "xci: Add ansible files for sandbox mini flavor"Fatih Degirmenci5-0/+273
2017-03-31xci: Add ansible files for sandbox ha flavorFatih Degirmenci5-0/+389
This patch adds noha target host configuration playbook, inventory, variable files and so on to use until we have time to fix things more properly and some other functionality becomes available in upstream. This approach will result in duplicates but it is something we can perhaps live with. The playbook to configure target hosts will be same with the one we will have for noha flavor but for different for the flavor mini. The user variables and openstack user configuration will be different between flavors and keeping deployment specific configuration. Change-Id: I4e2b375b9f8f6bd5f8c5da91a522b78d61a58125 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31Merge "xci: Add ansible files for sandbox noha flavor"Fatih Degirmenci7-0/+325
2017-03-31Merge "Add wait method for Docker builds"Jose Lausuch1-8/+10