genesis.git
9 years agoMerge "Create Compass build script."
Dan Radez [Thu, 30 Apr 2015 01:43:59 +0000 (01:43 +0000)]
Merge "Create Compass build script."

9 years agoMerge "first commit of deploy.sh for compass"
Dan Radez [Thu, 30 Apr 2015 01:42:07 +0000 (01:42 +0000)]
Merge "first commit of deploy.sh for compass"

9 years agoMerge "Removes interface names as parameters to the puppet modules"
Dan Radez [Thu, 30 Apr 2015 01:41:10 +0000 (01:41 +0000)]
Merge "Removes interface names as parameters to the puppet modules"

9 years agoRefactoring HP Adapter 27/427/2
Szilard Cserey [Tue, 28 Apr 2015 20:26:40 +0000 (22:26 +0200)]
Refactoring HP Adapter

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: Ifb6d3e36d60ba652fa9e4ab6cdacb5d01ce2ed5b
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
9 years agoMerge "Fuel documentation ready for review"
Daniel Smith [Tue, 28 Apr 2015 14:19:44 +0000 (14:19 +0000)]
Merge "Fuel documentation ready for review"

9 years agoMerge "Automatic Deployment"
Daniel Smith [Tue, 28 Apr 2015 14:18:32 +0000 (14:18 +0000)]
Merge "Automatic Deployment"

9 years agoMerge "Auto deploy prototype #2"
Daniel Smith [Tue, 28 Apr 2015 14:16:40 +0000 (14:16 +0000)]
Merge "Auto deploy prototype #2"

9 years agoAuto deploy prototype #2 05/405/11
Stefan K. Berg [Thu, 23 Apr 2015 15:06:18 +0000 (17:06 +0200)]
Auto deploy prototype #2

This is an evolvement of the libvirt deployer to make it fully
general, and it also add the concept of Deploy Environment
Adapter (dea), Deploy Hardware Adapter (dha) and a hardware
adapter plugin.

See the README.rst file for an introduction of how to start
experimenting with this concept in a libvirt setting.

Highlights:

- Can "xerox" an existing Fuel deploy
- Separates configuration for the deployment (DEA) and
  the configuration for the hardware (DHA)
- Introduces an API to be implemented by hardware adapters
  (a libvirt example adapter is included)
- Provides a verification tool "verify_dha.sh" to validate
  DHA adapters against the DHA API.

See the TODO.txt file for things that can be worked on.

JIRA

Change-Id: I98ff665e6b63c6c3bc42bb6b65c1d2151359e374
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
9 years agoAutomatic Deployment 08/308/13
Szilard Cserey [Tue, 14 Apr 2015 13:47:45 +0000 (15:47 +0200)]
Automatic Deployment

- node discovery
- refactoring to support multiple shelves
- configure nodes and interfaces
- provisioning
- deployment
- extending with autodeployment scripts from libvirt prototype

JIRA: [BGS-2] Create Fuel deployment scrip

Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
Change-Id: Ic48f93594914d5bef6c9de34d87434c7cd567198

9 years agoFix CentOS HA deployment 19/419/1
Michal Skalski [Mon, 27 Apr 2015 20:14:17 +0000 (22:14 +0200)]
Fix CentOS HA deployment

Do not run docker daemon during deployment. It can lead to haproxy
resource timeout and rabbitmq connectivity issues.

Change-Id: I49abc9d9c3b7ac954fe308f113f36c64d236ceb5
JIRA: BGS-36
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
9 years agoRemoves interface names as parameters to the puppet modules 18/418/1
Tim Rozet [Mon, 27 Apr 2015 18:15:42 +0000 (14:15 -0400)]
Removes interface names as parameters to the puppet modules

Patch changes parameters from being interface names of linux interfaces
to being network subnets.  This removes the need to actually specify the
network interface to puppet module and is found out dynamically at
puppet runtime.

JIRA: BGS-42

Change-Id: Ibab114c46dd2ec9fde244b6687bf272849b15d6b
Signed-off-by: Tim Rozet <trozet@redhat.com>
9 years agoFuel documentation ready for review 58/358/4
Jonas Bjurel [Thu, 16 Apr 2015 20:41:56 +0000 (22:41 +0200)]
Fuel documentation ready for review

JIRA:

Change-Id: Icaa2decbd82a3a857141a127d9f536474f478901
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoMerge "Allow deployment on Centos 6.5 environment"
Jonas Bjurel [Thu, 23 Apr 2015 08:30:46 +0000 (08:30 +0000)]
Merge "Allow deployment on Centos 6.5 environment"

