summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-20Properly handle quotes in argument maskingPeter Barabas1-1/+2
Use shlex to parse the command line, thus handling quotes and other special characters. Change-Id: Icc3a2cd934aac8f67e07d967f76c7679bcb34996 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit bddbf2a740b46d1ad763967b8c8662b1877a4d75)
2016-09-20Temporary Hardcoded Ubuntu repocolorado.1.rc3Jonas Bjurel1-16/+18
Meanwhile we're investigating the issues with Ubuntu repo mirror selection, we will hardcode the Ubuntu repo mirror Change-Id: I776bd3a8a72dc87e00052e8ff965de1134293c7a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 3e506f9248f2a64a8a30c832049df392b01fcb4e)
2016-09-20Merge "Make sure to use only up-to-date mirrors" into stable/coloradoJonas Bjurel1-3/+9
2016-09-20Merge "Repo tidy-up + licence scrubing" into stable/coloradoJonas Bjurel19-431/+75
2016-09-19Make sure to use only up-to-date mirrorsStefan K. Berg1-3/+9
Whitewash the geographically "close" mirrors against the list of fully synced mirrors - we've had a few instances of getting bad mirrors which would break the script. All credit goes to: https://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line ... and we should perhaps use the netselect tool as well somewhere down the line, but this fixes the most urgent problem. Change-Id: Ia61a2bd78657b28019f57fc1962d410e754e6d2a Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> (cherry picked from commit e12aec84ef1767d4ba9469dfb12d65d928bf0ed4)
2016-09-19Repo tidy-up + licence scrubingJonas Bjurel19-431/+75
- Added licences and (c) to files not complying to Licence and (c) policies. - Removed example templates not having correct licence claims and no longer being rellevant. - Removed the Vagrant deployment method as it is not used, not rebased/up to date and not holding correct license claims. Strategies used: - Machine generated are not assigned an licence text, the licence follow from the source. - Generated patch files are not assigned an licence text, the licence follow from the source. Change-Id: I9763f076eae51fbb2d4e5cb8cacfa4bb6cf338cc Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 65b7cfcd862a75be72fb98777190c49f8b6ea0d3)
2016-09-17build: Move patches to <patch-repos> dirAlexandru Avadanii5-17/+24
Decouple main Makefile and repository patches by moving all Fuel component patches to a subdir, <patch-repo>. Proposed structure of <patch-repos> dir: - patch-repos/*.patch are intended for <fuel-main> git repo; - patch-repos/build/repo/<fuel-module>/*.patch are intended for <fuel-module>, e.g. "fuel-nailgun"; Full list of Fuel submodules supported by this mechanism at [1]. While at it, replace all occurences of </tmp/fuel-main> with <FUEL_MAIN_DIR> in main Makefile and rewrite a few git/make calls to use the "-C" arg. NOTE: `git -C` is available starting with git 1.8.5. [1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk #L32-L44 Change-Id: I5e4adc7285054777c3898592ed48482ccd2b706f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 52701ce099ac455aa393aac34d684f5d59b3d2fe)
2016-09-17Merge "Increase number of hugepages allocated for nova" into stable/coloradoMichal Skalski2-2/+2
2016-09-17Stop using network transformationMichal Skalski27-271/+148
Due the bug in code we did not apply network transformation to created environments, but still Fuel base on chosen segmentation type and networks to NICs assigment has been generated network schema itself. Since we don't use custom network schema we can remove transformation defintions from dea pod overrides files. However there is a need to configure NIC properties in case of dpdk deployment. JIRA: FUEL-192 Change-Id: Ib7dab4d61910ac8c44b6d91e0c486c9693034823 Signed-off-by: Michal Skalski <mskalski@mirantis.com> Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-16Final updates of release notesJonas Bjurel1-13/+23
-Added filters for fixes, issues and work-arounds Change-Id: Id76545fd7837c83145bd8d87b309c23849da6f7e Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 7dc64e4f8813a1cef9697074326698bc27a85937)
2016-09-16Increase number of hugepages allocated for novaMichal Skalski2-2/+2
Yardstick is using m1.small flavor for some tests, in case of ovs scenario it should be possible to allocate 2GB from hugepages. Change-Id: Ie908d94e63a5055907bb33c69a5e028739f44f2e Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit c64a4063f591c0140509e3edb88d9f0c3cd20928)
2016-09-15Uplift fuel-plugin-ovscolorado.1.rc2billyom1-1/+1
Pull in "Update flavors mem_page_size" Change-Id: I3e285cefee561dbbc02eb9ab7d2e9c01eef2742a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-14Use Boron RC3.5 for sfc scenarionMichal Skalski2-2/+2
It should fix problems with vm communication through floating IPs. Change-Id: Icadc71f2b99c28715c15389e59111272a21440fb Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit ff9c24257a2c62dd981297a92eecf712f6643617)
2016-09-14Update local mirrors defintionsMichal Skalski1-3/+3
If we only use main section, not all required packages are discovered. Change-Id: I2eaa4a7bfc659b820901ce55a4ab799c3281df3b Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 2e9ff14f8ab6ee9e4ebf84a2e8e40bd3f149c48e)
2016-09-13Merge "Add intel-sc lab devel-pipeline configuration" into stable/coloradoJonas Bjurel2-0/+365
2016-09-13update node_reset() in zte_adapter.pywu.zhihui1-23/+5
Change-Id: I71790b8abb25936045f777a78ed903f3b8ce4303 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit 161dd445f06aa9a5dfcd273d89a00d1f02260ba3)
2016-09-13Add intel-sc lab devel-pipeline configurationdavidjchou2-0/+365
intel-sc is the lab devel-pipeline configuration for a lab of Intel in Santa Clara, CA, USA. This lab is behind Intel proxy sever. Change-Id: I401b030adf82d6a19397e92aef4b30ebe971d80c Signed-off-by: davidjchou <david.j.chou@intel.com> (cherry picked from commit 8079d1237ab9f2326adef163dc509c8a84e62775)
2016-09-12Merge "Reduce ceilometer memory usage" into stable/coloradoMichal Skalski1-0/+30
2016-09-10Change the way of hugepage allocationMichal Skalski1-1/+1
Try to allocate enough hugepages for all NUMA nodes. JIRA: FUEL-186 Change-Id: Idcdf6ab616dfbd9ef1104be8d1667421221ea5f2 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 8d7559b50b265298f7800b18f840b87ad1e84b20)
2016-09-09Reduce ceilometer memory usageMichael Polenchuk1-0/+30
JIRA: FUEL-189 Change-Id: I54854e4cc87f0c0e9e348e18131aa88b70e30054 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 4c47ef4b6f192482d99196c7a7070e5f396b1fd5)
2016-09-07Disable cpu features in ovs with DPDKcolorado.1.rc1Guo Ruijing1-1/+1
Change-Id: I2cf5df2f0469f21f64e0e7d11740058639f68697 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit 9a3f6a38d708cbc3633d203e36e32bc91764ba20)
2016-09-06Script updates for CI jobferenc Cserepkei1-7/+12
Due to the redesign of the SFC feature test, the poc script became part of CI job functest-fuel-baremetal, scenario os_odl_l2-sfc-ha, there is a need of full uplift to colorado. Changes: - GPG keyserver use (line 61) - patch updated fixing the debian package dependency issue (python-oslo.messaging-) - some typos are fixed - OpenDayLight address is read from hiera (management vip) Change-Id: I4a19ec753a575220cf321819ab4ff2d9433ec16c Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com> (cherry picked from commit ad0dd57dc045b58c46e53f281ab57e70d00947d7)
2016-09-06Final Colorado document review.Jonas Bjurel6-140/+137
- Please review the rendered HTML document (See Jenkins references below) - Please verify the documented procedures and instructions READY TO MERGE Change-Id: Idff52212ca68ce2b97f203043e18a18c582589a7 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-05Do not use rsync for choosing mirror serverMichal Skalski1-49/+14
Rsync protocol was used for creating local mirrors, but now we only need http connection. This requirement can be problematic for environments which are behind proxy and can lead to build failures when rsync is not allowed. Change-Id: I4efcf500fd0c25de5fdb87307e7210cc4a96714d Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit a8820e25b80ee0c069e473cb54c576d98dd10aee)
2016-09-05Change source of ODL Boron tarballMichal Skalski1-1/+1
For SFC scenario we need to use ODL Boron. Since it is not yet released there is no persistent location for a tarball. Use opnfv artifacts to store Boron build which include required changes. Change-Id: I43e35dbdf5ca0160d48a1adc817db071fd5db85d Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 9d871421fbc631f875f7a8bdca590b42eb1bd3bf)
2016-09-02[OVS-DPDK] Allocate dpdk socket memoryMichael Polenchuk1-1/+1
Change-Id: Ic84094e9842295df936d9f87d0777009e0020013 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-01Merge "transplant: Generate extra interfaces config file" into stable/coloradoJonas Bjurel1-0/+37
2016-09-01deploy/reap.py: Dump extra interfaces information.Alexandru Avadanii1-0/+36
Since on AArch64, Ubuntu local mirror lacks arm64 packages (see [1]), Fuel master requires internet connectivity during deploy, and hence a way to setup such a public (extra) interface automatically. Previous commit "transplant: Generate extra interfaces config file" introduced support for passing this information via DEA (override), which may define a IFCGF_<interface> section in its 'fuel:' section, containing the necessary keys to produce a ifcfg-<interface> file, like in this example: fuel: IFCFG_ETH1: device: eth1 ipaddress: 10.0.1.10 netmask: 255.255.255.0 gateway: 10.0.1.254 In order for Network Manager to use the newly added interfaces for outgoing traffic and honor their GATEWAY setting (e.g. if we just added one public interface), the default route on admin iface (most of the time called eth0) is disabled when extra interfaces are present. FIXME: Only supports lowercase interface names, but so does Fuel, see related bug report [2]. [1] https://jira.opnfv.org/browse/ARMBAND-35 [2] https://jira.opnfv.org/browse/FUEL-136 Change-Id: I14b023b2b9b4c7d9b9f390d4f86f693c176efde0 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 888c45b1ab7f70f226e3dc2c81725f1c6397afff)
2016-09-01transplant: Generate extra interfaces config fileAlexandru Avadanii1-0/+37
Original work by Josep, only signed by Alex for upstreaming. The DEA override may contain a IFCGF_<interface> section in its 'fuel:' section, containing the necessary keys to produce a ifcfg-<interface> file, like in this example: fuel: IFCFG_ETH1: device: eth1 ipaddress: 10.0.1.10 netmask: 255.255.255.0 gateway: 10.0.1.254 FIXME: In order for Network Manager to use the newly added interfaces for outgoing traffic and honor their GATEWAY setting (e.g. if we just added one public interface), the default route on admin iface (most of the time called eth0) should be disabled. For now, we assume the admin interface is always "eth0". Change-Id: I96e3ac5046dd59ed10c43099dd76a6418806a1f3 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 56d816920bfefe7d41d9c35cb8fb52e36295ee07)
2016-08-31build: cache: Consider UBUNTU_ARCH in .cacheidAlexandru Avadanii10-0/+10
Usually UBUNTU_ARCH is not changed inside the same repository, but we should consider this case anyway for future merging Armband and Fuel@OPNFV repositories/build systems. This applies to all Fuel plugins and the local repo. Change-Id: I1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a)
2016-08-31Merge "repo mirror: Allow multi-arch local mirrors" into stable/coloradoJonas Bjurel4-2/+68
2016-08-31Merge "docs: build req: Remove p7zip-full" into stable/coloradoJonas Bjurel1-2/+0
2016-08-31Merge "Final Updates of the build instructions - Updated references" into ↵Jonas Bjurel1-3/+3
stable/colorado
2016-08-31Merge "Final updates of the Installation instructions: - Images updated - ↵Jonas Bjurel18-34/+35
Updated reference URIs" into stable/colorado
2016-08-31Merge "deploy.sh: accept a timeout flag (-T)" into stable/coloradoJonas Bjurel1-4/+15
2016-08-31docs: build req: Remove p7zip-fullAlexandru Avadanii1-2/+0
p7zip-full is not required for building, as stated in the current version of the docs. I think this bogus requirement was introduced by Armband (by me, more precisely) because our build process was happening outside docker. Sorry for the useless code churn. Change-Id: Id0a3c5b9016706535ca159e1da261e83c8d36d31 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit de6d5d4b6ba6848304d620e65ad97f3aeeadccd5)
2016-08-31Merge "[ODL] Fix odl deployment on separate node" into stable/coloradoMichal Skalski1-1/+1
2016-08-31repo mirror: Allow multi-arch local mirrorsAlexandru Avadanii4-2/+68
Original patch from Stan, signed by me for upstreaming. This patch allows specifying multiple architectures via UBUNTU_ARCH in form of a list of space separated architectures. The first architecture in the list is considered primary and will be used for building all the deb packages by fuel-main. Additional architectures are added to allow targets of other architectures to use the mirror. NOTE: this imposes a requirement that all packages built are arch independent (which is true so far). [ Alexandru Avadanii ] Reworked for applying on top of Fuel@OPNFV. Pass UBUNTU_ARCH to Docker containers. Change-Id: Ibc4ae03223545383813ac58ec34d44c1f97b4694 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 655e777a5adeb633e114d98ffb02f74b227ab437)
2016-08-31Merge "build: cache: Allow LOCAL_CACHE_ARCH_NAME override" into stable/coloradoJonas Bjurel1-1/+1
2016-08-31Merge "build: Allow MIRROR_MOS_UBUNTU override" into stable/coloradoJonas Bjurel1-1/+1
2016-08-31Merge "build: Allow PLUGINS override" into stable/coloradoJonas Bjurel1-1/+1
2016-08-30deploy: Delete old Fuel env if presentAlexandru Avadanii1-0/+15
In order to clean up old partitioning and boot entries on target nodes, before removing the Fuel Master, try ssh-ing into it and removing all environments/nodes. This is especially important for EFI systems, where old boot entries are left behind without a proper env delete, leading to target nodes failing to PXE boot on Fuel Master re-install. This change assumes that: - all Fuel Master information is unchanged between old and new deploy (fuel IP, password etc.); - Fuel Master is up and running, in a sane state (target nodes are also online), when deploy starts; Closes: ARMBAND-51 Change-Id: I7b61124ea9182ce2d599adcdedef03e0d8d67ed6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit f1e808677a29a157e009f33a1a5a024eaad2c021)
2016-08-30build: Allow MIRROR_MOS_UBUNTU overrideAlexandru Avadanii1-1/+1
Change-Id: Idc647f941fc3923f5ed1f2888318b218c23f4362 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit dc647f941fc3923f5ed1f2888318b218c23f4362)
2016-08-30build: Allow PLUGINS overrideAlexandru Avadanii1-1/+1
Instead of using BUILD_FUEL_PLUGINS, which was intended for manual overrides of the Fule@OPNFV plugin list, allow PLUGINS to be preset to a custom list, which we will provide via Armband Makefile spec. Change-Id: Ic4204aefeaf0d781998e54ab83831fcde7527b89 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit c4204aefeaf0d781998e54ab83831fcde7527b89)
2016-08-30build: cache: Allow LOCAL_CACHE_ARCH_NAME overrideAlexandru Avadanii1-1/+1
Change-Id: Id6251356aac4fdb8fbcb2893d5072ea16500bd93 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit d6251356aac4fdb8fbcb2893d5072ea16500bd93)
2016-08-29deploy.sh: accept a timeout flag (-T)Alexandru Avadanii1-4/+15
Original work by Josep, signed by me (Alex) for upstreaming only. Change-Id: I58a7b9bc639bb03b994ea34fc317f5679140d9fd Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit bb2a6188ff55e61390841694cac786d4e758d67b)
2016-08-25Final updates of the Installation instructions:Jonas Bjurel18-34/+35
- Images updated - Updated reference URIs Change-Id: Ieeefbd8a3ef9bbd6c3a0e767f770097ab8a98f9d Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 087c8de9c667b28506b7621d5147be4846c06397)
2016-08-25Final Updates of the build instructionsJonas Bjurel1-3/+3
- Updated references Change-Id: I2a6cfdec0de6afa41ea8af59f415439b7ab7056d Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 9f00e08b54ac2be36e6315adc3bd29f7e3bd40d8)
2016-08-25[ODL] Fix odl deployment on separate nodeMichal Skalski1-1/+1
JIRA: FUEL-185 Change-Id: Id14d30154b63abc915a0cd55835bb72cee862dde Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit ba1cb485398d811d2f473406ae085993bfd9f68a)
2016-08-23Fix ovs scenario configurationMichal Skalski2-4/+4
Due the incorrect indentation install_dpdk option was not set to true. JIRA: OVSNFV-37 Change-Id: Ida3b0d1e72ce8322905ff399af89b43cac878299 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit ae8196be2c5863a5ca837828eead7188d608023d)