Age | Commit message (Collapse) | Author | Files | Lines |
|
support for Foreman REST API access
Changes include:
- No more requirement to provide ovs_tunnel_if or storage_iface as
hardcoded interface names. private_network and storage_network are now
dynamically figured out and resolve to the interface names during puppet
module runtime
- Adds some code to modify the Foreman API variable. This is used for
REST API access to rebuild the nodes and control Foreman via Khaleesi
JIRA: BGS-31
Change-Id: I9a3a6590c3b9801e026a6f333782d04d9e2eff6f
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
default_gw was set in the wrong place PATCHSET2: Fixes improper spacing in network_type for .yaml settings"
|
|
The finishing verification failed to correctly identify
good deploys as such.
JIRA
Change-Id: I193d5cad977c3d004c8825036fa6fa375268de0b
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
|
|
was set in the wrong place
PATCHSET2: Fixes improper spacing in network_type for .yaml settings
Correct subnet is now detected . This was needed for Intel Pod1, but can
be used in other environments. Vagrantfile is now updated to add
this correct netmask, and variables are updated with correct netmask as
well. default_gw was being set before the base_config was copied, so we
were losing the value of the variable. Moved this statement to be after
base_config.
JIRA: BGS-31
Change-Id: I36c69abf5e687fe19a92a9659b2069e1f32275a8
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
This is a prototype to experiment with the DEA concept and
how to use it to automatically deploy a KVM environment using
libvirt.
It is now possible to perform a fully automated deploy from
an ISO file.
Highlights:
- Fully automated Fuel deploy installing three controllers,
two computes in full HA mode including Ceilometer
- create_dea.sh will create a DEA YAML file with an
existing deployment as template.
- The install will configure settings, networks and the
interface config of all nodes.
JIRA:
Change-Id: Icc8922afca8508c9062aa5be95e2482086a4f624
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
|
|
Fuel release notes for Arno RC2
JIRA:
Change-Id: I5d9078d7665350565727098d5648ef2982b885c9
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
JIRA:
Change-Id: I9864f16d2be725f7d48f4268a3886aa65410293a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
including LOW level READMEs, LICENCEs, and TODOs.
JIRA:
Change-Id: Ifd2baa5b1db3ae0fb354e39548eb7f9547639581
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
issue and adds default_gw substitution in ksgen settings file"
|
|
PATCHSET2: Fixes whitespace issue and adds default_gw substitution in
ksgen settings file
Creates a Vagrant VM provisioned with VirtualBox. The Vagrantfile
config is modified at runtime with dynamic support for baremetal network
setup. IP addresses and other network info are gathered at runtime and
passed to the .yaml file which is fed into Khaleesi to install
Foreman/QuickStack and provision hosts. For the script usage it is
recommended to include the following inside of the yaml file set:
- mac_address: "01:23:45:67:89:AB" <-Mac Address of admin interface
- bmc_ip: 10.4.17.2
- bmc_mac: "01:23:45:67:88:AB"
- bmc_user: root
- bmc_pass: root
JIRA: BGS-31
Change-Id: I1aa9352d2f5965befabf86119c0c9c5edb82f329
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
- configure environment
- configure initial settings
- configure networking
- hardware adapter for HP
- fuel VM deployment
JIRA: [BGS-2] Create Fuel deployment scrip
Change-Id: If305477833c54547efe7e6ebfddafde0ab31ebd2
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
|
|
whitespace"
|
|
PATCHSET3: fixes whitepsace
Uses ceph_deploy.pp to create a Ceph cluster that is integrated into
OpenStack. The current model is 1 OSD and 1 Ceph mon per controller,
clustered together, resulting in 3 OSDs and 3 Mons. The network used
for storage is optional, provided by storage_iface. If that variable is
unset, then storage network will run on private network.
JIRA: BGS-13
Change-Id: I242bfeb18c3f3b1e2fc7f7ed21dbfaa9f58337e8
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Fixed issue with creating tmp dir
JIRA:
Change-Id: I96e3f88159e09a3148f23cb0fc2969adc9d90c1a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
|
|
PATCHSET2: Fixes whitespace
Module can be used to deploy Ceph monitor and OSD per host.
Relies on https://github.com/stackforge/puppet-ceph/
JIRA: BGS-13
Change-Id: Icf15f85a09f48feed6a2cc7160f03fb0fcfbe9ce
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
NTP class is needed to keep the Ceph cluster in sync. python-rados
package is now provided by EPEL for Ceph and replaces python-ceph.
QuickStack originally provided python-ceph, but that is now removed.
JIRA: BGS-13
Change-Id: Ia6fb79fc2e5dc54630c7949a1d65629d7b36877c
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
These repos are not needed. EPEL contains the necessary packages for
CentOS 7 to install Ceph. The package "python-ceph" has also been
renamed to "python-rados" and that dependency has been removed from
quickstack.
JIRA: BGS-13
Change-Id: I8f76da0acd98ad5bd7348bfd13451dbca58677a5
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Environment Adapter - Fuel environment cleanup - Fuel environment configuration"
|
|
|
|
|
|
installation"
|
|
Uses Ceph Giant version as this has been tested to work on intel lab
JIRA: BGS-13
Change-Id: I3c0f533c7fe6104122ce1845acbaffd1ed7bfd48
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Moves the installation functionality from controller_networker to this
puppet module in order to break up functionality that is only needed on
1 out of 3 control nodes. Defaults to port 8081 to avoid conflict with
Swift service.
JIRA: BGS-6
Change-Id: I45550a7e95be04b39c2817d18f4d8c2ea0df69c2
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
PATCH SET3: Fixes whitespace: L21, L26
Changes to the module include:
- ha_flag used to indicate mandatory HA parameters, such as vips for
each openstack service, instead of one single controller IP.
- Ceph variables introduced and defaulted for use with Cinder. Control
node also uses these same defaults, along with the Ceph installer.
- Minor fix for vnc proxy to work inside of Horizon for compute node
when consoling in.
JIRA: BGS-6
Change-Id: I61a2ebc5598e7c044a8b3d694de3daceaabcf53b
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes include:
- If ha_flag is set to "true", Control node will be setup in HA for the
following services: rabbitmq, galera mariadb, keystone, glance, nova,
cinder, horizon, neutron
- Required parameters for HA:
https://gist.github.com/trozet/d3a2a2f88ba750b83008
- Removes OpenDaylight installation from this puppet manifest. Will be
part of a separate commit that only installs OpenDaylight. This is
due to the fact that ODL will only run on a single control node in non
HA mode.
JIRA: BGS-6
Change-Id: I77836a5eefc99de265f8f8120ff2fdfd7d6bb72a
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
- Deployment Hardware Adapter
- Deployment Environment Adapter
- Fuel environment cleanup
- Fuel environment configuration
JIRA: [BGS-2] Create Fuel deployment script
Change-Id: Ie8aa6c0817a73c507cb4345bde1e2c904bb5b105
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
If we used 'make all' for build iso, only release section from
f_odl_docker Makefile was executed, so odl docker image and docker
binary were not created.
This patch also try resolve problems which appeared during
execution of start_odl_container.sh on controller node:
* install and run cgroup-lite to mitigate 'failed to find the cgroup
root' error
* use proper path to docker image and binary
* prevent import of docker image before daemon is not fully
initialized
* because docker binary is delivered by puppet, we should execute
commands against it, not try use system binary which is probably
not present on controller node
* stop use daemon mode('-d') of 'docker run' if user want to have
access to container shell
* fix name of start script which is run inside container when daemon
mode is used
It looks like file 'fuel/build/f_odl_docker/scripts/start_odl_container.sh'
is not used and duplicate:
'fuel/build/f_odl_docker/puppet/modules/opnfv/scripts/start_odl_container.sh'
JIRA:
Change-Id: Ia6064dbacf30902bda557e5d0b631b5f5f207b5e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
|
|
|
|
|
|
build.sh accepts params defined by
https://etherpad.opnfv.org/p/BGS_CI
Build currently requires that
- CentOS-7.0-1406-x86_64-Minimal.iso
- VirtualBox-4.3-4.3.26_98988_fedora18-1.x86_64.rpm
- vagrant_1.7.2_x86_64.rpm
are placed in the build directory
Produces a CentOS 7 iso that will be able to install
foreman and provision OpenStack
JIRA: BGS-15
Change-Id: If9786d9723f7e77b208745e61704b15cba3ae9c0
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Daniel Smith's promotion to committer was done by email vote.
Email thread:
http://lists.opnfv.org/pipermail/opnfv-tech-discuss/2015-March/001801.html
Email to TSC:
http://lists.opnfv.org/pipermail/opnfv-tsc/2015-March/000702.html
JIRA: BGS-30
Change-Id: I3a2d219137972a3a5331f27468e9fa08861170f8
Signed-off-by: Frank Brockners <fbrockne@cisco.com>
|
|
Add place holder ci scripts of Compass installer for BGS.
JIRA: BGS-28
Change-Id: I4c9823ba54a655bf294635fcb7f334ff4c4ef05e
Signed-off-by: Jerry Zhao <zhaoxinyu@huawei.com>
|
|
- Adding force remove of docker images to avoid non zero returns to CI and disk usage growth
- Fixed another bug with caching, disabled cache for odl build from source since we're not currently
building ODL from source!
READY TO MERGE
JIRA:
Change-Id: I1478002cbe1574814d2597ffa5ec64b6ed9580b7
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
JIRA: BGS-29
Change-Id: I010f04adebe25709713f443f0f76b19dc7097b4d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I9d44e4b47188f9fbe554c845884fc43cabdea536
JIRA: OCTO-13
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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"
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
***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>
|
|
Change-Id: Ib8b6f28f78dd044bf71154bab0cc17256d5ff77b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|