summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-07-27Remove broken links, regression in sphinx?Aric Gardner1-7/+3
Change-Id: I2d7b1862e49cf56e4b962248957a09cef83f0f23 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-07-22Merge "Adds check to make sure subnets are a minimum size per network"Tim Rozet1-0/+50
2015-07-22Adds check to make sure subnets are a minimum size per networkTim Rozet1-0/+50
Verifies that subnets are at least these sizes for deploy: - admin: 5 IPs - private: 10 IPs - public: 25 IPs - storage: 10 IPs JIRA: BGS-71 Change-Id: I0a6c373c9a8737fa9f0c2712851616dc301968f3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-22Fixes clean to remove all VMs and be more effectiveTim Rozet1-19/+50
Now all VMs in the vm_dir (/opt/var/opnfv) will be destroyed and removed. Also, virtual box VMs that are leftover even if Vagrant is stuck will attempted to be gracefully removed first, before forcefully destroying the process. The clean should work for both baremetal and virtual deployments. JIRA: APEX-3 Change-Id: Ib31cf1210651e4413ec8fe918ff91be63f4ad6d4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-16Fixed public IP allocation JIRA: BGS-89randyl1-9/+20
For bare metal deployments, the list IP of the last IP of the subnet and 20 IPs before are reservered for neutron public IPs. A new function to subtract a number from an IP was added. Really fixed the logic for skipping 10 IP for VIPs was flipped to treat no_dhcp with static IPs as a special case. Removed a false print statement that the foreman VM is running. Consolidated two identical print messages with the public IP range. Change-Id: I189b9440dafd98e49d9a147515810e44b97ab256 Signed-off-by: randyl <r.levensalor@cablelabs.com>
2015-07-14Fixes issue where git clone failsTim Rozet1-2/+2
Looks like for some reason GIT_SSL_NO_VERIFY=true is required for the git clone to work in LF lab. I guess git cannot recognize the SSL cert. However, this same git clone command works on another non-LF server that is using the same exact git version without the need for this fix. JIRA: BGS-60 Change-Id: I2a71902b3fe01026644ada29bef67c3db3cda711 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-14Fixes syntax error with git clone for genesisTim Rozet1-2/+2
JIRA: BGS-60 Change-Id: I23a004d41ff8fd37a0ddcae1b4831a333000cae8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-14Fixes clean bug where $vm_dir is assumed to existTim Rozet1-10/+12
JIRA: BGS-60 Change-Id: Ida9458cf638eca81e6a3d67941203c605d9e4a8a Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-14Migrates from github bgs_vagrant project to genesisTim Rozet2-17/+57
No longer relies on bgs_vagrant github project. Now Foreman VM is created under /var/opt/opnfv/foreman_vm, instead of /tmp/bgs_vagrant for better naming convention and file location. Other VM nodes are also placed in /var/opt/opnfv/. JIRA: BGS-60 Change-Id: I009d907ad777750168b822ab86cd11515e28cdd7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-10Merge "Take care of the subnet on public subnet"Frank Brockners1-4/+24
2015-07-10Take care of the subnet on public subnetarnaudmorin1-4/+24
This patch will take care of the subnet on public range. Instead of having a stoned /24, we can use now use at least /27 subnet (because foreman will try to use 20 IPs for public floating ip pool) This is not the best way to do that, but it's better than the current way. It also add a parameter to set the number of floating IP we want to use from the public subnet in provider network. Change-Id: I467f2a4098d2da3c6f666453cead64e18d0c655c JIRA: BGS-75 Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
2015-07-09Removes version pinning to khaleesi and other utilsTim Rozet1-3/+2
No longer needed post Arno Change-Id: I24ba94e48658372034e334d413f044f407f2cb72 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-07Add a 1 minute pause after ansible playbookarnaudmorin1-0/+1
For the LF pods, it seems that the ansible reload playbook is necessary, in our pod, we also need to wait 1 minute before trying to run shell provisionner in Vagrant VM. This patch adds a 1 minute pause into the ansible playground in order to be sure that the machine will be accessible. This avoid "SSH connection unexpectedly closed" issue. Change-Id: Iab2b47decb0120e8359a175b1f16ccbd1036e91f JIRA: BGS-85 Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
2015-07-06Merge "Fixes networking related constraints for Virtual deployments"Dan Radez5-102/+654
2015-07-06Fixes networking related constraints for Virtual deploymentsTim Rozet5-102/+654
Patchset fixes the following: - Virtual deployment no longer requires 3 networks, does a lookup of the public interface on the server to bridge to, and then uses internal VirtualBox networks for the other admin and private networks - enable_virtual_dhcp option now allows enabling of Foreman DHCP server. This new default behavior is to use static IP address in virtual deployments. This is more useful in environments where disabling DHCP on the public network is not an option. - static_ip_range argument used to define which IP block to use out of the public network for the deployment. Valid only in virtual deployment. - puppet verification for virtual deployments added - horizon and foreman URLs will now be printed at the end of deployment - fixes and updates to non-HA deployments - ping_site argument now allows users to specify the site to verify VM internet connectivity. Default is google.com which is unreachable in China JIRA: BGS-73 Change-Id: I63b4c91477591d2f9436b5e6f59a2f2ee021d7d7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-01Added libvirt boot watchdog definition to provide more robust deployment in ↵Jonas Bjurel5-0/+5
case of dhcp/pxe time-out Change-Id: Id505a0ee89b72460bc65c7181ceae40e5443a515 JIRA: Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-06-30Merge "add a complete cleanup scripts for compass"Frank Brockners1-7/+10
2015-06-30Merge "Add ODL Deployment stack docs to Foreman guide"Frank Brockners1-1/+5
2015-06-30Merge "Moved 80% of Foreman deploy.sh into functions"Frank Brockners1-435/+509
2015-06-30add a complete cleanup scripts for compassm001331421-7/+10
JIRA: BGS-79 Change-Id: I9b7e3b5244056971b54b2ea9e0d0c9a9db31c47a Signed-off-by: m00133142 <meimei@huawei.com>
2015-06-29Merge "change in Fuel VM name"Stefan Berg6-7/+6
2015-06-29change in Fuel VM nameSzilard Cserey6-7/+6
for eliminating the conflict between prototype and production autodeployers JIRA: [BGS-2] Create Fuel deployment script Change-Id: Ib12d3643dd07a3dcbc8b8d19593385348b583ad2 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-28Removed security policies from autodeploy prototype libvirt fuel example ↵Jonas Bjurel1-1/+0
libvirt template, preventing fuel node to boot on Ubuntu 14.04 libvirt. Change-Id: If9083fba89cca855ef3a4502b820583227cab950 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-06-26Merge "Revert "Adding in support for Lithium container." since it doesnt deploy"Jonas Bjurel23-1509/+0
2015-06-26Merge "Add create vm script and foreman config"Jonas Bjurel40-0/+3114
2015-06-26Add create vm script and foreman configarnaudmorin40-0/+3114
Add a script to create a KVM machine and install foreman in it. This is the beginning of the OpenSteak installation mecanism. It is very similare as what is done in the Foreman/Quickstack approach with small differences: - Ubuntu as base OS (instead of CentOS) - Foreman v1.8 (instead of 1.7.5 - KVM (libvirt) virtual machine (instead of Vagrant) - Only python/bash scripts to manage all the stuff (instead of Khaleesi/Ansible/Astaport playbooks) Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0 JIRA: BGS-9 Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
2015-06-26Revert "Adding in support for Lithium container."Jonas Bjurel23-1509/+0
since it doesnt deploy This reverts commit eb887812da568cfb4908f6ae14449b2ceaeb5bc0. Change-Id: Ia7490d86c1d91abca1f50d90f43bdf3e4917f23a
2015-06-25Merge "Corrected links associated with release docs. To be updated along ↵Jonas Bjurel1-5/+5
with the previous patch for the doc and cherry picked to stable/arno."
2015-06-25Merge "Fetching exit code from deploy.py in deploy.sh"Jonas Bjurel1-3/+2
2015-06-24Moved 80% of Foreman deploy.sh into functionsrandyl1-435/+509
To help with readability and troubleshooting, the 80% of the script that was not in a function were added to functions based on logical blocks. Neither functional nor order of execution changes were made to the script. Since most of the file and other Foreman CI scripts use a 2 space indent, that was also applied uniformly across the file. Change-Id: I83b96e231d484813025f6aa900cf2ffc92e94397 Signed-off-by: randyl <r.levensalor@cablelabs.com>
2015-06-24Add ODL Deployment stack docs to Foreman guideDaniel Farrell1-1/+5
JIRA: BGS-59 Change-Id: Ia2541f7b56077f2ce95acc4dd042d72bb8cbbf2c Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2015-06-23Fetching exit code from deploy.py in deploy.shSzilard Cserey1-3/+2
JIRA: [BGS-2] Create Fuel deployment script Change-Id: I9b4f7f27fc8ad271fc9bb37f4cb1910af5068a73 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-20Merge "Fixing network configuration bug in dea.yaml"Jonas Bjurel4-4/+4
2015-06-20Merge "Fix typo: conatiner => container"Jonas Bjurel5-7/+7
2015-06-20Merge "Updating ci deploy script + argument parsing improvements"Jonas Bjurel4-32/+28
2015-06-20Merge "Catching exit status from remote deployment process"Jonas Bjurel3-5/+9
2015-06-19Merge "Add openstack HA installer code with ansible for compass adapter"Prakash Ramchandran134-2/+10876
2015-06-19Fixing network configuration bug in dea.yamlSzilard Cserey4-4/+4
it kept failing whenever I tried to deploy in HA mode JIRA: [BGS-2] Create Fuel deployment script Change-Id: I94f2b49ef4caf6674c636568601aac69c0339617 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-18Fix typo: conatiner => containerSzilard Cserey5-7/+7
Change-Id: If7a29b0c88a7009ef7587a460ecfeff4ba3f3661 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-18Updating ci deploy script + argument parsing improvementsSzilard Cserey4-32/+28
JIRA: [BGS-2] Create Fuel deployment script Change-Id: I891d574a5f8593a83edc89bb145bde90943c593f Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-18Catching exit status from remote deployment processSzilard Cserey3-5/+9
JIRA: [BGS-2] Create Fuel deployment script Change-Id: I21997df2534ef3cb0ae9ed47a01e6625b8404af9 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-17Fixing verification of vbox drivers JIRA: BGS-74randyl1-1/+2
With the foreman install the vboxdrv module is not loaded then the deploy.sh script attempts to load the driver by running ‘/etc/init.d/vboxdrv setup’ and checks the return code for success. However, /etc/init.d/vboxdrv will return 0 as long a valid parameter was passed on the command line. In the case of a failure, a failure message will be logged and the return code will still be 0. For instance if the kvm module is already loaded, the VirtualBox driver will never install. deploy.sh will now check for the VirtualBox kernel module with lsmod after the setup script is installed. The deploy.sh will now exit if the vboxdrv is not loaded. Change-Id: I702819cbf28afb08e0035e08918390af85c07674 Signed-off-by: randyl <r.levensalor@cablelabs.com>
2015-06-17Merge "Fixes external network bridge and adds quota limits"Frank Brockners1-0/+13
2015-06-17Fuel Config Reap + Additional Refactoring for AutodeploymentSzilard Cserey46-721/+5191
1. Refactor the whole autodeployment code in such a way that the preparation of Fuel VM + networking and the autodeployment itself can be executed all at once 2. Functionality added that allows reaping of Fuel configuration from an existing environment and create DHA and DEA configuration files from it JIRA: [BGS-2] Create Fuel deployment script Change-Id: Ia22ae9b050085aaa4cadb4ee6c7bfd556c4bc18a Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-06-16Add openstack HA installer code with ansible for compass adapterbaigk134-2/+10876
patch 2: add service monitor and adjust monitor timelen BGS-25 Change-Id: I4239576b3888a0a7f6b697fe7fffffb677ef7dab Signed-off-by: baigk <baiguoku@huawei.com>
2015-06-12Adding in support for Lithium container.Dan Smith23-0/+1509
Both will be present on the controller nodes and can be started/switches on and off at will. Networking scripts are not updated - will be deprecated in favour of plugin method of enabling / setting up VXLAN / OVSDB integration pulling from the latest nightly artifact at time of commit - will work on automated pulling each night to see if that makes sense. Change-Id: Ie911cdf61cd97a99b975c30c55c664daf70eb3ee JIRA: 0 Signed-off-by: Dan Smith <daniel.smith@ericsson.com>
2015-06-09Corrected links associated with release docs. To be updated along with the ↵ChristopherPrice1-5/+5
previous patch for the doc and cherry picked to stable/arno. JIRA: BGS-64 Change-Id: Ifb5a5d115559097d361aeca83d9b6a0807bbf3d7 Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2015-06-08Fixes external network bridge and adds quota limitsTim Rozet1-0/+13
Issue where external network router port was being placed on br-int. Port will now be properly added to br-ex. Patch also includes increased quota limits for neutron. JIRA: BGS-65 Change-Id: I30de85e4ef241b567a90011d08c0cb4ad97fe411 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-06-05Corrected the "support" e-mail address. Will need to be cherry picked and ↵ChristopherPrice1-6/+5
merged to arno stable then updated on the release pages once approved and generated. JIRA: BGS-64 Change-Id: Ie6c48fb863f726e5d2331e53a5b0764f9fb479b4 Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2015-06-03Merge "Fix formatting to '_sha1_', '_date_' where needed"arno.2015.1.0Jonas Bjurel1-2/+2