genesis.git
8 years agoUpdated Neutron quota settings for Fuel 46/646/3
Stefan K. Berg [Mon, 25 May 2015 13:56:51 +0000 (15:56 +0200)]
Updated Neutron quota settings for Fuel

Updated the following Neutron quotas in the Fuel defaults
of neutron.conf:

security_groups 10 to 50
floating ip 50 to 100
network 10 to 50
router 10 to 50
subnet 10 to 50

JIRA: BGS-51

Change-Id: I133625187ee95fc0d81fa874b20e293a4de3102c
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoFix editorial issues, hyperlinks, RST formatting etc 34/634/1
blsaws [Thu, 21 May 2015 22:09:49 +0000 (15:09 -0700)]
Fix editorial issues, hyperlinks, RST formatting etc
JIRA:BGS-52

Change-Id: Iab72adf4e92f32937dfec22bca0e281cda4a239c
Signed-off-by: blsaws <bs3131@att.com>
8 years agoFIXED broken Softlink pointing to "nowhere" that is causing issues with Git/Bash... 33/633/1
Dan Smith [Thu, 21 May 2015 21:52:07 +0000 (17:52 -0400)]
FIXED broken Softlink pointing to "nowhere" that is causing issues with Git/Bash (non-linux intrepreters)

Change-Id: I8f2cc270ce4f91b69d86b7db26ccf6f980146b01
JIRA: 0
Signed-off-by: Dan Smith <daniel.smith@ericsson.com>
8 years agoMerge "Adds external network support for OPNFV"
Frank Brockners [Thu, 21 May 2015 15:31:27 +0000 (15:31 +0000)]
Merge "Adds external network support for OPNFV"

8 years agoMerge "New and corrected DEA templates for LF Pod 1"
Stefan K. Berg [Thu, 21 May 2015 12:16:58 +0000 (12:16 +0000)]
Merge "New and corrected DEA templates for LF Pod 1"

8 years agoNew and corrected DEA templates for LF Pod 1 25/625/1
Stefan K. Berg [Thu, 21 May 2015 11:35:16 +0000 (13:35 +0200)]
New and corrected DEA templates for LF Pod 1

- Renamed the HA DEA from dea.yaml to dea_ha.yaml.
- Introduced a non HA DEA as dea_no-ha.yaml, having one
  controller and four computes.
- Narrowed the Public IP range to just one IP address,
  172.30.9.70, to assure that the public APIs always end
  up at the same IP.

JIRA

Change-Id: Iebbeb11f5a3ea1b69d9a616ddc8a7010fc0783aa
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "JIRA:BGS-46 Adding small updates and edits to the installation-instuctions...
Jonas Bjurel [Thu, 21 May 2015 11:12:01 +0000 (11:12 +0000)]
Merge "JIRA:BGS-46 Adding small updates and edits to the installation-instuctions doc for Fuel deploy Adding an edit to identify the Fuel server when restarting the jump host."

8 years agoAdds external network support for OPNFV 13/613/1
Tim Rozet [Wed, 20 May 2015 20:34:04 +0000 (16:34 -0400)]
Adds external network support for OPNFV

Deploy will now detect and set extra parameters in the ksgen settings
file needed in order to configure an external public network for
Neutron. The new parameters required are as follows:
 -  external_network_flag: "true"
 -  public_gateway:
 -  public_dns:
 -  public_network:
 -  public_subnet:
 -  public_allocation_start:
 -  public_allocation_end:
 -  deployment_type:

public_* parameters are required to create an external network when
external_network_flag is "true".  deployment_type (three_network or
multi_network) is now passed to Foreman.  Foreman decides on this value
whether to configure 3 interfaces as dhcp+onboot or 4.

Change-Id: Ia8af04e82f3854a36adc563c1855d451ddfa9c17
JIRA: BGS-13
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Autodeploy inspired on Prototype #2"
Jonas Bjurel [Wed, 20 May 2015 13:19:56 +0000 (13:19 +0000)]
Merge "Autodeploy inspired on Prototype #2"

8 years agoJIRA:BGS-46 78/578/3
ChristopherPrice [Sun, 17 May 2015 23:56:17 +0000 (01:56 +0200)]
JIRA:BGS-46
Adding small updates and edits to the installation-instuctions doc for Fuel deploy
Adding an edit to identify the Fuel server when restarting the jump host.

Change-Id: Ib6aad5cec688fc94125798b915ddb3ef36cc5e9e
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoAutodeploy inspired on Prototype #2 89/489/10
Szilard Cserey [Mon, 4 May 2015 10:11:29 +0000 (12:11 +0200)]
Autodeploy inspired on Prototype #2

