rh-openstack-ci-team
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Compose-id pinning and promotion workflow ## Brainstorming 1. Compose-id pinning: * 2 labels so far: * centos-ci-testing (periodic promotion of CentOS latest-compose) * current-centos (latest known good compose-id) 2. Compose-id promotion workflow: * latest-compose -> centos-ci-testing * Promoter code work already started in ci-config * Do we need more labels here? e.g: previous-centos-ci-testing * centos-ci-testing -> current-centos * needs a nodepool image pinned to centos-ci-testing compose-id * we can use an image pinned to an older compose, and then update repos + update packages * needs to define jobs and promotion criteria * will need to promote the nodepool image to current-centos * We can use an images pinned to an older compose-id and update repos with an specific compose-id. Only compose-ids will need to be promoted. ## TripleO Repos and Centos Stream Compose Pinning Date: Nov 11, 2021 Current Situation on CS9: * CS9 nodepool image has centos.repo which pulls packages from centos stream mirrors. * Pre-installed packages on nodepool images are from centos stream mirrors. * In tripleo CI jobs, we enable compose repos using tripleo-repos or using release file to lay down to compose repos. * Here we mix packages and metadata from centos mirror and compose * Which further leads to following issues * https://bugs.launchpad.net/tripleo/+bug/1950466 - CS9 nothing provides libgcc >= 11.2.1-6.el9 * Enable compose repos in pre: https://review.opendev.org/c/openstack/tripleo-ci/+/817455 * https://bugs.launchpad.net/tripleo/+bug/1949601 - package buildah filtered out by modular filtering * Use module_hotfix: https://review.opendev.org/c/openstack/tripleo-quickstart/+/816648 Long term Plan: * In TripleO CI integration and upstream check/gate jobs, we need to pull centos contents from centos mirrors. * Contents gets synced from centos mirror to opendev mirror (https://review.opendev.org/c/opendev/system-config/+/817136) * Once CentOS Stream 9 gets released. Main Goal: * Catch these issues early in the pipeline. * One Idea: Can we use CentOS Stream Pinning? * Life span of a compose content is approx 20 days * Latest compose will be generally pushed to mirrors (Need to clarify)? * Two composes (which one to use) * production: https://odcs.stream.centos.org/production/ * Development: https://odcs.stream.centos.org/development/ * Current Solution (We are driving) * Use tripleo-repos to enable compose in periodic line * Switch to mirror once contents gets synced Notes: * First: get system config patch in and use mirror content everywhere * switch to using the mirror content and no longer composes in release files * retest container and images everything * Second: Get the dependency line * Understand centos release pattern * mirror content is n -1 on prod composes if true - forward looking n with latest-compose else latest-compose is n-1 and then test with development compose * Store old compose ids * Build nodepool images with a particular compose ## Tasks ### CentOS Composes - Dependency Pipeline 1. Add a new repo type, 'repo_composes', to 'repo-setup' role that configures repos based on a compose-id * we can easily set the compose-url in the release files and use yum-config * WIP: https://review.opendev.org/c/openstack/tripleo-quickstart/+/819019 2. Create a new dependency repo_config for compose-pinning * we may want to overwrite 'repo' and 'add_repos' vars to avoid compose-repos being overwritten * make sure that we have delorean repos and deps repos being set 3. Implement function to get compose-url from humam-readable label * today the content is a compose-id, but we can change content to compose-url (easier to handle between different distros - which may have different urls) * e.g. https://images.rdoproject.org/centos_compose/centos8/master/centos-ci-testing (compose-id) 4. Create a new or update an existing 'pre' to use tripleo-yum-config to generate compose repos * it shall configure repos and update packages * not all the jobs use release file content to setup repos * the 'pre' should validate if the current image is too new for the compose-if being tested * where this info leaves in image? 4. Create new jobs * list of jobs TBD * first, validate with a provider + scenario * define image to be used for compose-pinning, need to be a old compose-id 6. Create pipeline and add to rdo-jobs * run every day or two? 7. Generate diff repo list * Use/adjust existing playbooks to compile the diff repo list ### CentOS Composes - Promotions 1. Create promotion jobs: * promote latest-compose-id to centos-ci-testing * periodic-tripleo-centos-8-promote-latest-compose-master * need to add to periodics * https://review.rdoproject.org/r/q/topic:%22compose-promoter%22+(status:open%20OR%20status:merged) * Update to include previous if needed (ci-config) * promote centos-ci-testing to current-centos * Improve promoter code to also promote based on criterias * see https://review.rdoproject.org/r/c/rdo-infra/ci-config/+/34612 * define criteria * create promotion environment file ## Questions 1. Which image should we use in pinning jobs? 2. How do we check which compose-id was the current in image creation?

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully