Metrics and monitoring
      • 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 New
    • 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 Note Insights 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

    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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Fedora Metrics for Apps - Conversation with Mark/Kevin ## Meeting 2021-07-06 Meeting with Kevin/Mark - [0] https://docs.google.com/document/d/1IczzjEviRtqleGzt7eWjRVmD-_dmhLJn1WqOWrU4qs4/edit# - [1] https://pagure.io/fedora-infra/metrics-for-apps/boards/metrics-for-apps - [2] https://pagure.io/fedora-infra/metrics-for-apps - [3] https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/openshift-apps ## Questions ### Fedora Infra access.redhat.com account - Stephen added David last year - need vipul and akashdeep to have access - can we be administrators? - this gives us access to interact with the clusters at cloud.redhat.com, open support tickets etc ### subscriptions - How many openshift 4 subscriptions do we currently have? - Can we delete the older clusters defined there, 2019 old communishift, might free up entitlements - I know where we can update it to get more entitelements if required internally. ### sysadmin-noc - the noc01 instance seems to be inaccessible for david, akashdeep, vipul has access, is it the sysadmin-noc group which unlocks this? Can we all get access to this? ### sysadmin-dns - possible can access? - from the batcave01, /srv/git/dns has the raw files, read only access - No way to do PR's, process will be to do git patches and email to the fedora-infra mailing list ### Proxies - use the existing method of proxying - this is all in the ansible repo - migration plan top migration of apps over not a problem we have to fix within the confines of this initative4 - need to add ocp4. to the dns also - we will have a http console ### Hardware - The existing ocp 3 cluster, can/will we repurpose those nodes to add extra nodes to the new clusters? - especially needed for staging, since you need a minimum of 6 machines to install. 3 master, 2 node, 1 boot, the boot machine can be repurposed later. Official docs say the min requirements, 5 nodes, 4 cores, 16 gig ram - These are the management ips for the hosts, accessible from the Red Hat VPN. - Mark can get the management password and reset it if necessary - Is there a way to access the console for us? Was helpful during install on the CentOS CI cluster. - all VMs can't repurpose these - Master nodes could be put on VMs - Are all these in the same chasis? all on 10g we think, all on different boxes New machines for prod: (These are all AMD based boxes, 96 cores, 256GB ram, 8 450GB SSDS) ``` oshift-dell01 IN A 10.3.160.180 oshift-dell02 IN A 10.3.160.181 oshift-dell03 IN A 10.3.160.182 oshift-dell04 IN A 10.3.160.183 oshift-dell05 IN A 10.3.160.184 oshift-dell06 IN A 10.3.160.185 ``` older machines we had marked for masters perhaps: ``` oshift4-x86-fe-01 IN A 10.3.160.58 oshift4-x86-fe-02 IN A 10.3.160.45 oshift4-x86-fe-03 IN A 10.3.160.44 ``` older machines we had marked for perhaps a staging cluster: ``` oshift4-x86-be-01-stg IN A 10.3.160.51 oshift4-x86-be-02-stg IN A 10.3.160.50 oshift4-x86-fe-01-stg IN A 10.3.160.40 oshift4-x86-fe-02-stg IN A 10.3.160.41 ``` ### Storage - What storage is available and in use on the ocp3 cluster currently? - NFS is not a suitable storage for prometheus - What storage is available on the nodes? - Might be able to use https://docs.openshift.com/container-platform/4.7/storage/persistent_storage/persistent-storage-ocs.html to offer a managed shared storage made up of any localstorage available on the nodes etc. downstream from rook - fedora ocp3 cluster currently using nfs served from a netapp - netapp has a product for doing storage for openshift - no quotas, but its all controlled via ansible ### Bastian access / playbook execution - None of us are in `sysadmin-main`, will be be able to run playbooks from the the current `os-control01.stg.iad2.fedoraproject.org` bastian node? - make sure we setup new playbooks to use `sysadmin-noc` which will give us the permissions to run the playbooks - maybe add a sysadmin-openshift group? - ### pxeboot/ipmi provisioning ``` Once thats sorted out, installs are via pxeboot... noc01.iad2.fedoraproject.org is the dhcp server for all the networks. dhcpd.conf is in ansible. The pxelinux config is on batcave01 in /srv/web/infra/bigfiles/tftpboot (it's not in ansible because it's got a bunch of image files, etc) We can stick ignition files on batcave01 as well. ``` - We know technically how to pxeboot boot a machine, pass the various things necessary to bring up RHCOS(4.3 at least, might need to refresh knowledge for 4.7), how do we do those things in fedora infra, is there a playbook to restart a node? - Is it on the noc01 instance where these files are stored? - Does noc01 a basic http server running which can serve some of the files needed during rhcos boot? - Where are they stored in source control? Some of the things can't be put in the ansible repo. ssh keys, ignition files, etc - Can we get access to this, or should we have Mark/Kevin to do it? - https://docs.infra.centos.org/operations/ci/installation/install/ some notes we took during the baremetal install for the CentOS CI cluster - We will store the files in the fedora infra private repo - We need to write playbooks to deploy from the private repo to a location on the openshift control/bastion node where we will store the ignition files/kubeadmin certs etc - We need to setup a webserver on the node, and set iptable rules to only allow connections from the openshift nodes. - Ping mark/kevin when adding new playbooks, to have them update the rbac playbook so our group can run them. - https://pagure.io/fedora-infra/ansible/blob/main/f/inventory/group_vars/bodhi_backend#_42 - https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/groups/ipa.yml#_8 - Ansible flag we should use to stop secrets being printed to the log file - dell boxes management port 443 from redhat vpn - several management passwords, 2-3, need to get em from mark - web browser, idrac ### Kubevirt - On the CentOS CI, fedora-coreos (and others) have elevated permissions, to allow them to access /dev/kvm directly on the ocp4 nodes themselves, they are bringing up VMs `directly on the nodes`, bypassing monitoring checks, potentially making the nodes unstable etc - Are we planning to allow this on this new cluster? - Can we request they instead run any x86 workloads via the koji jobs, similar to what we wer suggesting for the arch64 builds? ### Longer term.. - Can we ever actually replace this cluster with OSD? or self managed OCP4 or AWS ROSA? - Will we always be tied to having baremetal in the data center? - Is prometheus/alertmanager going to be our metrics, alerting stack for Fedora applications going forward, or should we focus on integrating the prometheus metrics into a zabbix stack ### Main points - start off with a staging cluster ## Meeting with Mark - Jul 7th * Agreed: new group sysadmin-openshift and it to have needed permissions ssh tunnel to avoid vpn (to access mgmt login) `ssh -L 4430:10.3.160.180:443 -L 5900:10.3.160.180:5900 batcave01` https://localhost:4430/ https://pagure.io/fedora-infra/ansible/blob/main/f/inventory/group_vars/bodhi_backend#_42 https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/groups/ipa.yml#_8 https://pagure.io/fedora-infra/ansible/blob/main/f/files/osbs/fix-docker-iptables.staging https://pagure.io/fedora-infra/ansible/blob/main/f/roles/base/templates/iptables # metrics-for-apps - conversation with kevin ## 26 Aug 2021 ### Machines - we don't have to move them as the frontend nodes are way powerful than the VMs that we have with OpenShift 3.x. ### Authentication `ansible/files/communishift/objects` - has info abot IDC - have to add some config, and retrieve some secret stuff from ipsilon - a proper group-based authentication needs to be implemented for the cluster - Kevin seems at least open to having an official supported solution eg operator to synch groups with ipa ### Apps - there are several categories of apps - some not in prod - some have conjobs we dont want running omre than one copy - some have storage requirements - some have external databases, these should be ok to deploy as is - some mayb use old/legacy/no longer supported api versions for objects - we would want to move the applications slowly, one-by-one ### Storage - Some applications have an external storage / PVC and we have to figure out OCS before we can make the shift

    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