- setup libvirt environment
- setup vfuel environment
- patch iso
- install Fuel Master
- deploy cloud
- hardware adapter for libvirt
- hardware adapter for ipmi
- hardware adapter for hp
- README: AutoDeploy instructions

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: I862d824829baaae7d21115776d13355d575a47c8
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoDeployment corrections for Fuel 93/593/3
Stefan K. Berg [Tue, 19 May 2015 08:14:43 +0000 (10:14 +0200)]
Deployment corrections for Fuel

The most important change is the introduction of support for a selectable
temporary directory for ISO manipulations by setting the TMPDIR variable.

Invoke deploy.sh as "sudo TMPDIR=/my/tmp/dir ./deploy.sh ..." to make
use of this, otherwise the temporary directory defaults to that of the
user running the script.

Other improvements:

- Added error check for when the patch-iso.sh gets an error from
  copying data with cpio (potentially indicating out of disk space)
- Corrected typo in deploy.sh: error-exit -> error_exit

JIRA

Change-Id: I74966c3fe2bee0ac1923cfa9bd9ebfe1ca73a9da
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Generally refactor Foreman installation guide"
Dan Radez [Mon, 18 May 2015 18:39:38 +0000 (18:39 +0000)]
Merge "Generally refactor Foreman installation guide"

8 years agoMerge "Update for SR3 Helium for ODL and refactoring other files."
Dan Radez [Mon, 18 May 2015 18:29:29 +0000 (18:29 +0000)]
Merge "Update for SR3 Helium for ODL and refactoring other files."

8 years agoMerge "Patch novnc ubuntu package"
Daniel Smith [Mon, 18 May 2015 17:31:44 +0000 (17:31 +0000)]
Merge "Patch novnc ubuntu package"

8 years agoPatch novnc ubuntu package 85/585/2
Michal Skalski [Mon, 18 May 2015 14:57:00 +0000 (14:57 +0000)]
Patch novnc ubuntu package

Patch novnc ubuntu package by adding missing files.
Related bug: https://bugs.launchpad.net/fuel/+bug/1433894

Change-Id: Iba413c664bb93dea26245c9ed4471fff30e43968
Jira: -
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Adds node virtualization support"
Frank Brockners [Mon, 18 May 2015 09:37:32 +0000 (09:37 +0000)]
Merge "Adds node virtualization support"

8 years agoAdd Tim Rozet as committer on BGS project 79/579/1
Frank Brockners [Mon, 18 May 2015 09:22:50 +0000 (11:22 +0200)]
Add Tim Rozet as committer on BGS project

Tim Rozet's promotion to committer was done by email vote:
http://lists.opnfv.org/pipermail/opnfv-tsc/2015-May/000845.html

JIRA: BGS-47

Change-Id: Ie99e07dfc78ec3ba6f4d2af27572f7018b3e9002
Signed-off-by: Frank Brockners <fbrockne@cisco.com>
8 years agoUpdate for SR3 Helium for ODL and refactoring other files. 74/574/1
Dan Smith [Fri, 15 May 2015 20:22:35 +0000 (16:22 -0400)]
Update for SR3 Helium for ODL and refactoring other files.

Change-Id: I5e616652f1084211bab4f8054dbf700112a89774
JIRA: 0
Signed-off-by: Dan Smith <daniel.smith@ericsson.com>
8 years agoGenerally refactor Foreman installation guide 49/549/3
Daniel Farrell [Wed, 13 May 2015 15:42:47 +0000 (11:42 -0400)]
Generally refactor Foreman installation guide

First pass with large number of (mostly minor) edits.

Removed Versions section because we get it for free from version
control, and it'll actually be updated.

JIRA: BGS-39

Change-Id: I27547d69f0f8fa9f37daaf51d33eac9daf2386a0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoMerge "JIRA:BGS-46 Updating the release-notes.rst with aligned language and more...
Jonas Bjurel [Wed, 13 May 2015 16:15:14 +0000 (16:15 +0000)]
Merge "JIRA:BGS-46 Updating the release-notes.rst with aligned language and more release centric text.  Please review and comment. Added an RST formatting correction and corrected version."

8 years agoJIRA:BGS-46 33/533/3
ChristopherPrice [Tue, 12 May 2015 18:22:02 +0000 (20:22 +0200)]
JIRA:BGS-46
Updating the release-notes.rst with aligned language and more release centric text.  Please review and comment.
Added an RST formatting correction and corrected version.

