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
    # parent/child zuul container/rpm builds and artifacts ###### tags: `Design` # Work Items tracked [here](https://hackmd.io/vRMVeZXZRgK5Vxqi6ENUDg) # In check and gate build containers and rpms * per gerrit change.. * parent job * builds containers * builds rpms * share artifacts # Reasoning behind this proposal * mirror timeouts in upstream causing undercloud and standalone failures * https://bugs.launchpad.net/tripleo/+bug/1889122 * https://trello.com/c/DcPnhDoj/1608-cixlp1889122tripleociproa-mirror-timeouts-in-upstream-causing-undercloud-and-standalone-failures * Short summary * During tripleo deployment we perform container image prepare, at this step, we pull the containers from registry and modify the container image using tripleo-modify-image role, re-tag it and push it to local registry. * In Upstream CI, we pull images from docker.io at that time it was hitting HTTPError: 429 Client Error: Too Many Requests for url leading to docker hub rate limit issue. * https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/ * Free plan – anonymous users: 100 pulls per 6 hours * Free plan – authenticated users: 200 pulls per 6 hours * Pro plan – unlimited ## Implementation * Registry options * https://opendev.org/openstack/ansible-role-container-registry * https://hub.docker.com/_/registry * insecure.registry opendev.org * open firewall for registry * rpm builds / yum repo * use gating.repo via build-test-packages * expose via httpd * open firewall for yum repo.. port 80 * see.. https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/roles/install-built-repo/templates/install-built-repo.sh.j2 * this should have the ip of the node in the parent job * Connection between jobs * update release files to point to dynamic ip of parent job * default back to docker.io * in parent job update zuul to hold the node in parent * zuul option "vars.pause = true" * https://zuul-ci.org/docs/zuul/reference/jobs.html#pausing-the-job ## what do we need to change * put option on build-test-packages not to run on the child jobs * update container-prepare-parameters.yaml to point to node in parent job ## benefits of this design * jobs won't have to update each container w/ tripleo-image-modify role. The containers will be built from current-tripleo + patch(s) * parent job will fail and not run child jobs if * containers fail to build * rpm fails to build * unit test failures in rpm build * net sum is fail faster :) ## drawbacks of this design * perhaps less feedback as child jobs fail ## alternatives * See conversation on #openstack-infra * http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2020-07-28.log.html#t2020-07-28T16:12:40 * data in proxy * http://paste.openstack.org/show/796392/ * http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2020-07-29.log.html#t2020-07-29T18:16:36 # Current progress Sagi is working w/ local reproducer to create parent child jobs w/ container builds. Poc reviews: * https://review.opendev.org/#/q/topic:new-ci-job+(status:open+OR+status:merged) ``` parameter_defaults: ContainerImagePrepare: - set: ceph_alertmanager_image: alertmanager ceph_alertmanager_namespace: docker.io/prom ceph_alertmanager_tag: v0.16.2 ceph_grafana_image: grafana ceph_grafana_namespace: docker.io/grafana ceph_grafana_tag: 5.4.3 ceph_image: daemon ceph_namespace: docker.io/ceph ceph_node_exporter_image: node-exporter ceph_node_exporter_namespace: docker.io/prom ceph_node_exporter_tag: v0.17.0 ceph_prometheus_image: prometheus ceph_prometheus_namespace: docker.io/prom ceph_prometheus_tag: v2.7.2 ceph_tag: v4.0.10-stable-4.0-nautilus-centos-7-x86_64 default_tag: true name_prefix: centos-binary- name_suffix: '' namespace: 198.72.124.111:5001/tripleomaster neutron_driver: ovn rhel_containers: false tag: f31fc1ea72ab1f45eb1b56d06e3a1640 tag_from_label: rdo_version ``` ## standalone job and option to build containers locally. * Variables in play * zuul.build_containers_images * native tqe variable, build_container_images * do not enable build_container_images in fs052 * keep the tqe build_container_images variable so I can build and deploy locally * CI jobs.. if needed will require zuul.build_container_images Action Items: * just ensure zuul.build_container_images is working upstream and internally. * https://review.opendev.org/#/c/748426/ ## Work items achieved till now * tripleo-ci-centos-8-content provider job getting consumed in standalone and scenario job as well as multinode job under tripleo-standalone-scenarios-pipeline project template against tripleo-ci and for multinode * tripleo-multinode-tripleoci - for c8 s000 and s007 multinode * tripleo-multinode-container-full-pipeline * tripleo-multinode-container-minimal-pipeline * https://review.opendev.org/#/c/747591/15/zuul.d/multinode-jobs.yaml * c7 based buildah container build job have got the functionality to push containers to local registry * building non-tripleo containers in content provider job itself * https://review.opendev.org/750119 - pull non tripleo containers in content provider and push it to local registry * https://review.opendev.org/750119 - use quay for ceph containers #### meeting notes * pipeline is running against tripleo-ci, patch up to execute against triple-quickstart. * https://review.opendev.org/749645 * non-tripleo built containers will be pulled from quay and pushed into content-provider registry *

    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