9 years agoMerge "Includes fixes that remove need for interface hardcoding and adds support...
Dan Radez [Tue, 21 Apr 2015 18:46:01 +0000 (18:46 +0000)]
Merge "Includes fixes that remove need for interface hardcoding and adds support for Foreman REST API access"

9 years agoMerge "Release Notes for Foreman/QuickStack Arno Release"
Dan Radez [Tue, 21 Apr 2015 18:36:53 +0000 (18:36 +0000)]
Merge "Release Notes for Foreman/QuickStack Arno Release"

9 years agoAllow deployment on Centos 6.5 environment 96/396/1
Michal Skalski [Tue, 21 Apr 2015 11:14:11 +0000 (13:14 +0200)]
Allow deployment on Centos 6.5 environment

Modify Fuel@OPNFV puppet manifest to allow deployment on CentOS 6.5
environment. Add installation of docker-io centos package on controller
nodes.

Change-Id: I76cdd086607f279f46d827558c878b7be0d8314f
JIRA: BGS-36
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
9 years agoCreate Compass build script. 94/394/1
chigang [Tue, 21 Apr 2015 03:47:08 +0000 (23:47 -0400)]
Create Compass build script.

Compass is a open source platform for deploying distributed systems,
including OpenStack. It has a plugin structure for hardware discovery,
os provisioning and package installation and configuration.
As for OPNFV BGS experiment, we want to deploy it in automatic mechanism,
so in this script we build the ISO including compass and other packages
that could be used in later deployment.

JIRA: BGS-40

Change-Id: Ie08ef0911ff0d8f23c2d18d929b34c204f1a7536
Signed-off-by: chigang <chigang@huawei.com>
9 years agofirst commit of deploy.sh for compass 96/296/6
Jerry Zhao [Sat, 11 Apr 2015 00:21:10 +0000 (08:21 +0800)]
first commit of deploy.sh for compass

with deploy.sh in this patch, a compass vagrant box
will be spawned along with 5 libvirt vms. compass api
will be called to install ubuntu 14.04 on those libvirt vms.
in a patch later, openstack will be configured to be installed.

JIRA: BGS-28

Change-Id: Ie5f8442331081289a1a81a8e3295c881b0504c3c
Signed-off-by: Jerry Zhao <zhaoxinyu@huawei.com>
9 years agoMerge "Correction of the auto-kill during deploy"
Stefan K. Berg [Sun, 19 Apr 2015 20:00:26 +0000 (20:00 +0000)]
Merge "Correction of the auto-kill during deploy"

9 years agoCorrection of the auto-kill during deploy 84/384/1
Stefan K. Berg [Sat, 18 Apr 2015 19:55:35 +0000 (21:55 +0200)]
Correction of the auto-kill during deploy

Jenkins gets stuck until the safety-catch timer expires
after three hours when the deploy is successfull. The result
code is still correct, but it's an unnecessary delay.

JIRA

Change-Id: I4fae6b019174744894e223ccfd4502acece95768
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
9 years agoRelease Notes for Foreman/QuickStack Arno Release 83/383/1
Tim Rozet [Sat, 18 Apr 2015 01:45:12 +0000 (21:45 -0400)]
Release Notes for Foreman/QuickStack Arno Release

JIRA: BGS-38

Change-Id: I13e427594b0463d4edb2edef86da0a667c7955f6
Signed-off-by: Tim Rozet <trozet@redhat.com>
9 years agoMerge "Fix debootstrap package"
Stefan Berg [Fri, 17 Apr 2015 17:50:41 +0000 (17:50 +0000)]
Merge "Fix debootstrap package"

9 years agoIncludes fixes that remove need for interface hardcoding and adds 78/378/1
Tim Rozet [Fri, 17 Apr 2015 17:50:11 +0000 (13:50 -0400)]
Includes fixes that remove need for interface hardcoding and adds
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>
9 years agoMerge "Adds support for subnets other than /24 and fixes issue where default_gw was...
Frank Brockners [Fri, 17 Apr 2015 16:42:42 +0000 (16:42 +0000)]
Merge "Adds support for subnets other than /24 and fixes issue where default_gw was set in the wrong place PATCHSET2: Fixes improper spacing in network_type for .yaml settings"

