yatinkarel 3c3c3dd7f2 Exclude kernel from dnf update
DNF update including kernel during image customization makes
overcloud images unbootable.

[1] Skipped kernel update during repo setup but kernel
get's updated during setting up packages from gating repo.
This patch excludes kernel update here too to avoid this issue.

[1] https://review.opendev.org/c/openstack/tripleo-quickstart/+/856603

Related-Bug: #1987632
Change-Id: Ief8021702cfca3a3767299464f14a0ef6128eae0
2022-09-16 11:03:37 +05:30
..
2018-11-26 12:37:21 +00:00
2022-09-16 11:03:37 +05:30

install-built-repo

Install built packages on host and/or within the image. This Ansible role allows installation of packages which were built by DLRN on a live host or within an image.

Requirements

No requirements.

Role Variables

  • ib_repo_install_script - path to repositories install script template
  • ib_repo_install_log - path to repositories install script log
  • ib_repo_run_live: false/true - where to run repo install script on host (live host that playbook runs on it) (default: true)
  • ib_gating_repo_enabled: true/false - whether to enable built repo or not (default: true)
  • ib_gating_repo_update: true/false - whether to do a yum update with the gating repo (default: true) This only works if ib_gating_repo_enabled is also enabled. WARNING: This may inadvertently update packages outside of what is being provided by the gating repo.
  • ib_repo_file_path: path to compressed repo built by build-test-packages role
  • ib_repo_image_inject: false/true - where to inject and run repo install script on specified image (default: false)
  • ib_repo_image_path: path to image, in case of injecting repositories into the image
  • ib_repo_host: host where built repo exists, if it's not the same host where this roles runs
  • ib_create_web_repo: false/true - Create web accessible repository in directory with built packages (default: false)

Dependencies

  • modify-image role in TripleO Quickstart extras repository

Example Playbook

Including an example of how to use this role

---
- name:  Run repo install
  hosts: undercloud
  gather_facts: false
  roles:
    - install-built-repo

- name:  Run repo install
  hosts: undercloud
  gather_facts: false
  vars:
    ib_repo_image_inject: true
    ib_repo_image_path: "{{ working_dir }}/{{ overcloud_image }}.qcow2"
  roles:
    - install-built-repo

License

Apache 2.0

Author Information

OpenStack