Change-Id: I9dc07b015c8104326569e0d8c8f29abbd7eec7c3
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoJIRA: - 36/536/2
Jonas Bjurel [Wed, 13 May 2015 07:28:49 +0000 (09:28 +0200)]
JIRA: -
Removed an old console-log patch wich disabled console logging
and deemed not needed any longer.

Change-Id: Iafb35f9a0a0060c5c7280b3319f48a6a003380c8
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoDHA hardware config for LF pod1 27/527/1
Stefan K. Berg [Tue, 12 May 2015 16:16:46 +0000 (18:16 +0200)]
DHA hardware config for LF pod1

Adding the dha.yaml for the lab setup.

JIRA

Change-Id: Ie9cb582dcd35256acd72ffed55f4a4db36662725
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Config and corrections for auto deploy"
Stefan K. Berg [Tue, 12 May 2015 15:28:36 +0000 (15:28 +0000)]
Merge "Config and corrections for auto deploy"

8 years agoConfig and corrections for auto deploy 17/517/3
Stefan K. Berg [Tue, 12 May 2015 13:59:17 +0000 (15:59 +0200)]
Config and corrections for auto deploy

- Corrected create_templates in order to compensate for a
malformed information depending when configuration is copied.
- Made the DHA IPMI adapter repeat every IPMI command three
times - for some reason needed with POD1 at LF, the reason
is unknown.
- Added DEA.yaml for Ericsson Montreal and LF POD1. The DHA.yaml
contains IPMI passwords so I am not really eager to put it into
Git without a discussion about the security implications.

JIRA

Change-Id: I667d73651c47c06d2ae17cc9c574bd021ff63a25
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoAdds node virtualization support 19/519/1
Tim Rozet [Tue, 12 May 2015 14:44:48 +0000 (10:44 -0400)]
Adds node virtualization support

This patch adds the argument "-virtual" which allows one to deploy to
Vagrant VMs rather than baremetal.  The requirements for the Jumphost
become slightly different with VM nodes.  The required RAM increases to
24GB when using virtual.  Usage: "./deploy.sh -virtual".

JIRA: BGS-31

Change-Id: I2e5e60cc7913f4d3efaa405950e1fcbbefd2771b
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Corrected directory name"
Stefan K. Berg [Tue, 12 May 2015 14:15:01 +0000 (14:15 +0000)]
Merge "Corrected directory name"

8 years agoCorrected directory name 16/516/1
Stefan K. Berg [Tue, 12 May 2015 13:54:39 +0000 (15:54 +0200)]
Corrected directory name

It was never meant for the first level to be called anything
else than auto-deploy - really needed to get rid of the
terrible .../deploy/deploy/deploy.sh!

JIRA

Change-Id: Ifa68e5922ca8da9cc72df963e8138a8fc0b8b63b
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoFix foreman build validate-cache target 12/512/1
Fatih Degirmenci [Tue, 12 May 2015 11:19:12 +0000 (13:19 +0200)]
Fix foreman build validate-cache target

Due to missing prepare dependency, cache is constantly invalidated.
Removing non-existent dependency fixes this problem.

JIRA: BGS-0000

Change-Id: I700a11aade7d53bcfb5b2d0c4d52cec49c44ee8c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoFix foreman build cache handling 07/507/1
Fatih Degirmenci [Mon, 11 May 2015 20:11:15 +0000 (22:11 +0200)]
Fix foreman build cache handling

JIRA:

Change-Id: Id6b6cd35e4692a6990c3a4bdb4bab7b7f129dc40
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "Adds installation instructions for Foreman/QuickStack"
Daniel Smith [Mon, 11 May 2015 14:54:50 +0000 (14:54 +0000)]
Merge "Adds installation instructions for Foreman/QuickStack"

8 years agoMerge "Small correction in build.sh default VAR settings. JIRA:"
Dan Radez [Fri, 8 May 2015 15:21:28 +0000 (15:21 +0000)]
Merge "Small correction in build.sh default VAR settings. JIRA:"

8 years agoMerge "Adds clean script for Foreman/QuickStack Install Server"
Dan Radez [Fri, 8 May 2015 15:20:25 +0000 (15:20 +0000)]
Merge "Adds clean script for Foreman/QuickStack Install Server"

8 years agoAdds installation instructions for Foreman/QuickStack 90/490/1
Tim Rozet [Thu, 7 May 2015 19:27:28 +0000 (15:27 -0400)]
Adds installation instructions for Foreman/QuickStack

JIRA: BGS-39