9 years agoFix debootstrap package 51/351/2
Michal Skalski [Thu, 16 Apr 2015 13:40:09 +0000 (13:40 +0000)]
Fix debootstrap package

This commit provide scripts to patch debootstrap package.
This should fix problems that can occur during ubuntu 12.04 installation.
More detail can be found here:
 * https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1001131
 * https://wiki.debian.org/DebianInstaller/Modify/CD#Workaround_bug_in_deboostrap

Change-Id: I881191a37ba22d336c61623ae506f7e75dcc7540
JIRA:
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
9 years agoCorrection of verification phase in deploy 54/354/1
Stefan K. Berg [Thu, 16 Apr 2015 18:25:50 +0000 (20:25 +0200)]
Correction of verification phase in deploy

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>
9 years agoAdds support for subnets other than /24 and fixes issue where default_gw 50/350/2
Tim Rozet [Thu, 16 Apr 2015 13:46:38 +0000 (09:46 -0400)]
Adds support for subnets other than /24 and fixes issue where default_gw
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>
9 years agoPrototype of automated libvirt installation 06/306/15
Stefan K. Berg [Tue, 14 Apr 2015 12:48:11 +0000 (14:48 +0200)]
Prototype of automated libvirt installation

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>
9 years agoFuel installation instruction doc for Arno RC2, 75% done for RC3. 35/335/3
Jonas Bjurel [Wed, 15 Apr 2015 20:54:49 +0000 (22:54 +0200)]
Fuel installation instruction doc for Arno RC2, 75% done for RC3.
Fuel release notes for Arno RC2

JIRA:

Change-Id: I5d9078d7665350565727098d5648ef2982b885c9
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoFuel@OPNFV rebase due to upstrem changes 40/340/1
Jonas Bjurel [Thu, 16 Apr 2015 10:07:03 +0000 (06:07 -0400)]
Fuel@OPNFV rebase due to upstrem changes
JIRA:
Change-Id: I9864f16d2be725f7d48f4268a3886aa65410293a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoInitial rearrangements for the OPNFV/opnfvdoc documentation structure including LOW... 18/318/1
Jonas Bjurel [Tue, 14 Apr 2015 21:30:26 +0000 (23:30 +0200)]
Initial rearrangements for the OPNFV/opnfvdoc documentation structure including LOW level READMEs, LICENCEs, and TODOs.

JIRA:

Change-Id: Ifd2baa5b1db3ae0fb354e39548eb7f9547639581
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoMerge "Adds deploy.sh for Foreman/QuickStack PATCHSET2: Fixes whitespace issue and...
Frank Brockners [Tue, 14 Apr 2015 17:25:52 +0000 (17:25 +0000)]
Merge "Adds deploy.sh for Foreman/QuickStack PATCHSET2: Fixes whitespace issue and adds default_gw substitution in ksgen settings file"

9 years agoAdds deploy.sh for Foreman/QuickStack 02/302/2
Tim Rozet [Mon, 13 Apr 2015 19:28:24 +0000 (15:28 -0400)]
Adds deploy.sh for Foreman/QuickStack
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>
9 years agoAutomatic Deployment 56/256/7
Szilard Cserey [Tue, 7 Apr 2015 08:29:42 +0000 (10:29 +0200)]
Automatic Deployment
- 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>
9 years agoMerge "Adds Ceph cluster creation for controllers PATCHSET3: fixes whitepsace"
Frank Brockners [Fri, 10 Apr 2015 18:48:27 +0000 (18:48 +0000)]
Merge "Adds Ceph cluster creation for controllers PATCHSET3: fixes whitepsace"

9 years agoMerge "Adds a puppet module to configure a Ceph cluster PATCHSET2: Fixes whitespace"
Frank Brockners [Fri, 10 Apr 2015 18:33:08 +0000 (18:33 +0000)]
Merge "Adds a puppet module to configure a Ceph cluster PATCHSET2: Fixes whitespace"

9 years agoAdds Ceph cluster creation for controllers 72/272/3
Tim Rozet [Wed, 8 Apr 2015 19:28:40 +0000 (15:28 -0400)]
Adds Ceph cluster creation for controllers
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>
9 years agoChanged place for cache tmp storage due to /tmp full in LF 83/283/2
Jonas Bjurel [Thu, 9 Apr 2015 13:23:35 +0000 (15:23 +0200)]
Changed place for cache tmp storage due to /tmp full in LF
Fixed issue with creating tmp dir

JIRA:

