aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch
AgeCommit message (Collapse)AuthorFilesLines
2017-11-26u/fuel: Bump & rebase for image pre-installAlexandru Avadanii1-0/+50
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 Avadanii1-62/+0
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 Avadanii1-3/+3
Change-Id: I58bacd2b8f9d210fd9e144cd8db6239ca0b8949d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-21u/fuel: Fix patch apply failure after latest bumpAlexandru Avadanii1-6/+6
Change-Id: I7e05e05551bb1dee8f531e12fd60b85dcc67e695 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-18u/fuel: Bump & rebase for netconfig rm via saltAlexandru Avadanii1-3/+3
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-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-10u/fuel: Bump & rebase for proxy apache fixAlexandru Avadanii1-2/+2
Change-Id: Id4b6c37d6814458600e2554f96e4580b126f1b63 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-08u/fuel: Bump & rebase for curtin network configCharalampos Kominos1-2/+2
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>