summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-04-30Merge "Removes interface names as parameters to the puppet modules"Dan Radez2-5/+15
2015-04-28Refactoring HP AdapterSzilard Cserey2-476/+221
JIRA: [BGS-2] Create Fuel deployment script Change-Id: Ifb6d3e36d60ba652fa9e4ab6cdacb5d01ce2ed5b Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-04-28Merge "Fuel documentation ready for review"Daniel Smith9-133/+283
2015-04-28Merge "Automatic Deployment"Daniel Smith46-666/+3228
2015-04-28Merge "Auto deploy prototype #2"Daniel Smith62-826/+3695
2015-04-28Auto deploy prototype #2Stefan K. Berg62-826/+3695
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>
2015-04-28Automatic DeploymentSzilard Cserey46-666/+3228
- 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
2015-04-27Fix CentOS HA deploymentMichal Skalski1-6/+0
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>
2015-04-27Removes interface names as parameters to the puppet modulesTim Rozet2-5/+15
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>
2015-04-23Fuel documentation ready for reviewJonas Bjurel9-133/+283
JIRA: Change-Id: Icaa2decbd82a3a857141a127d9f536474f478901 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-04-23Merge "Allow deployment on Centos 6.5 environment"Jonas Bjurel3-46/+78
2015-04-21Merge "Includes fixes that remove need for interface hardcoding and adds ↵Dan Radez1-7/+18
support for Foreman REST API access"
2015-04-21Merge "Release Notes for Foreman/QuickStack Arno Release"Dan Radez1-0/+195
2015-04-21Allow deployment on Centos 6.5 environmentMichal Skalski3-46/+78
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>
2015-04-19Merge "Correction of the auto-kill during deploy"Stefan K. Berg1-4/+9
2015-04-18Correction of the auto-kill during deployStefan K. Berg1-4/+9
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>
2015-04-17Release Notes for Foreman/QuickStack Arno ReleaseTim Rozet1-0/+195
JIRA: BGS-38 Change-Id: I13e427594b0463d4edb2edef86da0a667c7955f6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-04-17Merge "Fix debootstrap package"Stefan Berg8-2/+182
2015-04-17Includes fixes that remove need for interface hardcoding and addsTim Rozet1-7/+18
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>
2015-04-17Merge "Adds support for subnets other than /24 and fixes issue where ↵Frank Brockners1-8/+34
default_gw was set in the wrong place PATCHSET2: Fixes improper spacing in network_type for .yaml settings"
2015-04-16Fix debootstrap packageMichal Skalski8-2/+182
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>
2015-04-16Correction of verification phase in deployStefan K. Berg1-5/+7
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>
2015-04-16Adds support for subnets other than /24 and fixes issue where default_gwTim Rozet1-8/+34
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>
2015-04-16Prototype of automated libvirt installationStefan K. Berg33-0/+2778
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>
2015-04-16Fuel installation instruction doc for Arno RC2, 75% done for RC3.Jonas Bjurel3-328/+283
Fuel release notes for Arno RC2 JIRA: Change-Id: I5d9078d7665350565727098d5648ef2982b885c9 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-04-16Fuel@OPNFV rebase due to upstrem changesJonas Bjurel2-30/+0
JIRA: Change-Id: I9864f16d2be725f7d48f4268a3886aa65410293a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-04-14Initial rearrangements for the OPNFV/opnfvdoc documentation structure ↵Jonas Bjurel11-42/+482
including LOW level READMEs, LICENCEs, and TODOs. JIRA: Change-Id: Ifd2baa5b1db3ae0fb354e39548eb7f9547639581 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-04-14Merge "Adds deploy.sh for Foreman/QuickStack PATCHSET2: Fixes whitespace ↵Frank Brockners1-0/+402
issue and adds default_gw substitution in ksgen settings file"
2015-04-14Adds deploy.sh for Foreman/QuickStackTim Rozet1-0/+402
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>
2015-04-13Automatic DeploymentSzilard Cserey12-90/+1061
- 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>
2015-04-10Merge "Adds Ceph cluster creation for controllers PATCHSET3: fixes whitepsace"Frank Brockners1-4/+24
2015-04-10Merge "Adds a puppet module to configure a Ceph cluster PATCHSET2: Fixes ↵Frank Brockners1-0/+102
whitespace"
2015-04-10Adds Ceph cluster creation for controllersTim Rozet1-4/+24
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>
2015-04-09Changed place for cache tmp storage due to /tmp full in LFJonas Bjurel1-7/+8
Fixed issue with creating tmp dir JIRA: Change-Id: I96e3f88159e09a3148f23cb0fc2969adc9d90c1a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-04-09Merge "Adds NTP class and python-rados package"Frank Brockners1-0/+8
2015-04-08Adds a puppet module to configure a Ceph clusterTim Rozet1-0/+102
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>
2015-04-08Adds NTP class and python-rados packageTim Rozet1-0/+8
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>
2015-04-08Removing ceph reposTim Rozet1-17/+0
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>
2015-04-03Merge "Automatic Deployment - Deployment Hardware Adapter - Deployment ↵Frank Brockners5-0/+332
Environment Adapter - Fuel environment cleanup - Fuel environment configuration"
2015-04-03Merge "Adds Ceph repos needed for installing Ceph on each node"Frank Brockners1-0/+18
2015-04-03Merge "Adds opendaylight installation puppet module as a service"Frank Brockners1-0/+24
2015-04-02Merge "Adds HA controller support + ODL integration and removes ODL ↵Frank Brockners1-125/+346
installation"
2015-04-02Adds Ceph repos needed for installing Ceph on each nodeTim Rozet1-0/+18
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>
2015-04-02Adds opendaylight installation puppet module as a serviceTim Rozet1-0/+24
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>
2015-04-02Adds HA and Ceph-Cinder backend to compute nodeTim Rozet1-46/+102
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>
2015-04-02Adds HA controller support + ODL integration and removes ODL installationTim Rozet1-125/+346
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>
2015-04-02Merge "Fix problems during build/deployment process"Frank Brockners5-94/+26
2015-04-02Merge "Initial build.sh files for install via foreman"Frank Brockners7-0/+985
2015-04-02Automatic DeploymentSzilard Cserey5-0/+332
- 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>
2015-04-02Fix problems during build/deployment processMichal Skalski5-94/+26
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>