summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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: 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-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
2017-03-31Add wait method for Docker buildsjose.lausuch1-8/+10
By default, if a docker build job triggers and there is another one running at the same time, it will abort the job. This adds a wait method with a timeout to avoid that. Change-Id: Ica86885c60ce4137c85474ec4b7441ac5bab600c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-31Merge "unify raise exception process"Serena Feng4-33/+52
2017-03-30xci: Add ansible files for sandbox mini flavorFatih Degirmenci5-0/+273
This patch adds mini 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 user variables and openstack user configuration will be different between flavors and keeping deployment specific configuration. Change-Id: Ie312dfa2047d094b590de970c1436d69f4c69668 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30xci: Add ansible files for sandbox noha flavorFatih Degirmenci7-0/+325
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. NFS configuration is converted into a role and the rest is adjusted accordingly. The playbook to configure target hosts will be same with the one we will have for ha 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: I8faceae846285fc3e4260cbced5b740a9b0c3766 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30xci: Move role configure-network to the right placeFatih Degirmenci1-3/+2
Incorrectly placed role configure-network causes ansible to skip the roles at the beginning of the playbook. Change-Id: Id85e9684eb86acad7c11104b434a319c37e16903 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30Merge "xci: Add ansible files for sandbox aio flavor"Fatih Degirmenci4-0/+27
2017-03-30Merge "Modify interactions with installer VM to set up jenkins-ci for cbench ↵Tim Rozet1-4/+8
test"
2017-03-30xci: Add ansible files for sandbox aio flavorFatih Degirmenci4-0/+27
This patch adds aio opnfv 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 opnfv host is different from the playbook used for the rest of the flavors as our target host is the opnfv host itself. This is the reason for not having target host configuration playbook. This installation of aio will be driven by upstream scripts/playbooks entirely and we just execute the scripts we have in openstack-ansible repo. Change-Id: Ica814bdac1d324414f3add382a8241de49c93a2e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30prototypes: bifrost: Remove ironic templatesMarkos Chandras2-158/+0
This effectively reverts d8235c3c97f4 and 7c1b8bf89d6ce since upstream has now fixed the issues reported in https://review.openstack.org/#/c/450681/ Change-Id: I35588146654d9141bc9357faa3d44e8799c5b706 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-30Merge "xci: Ensure using flavor inventory"Fatih Degirmenci1-0/+4
2017-03-30xci: Networking fixes to introduce role and interface varFatih Degirmenci6-57/+65
Network configuration task and accompanied handler put into a role and handler is converted to task. Distro specific var, interface, is introduced to ensure we do not hardcode the interface which might not be available. Update the templates accordingly. Change-Id: I667620fe22c93a9b20a1d8c1b7b0051d7647b591 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30Merge "dovetail: fix wrapper disable problem"Jun Li2-6/+2
2017-03-30xci: Ensure using flavor inventoryFatih Degirmenci1-0/+4
This is needed in order to configure target hosts that are in the flavor inventory file rather than what is there by default, which is aio. Change-Id: Iab27ed71a3d7c03f8fbbec8ceb7af92259320412
2017-03-30Merge "xci: Add common and OS family ansible var files"Fatih Degirmenci6-0/+52
2017-03-30xci: Add common and OS family ansible var filesFatih Degirmenci6-0/+52
OS family vars_files are currently empty and put there to show the intend. (kind of TODO) opnfv.yml holds non-distro and non-flavor specific variables. Change-Id: I65aff2650257f2df00fd1f0a0638fd1aff596ac4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-30Merge "bugfix: fix the docker_cleanup path"mei mei2-113/+5
2017-03-30Merge "disable TestAPI update temporarily"Serena Feng1-1/+2
2017-03-30Merge "xci: Add main playbooks and files"Fatih Degirmenci14-0/+643
2017-03-30unify raise exception processSerenaFeng4-33/+52
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-30dovetail: fix wrapper disable problemxudan2-6/+2
JIRA: DOVETAIL-377 Since there are two wrappers in dovetail-ci-jobs.yml and dovetail-weekly-jobs.yml, respectively, the first wrapper (build-name and timeout) is disable. Combine them into one wrapper with build-name, timeout and fix-workspace-permissions. Change-Id: I4a4f766fc90612be2642bc01708d93392fb163ed Signed-off-by: xudan <xudan16@huawei.com>
2017-03-30replace self-defined http codes with standard definitionsSerenaFeng13-126/+115
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-30disable TestAPI update temporarilySerenaFeng1-1/+2
recently I plan to make some effort on TestAPI, add scenario processing exceptions, perfect swaggr documents, refactor unreasonable coding...etc, all of those will not change the original process or data structure, whilst many patches will be submitted. Because there is latency during TestAPI update, and it will cause test results lost, so I think it is better to disable TestAPI automatic update for now and re-enable it when the work gets done. Change-Id: I5ceab808350a1ece500c8743622d197326aa5419 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29Modify interactions with installer VM to set up jenkins-ci for cbench testJamo Luhrsen1-4/+8
- was grabbing stackrc for SDN_CONTROLLER_IP, but it actually in overcloudrc - need to skip hostkeychecking for scp operations - change permissions and ownership of /tmp/.ssh/ files so jenkins-ci can take over as the user Change-Id: I2d8f3aadfd6eff35a288a4e49eabb035bb2560ef Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-30bugfix: fix the docker_cleanup pathyuyang2-113/+5
JIRA: RELENG-196 JIRA: BOTTLENECK-148 The path for calling docker_cleanup.sh is incorrect which causing building job fail. This patch is to fix the issue. Change-Id: I2a8ea79383123f541f4e67bc58a3f2f3e3d9beeb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-29xci: Add main playbooks and filesFatih Degirmenci14-0/+643
This patch adds the main/common playbooks, files, and templates to be used for all flavors. The provisioning and OpenStack installation process will be as below - provision VMs for flavor using bifrost - once the VMs are provisioned, configure-localhost.yml playbook will be run, preparing the localhost in order to ensure the right playbooks (configure-opnfvhost.yml and configure-targethosts.yml), inventory files and var files are in place before we proceed with configuring opnfv host. - after getting the right files for the flavor, opnfv host will be configured using configure-opnfvhost.yml playbook. - finally, the target hosts will be configured. - once the above process is completed, openstack-ansible playbooks will be run, setting up hosts, infrastructure and OpenStack. Change-Id: I6e08b2cfdab9627f765e6fc414917b09f953cab2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-29Merge "prototypes: bifrost: Remove /opt/stack from previous deployments"Fatih Degirmenci4-3/+6
2017-03-29Merge "add rename scenario exceptions"Morgan Richomme2-8/+54
2017-03-29Merge "dovetail: fix wipe workspace error"Jun Li3-7/+13
2017-03-29prototypes: bifrost: Remove /opt/stack from previous deploymentsMarkos Chandras4-3/+6
/opt/stack is being created by bifrost so the destroy-env.sh script should be responsible for cleaning up all the remnants. That way we can use the destroy-env.sh script outside of Jenkins as well. Change-Id: I72d9737cf2446ff3ffc02f195337a6873eceb5c0 Signed-off-by: Markos Chandras <mchandras@suse.de>