aboutsummaryrefslogtreecommitdiffstats
path: root/patches/reclass-system-salt-model
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09p/fuel: Retire Armband repos in favor of MCP onesAlexandru Avadanii1-25/+0
JIRA: ARMBAND-372 Change-Id: I53eaa1d48da72588b1cd9e067504dd8cccc54cd6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1bd3cdf194b12350026dc9678e6e0187236c4379)
2018-04-04p/reclass-system-salt-model: drop openstack archAlexandru Avadanii1-0/+40
mcp-repos now has arm64 packages too, drop its architecture list (currently hardcoded to 'amd64') to be able to pick them up. Change-Id: Icefefe21111dc65713fde45ed9994e78e6b33ca6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 4dacfa496fa0a714835abed1267ee76ec979993a)
2018-03-06p/reclass-system: Rebase mcelog removal patchAlexandru Avadanii2-13/+13
Change-Id: I2d45fc36f07bddad7574a632e58d14f9b4fdbdbd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-14p/fuel: Bring back glusterfs PPA arch patchAlexandru Avadanii1-0/+29
Fuel@OPNFV bumped glusterfs to 3.13 via glusterfs PPA, so bring back our linux.system.repo.glusterfs patch, enabling arm64. While at it, paralellize the addition of opnfv user on VCP nodes. Change-Id: Ic260c54bed05902fa6e8569ab368d0226850f297 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-13u/fuel: Bump & rebase for Pike upgradeAlexandru Avadanii3-56/+41
- virtual deploys will use only UCA repos, without Armband/MCP; - base image pre-build is now upstream, drop our patches; - drop p/fuel libvirtd group workaround, now upstream in Fuel@OPNFV; - drop p/reclass glusterfs PPA arch extension, obsolete; - refactor armband repos in system.repo.mcp into: * armband (new, contains kernel, libvirt etc.); * armband_openstack (move into system.repo.mcp.openstack); * armband_mk_openstack (move intro system.repo.mcp.openstack); * armband_mcp_extra (move into system.repo.mcp.extra); - drop 'nova: Update console defaults for armv7, aarch64'; - minor rebase of nova libvirt driver patches in our roll-up; JIRA: ARMBAND-335 Change-Id: Ic5b7736cdd1d1ad5ff25728925198e8ea3e6b5b1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-26u/fuel: Bump & rebase for image pre-installAlexandru Avadanii4-102/+105
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-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-08-29patches: Bring back copyright headersAlexandru Avadanii2-0/+16
JIRA: ARMBAND-301 Change-Id: Ib03abb3bdf36d2471a78e957e068124f4abef239 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-14reclass: system: AArch64: Remove mcelogAlexandru Avadanii1-0/+26
Change-Id: I7cc5162359347ac9472127a8d27730c96050915e Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-11MCP: patches: AArch64: Add initial supportAlexandru Avadanii1-0/+85
- p/fuel: classes: AArch64: virtio-pci-net sync - p/reclass-system-salt-model: Add Armband repos - mcp/config: AArch64: Use UEFI arm64 image Also, allow removal of VMs booted via guest UEFI (OVMF or AAVMF). While at it, bump default vCPU number from 2 to 6. - lib.sh: AArch64: Use VGA video mode for guests On AArch64, there is no Cirrus video, so use VGA mode instead. For now, we install vgabios package no matter the arch, although it is only used on AArch64. On Debian systems, also fix a missing link for vgabios-stdvga.bin. Based on previous Armband work from [1]. - lib.sh: AArch64: virt-install: Use virtio-net-pci AArch64 virt tools (i.e. libvirt) default to "virtio-mmio", instead of "virtio-net-pci", at least before libvirt 3.x (see [2]). Without PCI bus info, we can't really enforce a specific order for the guest ethernet devices. Moreover, predictable network interface naming is out of the question with virtio-mmio, as there is no bus information to rely on. Therefore we will enforce "virtio-net-pci" on AArch64, instead of the default "virtio" (which translates into "virtio-mmio" currently). - salt.sh, user-data: Add Saltstack arm64 repo - salt.sh: Clone armband repo, apply patches from it - classes: virtual: AArch64: virtio-pci-net sync Since AArch64 will be using virtio-net-pci NIC model for guests, predictable interface naming yields a slightly different scheme. Update all configuration to reflect this. FIXME: - Use https for fetching Armband GPG keys! - Revise the patching mechanism, make things more dynamic. [1] https://github.com/opnfv/armband/blob/danube.2.0/patches/fuel-library/ arm64-bug-fixes/0002-Install-vgabios-and-link-for-aarch64.patch [2] https://www.redhat.com/archives/libvir-list/2016-August/msg00931.html Change-Id: If5aae22066f75732652201a78357c4931438d58d Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>