summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-09-26Try to choose close ubuntu mirrorMichal Skalski1-0/+10
As described in this bug https://bugs.launchpad.net/fuel/+bug/1459252 slow connection to ubuntu mirror can lead to errors. Lets try choose mirror which is near build server. Change-Id: I7a367cbb6edbcf30dceb52934a9adf35cbd7ce5a Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit f2752258649dc714a3c0adc8fa6aa4cfab405a45)
2015-09-26Correction of Fuel cache buildingStefan K. Berg1-14/+10
The cache was previously not fully populated. Change-Id: I77885bc1fa0e9cbc7499e2dc4ceee47ff3b2e14c Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> (cherry picked from commit d8d4303b2cea8dca0ce67407b6a60145dbfe111c)
2015-09-25Fuel patch to enable virtual deploymentStefan K. Berg2-0/+45
Disable ext4 journalling during Fuel master image creation, otherwise the provisioning process times out on many virtual setups after 3600 sec. All credit to Michal Skalski of Mirantis for providing the information to patch this up: https://docs.mirantis.com/openstack/fuel/fuel-6.1/release-notes.html#issues-with-image-based-provisioning https://review.openstack.org/#/c/197943/ Change-Id: I90f68a351b3afe1273440846bc5d56da8f6d3507 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-09-25Update of READMEs and build instructions for Arno SR1Jonas Bjurel4-26/+20
Change-Id: Ib4204a591a8623b47848968b9ee0252a772bbafe Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-09-25Removed obsolete Fuel patchesStefan K. Berg5-169/+0
The patch files were modifying behavior already addressed by changes in the Fuel config in terms of boot arguments. Change-Id: Icb5af0e3a75a71e8c26fb646fc734189bf16b7c8 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> (cherry picked from commit 19353295cc1e3bf5dff72ab48d794087767c62d7)
2015-09-25Fixes and updates for clean.sh and setup.shSzilard Cserey2-32/+160
Remove PXE interface (VLAN 0) and check IP Forwarding is enabled Add/Clean VLAN 300 interface Swap IP address from Base interface to VLAN interface Change-Id: Ia6ce76b220518f979dc2e3e9acd8e53540cbaef1 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-24Update of release notes towards SR1Jonas Bjurel1-24/+51
Change-Id: I0f5eeeb9d478b7a44e06ac0a3106a2eba539f077 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-09-24Ubuntu package repositories added to Fuel ISOStefan K. Berg3-1/+70
Starting with Fuel 6.1, the Ubuntu repositories are no longer stored on the Fuel ISO, but by default fetched from the Internet during installation (the exact URI can be modified in the Fuel configuration). In order to being able to handle a deployment scenario where the Fuel node has no Internet connectivity, the OPNFV Fuel ISO is adding the necessary repositories into /var/www/nailgun by fetching them during the generation of the ISO. The actual fetching is done by a Fuel provided package, fuel-createmirror.deb, which can be found in /opt of the Fuel master (but which is run outside Fuel in the context of the build process when generating the OPNFV ISO). An additional OPNFV post installation script is added as /opt/opnfv/bootstrap/post.d/03_install_repo.sh which will populate /var/www/nailgun with these repositories in the late stage of the bootstrap_admin_node process. Important! In order to use these repositories For deployment, the default Fuel repo configuration must be changed as below: Repository "mos-updates" URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-updates main restricted" Repository "mos-security" URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-security main restricted" Repository "mos-holdback" URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-holdback main restricted" Repository "ubuntu" URI="deb http://10.20.0.2:8080/ubuntu-part trusty main" Repository "ubuntu-security" URI="deb http://10.20.0.2:8080/ubuntu-part trusty main" Repository "ubuntu-updates" URI="deb http://10.20.0.2:8080/ubuntu-part trusty main" Change-Id: I25211bd3f277b560808fd838180aa52e278af404 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-09-23Update ODL links in Foreman install docsDaniel Farrell1-3/+4
OPNFV Arno SR1 uses ODL Helium SR4, so link to the Helium CBS repo. Also add links to the RPM building logic in Integration/Packaging. JIRA: APEX-21 Change-Id: Iaa4b7bc890ced2deb17fa7b0c2f6ba676dbe69c6 Signed-off-by: Daniel Farrell <dfarrell@redhat.com> (cherry picked from commit 14ffa4eeb4c5b03ab972f2449546891b0598409a)
2015-09-23Update documentation for SR1 releaseTim Rozet2-99/+351
JIRA: APEX-21 Change-Id: Iea656b3a6f8bc9571920afa8f5ba63036ac5c653 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 37c01214db85cbd5a3940bf5cdb9ff12e260149e)
2015-09-23Fixes public gateway to be the correct valueTim Rozet1-1/+1
Bug where default gateway was always being set to the first IP in the subnet. Now should detect correct public gateway. This only impacts the default gateway configured on the external neturon "provider_subnet". JIRA: APEX-37 Change-Id: I0296fa7149679a0f2eb47f7d65e0011f366c1147 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit f5032bce67f6b7b8f8c5186b6f64e83bd113338e)
2015-09-22Merge "Adds single NIC support for baremetal deployments" into stable/arnoTim Rozet1-84/+210
2015-09-22FIX networking configuration in dea.yamlSzilard Cserey4-95/+111
Change-Id: I7eb03139d947fbf8fbe1562eb87bf484a2799faa Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-22Fixes bug where puppet fails to run due to domain nameTim Rozet1-1/+1
Puppet relies on facter to gather host facts, including domain name. Unfortunately facter gathers domain name by looking at the first domain listed in /etc/resolv.conf, rather than the domain name set on the host. This fix corrects the domain in that file. JIRA: APEX-36 Change-Id: If4e4a0b9f82e562463d97ceeee6b7dfd445e3bdc Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit d4ccd3bdf95f4250747f72d0ca98a19f3656d128)
2015-09-21Reconfigure network interface setup in dea.yamlSzilard Cserey1-9/+9
Change-Id: I6737a2a2300ceba22bc3858fb947d409a3caa927 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-21Adds single NIC support for baremetal deploymentsTim Rozet1-84/+210
Simply use a new argument "-single_baremetal_nic <nic name>" to define which NIC to bridge to on your host. Also ensure when using this arg that your ksgen_settings file has mac_address and private_mac as the same value for your controllers (since you are using a single interface). JIRA: APEX-33 Change-Id: I69095ccc4b907ae3c6ea3e88b2d1c9af9894c5cb Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit f6947d7d35d5b0dd3a8a38152a367d9422b81279)
2015-09-21Merge "Grant access for Fuel VM to external public network" into stable/arnoTim Rozet4-18/+43
2015-09-21Grant access for Fuel VM to external public networkSzilard Cserey4-18/+43
Change-Id: I429d41ea9942321fb4768a5a4d46d0976adbf47d Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-21Modified cache naming. Now the cache name comprises an xor of the following:Jonas Bjurel1-1/+35
- config.mk - cache.mk - Upstream fuel commit-id This should avoid any cache flapping, and insted produce a unique cache for any permutation of the above identities. Change-Id: Ieb28748ae9075725e54f6a5e87740281bf81116e Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-09-21FIX raise ExceptionSzilard Cserey1-4/+5
Change-Id: Ia1ded0e6de426b97de6aec9c0ff5225ea63a8c91 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-20Merge "Missed a reference to prepare target which was earlier used by odl" ↵Jonas Bjurel1-2/+2
into stable/arno
2015-09-20Merge "Tidied up the last references to ODL" into stable/arnoJonas Bjurel3-17/+3
2015-09-18FIX for temporary ISO directory cleanupSzilard Cserey4-67/+44
Move plugin installation in Fuel installer Change-Id: Ibb24da448681fb70686a1f59738bd9fdda12e9d0 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-18Updates for AutodeployerSzilard Cserey28-8300/+37
-Remove pre-deploy mechanism -Update reaping mechanism -Remove old DEA, DHA configuration files Change-Id: Ibc28d148bc23992e940e0247873a226d92fb7af7 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-18Corrects the default route on controllersrandyl4-1/+22
BGS-84 After the changes to br-ex on the control nodes. The default route was no longer correct on the control nodes in bare metal deployments. Added an admin_network paramater for barmetal deployments. Added logic on br-ex in to set DEROUTE=no on the admin network in the extern_net_presetup. Tested on HA physical deployment. Change-Id: Ic4b1ef521da2c55590990411f3f2444d4c94b019 Signed-off-by: randyl <r.levensalor@cablelabs.com> (cherry picked from commit 7dc718a545c2da1b7bf150bf652705aeb98b245c)
2015-09-18Missed a reference to prepare target which was earlier used by odlJonas Bjurel1-2/+2
Change-Id: Ief101627e2af51c4b565dcb5d230922c5f113c8d Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 0011674c45680df6c1fe9491c974eb3e57a4a0fe)
2015-09-18Tidied up the last references to ODLJonas Bjurel3-17/+3
Change-Id: I715f47461622f2d26a492eb61d68b20ca84825aa Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 4d23d9a0079735322c88e53a8ebb1c4d2c0b1566)
2015-09-18Fixed cache logicJonas Bjurel1-6/+4
Change-Id: I904a4b8ebcab5aedefef287ff8bb5357dae8e3ff Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-09-18Fix to solve issues around cache archives having trailing garbageJonas Bjurel1-137/+185
Change-Id: I69689767e423cf469b5fdf2e40bb0cc931628002 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-09-16Merge "adding files to the build cache to reduce bandwidth by reusing ↵Tim Rozet3-7/+11
already downloaded build dependancies reverting git archive to use HEAD, jenkins checks out the correct branch so we can rely on head" into stable/arno
2015-09-16FIX for AutodeployerSzilard Cserey4-16/+45
- Fuel installation - fix for finding fuelmenu - ugo+rwx access rights to autodeploy.log file - backward compatibility for argument parsing of ISO, DEA, DHA Change-Id: Ib4ad5b0868a25b0357cfcd9d8f644bb3a0703b25 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-16Autodeployer support for ODL Plugin installation + Fuel 6.1Szilard Cserey61-643/+4840
- Opendaylight plugin installation - Adapting Autodeployer to Fuel 6.1 - restarting blades that couldn't be discovered Fuel in time BGS-87 Autodeployment restarts blade if that has not been discovered by Fuel BGS-90 Fuel 6.1 and Opendaylight Fuel plugin install support for Autodeployer Change-Id: I83aab3f8caf368a70fd3f2b67c7ba1b6191993c6 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-15adding files to the build cache to reduce bandwidth by reusing already ↵Dan Radez3-7/+11
downloaded build dependancies reverting git archive to use HEAD, jenkins checks out the correct branch so we can rely on head Change-Id: Iaf308ebdbd72e96c87fb49ee04168a7e9a905d98 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-09-15Merge "FIX for bringing down pxebr in clean.sh" into stable/arnoTim Rozet1-2/+9
2015-09-15Merge "changing branch to checkout from to arno/stable and placing all repo ↵Tim Rozet2-4/+5
contents into /root instead of deploy.sh only in /bin" into stable/arno
2015-09-15FIX for bringing down pxebr in clean.shSzilard Cserey1-2/+9
Wait for 5 seconds after pxebr has been brought down Change-Id: Ic9e64a484eeab6be63df3c7c4b9b98bed1cd2ed4 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-15FIX for using qemu instead of kvm as hypervisor in virtual environmentSzilard Cserey2-2/+2
Change-Id: Ib02c98e9410fc98a23379f9e40291763d354a8a8 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-14changing branch to checkout from to arno/stable and placing all repo ↵Dan Radez2-4/+5
contents into /root instead of deploy.sh only in /bin Change-Id: I5c7c3a990bf18480b1e99a2119363e30e68e6d12 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-09-14Refactoring build system to support Fuel 6.1Stefan K. Berg55-2273/+440
As Fuel 6.1 has changed both Debian package handling (fetching repositories from Internet) as well as Puppet packaging, the support for patching these has been disabled. The pre-deploy logic of Fuel has been removed together with a number of patches applied on top of a Fuel build, among them fixes for NTP, DNS and /etc/hosts injection. Instead, when changed default behavior is required, this will be introduced as Fuel plugins which more cleanly integrates into the Fuel system, and also decouples additional functionality from the ISO build stage. Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-09-11Allows domain name to be configuredTim Rozet4-19/+26
Users may now provide domain_name in the ksgen settings file (along with setting the correct and respective hostnames). This domain name will be used for all of the deployed machines. JIRA: BGS-86 Change-Id: I34b6da07dd565648399ea7a1abf2abe1ae62d91a Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 1089c79563e61589d105accc3067f6ebbd3020ed)
2015-09-11Foreman deploy.sh bug corrected when finding the interfacesjose.lausuch1-1/+2
Change-Id: Ifb1ab47017ab28fab0a39961c2fd7728d2098cda Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit cf15cf80302559a1647d243187240cfca1efaad2)
2015-09-10Adds functionality to modify VM resourcesTim Rozet6-6/+177
VM resources (vcpus, memory, disk size) are now configurable in the opnfv_ksgen_settings files. Each node in the ksgen settings file now has "memory, cpus, disk" attributes: - cpus is an integer number of CPUs to assign to the VM - memory is an integer size in kilobytes - disk is an integer size in gigabytes The vagrant box vmdk is resized for each VM. Each VM will then modify its partition to the new size, execute the normal reboot, then extend the physical+logical volumes and filesystem using vagrant provisioning scripts. JIRA: APEX-1 Change-Id: I471319db14d2189052961b2f533c65850ebeb1e7 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 5384a722ffae47bc3519512d34802102ebc7be5b)
2015-09-09Fixes horizon IP URL for non-HA deploymentsTim Rozet1-1/+15
The printed horizon URL at the end of a successful deployment was incorrect for non-HA deployments. The private IP was being printed which is not publicly accessible. This patch fixes the URL printed to be the public IP of the control node - the correct URL. JIRA: APEX-12 Change-Id: Ia2f594e0cf839a9100c3bf5715a38fe4fd243bfe Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit db4a9ac5492659cd435b4e4e84868510259c6b29)
2015-09-08Adds check to ensure that provided static_ip_range param is correctTim Rozet1-0/+7
Patch adds a check to make sure that the user specified static_ip_range argument (Ex. 192.168.0.10,192.168.0.20) falls within the valid public subnet of the host (the same subnet as the default gateway). JIRA: APEX-19 Change-Id: Ifc0b79074b887509617c2749e50d97d1800abad0 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 50fe670726f2229ef963517a890fef2d821b8821)
2015-09-08Merge "Merge branch 'master' into merge-master-arno" into stable/arnoTim Rozet238-2830/+16150
2015-09-07FIX for ip link state verificationSzilard Cserey1-1/+1
Change-Id: Ibe0840a74b9fe7fc0041ce92190cf82f25ae9298 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-04Merge branch 'master' into merge-master-arnoDan Radez238-2830/+16150
Change-Id: Idbe1d8ba5f1fe44ae5c5e407d5999c28909639c5 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-09-03Fixes bug in looking for interfacesTim Rozet1-1/+1
Issue where the wrong field was being used for finding interfaces. JIRA: APEX-11 Change-Id: I94635837c73acd0d271dbc9d0474dc5ba688ff10 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-09-03Fixes setup.sh pxebr checksTim Rozet1-3/+4
Bug where pxebr was checking for link state UP before the subinterface was added to the bridge. Moved the check to be after. Added a short sleep in between issuing the link up and checking link status. JIRA: OCTO-109 Change-Id: I7f782a35adf49b0da675e932d109c41b26016a5b Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 87157c0dc9bd2a3da709d1cf980cce2e9c5469a3)
2015-09-02Fixes IP/MAC of inventory for lab reconfigTim Rozet1-18/+18
JIRA: OCTO-109 Change-Id: I272a1f9f12454ff71a8a1915ab7b712474b84832 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 1facde0bf0d51035cfed819e7680145969c6174d)