Pulp
      • 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

      This note has no invitees

    • 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
    • Note Insights
    • 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 Note Insights 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

    This note has no invitees

  • 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
    # pulp_installer usability changes * Stop using special variables in the installer, use pulp_settings.variables. * Solves Florian "Ansible variables hide away the Variables in Pulp itself" * Advertise the 2 different modes: pulp_services (& pulp_webserver) vs pulp_all_services * Solves Florian "More of an orchestration, not as an installation." * Solves Florian "It's not debian anymore, it's now orchestration." * Find way to read settings.local.py, or use "lineinfile" and read settings.py * Solves Florian 'Installer blows away variables in /etc/pulp/settings.py. (we do not do "lineinfile")'' * May not need to read settings.local.py if the settings do not concern the installer behavior. * Each plugin will have a default minor branch. The compatible minor branches are maintained on pulp_installer minor releases. * Solves Florian's partially "Pulp itself no longer has a single version. It's a distribution." * Solves Florian's "What versions are tested with what version of pulpcore." * Solves Florian's "Needs some agreement on distribution wide values." * Solves Florian's partially "Re-running the installer against new blank systems installs different versions." * Partially Solve's Florian's "Everytime he runs the installer, in his pipeline, he has to check what versions actually got installed. That does not make sense for an "installer". What gets installed should be according to certain properties." * Create a "pip-freeze" mode, which installs the entire set of dependencies for all plugins, but not the actual plugins unless specified. Installs user-specified plugins at specific versions. * Solves Florian's partially "Pulp itself no longer has a single version. It's a distribution." * Solves Florian's "Re-running the installer against new blank systems installs different versions." * Document supported versions of redis, postgres & webservers * Solves Florian's "supported versions of redis, postgres, etc." * Advertise local settings as an option, users can customize later, but clarify that some settings need to be set by the installer * Perhaps a table of "settings that must be set by the installer" * Solves Florian's "Provides and initial configration" * Solve's Florian's "a distribution-wide agreement with all devs is neccesary to establish what configuration values are neccesary to stand up the service." * Solves Florian's "an installer usually has the right to refuse to be concerned with other configuration values than mandatory or integration." * Systemd overrides rather than templated unit file * Solve's Florian's "Provides and initial configration" * Solve's Douglas's desire for static systemd unit file * Also document it on pulpcore docs * Provide webserver config files either on disk, or in pulpcore docs * Create an architectural overview, or add diagrams to pages * Solves Douglas's "Docs need an architectural overview." ## Unsolved * Florian's "Pulp does an endless starting loop because stuff isn't available. (postgres, redis)" * We purposely made the systemd unit always restart a while back. "Restart=always" Because a temporarily unavailable postgres/redis should not cause the service to fail. ## Already Solved * "localhost" should be the default value for connecting to postgres & redis ## Orchestration vs installation ### What pulp_common does * Runs checks for variables * Fails if FIPS is not satisfied * Enables repos via role * Enables python module * Installs prerequisites * Gets SCL-specific info like LD_LIBRARY_PATH * Creates pulp group * Creates pulp user * Adds developer user to pulp group * Adds pulp user to redis group * Directory management ("creates" includes setting permissions) * Creates /var/lib/pulp * Creates pulp_media_root * Migrates old artifact dir * Creates artifact dir * Creates cache dir * Creates scripts dir * Creates cert dir * Sets pulp 2 dir permissions * pip mode: Creates pulp_install_dir * Creates configuration directory * pip mode: * Installs dependencies to build SELinux policy * Installs SELinux policy * Upgrades/prepare the venv * preflight check * prereq roles * prereq RPM/deb dependencies * Installs prereq_pip_packages * clones/checks out pulpcore/plugins via git * Installs pulpcore/plugins * Sets SELinux labels on pulpcore binaries * Pathces md5usedforsecurity if fips & devel install * Upgrades dynaconf/django-storages * Creates contaraints file to lock django & pulpcore versions * Installs gunicorn * packages mode: * Creates temporary dnf.conf for best=false for pulp_pkg_upgrade_all * Installs pulp_pkg_undeclared_deps * Installs pulpcore & plugins * Installs SELinux policies * Creates configuration file for pulp from pulp_settings * Creates (empty) local configuration file for Pulp * Creates pulpcore-manager wrapper * Configures sudo for pulpcore-manager * Creates galaxy signing service gpg key * Creates galaxy signing service script * galaxy_ng post_install role * modifies /etc/fstab and remounts /var/lib/pulp for SELinux label * Only needed because we do runtime-like activities * Creates meta service * Starts pulp meta service * Enables pulp meta service * Makes variables available for the pulp_webserver role * Restores SELinux contexts * Collects static content * Runs pupcore-manager * Requires pulp running? * Requires database? * Requires redis? * Restarts pulp services ### What pulp_rpm_prerequisites does * Installs zchunk-devel on EL9 from koji * installs RPM dependencies * installs certain pip dependencies ### What galaxy_post_install does * Installs "tar" package * Creates /etc/galaxy-importer * Creates /etc/galaxy-importer/galaxy-importer.cfg * Creates /var/log/galaxy_api_access.log * Creates /etc/default/pulpcore-api with GALAXY_ENABLE_API_ACCESS_LOG * Imports the collection signing service gpg key file * Runs gpg commands for pulp user * Imports the collection signing service script * Creates /etc/default/pulpcore-worker with PULP_SIGNING_KEY_FINGERPRINT * Restarts pulpcore-api.service ### What pulp_database_config does * Picks the correct host to run the remainder of the role, based on the database fields encryption key * Checks if requires variables are set * Imports or generates database fields encryption key * Installs openssl command * Sets permissions on database fields encryption key * Runs database migrations * Runs pupcore-manager * Requires database - yes * Requires pulp running - no * Requires redis - no * Sets Pulp admin user's password * Runs pupcore-manager * Requires database - yes * Requires pulp running - no * Requires redis - no * Adds the galaxy signing service to the Pulp application * Runs pupcore-manager * Requires database - yes * Requires pulp running - no * Requires redis - no * Restarts all Pulp services ### What pulp_api does * Installs python-cryptography package * Restarts pulpcore-api.service * Generates or imports token auth key * Applies the SELinux type fo the TCP port * Creates pulpcore-api service * Starts pulpcore-api service * Enables pulpcore-api service ### What pulp_content does * Copies and installs database fields encryption key from pulp_database_config node * Applies the SELinux type fo the TCP port * Creates pulpcore-content service * Starts pulpcore-content service * Enables pulpcore-content service * Restarts pulpcore-content service ### What pulp_workers does * Copies and installs database fields encryption key from pulp_database_config node * Creates pulpcore-worker template service * Disables and removes pulpcore-resource-manager service * Determines existing workers * Scales down no-longer-used workers * Enables and starts workers * Restarts pulpcore workers services

    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