Change-Id: I521e4850d2a768f82c873408ff911b7759362e9d
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Adds NAT capability and other fixes for deploy.sh"
Frank Brockners [Thu, 7 May 2015 17:28:08 +0000 (17:28 +0000)]
Merge "Adds NAT capability and other fixes for deploy.sh"

8 years agoMerge "Adds inventory directory and inventory file for use with clean.sh and deploy.sh"
Frank Brockners [Thu, 7 May 2015 17:26:21 +0000 (17:26 +0000)]
Merge "Adds inventory directory and inventory file for use with clean.sh and deploy.sh"

9 years agoSmall correction in build.sh default VAR settings. 87/487/1
Jonas Bjurel [Wed, 6 May 2015 20:11:14 +0000 (22:11 +0200)]
Small correction in build.sh default VAR settings.
JIRA:

Change-Id: I7941d28774ae432c716ec0af84e4c69b8ad57248
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
9 years agoMerge "updating licensing information for the BGS components"
Dan Radez [Wed, 6 May 2015 13:10:26 +0000 (13:10 +0000)]
Merge "updating licensing information for the BGS components"

9 years agoMerge "libvirt/IPMI hybrid DHA for Fuel auto-deployment"
Stefan K. Berg [Wed, 6 May 2015 10:57:55 +0000 (10:57 +0000)]
Merge "libvirt/IPMI hybrid DHA for Fuel auto-deployment"

9 years agolibvirt/IPMI hybrid DHA for Fuel auto-deployment 62/462/4
Stefan K. Berg [Mon, 4 May 2015 18:18:48 +0000 (20:18 +0200)]
libvirt/IPMI hybrid DHA for Fuel auto-deployment

An implementation of a hybrid IPMI/libvirt deployment hardware
adapter (DHA).

The Fuel master is deployed as a VM, controllers and computes
are manipulated using IPMI.

JIRA

Change-Id: I21a889b14965ce3c431eccd48a919f6634d6b336
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
9 years agoAdds inventory directory and inventory file for use with clean.sh and 67/467/1
Tim Rozet [Mon, 4 May 2015 20:52:40 +0000 (16:52 -0400)]
Adds inventory directory and inventory file for use with clean.sh and
deploy.sh

Inventory file holds the information for how foreman should install, and
the baremetal info (bmc+mac info) for all of the baremetal nodes.

JIRA: BGS-31

Change-Id: Ide06a31b94ea45e4047de5d1225f4f92e2b8ac7b
Signed-off-by: Tim Rozet <trozet@redhat.com>
9 years agoAdds NAT capability and other fixes for deploy.sh 63/463/1
Tim Rozet [Mon, 4 May 2015 18:57:13 +0000 (14:57 -0400)]
Adds NAT capability and other fixes for deploy.sh

Dynamically detects if Admin network interface does not have internet
access.  If not, then the VM sets up NAT to the public interface so that
nodes may PXE boot over the Admin network and download packages during
install.  Also contains other various fixes.

JIRA: BGS-31

Change-Id: I551e0f73e349890e643f477b6b4ac7b3dc84c605
Signed-off-by: Tim Rozet <trozet@redhat.com>
9 years agoAdds clean script for Foreman/QuickStack Install Server 60/460/1
Tim Rozet [Mon, 4 May 2015 18:19:18 +0000 (14:19 -0400)]
Adds clean script for Foreman/QuickStack Install Server

Script should be executed on the jumphost baremetal to ensure the clean state of a POD.
clean.sh will do the following:
 - IPMI power off all the nodes
 - Vagrant destroy the VM
 - Remove VirtualBox Package
 - Remove VirtualBox kernel modules from the host

JIRA: BGS-31

Change-Id: Iaf3dfc65b654cbcd19cc8326f328447ab017717e
Signed-off-by: Tim Rozet <trozet@redhat.com>
9 years agoadding rpmbuild to the Makefile for the foreman build 09/409/11
Dan Radez [Fri, 24 Apr 2015 14:34:03 +0000 (10:34 -0400)]
adding rpmbuild to the Makefile for the foreman build
This will allow content in the genesis repo to be provided to
the centos install via rpm

Change-Id: Ib84759211c56006007913010fb3f73f84271b57d
JIRA: BGS-41
Signed-off-by: Dan Radez <dradez@redhat.com>
9 years agoupdating licensing information for the BGS components 47/447/2
Dan Radez [Thu, 30 Apr 2015 15:08:07 +0000 (11:08 -0400)]
updating licensing information for the BGS components

JIRA: BGS-43
Change-Id: I3c5bcf040008138734ca448dd156a0c73a289377
Signed-off-by: Dan Radez <dradez@redhat.com>
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>