summaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0002-salt-formulas-Add-enable-armband-formula.patch
AgeCommit message (Collapse)AuthorFilesLines
2018-05-22[salt] Retire Armband Saltstack reposAlexandru Avadanii1-282/+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> (cherry picked from commit d680c5fb86c3fd4b25e7b7f766064a6ef4bf9a3b)
2018-05-17u/fuel: Bump & rebase for gnocchi/pankoAlexandru Avadanii1-2/+2
Change-Id: I29adc8df9b524c3c94f1916e49e36d9a916e368f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1ff8d3b91440254cf524fe2bed7e8d761acce1f3)
2018-05-09p/fuel: Retire Armband repos in favor of MCP onesAlexandru Avadanii1-10/+10
JIRA: ARMBAND-372 Change-Id: I53eaa1d48da72588b1cd9e067504dd8cccc54cd6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1bd3cdf194b12350026dc9678e6e0187236c4379)
2018-05-09p/fuel: Set volume name in source file to sdXCharalampos Kominos1-12/+42
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> (cherry picked from commit 8d1e8e56a48bc56265046b6410798dec2711d6de)
2018-04-26u/fuel: Bump & rebase for MaaS boot src selectionAlexandru Avadanii1-1/+1
Change-Id: I12a84a05dc26edb78f6f21a98e446b22babfd7c7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 5bb8d21f085fdbd1d7b664b7036565f66c15af68)
2018-04-25Revert "[p/openstack.nova] force creation of pty on aarch64"Alexandru Avadanii1-104/+14
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> (cherry picked from commit 902dee384d627fda43b715fc6b47ecd97636c7b8)
2018-04-25u/fuel: Bump & rebase for openstack fixGuillermo Herrero1-2/+2
Change-Id: I5d48b6cd8ad2b1d602ed86d5d1f69a0a806bc170 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> (cherry picked from commit 6657baa68d238e1cba9e1d69118616e438b07f37)
2018-04-22u/fuel: Bump & rebase for tenant NIC fixAlexandru Avadanii1-2/+2
Change-Id: I318b3541add33d50e47f8acba56b7ad58357e105 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit c1bc6ac41e9ea98a37c108a87859c1c113bc9964)
2018-04-22[p/openstack.nova] force creation of pty on aarch64Charalampos Kominos1-12/+102
Allow nova to create a pty device for aarch64VM JIRA: ARMBAND-352 Change-Id: I7d481957342a0dfb5be38a01b3d755862321cfa7 Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com> (cherry picked from commit 093f2b7684c86979dfa6f5f36f28689ca9b3e552)
2018-03-13u/fuel: Bump & rebase for salt state retryAlexandru Avadanii1-3/+3
JIRA: FUEL-358 Change-Id: Ia1e422fd037c1dd1c689b535d2b430c533d9562d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-08u/fuel: Bump & rebase for net_config ip-rangeAlexandru Avadanii1-9/+9
JIRA: FUEL-351 Change-Id: I7b893e9d94eaf9e34daee3bf4442229be964c294 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-02-20u/fuel: Bump & rebase for set_storage_layoutAlexandru Avadanii1-1/+1
Change-Id: Icfb495619b178af90998a82e4b359445649a7284
2018-02-17u/fuel: Bump & rebase for virtual PDF supportAlexandru Avadanii1-2/+2
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-31u/fuel: Bump & rebase for reclass updateAlexandru Avadanii1-1/+1
Change-Id: I094243a4678cd3a458b39961ac5e28f65c85b09a 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-26u/fuel: Bump & rebase for pharos as lab-configAlexandru Avadanii1-5/+8
Change-Id: I78672282dd0bf98509bb2f0848a4df542564d418 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22u/fuel: Bump & rebase for lab proxy supportAlexandru Avadanii1-1/+1
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-12/+10
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-213/+18
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-12/+13
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-26u/fuel: Bump & rebase for OVNAlexandru Avadanii1-1/+1
Change-Id: I3489c340a12edb3f14cbbd1d63fd90cb4bdfa52c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-21u/fuel: Bump & rebase for upstream libvirtd socketAlexandru Avadanii1-2/+2
Change-Id: I4a5cb78eff164fe9984362b51c34a8359baa8a8d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-15salt-formulas: change virt_type to qemu for virtual deploysDelia Popescu1-4/+9
nova-compute conf: virt_type=qemu (only for virtual deploys) JIRA: ARMBAND-339 Change-Id: I5e9e21b39cb481a47dbd105aa0f03126c3ae92d3 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-12-13u/fuel: Bump & rebase for libvirtd group fixAlexandru Avadanii1-4/+4
JIRA: ARMBAND-335 Change-Id: Id42d3719dff18ef6948c1c2c18b48c8ac2b2d195 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-13u/fuel: Bump & rebase for Pike upgradeAlexandru Avadanii1-86/+39
- 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-12-07u/fuel: Bump & rebase for prx rebootAlexandru Avadanii1-4/+4
Note that previously we pinned Fuel@OPNFV master branch commits, starting with this rebase we will strictly follow the stable branch. Change-Id: Ide3439ae3afb670931586701c5df307d16c4d89c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-27u/fuel: Bump & rebase for apache state revertAlexandru Avadanii1-1/+1
Change-Id: I65c7d74af470953a2b62caddc3bc6be27df3879a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-26u/fuel: Bump & rebase for image pre-installAlexandru Avadanii1-0/+487
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>