aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0007-mcp-salt-formulas-armband-Extend-libvirt_domain.patch
AgeCommit message (Collapse)AuthorFilesLines
2018-05-22[salt] Retire Armband Saltstack reposAlexandru Avadanii1-174/+0
Provided we take care of the minor consequences of relying strictly on upstream Saltstack amd64 repos on arm64 (since we don't use RAET, this means merely installing `python-futures` as a dependency of `python-tornado` on all minions), we can finally drop our Salstack arm64 repository. This implies installing python-futures on: - FN and VCP VMs (handled via lib.sh pre-patching); - baremetal nodes (handled via MaaS Curtin template for arm64 now); While at it, also handle other minor patch cleanup operations: * drop `system.linux.system.repo.mcp.armband`, already covered by: - lib.sh pre-patching for FN and VCP VM images; - maas.region.repositories for baremetal nodes; * switch glusterfs PPA repo arch from 'amd64,arm64' to None; * drop obsolete patch handling `mcelog` on AArch64; [1] https://github.com/salt-formulas/salt-formula-maas/pull/26 JIRA: ARMBAND-382 Change-Id: I34f3bd70ebf10395e8d4e70498ff3a144b4d9c3b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-05-07p/fuel: Retire Armband repos in favor of MCP onesAlexandru Avadanii1-3/+3
JIRA: ARMBAND-372 Change-Id: I53eaa1d48da72588b1cd9e067504dd8cccc54cd6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-05-02p/fuel: Set volume name in source file to sdXCharalampos Kominos1-3/+3
By default the openstack virtual machines use virtio_blk. That causes certain tests in functest to fail to attach the proper number of disks. The solution is to switch to scsi disks for which we must also generate the proper openstack source file. JIRA: ARMBAND-376 Change-Id: I99a4073c24f13f1eb3798b2b07cb2c16ec3688cf Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2018-04-25Revert "[p/openstack.nova] force creation of pty on aarch64"Alexandru Avadanii1-2/+2
Now that we added Mirantis MCP repos on cmp nodes for HA scenarios, the recently added patch that reverted Ubuntu specific changes for serial console no longer applies (as Mirantis does not carry those Ubuntu modifications but instead relies on upstream Nova). This, combined with a minor bug in patch applying itself and a legacy leftover that does not check the patch apply return code led to the whole Nova patch to be skipped. - remove pty related patch hunks (revert); - fix `unless` condition for Nova patch apply, as well as Salt minion patch apply; - break `armband` state on patch apply failure; Note that for noHA deploys (where we still use the Ubuntu packages on cmp nodes afair) we will revert to old (no pty) behavior. This reverts commit 093f2b7684c86979dfa6f5f36f28689ca9b3e552. Change-Id: Ib3c1119ab544ba895b2f8d37e0b9542196058993 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-04-18u/fuel: Bump for cmp linux.system retryAlexandru Avadanii1-1/+1
Change-Id: I2359b88bfb3ec6c1a1515b3874af6b6a456be318 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-08u/fuel: Bump & rebase for net_config ip-rangeAlexandru Avadanii1-3/+3
JIRA: FUEL-351 Change-Id: I7b893e9d94eaf9e34daee3bf4442229be964c294 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-02-26u/fuel: Bump & rebase for compute parameterizationAlexandru Avadanii1-2/+2
While at it, enable hugepages on AArch64 by removing the patch that used to disable them. JIRA: ARMBAND-341 Change-Id: I8f5e8bbceeaa2c99a983a14d9c03da497eec64c4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-02-17u/fuel: Bump & rebase for virtual PDF supportAlexandru Avadanii1-1/+1
Finally drop hardcoded IP addresses for virtual deploys from reclass, but keep one small patch adjusting the local vPDF to achieve the same goal. JIRA: FUEL-322 Change-Id: I56a3b0487f564355a4c51b4eb71ec97e92531f1d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-29u/fuel: Bump & rebase for OVS-DPDK vxlanAlexandru Avadanii1-1/+1
Fix patch context after [1] was pushed upstream. Update copyright year in Fuel patches (and template). [1] https://github.com/salt-formulas/salt-formula-salt/commit/4c7cd2d Change-Id: I41755993cfc2dac89e8060768f01d58c5d2e5767 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22u/fuel: Bump & rebase for lab proxy supportAlexandru Avadanii1-2/+2
While at it, fix MaaS hwe_kernel for AArch64 by switching back to 4.13. Change-Id: Idb123eab370ef453b60ddb1dff40c2d8d7fd42c4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-21u/fuel: Bump & rebase for mongodb & cinder fixesAlexandru Avadanii1-5/+5
While at it, refresh Armband GPG public key embedded in maas config. Change-Id: Id1f167d3b8a1bc69a798557fb1b72f93e04cdb0b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-07u/fuel: Bump & rebase for wait_for changesAlexandru Avadanii1-3/+3
While at it, catch armband state minion timeout (not connected or no response) and reduce armband state retry from 10 to 5. JIRA: ARMBAND-350 Change-Id: Ifd63c401f44e7ae51f50c5739cf1a20b5d27d287 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-03u/fuel: Bump & rebase for MaaS proxy supportAlexandru Avadanii1-3/+3
While at it, fix duplicate "file.repl" entry in armband.nova_config SLS and drop upstream nova patch for Qemu 2.10 support previously backported. Fixes: f191bfb Change-Id: Ib4e56833df8e1095396af0856a0fad06f5e9ed1c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-31p/fuel: Retry armband state, fail on not connectedAlexandru Avadanii1-2/+2
We no longer expect the armband state to fail on any nodes, baremetal or virtual, kvm or cmp, so remove failsafe `|| true` and retry state apply in case minions did not repond. Change-Id: I7b4302a89d60c94ab3f58cd6b8523cf668314a05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-14u/fuel: Bump & rebase for salt ver upstreamAlexandru Avadanii1-1/+1
Change-Id: Icf207bca8bf84e788ead78175f6df5ad43dfc392 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-13u/fuel: Bump & rebase for Pike upgradeAlexandru Avadanii1-0/+174
- 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 Avadanii1-174/+0
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-36/+106
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-2/+2
Change-Id: I58bacd2b8f9d210fd9e144cd8db6239ca0b8949d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-21u/fuel: Fix patch apply failure after latest bumpAlexandru Avadanii1-2/+2
Change-Id: I7e05e05551bb1dee8f531e12fd60b85dcc67e695 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-18u/fuel: Bump & rebase for netconfig rm via saltAlexandru Avadanii1-2/+2
Change-Id: I0de153ef4e5a71f350d29a90ae4c79b863d676eb 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-03u/fuel: Bump & rebase for debian_ip lowercase fixAlexandru Avadanii1-2/+2
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-10-20u/fuel: Bump & rebase for VCP VM timeout increaseAlexandru Avadanii1-1/+1
Change-Id: I12f65038f2617fef4a5a12675a364ef113188b52 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for infinite loop removalAlexandru Avadanii1-1/+1
Change-Id: Ia3d12bceae483571e1b1c91e2d0150c12b55b73b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for cmp network fixAlexandru Avadanii1-2/+2
Change-Id: I2d445a78ee6d25b826afe3c42d433b9c4af3d09d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-19u/fuel: Bump & rebase for PDF-based network configAlexandru Avadanii1-0/+104
Change-Id: If970bbc8735d38542a90b2cbdbb2523ae644a29c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>