aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-18build/Makefile: deepclean: make grep more strictstable/coloradoAnders Roxell1-1/+1
Check if the docker image is named only 'ubuntu' and tag 14.04 JIRA: FUEL-245 Change-Id: I4dc58a295925cc64a1d5c52393e1c172d42f8a6e Signed-off-by: Anders Roxell <anders.roxell@enea.com> (cherry picked from commit ba2b4510c4c90e75927d90c976ba2afec97f0228)
2017-01-18Get stable of fuel-mirror for repobuild stageMichael Polenchuk1-1/+1
Change-Id: I9df7a54d34bf0b5c8753b6e814b2e5489ecc8f3b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-17Get missing package into iso at build stage (2)Michael Polenchuk2-0/+21
Change-Id: I2a985f6a73c31387ac205b0166374966e770294c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-16Get missing package into iso at build stageMichael Polenchuk1-0/+19
The required package of systemd-shim should be available in base iso since only local mirrors are used at deployment stage. Change-Id: I9cd1a686b89f5d1dbc1a64a22a59dd2754684af6 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-12-16Restart sshd service instead of reloadMichael Polenchuk1-1/+1
In the middle of fuel master node bootstrap the reload of sshd service accidentally is losing main process pid, so restart it. Change-Id: Ic977c46232e8592ea7505d7f6f826b366c026a5b JIRA: FUEL-237 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-14fuel-library: pp: cobbler: Fix CentOS ver detectAlexandru Avadanii1-0/+39
Upstream fuel-library bug report: [1]. Recently, CentOS released version 7.3.1611, which triggered a latent bug in fuel-library puppet scripts related to differentiating between 6.x and 7.x major versions: 7.3.1611 is wrongly detected as 6.x, leading to the wrong packages being attempted to be installed, leaving nailgun server service broken on the Fuel Master node. This change forces the match at the beggining of the version string (e.g. "/^6.+/: {" instead of "/6.+/: {"), so the new CentOS 7.3.1611 no longer matches the condition for 6.x). Since we can't just bump the whole fuel-library git repo to the commit including the fix (we still use Fuel 9.0.1, and not the tip of the stable/colorado branches or at least Fuel 9.1), backport the fix as a patch in Fuel@OPNFV. The backported patch is safe to remove if/when we bump fuel-library past upstream fix commit. [1] https://bugs.launchpad.net/fuel/+bug/1649895 JIRA: FUEL-238 Change-Id: Id75c7085e02435a20ff4eeeedead3ad8a7010174 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-12Prevent systemd is being installedMichael Polenchuk1-0/+2
Change-Id: Ia91d8a7fa52cf3e25b2169fd4651e26f5f64a7fd Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-30Update documentation for Colorado 3.0colorado.3.0Fedor Zhadaev3-23/+23
JIRA: FUEL-235 Change-Id: I6dd3a290179bd2b29e07dd0b72c2c007acd8682d Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com> (cherry picked from commit e718839e1e94fd69e1a2222225fce3ef2da868c2)
2016-11-17Uplift fuel-plugin-ovs for c3.0Nikolas Hermanns1-2/+2
Change-Id: I564419c17ead0bd522d479b08606cdfbcbc6d8c1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-11-15Typo fixescolorado.2.0.1Peter Barabas1-1/+1
Change-Id: I189dd771f9985424694ca0164c6e42f117f12bf9 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit d4b0f79649da3ad7a3f3f59d3b92ea230f5b1826)
2016-11-03[virtual envs] Switch to raw imagescolorado.2.0Michael Polenchuk9-10/+10
* use raw devices instead of qcow2 * disable i/o caching, it reduces data copies and bus traffic * set native aio instead of thread based JIRA: FUEL-201 Change-Id: I8ac728cbb5be5948080fab8ae4d3d311e0a5c09c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit ed79331c115eac4aad0eccd4b191c9e1e836c73d)
2016-11-02Merge "Revert "Disable public ping_checker resource by default"" into ↵Fedor Zhadaev1-29/+0
stable/colorado
2016-11-02Revert "Disable public ping_checker resource by default"Fedor Zhadaev1-29/+0
JIRA: FUEL-217 This reverts commit c5b7a198f1d69fd591696cc8e0c6ef81c6557ea4. Change-Id: I99570e9dc0fcfd452410809130a843230f28c178 Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2016-11-01Shift public ping checker into deployment stageMichael Polenchuk1-0/+126
Avoid public vip failover at the end of post-deployment by moving ping_checker resource into deployment stage. Also pingd constraint has been changed to be based on score. If all the nodes failed to ping the default gw, the resource ain't stopped and remains on the last node where it was. In addition public_vip_ping task has been splitted out to avoid race condition when ping_checker resource might be started up on controllers before a primary one. JIRA: FUEL-212 JIRA: FUEL-217 Change-Id: Id60ece479fce1ceabc47034f39997ddbaacd62d9 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-10-31Update documentation for Colorado 2.0colorado.2.rc1.1Fedor Zhadaev3-27/+27
JIRA: FUEL-215 Change-Id: Ie922ff794e686e1824483a91a9571252adc2b1e2 Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com> (cherry picked from commit 5dce11ef60ff69ba5127088d6b6f5663fe46c48f)
2016-10-27Merge "Use odl v1 mechanism driver of L2 scenario" into stable/coloradocolorado.2.rc1Michal Skalski2-0/+12
2016-10-27Use odl v1 mechanism driver of L2 scenarioMichal Skalski2-0/+12
ODL Boron + v2 version of networking-odl does not currently support assigning security groups to existing VM in L2 scenario. For details please look at: * https://bugs.opendaylight.org/show_bug.cgi?id=7021 * https://gerrit.opnfv.org/gerrit/#/c/23637/ JIRA: FUEL-216 Change-Id: Ic16bccf248ee4fbf0d97bfcd19f2831f36136521 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-10-27Disable public ping_checker resource by defaultMichael Polenchuk1-0/+29
Avoid public vip failover in the middle of deployment by disabling ping_checker resource by default. JIRA: FUEL-212 Change-Id: Iaefec638f89e125137b62a1731dfa140177a8c4f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-10-24[OVS] Update flavors key with large mem_page_sizeMichael Polenchuk1-1/+1
Repoint to the "Update flavors mem_page_size" from stable/9.0 branch of plugin. Change-Id: I91d6a770faa9ee2d078b7f1ccccb7d61525ad923 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 4ecfe9e2b61a033c6616e101637a80fd4201ebdc)
2016-10-24Merge "Compile DPDK to use basic cpu features" into stable/coloradoRuijing Guo1-1/+1
2016-10-21Rework processorcount limits to os_workersMichael Polenchuk1-0/+423
JIRA: FUEL-212 Change-Id: I1c5b8fe123406f1a96c5432d91a9ee5806c7cf62 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-10-19[odl-l3] Get OVS plugin into the actionMichael Polenchuk2-0/+10
Update ovs version to 2.5+ in order to get inserted security group connection tracking flows in ovsdb, which allows to pass tempest scenario of test_network_basic_ops. JIRA: FUEL-199 Change-Id: Id3e6c8ed2b79c4b6b4a7623f0d262c63f1d1d89f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 2c1f17baaf2ce9e892722c7f33586229a5586eed)
2016-10-18Point to specific snapshot of mos repositoriesMichal Skalski2-3/+5
Fuel 9.1 was released, it is a first time when new version of Fuel is distributed through the same repositories as previous one, point to specific snaphost of mos ubuntu repo to prevent mixing packages. Change-Id: I64bb52657ce476b0c1fdc8e858231ad751ba12b1 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit fe3fc91c23ace520f32830b6af5205c39088f922)
2016-10-14Compile DPDK to use basic cpu featuresGuo Ruijing1-1/+1
Change-Id: I3ee9e5afa416af9e6a90b77f03ed9258c6bd4b1b Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-10-12Merge "deploy: templates: Fuel VM for Enea Armband lab" into stable/coloradoAlexandru Avadanii1-0/+88
2016-10-12Merge "build: Use OPNFV_GIT_SHA for ISO preparer ID" into stable/coloradoAlexandru Avadanii3-4/+8
2016-10-12deploy: templates: Fuel VM for Enea Armband labJosep Puigdemont1-0/+88
This is the initial VM description fit for spawning Fuel Master VMs in Enea's Pharos lab (Armband lab) [1, 2]. [1] http://www.enea.com/pharos-lab [2] https://wiki.opnfv.org/display/pharos/Enea-pharos-lab Change-Id: Ia89f9728fff0ab1c279f6200fd558d9643cf4ea5 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit f3f4e1608b8d9b5dd7435b43d2512b9d981757f1)
2016-10-12[ODL] Use OpenDaylight BoronMichal Skalski2-6/+5
ODL Boron will be used in all scenarios except bgpvpn beacuse vpnservice was removed in this release, we still will use Beryllium for this scenario. This change only replace Beryllium with Boron, it does not use any new features like odl-netvirt-openstack. Change-Id: I95264cc97f5b9e922ab3fb7dc024724d9fb83e9c Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit e1314e2e599cfff5625b8e4694832b731a663887)
2016-10-12Merge "[odl] Get latest changes" into stable/coloradoMichal Skalski1-1/+1
2016-10-11Merge "Use tacker plugin in SFC scenario" into stable/coloradoMichal Skalski3-6/+60
2016-10-10deploy: Fix: remove storage files explicitlyAlexandru Avadanii1-0/+2
Previous change [1] tried to move the responsibility of removing storage files (raw, iso) from our python scripts to libvirt. Although this works as expected for non-root invocations, like Armband deploys, it fails to remove raw files in Fuel@OPNFV deploys. Work around this by keeping both mechanisms (libvirt managed + python explicit handling). Related-bug: ARMBAND-128 [1] https://gerrit.opnfv.org/gerrit/#/c/22447 Change-Id: Ib846cd6071705b71d98824385835d724c729fd78 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit aa912dc6691fba23c0827108f6a20296942e1ac0)
2016-10-10build: Use OPNFV_GIT_SHA for ISO preparer IDAlexandru Avadanii3-4/+8
isoinfo -i lists the following information for Fuel@OPNFV ISO: "Data preparer id: 86aafaf5454a846c417848bb94f264c4420160f3" where the SHA hash is Fuel git repo HEAD SHA. For Armband's build system, using only the Fuel commit ID is not enough to fully describe the state of the source code, as patches are also applied to other fuel modules (as git submodules). Instead, a pointer to a valid Armband commit ID should be used. However, Armband overrides OPNFV_GIT_SHA to the Armband git repo commit hash, so the ISO metadata should also reflect this. While at it, allow product name to be overriden, to signal the commit ID should be looked up inside the Armband repository. Change-Id: I33ad490f1afe28c1d439dda40e39cee1955e0ac2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 94ea115c36d5f5c79823692ac80626cf8959b35d)
2016-10-07Support different format of fuel task infoMichal Skalski1-2/+7
As described in this bug: https://bugs.launchpad.net/fuel/+bug/1625518 json output of the task can be in different format: single dict or list of dicts. During tests of https://gerrit.opnfv.org/gerrit/21807 only the later one was visible, try to support both types of output. Change-Id: I7d3e12270c8246b03bdc6c73d3be77a039df469f Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit b2a63bfe5746729b4731a14d98c50fb7f59d875e)
2016-10-07Merge "Change the way how we track deployment" into stable/coloradoMichal Skalski1-35/+76
2016-10-06build/docker: CI: no tag reuse on env var changeAlexandru Avadanii1-1/+1
The previous change adding support for OPNFV build tag reuse added the get/put-cache functionality to `build/docker` just for detecting env var changes between tag creation and current build. Obviously, when building outside CI, it is up to the end user to force a docker rebuild when env vars change (this was the behavior before the tag reuse support too). An alternative approach would be removing get/put-cache completely, if we consider the env vars (http proxy related) never change for CI cached builds (seems to be true, worst case we wait 1 day for the tag to expire when it happens). This change just fixes the original intended behavior in tag reuse. JIRA: FUEL-204 Change-Id: I14666994bc334012a5198a64a4a24cd4962e4bd6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1c7eb680b34fdcd83b92c43a4c78db3c54bf567b)
2016-10-06build/docker: Reuse tagged image for OPNFV buildAlexandru Avadanii3-7/+70
During CI build loops, the workspace is freshly fetched, so '.docker' make target is built each time. Reuse existing 'opnfv.org/ubuntu-builder:14.04' tag if present, but enforce a configurable lifespan for this tag (currently 1 day), so it does not get stale. JIRA: FUEL-204 Change-Id: I8d1bd81f3e5e81068e9586c9bea9f43b3327eb38 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 638d832527012531b506ec0ba40b297c41bfda0e)
2016-10-06Use tacker plugin in SFC scenarioMichal Skalski3-6/+60
JIRA: FUEL-205 verify: no-cache Change-Id: I37746bf3e490f6b707de8fe56af10f1df932908c Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 40ddf04b3b28a6b5ffa5b74c1e3140c976ca1612)
2016-10-04Integration of fuel-plugin-tackerGeorge Paraskevopoulos4-1/+107
JIRA: FUEL-205 This change integrates https://github.com/openstack/fuel-plugin-tacker to the Fuel project. Change-Id: I51b1bdeeb678e55b85393f6a9f8180fc79322e8f Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit d91a7fc7cc9d853a9e5c56f87b6cd22ca11ab9a2)
2016-10-04Change the way how we track deploymentMichal Skalski1-35/+76
Use fuel2 for start deployment. Since it does not return progress use deployment task to provide this information. Currently used 'deploy-changes' will behave the same: https://bugs.launchpad.net/fuel/+bug/1565026 Try to handle situation when nodes temporary go offline. With deploy-changes environment still was in 'new' state in this situtation which causes timeouts from jenkins. JIRA: FUEL-196 Change-Id: I6548a5ec807551388e845044c282b7af32eb9100 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit b73526033c5c5b93ca96f411a1d90dc5c49b9228)
2016-09-28deploy: fix: remove storage files during cleanupStefan Sicleru1-3/+1
Remove old disks through virsh instead of calling os.delete() methods so that the cleanup phase would succeed within a non-root setup. [1] Related-bug: ARMBAND-128 [1] https://gerrit.opnfv.org/gerrit/#/c/19491/ Change-Id: I90007edf014c7e15a68b9a334fcaffaa127ee4ab Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> (cherry picked from commit d4f9612475a07773af182f244bcd597d25bf4cd8)
2016-09-26Merge "Enable ci off-line deployment" into stable/coloradoJonas Bjurel1-21/+3
2016-09-26Merge "Properly handle quotes in argument masking" into stable/coloradoJonas Bjurel1-1/+2
2016-09-26Merge "Don't fork a templater process, use the library" into stable/coloradoJonas Bjurel1-4/+5
2016-09-26Merge "[OVS-DPDK] Turn off missing options" into stable/coloradoJonas Bjurel1-1/+1
2016-09-26Merge "Remove extra empty line" into stable/coloradoJonas Bjurel1-1/+0
2016-09-26Merge "[performance] Disable keystone token revoke" into stable/coloradoJonas Bjurel1-0/+44
2016-09-26Merge "Fix: ISO build omits long path files" into stable/coloradoJonas Bjurel1-0/+24
2016-09-23Merge "[KVM] Install plugin in post-deployment" into stable/coloradoMichal Skalski1-2/+2
2016-09-22[odl] Get latest changesMichael Polenchuk1-1/+1
* Fix setting bgpd password with puppet * Enable G1 garbage collector * Adding caching possiblity * Add firewall resource that opens BGP ports Change-Id: I8f779ba7356acf52967e594a1a213edf192962fc Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 1d4f96facadd5458a87a4d68b0b5298ca47cd1fd)
2016-09-21Emergency patch - fixed broken linkscolorado.1.0Jonas Bjurel2-11/+11
Change-Id: I7aea7c06775cac3efeb22d2256c7acf6fbb137d5 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 61d9f66916fe7cacc1df25438b4060b9f3c9402d)