Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I5f9891bdcc96e30e0a577b10811729c2e919fe76
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I7730923c80500f558702b0406dc9b983ba8f5b27
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
While at it, refresh Armband GPG public key embedded in maas config.
Change-Id: Id69677102ae8fea7a962578bae44e930afea8200
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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)
|
|
Change-Id: Ib2fa3af6c1336ad31868a812abe2b8257f69895c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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)
|
|
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)
|
|
Change-Id: I58bacd2b8f9d210fd9e144cd8db6239ca0b8949d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 812d2f0ef3b7f638a29f10770007ef249d609c2c)
|
|
Change-Id: I7e05e05551bb1dee8f531e12fd60b85dcc67e695
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 72e0ffab0e9968161734183a72477a92b51c1a90)
|
|
Change-Id: I0de153ef4e5a71f350d29a90ae4c79b863d676eb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 939bdcd9a425674eaca2d9556da4f34f11b0e23f)
|
|
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)
|