aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-20f_repobuild: Fixup missing OPNFV plugin depsAlexandru Avadanii1-21/+22
Packetary solves "libasound2" with "liboss4-salsa-asound2" from universe, leading to openjdk failing to install. Work around this by altering recently introduced packetary-driven local mirror build to include OPNFV plugin deps into the "main" package list. JIRA: ARMBAND-167 JIRA: ARMBAND-35 Change-Id: I040a7117c7ae809933a400ae00937ab8fcc1ea0e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-19f_odlpluginbuild: Armband prereq in packages.yamlAlexandru Avadanii1-0/+40
We need to explicitily add our Armband leveldb patching prereq tools, like maven, git, make etc. to the ODL plugin's packages.yaml, so they are included in the offline Ubuntu mirror. While at it, also add openjdk-8-jre amos version additional dep: - libasound2 JIRA: ARMBAND-167 Change-Id: I17fa7a4727b8a553f5a46ab13267380a8864c728 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-19fuel-plugin-ovs: FIXME: Pin to pre-Newton upstreamAlexandru Avadanii1-1/+2
Upstream Fuel@OPNFV made the switch to Newton, while in Armband this will happen later. Until then, pin the latest Mitaka compatible version, i.e. use the Fuel@OPNFV reference from the Colorado branch. While at it, add missing change var for upstream fuel-plugin-ovs git repo, to prevent issues like ARMBAND-166 from happening on Armband master later. JIRA: ARMBAND-166 JIRA: ARMBAND-118 Change-Id: I0630c2349befa3bdfbbb01b4ad401660d8cfd5fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-16build: fixtures: Fix local Ubuntu mirror URIsAlexandru Avadanii1-2/+2
Previous commit (bcdc1eaa74d5efd5f8c80600fb30d722bae9a421) confused the URL of the local Ubuntu mirror with the local MOS mirror. JIRA: ARMBAND-35 Change-Id: Icfb68e88e61c238cf650b84b269d16f9a52f9f26 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-16build: Add local Ubuntu mirror to target imageAlexandru Avadanii1-1/+13
When deploying via Jenkins CI, the repos used for target image building are overridden to use the local Ubuntu mirror on Fuel Master instead of fetching packages from internet. However, when deploying manually, only bootstrap image building benefits from the local Ubuntu mirror. While keeping the internet mirrors, add the local Ubuntu mirror to target image build repo list. JIRA: ARMBAND-35 Change-Id: Ibd58067703ce6370781a6b54fd01ce52e29686ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-16build/install: Fix missing arch list from ReleaseAlexandru Avadanii1-1/+2
During the previous attempt to fix the local mirror rebuild by reworking `atp-ftparchive` configuration, we removed the arch list from the main configuration, which led to the local Release file missing "Architectures" entries. This led to "/etc/fuel_openstack_arch" not being populated, binfmt not starting on the first boot, and bootstrap build failing. Bring back the "Architecture" config line to restore the old behavior. JIRA: ARMBAND-163 Change-Id: Ica64fcd60ed4e0185d2cab5457603b42d3d55af8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-16FIXME: build: Temp pin to pre-Newton Fuel@OPNFVAlexandru Avadanii5-1/+1
Until we populate Armband repos with Fuel Newton packages, we cannot build the Newton version of Fuel@OPNFV in Armband. Therefore, temporarily pin the upstream repos to pre-Newton commits. JIRA: ARMBAND-118 Change-Id: I34d44c4fabe59c32a7f2c45424dd80e9ae3e04bc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-15Merge "AArch64: Ubuntu local partial mirror: Add arm64"Alexandru Avadanii8-48/+800
2016-11-15AArch64: Ubuntu local partial mirror: Add arm64Alexandru Avadanii8-48/+800
NOTE: Temporarily patch "packetary" in Armband until we upstream two small fixes. Bootstrap build, deploy target image build: - Switch from public Ubuntu mirrors to 10.20.0.2. JIRA: ARMBAND-35 Change-Id: I14645cfeebb486063e7b8198de273f68285b11cd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-15build/docker: Import Enea Armband keysAlexandru Avadanii2-3/+24
JIRA: ARMBAND-96 Change-Id: I28ab3030d3f31c5734508838985412a33334570a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-11build/install: Fix paths in apt-ftparchive confAlexandru Avadanii1-34/+53
JIRA: ARMBAND-163 Change-Id: I3fd5a8a826372afc323665abe229c7e67991e31a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-03fuel-plugin-ovs: Bind to stable/9.0 branchAnders Roxell3-1/+78
Previously, fuel-plugin-ovs did not have a stable branch for Fuel 9, but now it does, and since fuel-plugin-ovs/master was reworked for Fuel 10, we need to switch to it. v1 -> v2: Backported one patch that was not cherry-picked on stable. Change-Id: I58467e441763b35e5296cb29433eb941e65eec3f Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-28Merge "build: Rebase after cirros bump / GPG addition"Alexandru Avadanii2-12/+8
2016-10-28patches/fuel-plugin-ovs: fix version bump of libxenstore3.0Anders Roxell1-1/+5
Change-Id: I4c232fec4f35add7b04faf305cdf53dde70d7e92 Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-28build: Rebase after cirros bump / GPG additionAlexandru Avadanii2-12/+8
Slightly edit patch context to match upstream changes [1, 2]. [1] https://gerrit.opnfv.org/gerrit/#/c/22559/ [2] https://gerrit.opnfv.org/gerrit/#/c/21823/ Change-Id: Ibdb3b557f3e482f74d345a1e0e1eedda26879179 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-18build: Add <debug> make targetAlexandru Avadanii1-3/+5
Pass `make debug` to Fuel@OPNFV build system. debug requires Fuel@OPNFV submodules to be initialized, since `f_repobuild` relies on fuel-mirror submodule. Change-Id: Ia64a7d79143c00fc09076472ad346f0cdc20c2b5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-18FIXME: build: Revert using mirror snapshotsAlexandru Avadanii1-0/+43
Armband does not yet have DEB/RPM repo snapshots, so revert upstream Fuel@OPNFV change enabling them. JIRA: ARMBAND-155 Change-Id: Ib08c36bf28a66ef38d8b33031dcbf363fb34123c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-17Merge "Revert "FIXME: Temporary: Use archive.ubuntu.com only""Alexandru Avadanii1-152/+0
2016-10-17Revert "FIXME: Temporary: Use archive.ubuntu.com only"Alexandru Avadanii1-152/+0
Now that [1] has been merged, we should stick to upstream behavior. [1] https://gerrit.opnfv.org/gerrit/#/c/22975/ This reverts commit f653f97dd2591f4cd5bcb4e76eb2134a93f6d460. Change-Id: I5f23dd6e1b113e8a7d06995e479287ff196410dd
2016-10-13Merge "ci/{build,deploy}.sh: Move `export TERM` to releng"Alexandru Avadanii2-4/+0
2016-10-12Upstream: Fuel@OPNFV: Fuel Master VM templatesAlexandru Avadanii2-183/+0
While at it, also upstream: "build: Use OPNFV_GIT_SHA for ISO preparer ID" JIRA: ARMBAND-146 Change-Id: Ifcd7b3041d172aa492e26477c0872cd96efd90ba Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-12fuel-plugin-tacker: Enable build for ArmbandAlexandru Avadanii1-1/+1
JIRA: ARMBAND-143 Change-Id: I388e324b39aa2cec015bc65559f4c363bc37abdd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-10ci/{build,deploy}.sh: Move `export TERM` to relengAlexandru Avadanii2-4/+0
TERM is now only set for CI runs, not when calling CI scripts by hand, outside Jenkins CI. Releng: 'fuel, armband: build, deploy: export TERM="vt220"' [1] [1] https://gerrit.opnfv.org/gerrit/#/c/22933/ Change-Id: I756505c6c395a2cbf7902b49db689abb956fbf5d
2016-10-10deploy: Reduce Fuel Master VCPU countAlexandru Avadanii1-1/+1
Fuel Master VM template has been updated to use: - 4 VCPUs (was 8 VPCUs); Related-bug: ARMBAND-98 Change-Id: I1a587f0efa06850885ff8cf938ebb9775af8f7a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09FIXME: Temporary: Use archive.ubuntu.com onlyAlexandru Avadanii1-0/+152
We recently removed blacklists for a few mirrors, on account of upstream Fuel@OPNFV fixing mirror selection in [1]. Although the mechanism will be polished a little, it works very nicely; pointing us to [2], where we seem to trigger some flood protection at sync, leading to dropped connections and failed builds. Keep using the official Ubuntu Archive mirror [3] until we sort this out. Fixes: ARMBAND-136 [1] https://gerrit.opnfv.org/gerrit/#/c/22195 [2] http://mirrors.se.eu.kernel.org/ubuntu/ [3] http://archive.ubuntu.com/ubuntu/ Change-Id: If9247f829ee314d4c71dafa84b6cd13b384484f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09ci/{build,deploy}.sh: Use /bin/sh, vt220Alexandru Avadanii3-0/+6
This should fix Jenkins build log warns like: <tput: unknown terminal "unknown">, and also NOT print color chars. Fixes: ARMBAND-136 Change-Id: If65f6bf3df5323374aefba56d0c9b7ca4f91e5ca Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09build: Fix missing git config for applying patchesAlexandru Avadanii1-0/+4
After decoupling Fuel@OPNFV's `build/config.mk`, which exports GIT_COMMITER_* info, we need to configure it in Armband too, so git can apply patches for Fuel plugins / Fuel@OPNFV itself. Fixes: ARMBAND-136 Change-Id: I9404d742e89d7a54e4763f8248f16405f4685881 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09build: Rework patch mechanism for Fuel submodulesAlexandru Avadanii94-839/+868
While refactoring the patching mechanism, take care of: - Sync submodule handling with Fuel@OPFNV; - build: Investigate/prepare for moving patches to Fuel@OPNFV; - build: Investigate divergent fuel-mirror; - ISO build: cacheid for Fuel comps should not depend on Armband git commit; CHANGE: Rename/shuffle patches while grouping them in "features", preparing for upstreaming them to Fuel@OPNFV and beyond. CHANGE: Allow linking patches for better representing the dependency between one patch and different features. e.g. 0001-Add-arch-to-nailgun-release-and-target-image.patch: - part of `multiarch-fuel`, because it extends Fuel; - part of `direct-kernel-boot`, as arch is required for that; - part of `cross-bootstrap`, target image is arch-dependent; NOTE: Patch links are not staged to Fuel@OPNFV, they only serve as markers that a specific patch is part of a feature. CHANGE: Kill all Fuel component submodules, now handled in Fuel@OPNFV: - fuel-agent - fuel-astute - fuel-library - fuel-mirror - fuel-nailgun-agent - fuel-web CHANGE: Move armband-fuel-config.mk to armband git root. FIXME: m1.micro-Increase-profile-RAM-size-to-128MB.patch is NOT part of `cross-bootstrap` feature, but patch context says so ... FIXME: 0001-Add-arm64-deb-repositories-setup.patch is broken at `make patches-export` by removing spaces at EOL. v2 -> v3: * Phony patch support (links to show a patch belongs to a feature); * Updated README.md v3 -> v7: * Re-export Fuel submodules & plugins patches (update patch context); * Update Cavium mail addresses (s/caviumnetworks.com/cavium.com/); * Ignore submodule changes; * Add armband git repo info to gitinfo_fuel.txt at build time; Implements: ARMBAND-136 Closes-bug: ARMBAND-95 Closes-bug: ARMBAND-93 Closes-bug: ARMBAND-92 Change-Id: I1a236d9f43b2e6dca22055911f696b43c22b5973 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-07Cleanup: Remove obsolete Fuel@OPNFV patchesAlexandru Avadanii3-127/+0
Since we are now building inside docker containers, it is no longer necessary to use `python-debian` from pip repo instead of Ubuntu. Also, since Fuel@OPNFV improved our mirror selection in [1], we can drop our custom blacklist entries for Ubuntu SE mirrors, as well as repeating the repo mirror build in case of failure. [1] https://gerrit.opnfv.org/gerrit/#/c/22195 Change-Id: I62890b6ae7977cd8a39c06ce17c8964e6cb1dddb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-07Rebase: docker tag reuse context adjAlexandru Avadanii1-3/+1
Change-Id: If6a3472a2f8fe64db2469536fe4d12d88e7a61f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-06Merge "Revert "deploy: Reduce Fuel Master VM resources""Alexandru Avadanii1-3/+7
2016-10-06Revert "deploy: Reduce Fuel Master VM resources"Alexandru Avadanii1-3/+7
This reverts commit acc93911c7d1d4be5ba5cd04e731626d01d59598. Change-Id: I001cd72506ec99ae2c41bd30d3dd36dd3de06217
2016-10-01INFO: Add Cristina Pauna as committer.Alexandru Avadanii1-1/+3
Change-Id: I6a6a80bf58ae453485431ecc35eab8cb553c29e0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-01Merge "INFO: remove commiters: Joe and Stan"Alexandru Avadanii1-2/+0
2016-09-29Updated armbandJonas Bjurel1-0/+0
Project: fuel cf93e6ee11c96de090b04196cc96b4a6b0948928 use pgrep instead of ps pgrep was added to procps-ng, it is more exact also replace ps -ef in wait_until_fuel_menu_up removed get_fuel_menu_pid Change-Id: I57ad9d2fabbfe5f570e0be3bfb40ef842f95902d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2016-09-29Updated armbandJonas Bjurel1-0/+0
Project: fuel 2e6be7473d11f14d62ad1aa1d76f2e0c99327424 check read access instead of isfile() for Fuel ISO When testing with nested virtualzation I attached the Fuel ISO to VM (/dev/sr0) running deploy.sh This failed because we expect the ISO to be a file, when it could be a device, e.g. /dev/sr0. Instead of checking isfile() check for read access. This tested with bsdtar. It can extract an ISO from a file or device. Change-Id: Ic09373cd618b33382303d9134cce4e005040de95 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2016-09-29Updated armbandPeter Barabas1-0/+0
Project: fuel d1f2969eed092f182cc746ca1d06337d71a8215d Refactor deploy-config.py into object style Change-Id: I706563e6ed1bbfd98adc5a4124ff63789f9e32fa Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-29Updated armbandMichal Skalski1-0/+0
Project: fuel c25f5af252949dc1b249f77fe8e33c5ea13c1ad1 [odl-l3] Get OVS plugin into the action 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>
2016-09-29Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 48ec9750583c47dadf0f3fd931dc2cf12f738b67 bugfix: Qemu shared dir failure In case of testpmd or l2fwd loopback app, VSPERF copies sources if these tools into qemu shared folder. Maximum size of folder content is limited to approx. 500MB. This limit is exceeded in case that DPDK is built for multiple RTE_TARGETs. Unnecessary files are excluded from the copy to spare size inside shared folder. JIRA: VSPERF-398 Change-Id: Iab31a6ff2397f7031eae6a95d424317c3343d4d9 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
2016-09-28Updated armbandMichal Skalski1-0/+0
Project: fuel 0789fdc49305b2d8403960139beafe1064cef8ba Support different format of fuel task info 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>
2016-09-28Updated armbandMichal Skalski1-0/+0
Project: fuel dd4357385318eccfa82c8e079b07e9373ec93cfa Add DHA adapter dependencies Change-Id: Ia83782ac6baed0f9d753b69b18202abaafb972e5 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-27Updated armbandMichal Skalski1-0/+0
Project: fuel f2fde8258dedfbbeae52d0c9b1d3a634fd290877 Change the way how we track deployment 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>
2016-09-27Merge "Add grub template to cobbler for MAC-files"Alexandru Avadanii1-20/+47
2016-09-27Add grub template to cobbler for MAC-filesMatei Valeanu1-20/+47
Change-Id: I9812066f2954cc02a49bfa19dbe9fc74b055e78d Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
2016-09-27Updated armbandJonas Bjurel1-0/+0
Project: fuel 34a15524a89ed6cd350c42be07754901dfe244f8 deploy: fix: remove storage files during cleanup 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>
2016-09-26Updated armbandJonas Bjurel1-0/+0
Project: fuel 029b03673f5add0eae91980574382af89698b1b2 Added Alexandru Avadanii as committer to Fuel@OPNFV A Majority of the Fuel@OPNFV committers have voted for Alexandru as committer: Those include: Michal Skalski Jonas Bjurel Greg Elkinbard Stefan Berg Daniel Smith No one voted 0 or -1 Change-Id: Ib477ba126be438a11b409a85805a71734bf1a679 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-26Updated armbandGregory Elkinbard1-0/+0
Project: fuel e27619c3b2c926b7ff04d1c555db9d912983027f Updated committer list Change-Id: I5f22080edf695cef3c6fd24ff0f62b02a1dbc0af Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-22Updated armbandMichael Polenchuk1-0/+0
Project: fuel 1d4f96facadd5458a87a4d68b0b5298ca47cd1fd [odl] Get latest changes * 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>
2016-09-22Updated armbandMichal Skalski1-0/+0
Project: fuel e698d34beb1fd517db610d1e91f246a123b84c71 Templater can now read files from URLs Change-Id: I34b81379f7e77743e64bbf4ae814b6cd296f2428 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-22Updated armbandMichal Skalski1-0/+0
Project: fuel 5264d80bb4b6e5434a27faf784503dabdf691a45 Refactoring - Move function definition to its place - Add main function Change-Id: I9dd71dd2da0579e04841c9efc80f2770d0182b10 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>