Alexandru Nemes [Fri, 21 Apr 2017 13:47:26 +0000 (16:47 +0300)]
AArch64 Dovetail docker creation job
Add support for creating and pulling Dovetail docker container
for aarch64 platform
Change-Id: I1e6f2b677e4c972cd80ad2c6f2cd304f0d4d8cad
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
Tim Rozet [Thu, 20 Apr 2017 03:33:25 +0000 (23:33 -0400)]
Apex: more fixes for iso verify
Change-Id: Ie1a59806b20072f27adc2f7248c4244e53a5f2bb
Signed-off-by: Tim Rozet <trozet@redhat.com>
Tim Rozet [Wed, 19 Apr 2017 17:10:45 +0000 (13:10 -0400)]
Apex: fixes iso verify
Change-Id: I2aeca682d6543b36cd8b28f78580c4194db85453
Signed-off-by: Tim Rozet <trozet@redhat.com>
Serena Feng [Wed, 19 Apr 2017 07:56:29 +0000 (07:56 +0000)]
Merge "unify data existence check"
Dan Radez [Fri, 31 Mar 2017 01:34:49 +0000 (21:34 -0400)]
Adding iso verify to Apex builds
JIRA: APEX-377
Change-Id: I1e02fc602e8258e76f9447d05b09b17e55d0d25a
Signed-off-by: Dan Radez <dradez@redhat.com>
Fatih Degirmenci [Tue, 18 Apr 2017 14:51:27 +0000 (14:51 +0000)]
Merge "xci: Merge configure-targethosts.yml playbooks into one"
Fatih Degirmenci [Tue, 18 Apr 2017 12:27:31 +0000 (14:27 +0200)]
xci: Fix nfs server ip for glance
Change-Id: Iebb9945bfd9cad9ebfda127f130542f4a6334aec
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Tue, 18 Apr 2017 09:49:19 +0000 (11:49 +0200)]
xci: Merge configure-targethosts.yml playbooks into one
They are exactly same now after moving nfs to compute00.
Change-Id: I9d9d2f037aa3684ba130ae0a4f9aef2e733f2d2e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Tue, 18 Apr 2017 08:53:21 +0000 (10:53 +0200)]
xci: Change cinder backend and move nfs to compute00
This change
- switches cinder backend from lvm to nfs as examplified in [1].
- moves nfs shares from compute01 to compute00 in order to merge
configure-targethosts.yml playbook in upcoming change.
- updates openstack_user_config.yml to reflect the switch to nfs
and move of nfs server to compute00.
- removes exports file due to switching to lineinfile module.
[1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html
Change-Id: I0715c98a89ab124256e3857c1047e374f261e39b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Tue, 18 Apr 2017 08:37:37 +0000 (10:37 +0200)]
xci: Force sync time
For some reason, when the nodes are provisioned, they are out
of sync time-wise. This prevents neutron agents on compute nodes
from starting and then everything fails.
This change restarts chrony after the network configuration is updated
and the nodes have internet access and force synchs time on nodes.
Change-Id: Ib27b1fa0313223b52fa2e6229d5a179581d62686
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Tue, 18 Apr 2017 08:04:48 +0000 (10:04 +0200)]
xci: Fix network configuration
This change
- sets static IP for controller nodes' vxlan bridges as stated
in osa documentation: compute and network hosts must have an IP [1]
- configures IPs for controller nodes' vxlan bridges.
- removes the additional vlan ip from compute nodes as it seems to
be there for all in one.
- removes glean.rules as they mess with the network configuration once
the network changes are applied.
- removes the contents of interfaces.d as osa populates config for
lxc bridges and includes this config in interfaces file thus all the
files in interfaces.d must be removed in order not to mess with the
network configuration.
- updates modules appropriately.
[1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html
Change-Id: I84d5f07216c8d0246da06080fb0ed19f917d6637
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
kalyanreddy [Mon, 17 Apr 2017 06:59:44 +0000 (12:29 +0530)]
KVMFORNFV: Disabling kvmfornfv daily danube job.
This patch is used to temporarily disable kvmfornfv daily danube
job from triggering as Intel-pod10 is currently not available for
executing daily danube test cases.
Note: Will enable the kvmfornfv daily danube job once Intel-pod10
is available for executing test cases.
Change-Id: I26cb1e360962a895b2e3ced3ccadfc1f770a5663
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Serena Feng [Fri, 14 Apr 2017 07:15:15 +0000 (07:15 +0000)]
Merge "Revert "Cleanup dirty daisy build workspace directory""
Tim Rozet [Wed, 12 Apr 2017 21:12:04 +0000 (21:12 +0000)]
Merge "Do not run docker with -t option"
Jamo Luhrsen [Wed, 12 Apr 2017 21:01:34 +0000 (14:01 -0700)]
Do not run docker with -t option
Change-Id: I33fc01c36b6e290cc47464087a1e84da35a8c56a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jose Lausuch [Wed, 12 Apr 2017 13:21:48 +0000 (13:21 +0000)]
Merge "Bugfix: Convert the string list to list"
wutianwei [Wed, 12 Apr 2017 00:41:56 +0000 (08:41 +0800)]
change the url
we need download the package from the http://artifacts.opnfv.org,
instead of http://205.177.226.237.
Change-Id: Ibf6b1caa8d0ad27aa144fd25aeb6dd8f3004067a
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Zhijiang Hu [Tue, 11 Apr 2017 01:45:38 +0000 (01:45 +0000)]
Revert "Cleanup dirty daisy build workspace directory"
This reverts commit
3ede21905ba5df94df06952e90d89ec0c16e7bb7.
The deleted line in daisy4nfv-basic.sh in this PS was used exclusively
by a job to clean up files with wrong ownership in workspace previously.
Now, daisy4nfv-basic.sh is used combind with build/test scripts in job,
so we need to delete this line, otherwise, we encountered workspace was
wiped which resulted in build/test scripts failed to run.
Change-Id: I8812a495db789838c3a88510a05956a11e8227d5
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
yuyang [Tue, 11 Apr 2017 07:26:30 +0000 (15:26 +0800)]
Add flake8 examination to Bottlenecks
JIRA: RELENG-211
Add flake8 examination to CI pipeline for Bottlenecks.
Change-Id: I14d8bd4fe288d1dedb7c23dd158fc8c3765bf309
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
helenyao [Tue, 11 Apr 2017 02:12:38 +0000 (10:12 +0800)]
Bugfix: Convert the string list to list
Compass information failed to be printed as the roles were string list
Change-Id: I38037dae099862a040b817b690d451951e0bb23b
Signed-off-by: helenyao <yaohelan@huawei.com>
Fatih Degirmenci [Mon, 10 Apr 2017 09:05:39 +0000 (09:05 +0000)]
Merge "xci: Fix images directory permissions"
Serena Feng [Mon, 10 Apr 2017 01:08:55 +0000 (01:08 +0000)]
Merge "change not_found to forbidden when db not exist"
Serena Feng [Mon, 10 Apr 2017 01:08:48 +0000 (01:08 +0000)]
Merge "unify error message in TestAPI"
SerenaFeng [Fri, 7 Apr 2017 10:36:20 +0000 (18:36 +0800)]
unify data existence check
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Fatih Degirmenci [Sat, 8 Apr 2017 18:52:02 +0000 (20:52 +0200)]
xci: Fix images directory permissions
Change-Id: Ibc1b9662bb9865c0e309128327d620324ddca85c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Feng Pan [Sat, 8 Apr 2017 01:27:52 +0000 (21:27 -0400)]
APEX: Change virtual compute ram to 7gb
Change-Id: I6f42ffe5fad41ac90830784d8a4ec8ee04eae7d2
Signed-off-by: Feng Pan <fpan@redhat.com>
Fatih Degirmenci [Fri, 7 Apr 2017 21:13:00 +0000 (21:13 +0000)]
Merge "xci: Exclude aodh, ceilometer, and gnocchi from deployments"
Feng Pan [Fri, 7 Apr 2017 20:52:12 +0000 (16:52 -0400)]
APEX: Remove setting of hugepages
Change-Id: Ic482f75bb905082f503958c1be01c9cd7e68566a
Signed-off-by: Feng Pan <fpan@redhat.com>
Fatih Degirmenci [Thu, 6 Apr 2017 17:46:36 +0000 (10:46 -0700)]
xci: Exclude aodh, ceilometer, and gnocchi from deployments
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>
Feng Pan [Thu, 6 Apr 2017 15:27:27 +0000 (11:27 -0400)]
APEX: reduce hugepages and ram for virtual fdio/ovs deployments
Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a
Signed-off-by: Feng Pan <fpan@redhat.com>
mei mei [Thu, 6 Apr 2017 09:25:40 +0000 (09:25 +0000)]
Merge "[WIP]:jobs to deploy danube and run dovetail from master"
SerenaFeng [Thu, 6 Apr 2017 08:59:19 +0000 (16:59 +0800)]
change not_found to forbidden when db not exist
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 5 Apr 2017 08:23:03 +0000 (16:23 +0800)]
unify error message in TestAPI
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Fatih Degirmenci [Thu, 6 Apr 2017 05:20:27 +0000 (05:20 +0000)]
Merge "xci: Introduce XCI_LOOP variable to control what to do properly"
MatthewLi [Thu, 6 Apr 2017 02:57:47 +0000 (22:57 -0400)]
[WIP]:jobs to deploy danube and run dovetail from master
JIRA: DOVETAIL-180
Change-Id: Ia8d44b609c53696c141eced747e3855c67faccb5
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Feng Pan [Thu, 6 Apr 2017 00:54:49 +0000 (20:54 -0400)]
APEX: Reduce virtual ram on compute nodes for fdio/ovs scenarios
Change-Id: I7df2c6a6a940f49268146334cb7f77d3fffeb665
Signed-off-by: Feng Pan <fpan@redhat.com>
Markos Chandras [Wed, 5 Apr 2017 16:55:31 +0000 (17:55 +0100)]
jjb: xci: bifrost-cleanup-job: Fix undefined variable
Variable 'i' does not exist. It should be 'try_to_rm' instead.
Change-Id: Ic2aa5a1115715851379e2c7ba5c11699cb8e7407
Signed-off-by: Markos Chandras <mchandras@suse.de>
Fatih Degirmenci [Wed, 5 Apr 2017 16:49:42 +0000 (16:49 +0000)]
Merge "xci: Log info about provisioned VMs to console"
Fatih Degirmenci [Wed, 5 Apr 2017 16:49:29 +0000 (16:49 +0000)]
Merge "xci: Start developer documentation"
Fatih Degirmenci [Wed, 5 Apr 2017 16:40:07 +0000 (09:40 -0700)]
xci: Log info about provisioned VMs to console
Change-Id: If29aaf0be6ddd860450eeb10432fe75e12b1d03b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Tue, 4 Apr 2017 16:04:32 +0000 (09:04 -0700)]
xci: SHA bump as of April 4
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>
Jose Lausuch [Wed, 5 Apr 2017 05:55:25 +0000 (05:55 +0000)]
Merge "Compass Adapter to get deployment information"
Fatih Degirmenci [Tue, 4 Apr 2017 16:18:54 +0000 (09:18 -0700)]
xci: Introduce XCI_LOOP variable to control what to do properly
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>
Fatih Degirmenci [Tue, 4 Apr 2017 16:09:41 +0000 (16:09 +0000)]
Merge "xci: Do not log info to console if running daily deployment"
Fatih Degirmenci [Tue, 4 Apr 2017 15:40:06 +0000 (08:40 -0700)]
xci: Do not log info to console if running daily deployment
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>
Fatih Degirmenci [Tue, 4 Apr 2017 14:14:37 +0000 (07:14 -0700)]
xci: Fix build blocker so downstream jobs can be started
Change-Id: Ie33bcbbe1d4c4fd2166c8931bd9f135cf4200263
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Fri, 31 Mar 2017 20:55:45 +0000 (22:55 +0200)]
xci: Fix the haproxy service and gnocchi db sync problem
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>
Fatih Degirmenci [Tue, 4 Apr 2017 13:42:50 +0000 (13:42 +0000)]
Merge "xci: Create periodic osa jobs to find working version"
Fatih Degirmenci [Sun, 2 Apr 2017 17:08:41 +0000 (10:08 -0700)]
xci: Adjust and fix jobs and scripts
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>
Tim Rozet [Mon, 3 Apr 2017 16:08:51 +0000 (16:08 +0000)]
Merge "Removing _l3 from Apex scenario names in master"
Tim Rozet [Mon, 3 Apr 2017 15:43:53 +0000 (15:43 +0000)]
Merge "Updating Apex ENV Var Names"
Morgan Richomme [Mon, 3 Apr 2017 06:51:05 +0000 (08:51 +0200)]
Change Danube image for reporting
to be sync with communication
Change-Id: I7747416ab73f85d979d405afd9b87d57faac2bf0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Fatih Degirmenci [Fri, 31 Mar 2017 20:20:17 +0000 (22:20 +0200)]
xci: Create periodic osa jobs to find working version
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>
Fatih Degirmenci [Sun, 2 Apr 2017 16:59:23 +0000 (16:59 +0000)]
Merge "xci: Create periodic bifrost jobs to find working version"
Fatih Degirmenci [Sun, 2 Apr 2017 16:51:15 +0000 (16:51 +0000)]
Merge "xci: Configure daily job to use xci scripts"
Tim Rozet [Sat, 1 Apr 2017 16:00:17 +0000 (16:00 +0000)]
Merge "Dial in docker and ssh environment"
chenjiankun [Sat, 1 Apr 2017 09:09:16 +0000 (09:09 +0000)]
change openrc file path to /etc/yardstick/openstack.creds
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>
SerenaFeng [Fri, 31 Mar 2017 08:35:39 +0000 (16:35 +0800)]
add daisy unittest verify job
Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Julien [Sat, 1 Apr 2017 03:42:19 +0000 (11:42 +0800)]
Update block parameters
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>
Jamo Luhrsen [Fri, 31 Mar 2017 03:56:51 +0000 (20:56 -0700)]
Dial in docker and ssh environment
- 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>
Julien [Wed, 22 Feb 2017 14:14:06 +0000 (22:14 +0800)]
Add tox support
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>
Fatih Degirmenci [Fri, 31 Mar 2017 21:06:47 +0000 (23:06 +0200)]
xci: Start developer documentation
Change-Id: Ib5200372a44ee6a22b45c2105b3729d362eacb1d
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Fatih Degirmenci [Fri, 31 Mar 2017 19:59:51 +0000 (21:59 +0200)]
xci: Create periodic bifrost jobs to find working version
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>
Fatih Degirmenci [Fri, 31 Mar 2017 19:13:31 +0000 (21:13 +0200)]
xci: Configure daily job to use xci scripts
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>
Tim Rozet [Fri, 31 Mar 2017 18:26:18 +0000 (14:26 -0400)]
Apex: fixes writing sha info into properties
Change-Id: Idc5ca86dbc51d83860f26244a4ed7d88015552d0
Signed-off-by: Tim Rozet <trozet@redhat.com>
Tim Rozet [Fri, 31 Mar 2017 17:57:50 +0000 (13:57 -0400)]
Apex: Fixes regexp to match label names as well
Change-Id: I42f8836320e4bce2f890aa4a17d59f53efab7f97
Signed-off-by: Tim Rozet <trozet@redhat.com>
Fatih Degirmenci [Fri, 31 Mar 2017 15:54:33 +0000 (17:54 +0200)]
xci: Update main script and readme
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>
Dan Radez [Fri, 31 Mar 2017 15:33:39 +0000 (11:33 -0400)]
Updating Apex ENV Var Names
- CONFIG and RESOURCES have been replaced by BASE and IMAGES in Danube
Change-Id: I1b1d4e73b1f4e8a13d63bd199ec4c91e853d14a6
Signed-off-by: Dan Radez <dradez@redhat.com>
Fatih Degirmenci [Fri, 31 Mar 2017 13:02:16 +0000 (15:02 +0200)]
xci: Create playbook to destroy, create and provision VM nodes
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>
helenyao [Fri, 24 Mar 2017 03:32:19 +0000 (11:32 +0800)]
Compass Adapter to get deployment information
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>
Fatih Degirmenci [Fri, 31 Mar 2017 08:15:02 +0000 (08:15 +0000)]
Merge "xci: Add ansible files for sandbox mini flavor"
Fatih Degirmenci [Wed, 29 Mar 2017 13:43:00 +0000 (15:43 +0200)]
xci: Add ansible files for sandbox ha flavor
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>
Fatih Degirmenci [Fri, 31 Mar 2017 07:49:30 +0000 (07:49 +0000)]
Merge "xci: Add ansible files for sandbox noha flavor"
Jose Lausuch [Fri, 31 Mar 2017 07:49:08 +0000 (07:49 +0000)]
Merge "Add wait method for Docker builds"
jose.lausuch [Thu, 30 Mar 2017 08:51:32 +0000 (10:51 +0200)]
Add wait method for Docker builds
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>
Serena Feng [Fri, 31 Mar 2017 01:42:44 +0000 (01:42 +0000)]
Merge "unify raise exception process"
Fatih Degirmenci [Wed, 29 Mar 2017 13:40:23 +0000 (15:40 +0200)]
xci: Add ansible files for sandbox mini flavor
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>
Fatih Degirmenci [Wed, 29 Mar 2017 13:11:27 +0000 (15:11 +0200)]
xci: Add ansible files for sandbox noha flavor
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>
Fatih Degirmenci [Thu, 30 Mar 2017 20:49:23 +0000 (22:49 +0200)]
xci: Move role configure-network to the right place
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>
Fatih Degirmenci [Thu, 30 Mar 2017 20:18:24 +0000 (20:18 +0000)]
Merge "xci: Add ansible files for sandbox aio flavor"
Tim Rozet [Thu, 30 Mar 2017 18:23:52 +0000 (18:23 +0000)]
Merge "Modify interactions with installer VM to set up jenkins-ci for cbench test"
Fatih Degirmenci [Wed, 29 Mar 2017 13:44:13 +0000 (15:44 +0200)]
xci: Add ansible files for sandbox aio flavor
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>
Markos Chandras [Thu, 30 Mar 2017 14:00:48 +0000 (15:00 +0100)]
prototypes: bifrost: Remove ironic templates
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>
Fatih Degirmenci [Thu, 30 Mar 2017 13:29:43 +0000 (13:29 +0000)]
Merge "xci: Ensure using flavor inventory"
Fatih Degirmenci [Thu, 30 Mar 2017 12:11:59 +0000 (14:11 +0200)]
xci: Networking fixes to introduce role and interface var
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>
Dan Radez [Thu, 30 Mar 2017 12:46:40 +0000 (08:46 -0400)]
Removing _l3 from Apex scenario names in master
Change-Id: I9169434d3dc62c911d351f8238af2c5daf314d99
Signed-off-by: Dan Radez <dradez@redhat.com>
Jun Li [Thu, 30 Mar 2017 12:35:48 +0000 (12:35 +0000)]
Merge "dovetail: fix wrapper disable problem"
Fatih Degirmenci [Thu, 30 Mar 2017 12:07:06 +0000 (14:07 +0200)]
xci: Ensure using flavor inventory
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
Fatih Degirmenci [Thu, 30 Mar 2017 11:02:31 +0000 (11:02 +0000)]
Merge "xci: Add common and OS family ansible var files"
Fatih Degirmenci [Thu, 30 Mar 2017 08:50:50 +0000 (10:50 +0200)]
xci: Add common and OS family ansible var files
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>
mei mei [Thu, 30 Mar 2017 09:22:23 +0000 (09:22 +0000)]
Merge "bugfix: fix the docker_cleanup path"
Serena Feng [Thu, 30 Mar 2017 08:37:53 +0000 (08:37 +0000)]
Merge "disable TestAPI update temporarily"
Fatih Degirmenci [Thu, 30 Mar 2017 08:00:43 +0000 (08:00 +0000)]
Merge "xci: Add main playbooks and files"
SerenaFeng [Thu, 30 Mar 2017 07:33:19 +0000 (15:33 +0800)]
unify raise exception process
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
xudan [Thu, 30 Mar 2017 07:01:38 +0000 (07:01 +0000)]
dovetail: fix wrapper disable problem
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>
SerenaFeng [Thu, 30 Mar 2017 06:01:30 +0000 (14:01 +0800)]
replace self-defined http codes with standard definitions
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 30 Mar 2017 03:33:40 +0000 (11:33 +0800)]
disable TestAPI update temporarily
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>
Jamo Luhrsen [Wed, 29 Mar 2017 22:53:52 +0000 (15:53 -0700)]
Modify interactions with installer VM to set up jenkins-ci for cbench test
- 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>
yuyang [Thu, 30 Mar 2017 01:59:46 +0000 (09:59 +0800)]
bugfix: fix the docker_cleanup path
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>
Fatih Degirmenci [Wed, 29 Mar 2017 14:59:02 +0000 (16:59 +0200)]
xci: Add main playbooks and files
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>