AgeCommit message (Collapse)AuthorFilesLines
2018-02-20u/fuel: Bump & rebase for MaaS failed testing fixstable/euphratesAlexandru Avadanii5-8/+8
Change-Id: I05f2619458d409ebaeb55a4cb644b795ee5fd868 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-02-17u/fuel: Bump & rebase for cmp nic index fixAlexandru Avadanii3-2/+2
Change-Id: I5f9891bdcc96e30e0a577b10811729c2e919fe76 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-26u/fuel: Bump & rebase for cmp proto dhcp on PXEAlexandru Avadanii2-2/+2
Change-Id: Ib9e8cc0687fad72d1376fc9e651d5c67beb7863d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22u/fuel: Bump & rebase for lab proxy supportAlexandru Avadanii10-21/+21
Change-Id: I7730923c80500f558702b0406dc9b983ba8f5b27 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-21u/fuel: Bump & rebase for cinder retryAlexandru Avadanii6-21/+21
While at it, refresh Armband GPG public key embedded in maas config. Change-Id: Id69677102ae8fea7a962578bae44e930afea8200 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-18docs: armband: stable: Jumpserver min libvirt versionting wu1-34/+98
This is a copy of installation.instruction.rst from fuel to armband repo on stable/euphrates branch JIRA: ARMBAND-337 Change-Id: I19cf30c3074f87d0067bc91157930970f5965237 Signed-off-by: ting wu <ting.wu@enea.com>
2018-01-08u/fuel: Bump for missing delay after `kpartx -av`Alexandru Avadanii1-0/+0
Change-Id: I94f6a562035f4b35187d8354db4cdb322018fa93 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-08u/fuel: Bump & rebase for Ubuntu `modprobe -f` fixAlexandru Avadanii4-20/+18
Squash in additional changes: - p/fuel: Retry armband state, fail on not connected - u/fuel: Bump & rebase for wait_for changes While at it, catch armband state minion timeout (not connected or no response) and reduce armband state retry from 10 to 5. 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. JIRA: ARMBAND-350 Change-Id: I7b4302a89d60c94ab3f58cd6b8523cf668314a05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commmit 6eab8c989c257213586347f284362cc43f99d3f4) (cherry picked from commmit 29c39fd5a8fc8a4bb058b5c18a6c1d6a29544f4f)
2018-01-06u/fuel: Bump & rebase for mas01 NAT restoreAlexandru Avadanii1-0/+0
Bring back NAT on mas01 for testing suites. Change-Id: I415016f4b7249ef35fd4e75acd9ab92a2574e765 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-05u/fuel: Bump & rebase for MaaS prx et alAlexandru Avadanii16-661/+101
Change-Id: Ib2fa3af6c1336ad31868a812abe2b8257f69895c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-05MaaS: preseed Armband repo via curtinAlexandru Avadanii17-151/+64
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). [ stable/ euphrates ] Preseed all Armband repos, since Ocata does not have a "common" repo. JIRA: ARMBAND-280 Change-Id: Iad5953a7de80d728f11a4ce3113bd7725100c31c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 648ec98613d31e3d9701b9ac1d87aed640b245f3)
2018-01-03p/fuel: Backport base image explicit kpartxAlexandru Avadanii1-0/+80
Change-Id: I458406fa9361a44b29f52c5840d579328257ee5e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-30u/fuel: Bump & rebase for apt-mk '2017.12' distAlexandru Avadanii2-1/+1
Change-Id: I2ab66e4c3eff1d5e1423df9201698a13cf9b345d 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> (cherry picked from commit 4eef836a99cd8c3c64e27adcb1e17ec5dc588116)
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> (cherry picked from commit 74238bffbde967b83a6c9db762caf8a18430dcd2)
2017-12-19u/fuel: Bump & rebase for MaaS DHCP fixAlexandru Avadanii5-13/+13
While at it, adjust patch context for recently changed libvirtd socket group in salt-formula-libvirt. Change-Id: Ia2481b2c7efabdb0419999993961ee1f2fdf07fa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-14u/fuel: Bump & rebase for salt ver upstreamopnfv-5.1.RC1opnfv-5.1.0Alexandru Avadanii12-60/+62
Change-Id: Ide9d660f584dcf21cd804e6b6018f15b6446d581 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> (cherry picked from commit 394df04bdd747004416bd6fc8d48a73bb47813cd)
2017-12-07.gitreview: Add defaultbranchAlexandru Avadanii1-0/+1
Change-Id: Iee860b3b7aa0057fe9c028c7458a94948de02791 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-28u/fuel: Bump & rebase for apache state revertAlexandru Avadanii4-3/+3
Change-Id: I65c7d74af470953a2b62caddc3bc6be27df3879a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit a63e41a621f1e558241f0a1e58ef75ea2a57c480)
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> (cherry picked from commit 33a056fd1d2154fdd9779dbed0e001d45747680f)
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> (cherry picked from commit 37083673d6cdddbb9b710f4dd5efe832753e5856)
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> (cherry picked from commit d8dd9847b7a534b3c78af1b3eb772f07a3543d0c)
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> (cherry picked from commit 812d2f0ef3b7f638a29f10770007ef249d609c2c)
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> (cherry picked from commit 72e0ffab0e9968161734183a72477a92b51c1a90)
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> (cherry picked from commit 64e68af605752a539c62c0b02a613b6213b59665)
2017-11-21Merge "p/fuel: MaaS: Sync curtin template with upstream" into stable/euphratesAlexandru Avadanii1-50/+98
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> (cherry picked from commit ae8e3fba7977e109fc2ef77cf2f9e9e22be767f7)
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> (cherry picked from commit 0a47ab95fd9b99418d8bfa19a6bcb501de0d0e5d)
2017-11-19u/fuel: Bump & rebase for netconfig rm via saltAlexandru Avadanii8-16/+16
Change-Id: I0de153ef4e5a71f350d29a90ae4c79b863d676eb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 939bdcd9a425674eaca2d9556da4f34f11b0e23f)
2017-11-18p/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> (cherry picked from commit ae49b614d29351d07e317ca792865ae74d0c5fb7)
2017-11-18p/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> (cherry picked from commit 9b3121843a78026761a086581fc34589faed25af)
2017-11-18u/fuel: Bump & rebase for keystone.client retryAlexandru Avadanii4-4/+4
Change-Id: I1a1d91af5c7dc92307ccd7a52e97cc95c70149f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit adbf9f707a702eff262d8437a68bc6c04e12d786)
2017-11-16u/fuel: Bump & rebase for neutron trunk portsAlexandru Avadanii4-4/+4
Change-Id: Ibb55ee7fe4b615114ae0d6b91bc3e77270f90d92 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 62cfd8427eb065932cff09ca42017ecf7a480a1d)
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> (cherry picked from commit 80f5ef39fb9057f42370333bb4d465349efe52b3)
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> (cherry picked from commit aa165106e2f9819b4c350f6fd3b7547b005f8400)
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> (cherry picked from commit 04f9a353dc4a52eb869f0eaac3aafec1723c0a3d)
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> (cherry picked from commit 00d1b6b2e00803bcb3901b181ec7d97e8062f677)
2017-11-06p/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> (cherry picked from commit 67aed7515601fc8b4d2dea326c4e634de7f8fa48)
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> (cherry picked from commit 4b7e790d335787ce0837ca47025dd7a14287e52a)
2017-11-03Merge "p/fuel: Add opnfv user to libvirt group" into stable/euphratesAlexandru Avadanii1-0/+26
2017-11-03p/fuel: Add opnfv user to libvirt groupCharalampos Kominos1-0/+26
Change-Id: Ia075a790fce0aeb0d21b20b2775e2cc079311b88 (cherry picked from commit a7bc88387c4ffa25b12df949a1dce4c090414334)
2017-11-03Makefile: patches-export: Remove existing patchesAlexandru Avadanii1-0/+1
In case patch filenames changed, clear the old patches from the destination directory prior to exporting new patches. Change-Id: I65e56ae042dca1c769a0f68a449b3b0e7d7d25dc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 3f5c1defe0ce6fa69042f57db6ca9116f7be048b)
2017-11-02u/fuel: Bump & rebase for galera formula pinningAlexandru Avadanii7-63/+3
JIRA: ARMBAND-328 Change-Id: I5f284be5e75dc5ea740e632efc6f6c2e46de3973 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 9848bc05e89f2399f1958624055173142b6107d4)
2017-10-27ci/deploy.sh: Add support for CI_DEBUGAlexandru Avadanii3-7/+8
While at it, use SSH_SALT global var in `cleanup_uefi`. Change-Id: I9400edde69d3aaaa1879cce0e79898c80db486db Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 3d92843941184335c2f1b3e8a074c6e9f2e49571)
2017-10-23docs: Sync latest Fuel updatesopnfv-5.0.2Alexandru Avadanii6-4/+119
Change-Id: I88e2a3f59ccada34dcc88e0b4d864721e6d3242e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit be80704371c4cba5d8a0f88d08b5ea3dd02e889f)
2017-10-23u/fuel: Bump to opnfv-5.0.2opnfv-5.0.1Alexandru Avadanii1-0/+0
Change-Id: I168b916e77aeb219440af6aff3f44233c4005ac3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 19673e1a4c8a7cadfc49e4f8cd5b945f26a5ed04)
2017-10-19u/fuel: Bump & rebase for VCP VM timeout increaseopnfv-5.0.RC1opnfv-5.0.0Alexandru Avadanii5-4/+4
Change-Id: I12f65038f2617fef4a5a12675a364ef113188b52 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6ed719d4587fa9e0d0a9dc2c85b81ac2a5d7e6e6)
2017-10-19u/fuel: Bump & rebase for nested wait_for fixAlexandru Avadanii2-1/+1
Change-Id: I0bf36ade79626704788d4b42baf0dddb8e30a665 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 532cc0804053f2b138f23fa85e7f30c839b0b85a)
2017-10-19u/fuel: Bump & rebase for infinite loop removalAlexandru Avadanii5-6/+6
Change-Id: Ia3d12bceae483571e1b1c91e2d0150c12b55b73b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 05b5146d1bf7b02a72598bbd41e6b4817ab64456)