Change-Id: I96e3f88159e09a3148f23cb0fc2969adc9d90c1a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoMerge "Adds NTP class and python-rados package"
Frank Brockners [Thu, 9 Apr 2015 11:08:51 +0000 (11:08 +0000)]
Merge "Adds NTP class and python-rados package"

9 years agoAdds a puppet module to configure a Ceph cluster 71/271/2
Tim Rozet [Wed, 8 Apr 2015 19:19:54 +0000 (15:19 -0400)]
Adds a puppet module to configure a Ceph cluster
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>
9 years agoAdds NTP class and python-rados package 70/270/1
Tim Rozet [Wed, 8 Apr 2015 19:10:27 +0000 (15:10 -0400)]
Adds NTP class and python-rados package

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>
9 years agoRemoving ceph repos 69/269/1
Tim Rozet [Wed, 8 Apr 2015 19:05:15 +0000 (15:05 -0400)]
Removing ceph repos

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>
9 years agoMerge "Automatic Deployment - Deployment Hardware Adapter - Deployment Environment...
Frank Brockners [Fri, 3 Apr 2015 07:17:19 +0000 (07:17 +0000)]
Merge "Automatic Deployment - Deployment Hardware Adapter - Deployment Environment Adapter - Fuel environment cleanup - Fuel environment configuration"

9 years agoMerge "Adds Ceph repos needed for installing Ceph on each node"
Frank Brockners [Fri, 3 Apr 2015 07:15:02 +0000 (07:15 +0000)]
Merge "Adds Ceph repos needed for installing Ceph on each node"

9 years agoMerge "Adds opendaylight installation puppet module as a service"
Frank Brockners [Fri, 3 Apr 2015 07:14:45 +0000 (07:14 +0000)]
Merge "Adds opendaylight installation puppet module as a service"

9 years agoMerge "Adds HA controller support + ODL integration and removes ODL installation"
Frank Brockners [Thu, 2 Apr 2015 20:04:35 +0000 (20:04 +0000)]
Merge "Adds HA controller support + ODL integration and removes ODL installation"

9 years agoAdds Ceph repos needed for installing Ceph on each node 46/246/2
Tim Rozet [Wed, 1 Apr 2015 18:09:27 +0000 (14:09 -0400)]
Adds Ceph repos needed for installing Ceph on each node

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>
9 years agoAdds opendaylight installation puppet module as a service 45/245/2
Tim Rozet [Wed, 1 Apr 2015 16:45:18 +0000 (12:45 -0400)]
Adds opendaylight installation puppet module as a service

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>
9 years agoAdds HA and Ceph-Cinder backend to compute node 42/242/4
Tim Rozet [Wed, 1 Apr 2015 16:05:02 +0000 (12:05 -0400)]
Adds HA and Ceph-Cinder backend to compute node
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>
9 years agoAdds HA controller support + ODL integration and removes ODL installation 40/240/2
Tim Rozet [Wed, 1 Apr 2015 14:21:26 +0000 (10:21 -0400)]
Adds HA controller support + ODL integration and removes ODL installation

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>
9 years agoMerge "Fix problems during build/deployment process"
Frank Brockners [Thu, 2 Apr 2015 11:08:58 +0000 (11:08 +0000)]
Merge "Fix problems during build/deployment process"

9 years agoMerge "Initial build.sh files for install via foreman"
Frank Brockners [Thu, 2 Apr 2015 11:01:20 +0000 (11:01 +0000)]
Merge "Initial build.sh files for install via foreman"

9 years agoAutomatic Deployment 51/151/7
Szilard Cserey [Wed, 18 Mar 2015 14:49:24 +0000 (15:49 +0100)]
Automatic Deployment
- 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>
9 years agoFix problems during build/deployment process 26/226/6
Michal Skalski [Tue, 31 Mar 2015 07:27:25 +0000 (09:27 +0200)]
Fix problems during build/deployment process

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>
9 years agoMerge "Added the placeholder for juju installer."
Dan Radez [Wed, 1 Apr 2015 18:45:08 +0000 (18:45 +0000)]
Merge "Added the placeholder for juju installer."

9 years agoMerge "Adding Onboarding file"
Dan Radez [Wed, 1 Apr 2015 18:44:09 +0000 (18:44 +0000)]
Merge "Adding Onboarding file"

9 years agoMerge "Create place holder for Compass installer"
Dan Radez [Wed, 1 Apr 2015 18:39:27 +0000 (18:39 +0000)]
Merge "Create place holder for Compass installer"

