summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-29u/fuel: Bump & rebase for OVS-DPDK vxlanAlexandru Avadanii16-27/+27
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 Avadanii4-35/+32
Change-Id: I78672282dd0bf98509bb2f0848a4df542564d418 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22u/fuel: Bump & rebase for lab proxy supportAlexandru Avadanii11-20/+50
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 Avadanii6-23/+23
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-18docs: armband: master: Jumpserver min libvirt versionting wu1-34/+97
This is a copy of installation.instruction.rst from fuel to armband repo on master branch JIRA: ARMBAND-337 Change-Id: Ib5d942c0d2d159037ab563c79a926220c726a5a9 Signed-off-by: ting wu <ting.wu@enea.com>
2018-01-08u/fuel: Bump for Ubuntu `modprobe -f` fixAlexandru Avadanii1-0/+0
Change-Id: Ic4e4d59574ac9402cf1940ff3533de4fc19f352e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-07u/fuel: Bump & rebase for wait_for changesAlexandru Avadanii5-24/+21
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-04u/fuel: Bump & rebase for nbd module buildAlexandru Avadanii2-1/+1
Change-Id: Iff82769f7f5e867baa54c0ceece765be207df17f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-03u/fuel: Bump & rebase for mas01 NAT removalAlexandru Avadanii6-13/+13
Change-Id: I0ba6eec175a4b4f1eac0c085dcf25b43589259a7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-03u/fuel: Bump & rebase for MaaS proxy supportAlexandru Avadanii11-242/+47
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 Avadanii3-17/+18
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-30MaaS: preseed Armband repo via curtinAlexandru Avadanii3-97/+51
Instead of installing upstream vanilla kernel from Ubuntu just to upgrade to the one from Armband repo later, preseed Armband repo config via curtin. This allows us to drop a kernel update cycle, thus saving a few minutes at each deploy. While at it, switch salt repo addition to use the maas region reclass section instead of adding a dedicated mechanism for it in the curtin template (only for arm64). JIRA: ARMBAND-280 Change-Id: Iad5953a7de80d728f11a4ce3113bd7725100c31c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-30u/fuel: Bump & rebase for APT ipv4, maas cleanupAlexandru Avadanii2-4/+4
Change-Id: I8f1c0a5b217e2da8c6f42b1525ce1a6f67465268 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-29Makefile: Fix `make upgrade` from same branchAlexandru Avadanii1-1/+1
Change-Id: I01d583995e0b557ec128111a3f5ff56684d9fb36 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-29Makefile: Add `make upgrade` targetAlexandru Avadanii2-3/+12
1. Fix missing default `make` target for `all` 2. `make submodules-clean` should checkout git submodule commit On patch apply, we tag the starting commit, so we can later export as patches all commits between that reference and another tag, applied simmetrically at the end of the patch apply process. Previously, `submodules-clean` checked out that starting tag. Change that behavior to use the commit ID referenced by parent git repo (armband) submodule, so when armband git submodules are updated (e.g. sometimes `make upgrade` might include such changes), the new reference will be picked up automatically. 3. Add `make upgrade` for fetching latest changes on current branch Change-Id: I03dc3953e91acfbe6ccb5e3bb2ccee7d28a0f7d5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-29.gitreview: Add explicit defaultbranchAlexandru Avadanii1-0/+1
Change-Id: I800b822db675c82d12f0b3c7f2ff617887cdab4d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-28u/fuel: Bump for keystone v3 defaultAlexandru Avadanii1-0/+0
Change-Id: Ib6ee5ac0f7abbb63eee7fc0e4132cdd5cf1b6e21 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-27u/fuel: Bump & rebase for kpartx delay fixAlexandru Avadanii1-0/+0
Change-Id: I804c39f73f6701502b43225abfe5fe890f5b0fca Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-27u/fuel: Bump & rebase for MaaS patch squashAlexandru Avadanii4-8/+8
Change-Id: Ibbdb467b4656493c6effa68991dab1902e78b7fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-26u/fuel: Bump & rebase for OVNAlexandru Avadanii4-11/+39
Change-Id: I3489c340a12edb3f14cbbd1d63fd90cb4bdfa52c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-21u/fuel: Bump & rebase for upstream libvirtd socketAlexandru Avadanii8-16/+16
Change-Id: I4a5cb78eff164fe9984362b51c34a8359baa8a8d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-18u/fuel: Bump & rebase for MaaS DHCP fixAlexandru Avadanii6-19/+19
Change-Id: Icb3516e6520ea6c1996ffffa744b6cfeb1135f41 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-15p/fuel: Pin glusterfs to 3.12 for AArch64Alexandru Avadanii6-8/+69
glusterfs PPA for 3.13 does not have arm64 binaries *yet*, so pin to 3.12 for now. While at it, bump Fuel@OPNFV submodule. Change-Id: I989fcfa43748015e46d760b9908c633238dae574 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-14p/fuel: Bring back glusterfs PPA arch patchAlexandru Avadanii2-10/+40
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-14u/fuel: Bump & rebase for salt ver upstreamAlexandru Avadanii11-56/+58
Change-Id: Icf207bca8bf84e788ead78175f6df5ad43dfc392 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-14Update documentationCristina Pauna3-12/+74
This documentation is a copy of Fuel@OPNFV documentation Change-Id: I03b289043b3a48ef6d423f958846295e3d26121a Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-12-13u/fuel: Bump & rebase for libvirtd group fixAlexandru Avadanii5-12/+12
JIRA: ARMBAND-335 Change-Id: Id42d3719dff18ef6948c1c2c18b48c8ac2b2d195 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-13u/fuel: Bump & rebase for Pike upgradeAlexandru Avadanii19-874/+219
- 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 Avadanii10-18/+18
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 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>