summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27u/fuel: Bump & rebase for apache state revertAlexandru Avadanii4-3/+3
Change-Id: I65c7d74af470953a2b62caddc3bc6be27df3879a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-27p/fuel: AArch64: base image: salt-minion preinstAlexandru Avadanii1-0/+104
Change-Id: Ib22a92d3530e14d1b9e002507c73a5960d5b058e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-26u/fuel: Bump & rebase for image pre-installAlexandru Avadanii32-156/+1042
1. Bump to latest Fuel@OPNFV to include: - Bring in newer glusterfs for mtime unsplit brain * Requires adding arch "arm64" to PPA definition in reclass: - (reclass-system) linux.system.repo.glusterfs: Add arm64 arch - Switch nofeature-ha compute nodes to UCA repo * Requires an alternative way of adding linux.enea.com repos; * linux.enea.com repos will now be pre-install into VM images; * Requires refresh on repo arch list handled by Armband patch: - (fuel) baremetal, virtual: Extend arch list for UCA repo 2. Staging proposed patches from upstream Fuel@OPNFV: - Add pre-{install,purge} support for base image * Reference implementation adds pre-installed Armband specifics: - Enea public GPG to APT keys (for below repos); - repos (linux.enea.com/{apt-mk,mcp-repos}/*); - linux-{image,headers}-generic-hwe-16.04-edge; - cloud-init: datasource from NoCloud only; * Allows us to drop kernel installation from state files, installing the kernel only once during image prep, instead of two stages of parallel installs (5 baremetal, 14 VCP); * Ensures Armband repos are pre-configured for infrastructure VMs, allowing us to drop more reclass repo definitions; * Rework armband patch to install kernel only on kvm, cmp: - (fuel) baremetal: linux-image-generic-hwe-16.04-edge 3. Sync reclass repo definitions with upstream change, drop duplicates - [linux][repos] Remove unused repositories [1] * Upstream dropped all "ocata-{security,hotfix,...} repo comps, which are also empty for Armband, so drop them too; * Rework following armband patches: - (reclass-system) linux/system/repo/mcp: Add Armband repos * Move Armband repos to new dedicated reclass classes: - linux.system.repo.mcp.armband.extra (currently empty); - linux.system.repo.mcp.armband.openstack; * Use HTTPS for fetching Enea Armband GPG key; - (fuel) baremetal: Add Armband Openstack repos to kvm, cmp * Consume defs introduced above only on baremetal nodes; 4. Sync documentation with Fuel@OPNFV (cp) 5. Add vim swap files to .gitignore [1] https://github.com/Mirantis/reclass-system-salt-model/commit/1dd1b31 Change-Id: Ibab56279de86f08ad7cd9bc6761f4c525532f811 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-26u/fuel: Bump & rebase for new deploy arg `-E`Alexandru Avadanii8-190/+168
Slight refactor of Armband high states, combine all parts touching salt minion into a single `armband.salt_minion` state. Also bring in support for NVRAM-backed domain undefine via `virt.purge` by passing down the proper flag to libvirt. While at it, squash mcp/patches touching the same lines of code in <_modules/seedng.py>, so deploys using `-f` do not fail at the patch stage (due to conflicting patch lines, checking for `patch -R` does not work as expected). Change-Id: Iefca061e641854d28bd8576f2b4547c87c239e32 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-23u/fuel: Bump & rebase for MaaS fabrics fixAlexandru Avadanii10-25/+25
Change-Id: I58bacd2b8f9d210fd9e144cd8db6239ca0b8949d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-21u/fuel: Fix patch apply failure after latest bumpAlexandru Avadanii5-15/+15
Change-Id: I7e05e05551bb1dee8f531e12fd60b85dcc67e695 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-21u/fuel: Bump & rebase for latest versionting wu1-0/+0
This is to include public gw on prx nodes Change-Id: I6dbab7ae8e3ddb1df46f908acf53eeefb5680af2 Signed-off-by: ting wu <ting.wu@enea.com>
2017-11-21p/fuel: MaaS: Sync curtin template with upstreamAlexandru Avadanii1-50/+98
Required for future offline repository support. JIRA: ARMBAND-319 Change-Id: I16767665e31c309a1a118e94302b8b43da7816f1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-21u/fuel: Bump & rebase for LVM filter fixAlexandru Avadanii5-11/+11
Change-Id: I3696b3d778d60c267fbb03475f858554d9b18142 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-18u/fuel: Bump & rebase for netconfig rm via saltAlexandru Avadanii8-16/+16
Change-Id: I0de153ef4e5a71f350d29a90ae4c79b863d676eb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-16p/fuel: VCP: linux-image-generic-hwe-16.04-edgeAlexandru Avadanii1-3/+15
JIRA: ARMBAND-330 Change-Id: I43cd814f2f60df76eabafcae3590628a5d68709d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-16p/fuel: armband formula: Refresh nova patchesAlexandru Avadanii2-278/+487
Rework armband salt formula, focusing on nova libvirt driver patches: - Switch from multiple individual patches to a single roll-up patch: * Patch is now applied for python directory instead of each file; * Expected hash is now 'False' (no hash checking for whole dir); * Added 'unless' condition to skip patching when already applied. Replaces old hash mechanism which was broken anyway when multiple patches are applied to the same file; - nova: Switch guest video from VGA to virtio (replace our old standard VGA default patch with upstream backport); - nova: Skip config/patch if 'python-nova' is not installed (e.g. for KVM nodes); - nova: Support Qemu >= 2.10 (backport); - libvirt: Re-enable Apparmor security driver on compute nodes; - armband state is now fully re-entrant; JIRA: ARMBAND-306 JIRA: ARMBAND-318 JIRA: ARMBAND-320 JIRA: ARMBAND-331 Change-Id: I48c09b10be030aa1ab4424b76876bf3dabd40fd2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-16u/fuel: Bump & rebase for keystone.client retryAlexandru Avadanii4-4/+4
Change-Id: I1a1d91af5c7dc92307ccd7a52e97cc95c70149f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-15u/fuel: Bump & rebase for neutron trunk portsAlexandru Avadanii4-4/+4
Change-Id: Ibb55ee7fe4b615114ae0d6b91bc3e77270f90d92 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-12p/fuel: kvm nodes: Configure repos before new krnAlexandru Avadanii1-5/+9
Armband requires a custom kernel on baremetal nodes (kvm, cmp). However, the repos (configured as part of `linux.system` high state) were added before installing the kernel only for cmp nodes. Change-Id: Ie8d6e9cf4eaa84c459a70112ef002d09be9c4cf4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-12u/fuel: Bump & rebase for apache mod list fixAlexandru Avadanii6-10/+10
Change-Id: Ia719a04a88533e55f713d955b5999130b5fc635a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-10u/fuel: Bump & rebase for proxy apache fixAlexandru Avadanii6-14/+14
Change-Id: Id4b6c37d6814458600e2554f96e4580b126f1b63 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-08u/fuel: Bump & rebase for curtin network configCharalampos Kominos6-11/+11
Change-Id: Iaaea7494b960b05c4e409eb52daa6b0fa6414e12 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2017-11-05p/fuel: bm: linux-image-generic-hwe-16.04-edgeAlexandru Avadanii1-0/+46
The Salt way to pin the kernel version is via its reclass model, by defining system.kernel.version. However, this only works with explicit kernel package names and not with meta package names (e.g. linux-image-4.13.0-9916-generic is expected instead of linux-image-generic-hwe-16.04-edge, which would break the `linux_kernel_old_absent` state). For now, let's explicitly call `pkg.install` for the kernel and headers packages, using the meta package name to ensure automatic fallback to Ubuntu packages if Armband repos are missing, respectively to automatically pick up new kernel package names in case of meta + kernel packages bump later. JIRA: ARMBAND-280 Change-Id: I5448df1de1b3c211583708402b5c7497df92fc16 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-03u/fuel: Bump & rebase for debian_ip lowercase fixAlexandru Avadanii6-38/+12
While at it, revert commit adding "opnfv" user to "libvirt" group, as it would break with the current event flow (opnfv user being created prior to libvirt group). Change-Id: I6f5d578153c33dcddac76bc7bc6b428fe6796b1a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-03p/fuel: Add opnfv user to libvirt groupCharalampos Kominos1-0/+26
Change-Id: Ia075a790fce0aeb0d21b20b2775e2cc079311b88
2017-11-02Makefile: patches-export: Remove existing patchesAlexandru Avadanii1-0/+1
In case patch filenames changed, clear the old patches from the destination directory prior to exporting new patches. Change-Id: I65e56ae042dca1c769a0f68a449b3b0e7d7d25dc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-01u/fuel: Bump & rebase for galera formula pinningAlexandru Avadanii7-63/+3
JIRA: ARMBAND-328 Change-Id: I5f284be5e75dc5ea740e632efc6f6c2e46de3973 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-23ci/deploy.sh: Add support for CI_DEBUGAlexandru Avadanii3-7/+8
While at it, use SSH_SALT global var in `cleanup_uefi`. Change-Id: I9400edde69d3aaaa1879cce0e79898c80db486db Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-23Merge "docs: Sync latest Fuel updates"Alexandru Avadanii6-4/+119
2017-10-23u/fuel: Bump to opnfv-5.0.2Alexandru Avadanii1-0/+0
Change-Id: I168b916e77aeb219440af6aff3f44233c4005ac3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-23docs: Sync latest Fuel updatesAlexandru Avadanii6-4/+119
Change-Id: I88e2a3f59ccada34dcc88e0b4d864721e6d3242e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-20u/fuel: Bump & rebase for VCP VM timeout increaseAlexandru Avadanii5-4/+4
Change-Id: I12f65038f2617fef4a5a12675a364ef113188b52 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-20u/fuel: Bump & rebase for nested wait_for fixAlexandru Avadanii2-1/+1
Change-Id: I0bf36ade79626704788d4b42baf0dddb8e30a665 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for infinite loop removalAlexandru Avadanii5-6/+6
Change-Id: Ia3d12bceae483571e1b1c91e2d0150c12b55b73b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for cmp network fixAlexandru Avadanii5-10/+10
Change-Id: I2d445a78ee6d25b826afe3c42d433b9c4af3d09d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump for maas state online nodes checkAlexandru Avadanii1-0/+0
Change-Id: I22f572fe3067e15f1ca91481fe60fef5329ee48a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for PDF-based network configAlexandru Avadanii14-133/+17
Change-Id: If970bbc8735d38542a90b2cbdbb2523ae644a29c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-18README: Convert from markdown to RSTAlexandru Avadanii2-54/+71
Change-Id: I80d3bea1a97382f778c33e5bae4226cca869179b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-18Merge "u/fuel: Bump & rebase for reclass class order fix"Alexandru Avadanii1-0/+0
2017-10-18Merge "u/fuel: Bump & rebase for state break & retry"Alexandru Avadanii9-39/+38
2017-10-18u/fuel: Bump & rebase for reclass class order fixAlexandru Avadanii1-0/+0
Change-Id: I4b4ac26225363a4217e1b81b6086dd88dbb9acea Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-18u/fuel: Bump & rebase for state break & retryAlexandru Avadanii9-39/+38
While at it, return true for all armband states that apply patches which are also providing a post-patching file hash. Change-Id: I303a2e142a8a9925f6630b53891ddc7bb0399453 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-18Update release date in documentationCristina Pauna1-1/+1
Change-Id: I294b2ccb9e43f90aa3745fe040a7c956f910b816 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-10-15Merge "reclass: system: Pin Armband apt-mk to nightly ver"Alexandru Avadanii1-4/+4
2017-10-15reclass: system: Pin Armband apt-mk to nightly verAlexandru Avadanii1-4/+4
Recently, Mirantis apt-mk repos were changed upstream from using the 'nightly' dist to 'stable'. However, Armband only provides the 'nightly' dist for now, so hardcode our repo definitions to that. Change-Id: I43b7531905b1bbe2a79a3fb2215dea9c35932b7c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-15u/fuel: Bump & rebase for common reclass reworkAlexandru Avadanii16-385/+95
Change-Id: Id7d125b746e97d6e186a7890a4c2f599e24a186c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-14u/fuel: Bump & rebase for VCP state splitAlexandru Avadanii6-43/+43
Change-Id: I6f0367d75ea831de78ced480ea73d1cd10680b80
2017-10-13Update the armband documentationCristina Pauna30-680/+227
Since the x86 and arm documentation for Fuel is now common, I just copied the documentation made in fuel project as is. JIRA: ARMBAND-293 Change-Id: I6bfd26c9c911829ae556db0388bb16310d8280ba Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-10-11AArch64 NIC adaptation patchGuillermo Herrero6-611/+310
AArch64 NIC adaptation for dual NIC boards with traffic separation -kvm nodes: added second trunk_nic -compute nodes: removed third external_nic Change-Id: I874094075ab01c7fe21af26602a7366a371cec28 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2017-10-06u/fuel: Bump & rebase for ODL NitrogenAlexandru Avadanii4-4/+4
Change-Id: I69688a0bf657564d440fc6d4d93f3f7c16818a90 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-05ci/deploy.sh: Drop local_env supportAlexandru Avadanii1-30/+8
While at it, fix shellcheck warnings in deploy wrapper. Change-Id: I2ddd272afe7ec16d6c594295a257eb98ee5bf5ce Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-05u/fuel: Bump for jump bridge configuration reworkAlexandru Avadanii3-3/+3
Change-Id: I23100e3fd9854cd1ffd52961a0260d3c23875dd1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-04u/fuel: Bump for second neutron formula fixupAlexandru Avadanii5-8/+8
Change-Id: I52cb9720a452c4fa7b71a9135de700f5c601132d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-03u/fuel: Bump for salt-formula-neutron fixupAlexandru Avadanii1-0/+0
Change-Id: Id9859eeb526822355948833ca1ce067594931321 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>