9 years agoInitial build.sh files for install via foreman 47/247/1
Dan Radez [Wed, 1 Apr 2015 18:10:23 +0000 (14:10 -0400)]
Initial build.sh files for install via foreman

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>
9 years agoAdd Daniel Smith as committer on BGS project 24/224/2
Frank Brockners [Tue, 31 Mar 2015 08:06:55 +0000 (10:06 +0200)]
Add Daniel Smith as committer on BGS project

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>
9 years agoCreate place holder for Compass installer 20/220/1
Jerry Zhao [Mon, 30 Mar 2015 16:13:12 +0000 (09:13 -0700)]
Create place holder for Compass installer

Add place holder ci scripts of Compass installer for BGS.

JIRA: BGS-28

Change-Id: I4c9823ba54a655bf294635fcb7f334ff4c4ef05e
Signed-off-by: Jerry Zhao <zhaoxinyu@huawei.com>
9 years ago--- Fuel build system bug fix --- 12/212/2
Jonas Bjurel [Fri, 27 Mar 2015 19:23:35 +0000 (20:23 +0100)]
--- Fuel build system bug fix ---
- 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>
9 years agoAdded the placeholder for juju installer. 11/211/1
Narinder Gupta [Fri, 27 Mar 2015 17:49:27 +0000 (12:49 -0500)]
Added the placeholder for juju installer.

JIRA: BGS-29

Change-Id: I010f04adebe25709713f443f0f76b19dc7097b4d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
9 years agoAdding Onboarding file 90/190/1
Aric Gardner [Thu, 26 Mar 2015 20:13:14 +0000 (16:13 -0400)]
Adding Onboarding file

Change-Id: I9d44e4b47188f9fbe554c845884fc43cabdea536
JIRA: OCTO-13
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
9 years agoFuel build cache handling 72/172/5
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>
9 years agoTOPIC: ODL DOCKER 71/171/4
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>
9 years agoJIRA: BGS-23 - Adds the new base for common puppet modules for target 66/166/2
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>
9 years agoMerge "*** FIRST VERSION OF CI BUILD SCRIPT *** - Provides build cache management...
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"

9 years ago*** FIRST VERSION OF CI BUILD SCRIPT *** 44/144/5
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>
9 years ago*** Rebased towards latest Fuel stable/6.0 *** 45/145/2
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>
9 years agoRebase due to Fuel upstream change 43/143/1
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>
9 years agoInitial setup of "common" directory tree 17/117/7
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>
9 years agoStarting point for ODL Integration 94/94/5
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>
9 years agoAdding LICENSE file 05/105/1
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>
9 years agoFixed typos and added additional info. 98/98/2
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>
9 years agoAdd info file to be embeded in an iframe on the wiki 97/97/1
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>
9 years agoMerge "ci: Initial setup of ci tree"
Stefan Berg [Thu, 5 Mar 2015 16:17:37 +0000 (16:17 +0000)]
Merge "ci: Initial setup of ci tree"

9 years agoMerge "adding notes about using foreman installer"
Stefan Berg [Thu, 5 Mar 2015 15:38:08 +0000 (15:38 +0000)]
Merge "adding notes about using foreman installer"

9 years agoMerge "Add ceph installation readme"
Stefan Berg [Thu, 5 Mar 2015 15:37:40 +0000 (15:37 +0000)]
Merge "Add ceph installation readme"

9 years agoci: Initial setup of ci tree 86/86/1
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>
9 years agofuel: Do not allocate pseudo tty for docker 74/74/2
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>
9 years agoFix incorrect URL 52/52/1
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>
9 years agoUpdate of Fuel based build system to Fuel 6.0.1 32/32/3
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>
9 years agoSimplification and cleanup of build process 30/30/1
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>
9 years agoVersion 0.0.1 of /fuel-bild 27/27/1
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>
9 years agoAdd ceph installation readme 18/18/2
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>
9 years agoadding notes about using foreman installer 13/13/1
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>
9 years agoadding puppet code for installation 12/12/2
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>
9 years agoadding documentation on using puppet modules to install BGS 11/11/1
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>
9 years agoAdding .gitreview to genesis more information at https://wiki.opendaylight.org/view...
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>
9 years agoInitial empty repository
Aric Gardner [Mon, 15 Dec 2014 19:15:57 +0000 (19:15 +0000)]
Initial empty repository