summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Jonas Bjurel [Sun, 22 Mar 2015 22:04:43 +0000 (23:04 +0100)]
Fuel build cache handling
- Cache invalidation supported in case cache is outdated compared to upstream.
- Fully automated build.sh integration tests added (build.sh -t or build.sh -T)
- Rebased to Daniel Smiths's patch-set: genesis refs/changes/71/171/4
- Yet untested, will perform automated integration tests over night!
- Updated based on Stefan's comments (no more revs.)
- Fixed a bug in f_odl_docker/Makefile
- validate-cache target added in f_odl_docker/Makefile
JIRA: BGS-1
Change-Id: I9f8f30c2a85fd7bf04dab1b566065e5739d4fcb1
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Daniel Smith [Tue, 24 Mar 2015 05:23:32 +0000 (01:23 -0400)]
TOPIC: ODL DOCKER
AUTHOR: DANIEL SMITH
*** PLEASE MERGE **
UPDATED TO REFLECT INPUT FRMO J. BJUREL
- fixed whitespaces
- fixed location of .erb file (they should have been in templates - the directory was there just int he wrong spot)
- removed opcheck.pp from common opnfv class
- Removed Debug from fuel/build/Makefile :)
UPDATE: Input from S. Berg and F. Bockners incorporated. Merge required before we can refactor to common puppet manifest directory
This patchset delivers the folowing functionality:
- implementation of the common/opnfv-puppet structure / move of .pp files and update of f_odl_docker to build / source from there
- creation of f_odl_doc subclass
- fetch of latest stable release of ODL
- fetch of latest docker binary release (TODO: this will be changed in next patchset push)
- build of docker container with all needed libs and port exposure for DLUX and OVSDB/ODL with Openstack Integration (OVS Manager)
- deployment of both the target odl docker image as well as the docker runtime binary to the control nodes via puppet script.
GENERATES:
- docker-latest - binary of docker for use on control node
- odl_docker_image.tar - a docker container with a ODL controller running DLUX and OVSDB
ENABLE / DISABLE:
- Comment/Un-comment "SUBDIRS += f_odl_doc in base (fuel/build/) Makefile
Breakdown of Update / Edits per File:
=====================================
fuel/build/Makefile
- Modified include to capture the newly created f_odl_doc directory
fuel/build/f_odl_docker/Makefile
- Fetches libraries and produces two outputs:
docker-latest - binary of docker (actually lxc-docker cause ODL Container is running 12.04 (precise) libraries - i.e java7, tz 12.04, etc)
odl_docker_image.tar - this is a docker image defined in ./dockefile/Dockerfile and contains the ODL distro + setup and deployment scripts for
runtime on the target control node.
fuel/build/f_odl_docker/dockerfile/Dockerfile
- This Dockerfile defined the packages for use in the Docker Container that will run ODL with DLUX and OVSDB submodules. It also defines the ports to be
exposed to the HOST OS (and thus as well through docker the ODL Controller exists in a private, but routable via but the fuel (10.20.0.0/16) and the
tenants public network since docker handles the mapping (see the docker run command in the start_odl_docker.sh script)
fuel/build/f_odl_docker/dockerfile/check_feature.sh
- Simple expect script that starts up a client and checks that the features are installed (used during visual demo only)
TODO - Replace with API call to ODL KARAF to install features (LOOKUP - Dont know how to address Karaf programatically - LOOKUP)
fuel/build/f_odl_docker/dockerfile/speak.sh
- Expect script called by odl_start_docker.sh once karaf is up to install the features that we need (runtime inside container script) called via ENTRYPOINT in Dockerfile
at runtime on control node.
fuel/build/f_odl_docker/dockerfile/start_odl_docker.sh
- This is the CMD/ENTRYPOINT defined in docker and is what is called from the controller when you start the container (note: This runs inside the conatiner), not
to be confused with staring the actual container on the control node). This script fires up Karaf first time, loads DLUX and OVSDB modules
and monitors that the container is up. The container itself is started on the control node via /opt/opnfv/start_odl_container.sh which includes the syntax
for the port mapping (RANDOM or 1:1).
TODO -
integrate into controller monitor script to ensure better handling (stop, start, monitor) of docker processes
remove expect helper scripts and replace with API/JSON or some other appropriate method to KARAF
fuel/build/f_odl_docker/puppet/modules/opnfv/manifests/odl_doc.pp
- This puppet manifest defined where the docker binary and docker image should be placed on the target control node. /opt/opnfv/start_odl_container.sh will install
docker binary package (if necessary) and load ODL docker image into docker, start the image. This file just ensures placement in /opt/opnfv/odl_docker
fuel/build/f_opnfv_puppet/puppet/modules/opnfv/manifests/init.pp (MODIFICATION):
- Removed previous includes and updated to have only f_odl_doc added
fuel/build/f_odl_doc/scripts/start_odl_container.sh
- this is the control script that will start the docker container (to be run on the control node), this is deployed
this is deployed to /opt/opnfv on the control node via odl_doc puppet manifest file.
JIRA:
DEPRECATED:
Deleted files are no longer needed due to new implementation of ODL.
Change-Id: I26c13cc468a2aba18af78b7a3c78a719033f03e0
Signed-off-by: Daniel Smith <daniel.smith@ericsson.com>
Tim Rozet [Sun, 22 Mar 2015 15:39:03 +0000 (11:39 -0400)]
JIRA: BGS-23 - Adds the new base for common puppet modules for target
OPNFV installation.
Intent of this commit is to be a common place where we can contain a
common set of puppet modules that installers should leverage when
installing/configuring OPNFV target system.
Change-Id: I3a694b05a35a6e6025489b74c7bb38256dd84f12
Signed-off-by: Tim Rozet <trozet@redhat.com>
Jonas Bjurel [Tue, 17 Mar 2015 20:24:42 +0000 (20:24 +0000)]
Merge "*** FIRST VERSION OF CI BUILD SCRIPT *** - Provides build cache management to a remote location - Provides automatic cashe repopulation - See /fuel/ci/README - Rebased to master - Bug around cache handling fixed - New option -r introduced to invoke external script/program instead of standard http(s)/fttp get and put, eg. scripts or programs to integrate with dropbox, or similar. The script needs to anheaer to curl argument list. - Stefan Berg's comments implemented - Fatih Degirmenci's comments implemented with one exemption: the revision state .iso naming convention still remains the same - we need to discuss this. With the implementation of Fatih's comments the build.sh argument structure is slightly changed, please see ./build.sh -h"
Jonas Bjurel [Thu, 12 Mar 2015 14:18:06 +0000 (15:18 +0100)]
*** FIRST VERSION OF CI BUILD SCRIPT ***
- Provides build cache management to a remote location
- Provides automatic cashe repopulation
- See /fuel/ci/README
- Rebased to master
- Bug around cache handling fixed
- New option -r introduced to invoke external script/program instead of standard http(s)/fttp get and put, eg. scripts or programs to integrate with dropbox, or similar. The script needs to anheaer to curl argument list.
- Stefan Berg's comments implemented
- Fatih Degirmenci's comments implemented with one exemption: the revision state
.iso naming convention still remains the same - we need to discuss this. With
the implementation of Fatih's comments the build.sh argument structure is slightly
changed, please see ./build.sh -h
TODO:
- Further testing
- Finalize cache invalidation logic
- Make refactoring
JIRA:
Change-Id: I4efdbdd10f726c0a3229849a63040b6d2702db5c
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Jonas Bjurel [Sun, 15 Mar 2015 17:13:07 +0000 (18:13 +0100)]
*** Rebased towards latest Fuel stable/6.0 ***
An upstream change in fuel stable/6.0 files which OPNFV is modifying requires us to rebase our OPNFV changes.
fuel/build/f_isoroot/f_kscfg/ks.cfg and ks.cfg.orig modified
JIRA:
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Stefan K. Berg [Wed, 11 Mar 2015 22:39:48 +0000 (23:39 +0100)]
Rebase due to Fuel upstream change
An update of the Fuel upstream code requires us to perform the
corresponding change in the same file as we are modifying it in
the OPNFV context.
JIRA: #BGS-16
Change-Id: If3d5a0f1f2e97524f9e4a603cff89bc433226b92
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Frank Brockners [Sat, 7 Mar 2015 17:38:39 +0000 (18:38 +0100)]
Initial setup of "common" directory tree
Complement the tree structure that was created by Joseph with
a directory tree that is to hold files which are independent
from a particular installer approach and as such are common
to the OPNFV install and maintenance process:
genesis
└── common
├── manifests
└── tools
Directories contain README files that describe their use.
Cleaned up trailing whitespaces.
Change-Id: Icad2a9e9e64764d8d495f779d73176a36208062e
Signed-off-by: Frank Brockners <fbrockne@cisco.com>
Jonas Bjurel [Mon, 2 Mar 2015 21:46:45 +0000 (22:46 +0100)]
Starting point for ODL Integration
***CAN BE MERGED***
- ODL build and installation (puppet manifests) including needed dependencies
- Modified in accordance with Randy Levensalors comments
- Added chmod 4755 /bin/fusermount due to that lately some systems dont install fuseiso
withe SUID set for fusermount. Investing ongoing on why and why not consistent.
- Rebased with master
- ODL disabled in top Make (enable it by uncommenting the odl dirs
- Removed white spaces
- Hopefully fixed an issue with the docker ubuntu repos, added --no-cache=true to the fuel/docker/Make file.
TODO:
- Refactor collecting ODL and Java dependencies to one common place
- Refactoring top Makefile
- Adding CI hooks for build and deploy
- Finishing integration plumbing wit Neutron/ML2 and OVS/OVSDB
Change-Id: I13dd4d3a72d099316dfaa9f7cd9140781be2397b
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Aric Gardner [Fri, 6 Mar 2015 20:30:35 +0000 (15:30 -0500)]
Adding LICENSE file
Change-Id: Ib8b6f28f78dd044bf71154bab0cc17256d5ff77b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Frank Brockners [Fri, 6 Mar 2015 10:03:28 +0000 (11:03 +0100)]
Fixed typos and added additional info.
Added additional info tags for IRC channel and repo. Removed blurb on how to contribute (we can keep this on the wiki).
Change-Id: I40d9eaf947182f5295882bd3924729a623856031
Signed-off-by: Frank Brockners <fbrockne@cisco.com>
Aric Gardner [Thu, 5 Mar 2015 21:18:03 +0000 (16:18 -0500)]
Add info file to be embeded in an iframe on the wiki
Change-Id: Ib5f9a79a7c3dba93c708786df6b5503441fff830
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Stefan Berg [Thu, 5 Mar 2015 16:17:37 +0000 (16:17 +0000)]
Merge "ci: Initial setup of ci tree"
Stefan Berg [Thu, 5 Mar 2015 15:38:08 +0000 (15:38 +0000)]
Merge "adding notes about using foreman installer"
Stefan Berg [Thu, 5 Mar 2015 15:37:40 +0000 (15:37 +0000)]
Merge "Add ceph installation readme"
Joseph Gasparakis [Sun, 1 Mar 2015 09:56:01 +0000 (01:56 -0800)]
ci: Initial setup of ci tree
This patch creates some tree structure based on Fatih Deqirmenci's suggestion:
genesis
├── common
│ ├── manifests
│ ├── tools
│ └── ci
├── foreman
│ ├── tools
│ │ └── foo.sh
│ └── ci
│ ├── deploy.sh
│ └── build.sh
├── fuel
│ ├── tools
│ │ └── foo.sh
│ └── ci
│ ├── deploy.sh
│ └── build.sh
└── opensteak
├── tools
│ └── foo.sh
└── ci
├── deploy.sh
└── build.sh
So far creating only the deploy and build scripts.
Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
Fatih Degirmenci [Wed, 25 Feb 2015 19:02:55 +0000 (20:02 +0100)]
fuel: Do not allocate pseudo tty for docker
Change-Id: I7a82f3b70ed2620b8f82ec6d7d67f26c3b0b6cab
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Thanh Ha [Fri, 20 Feb 2015 17:52:56 +0000 (12:52 -0500)]
Fix incorrect URL
fuel.org leads to a very different URL. This patch removes the URL and
updates to wording to be a little less ambiguous.
Change-Id: Ifab4bc51f39b04fb3d0f3ed633ab5f6ba468bc0a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Stefan K. Berg [Fri, 13 Feb 2015 16:09:52 +0000 (17:09 +0100)]
Update of Fuel based build system to Fuel 6.0.1
Rebase of the build system to build Fuel from the stable/6.0 branch
which currently creates Fuel 6.0.1. The Fuel baseline thus becomes:
- OpenStack Juno
- Ubuntu 12.04.4
- CentOS 6.5
An additional patch is added to the Fuel build system to enable
a newer version of Fuel to be built under Docker (as the Ubuntu
sandbox chroot is installing atd, where the post install expects
upstart to be running which is not the case in the build container).
Rebase of patches on top of Fuel to support 6.0.1.
Change-Id: I2e884d27e1533be8d60c071a7ea9db998a4f5fea
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Stefan K. Berg [Thu, 12 Feb 2015 11:12:34 +0000 (12:12 +0100)]
Simplification and cleanup of build process
Docker build image:
- Uplift of the base Ubuntu version to 14.04.
- Instead of building the Ubuntu image with debootstrap, we use the official
Docker repository version of Ubuntu.
- Cleanup of the way how runcontext operates
- Fix: Make sure that the build system can be run as root
Top Makefile:
- Building the Fuel ISO on Docker local /tmp directory not to pollute local
directory with files owned by root.
- Removed unused targets.
Change-Id: I684348b2a15546eadf98d810239a84ff9798b1e8
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Jonas Bjurel [Fri, 30 Jan 2015 21:22:43 +0000 (22:22 +0100)]
Version 0.0.1 of /fuel-bild
This is a build system that rebases the result from fuel.org such that you can add or change
packages/puppet manifests any way you like, and reliably produce a installable which can
be reproduced any time. See README for more information.
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Arnaud Morin [Mon, 2 Feb 2015 15:12:26 +0000 (16:12 +0100)]
Add ceph installation readme
This allow an installation of ceph to be used with BGS.
It basically needs 4 machines:
* 1 ceph admin
* 3 ceph nodes
The machines needs to be installed with Ubuntu 14.04 priorily with a mecanism
to be defined (e.g. PXE boot with fuel/cobler/maas).
The machines are connected with at least two networks interfaces:
* 1 network for storage
* 1 network for admin
This is only a documentation that would be integrated into python/bash scripts
to automate the installation when needed/ready.
Change-Id: I38656bcc21fa43d6cfeac9108f5804ce03ed960f
Signed-off-by: Arnaud Morin <arnaud1.morin@orange.com>
Dan Radez [Fri, 30 Jan 2015 15:00:59 +0000 (10:00 -0500)]
adding notes about using foreman installer
Change-Id: I7344d5ba9f6137d3c689428d24e03f297d9af8e8
Signed-off-by: Dan Radez <dradez@redhat.com>
Dan Radez [Mon, 26 Jan 2015 20:40:43 +0000 (15:40 -0500)]
adding puppet code for installation
Change-Id: I97fa75fdef058e64666dc73567cdce904d6ffc72
Signed-off-by: Dan Radez <dradez@redhat.com>
Dan Radez [Mon, 26 Jan 2015 14:39:04 +0000 (09:39 -0500)]
adding documentation on using puppet modules to install BGS
Change-Id: I96864b6ba5d359c4dbcc39434d02ea14ab3d6f52
Signed-off-by: Dan Radez <dradez@redhat.com>
Aric Gardner [Mon, 19 Jan 2015 17:56:27 +0000 (12:56 -0500)]
Adding .gitreview to genesis more information at https://wiki.opendaylight.org/view/Git-review_Workflow
Change-Id: I37ecb2aee6b70a0b7b58109c979ad3c26a607958
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Aric Gardner [Mon, 15 Dec 2014 19:15:57 +0000 (19:15 +0000)]
Initial empty repository