Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-4231

Rewrite Committer Management

    Issue XMLXMLWordPrintable

Details

    • Epic
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • None
    • Q2 2023 RE Operations
    • None
    • None
    • Rewrite Committer Management
    • All / Cross Project

    Description

      Rewrite Committer Management 

      Rebuilding info management jobs so that current build steps that currently bash can be converted to python

      BV - Modernization

      - Figure all what all is needed and create additional cards - Matt

       

      Attachments

        JEditor

          Issue Links

            Activity

              modesevenindustrialsolutions Matthew Watkins added a comment - - edited

              https://jenkins.onap.org/view/ci-management/job/ci-management-openstack-cron/

              Occasional output due to build failures not parsing script output correctly?

              ---> Orphaned ports
              12:05:22 + mapfile -t os_ports_ts
              12:05:22 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at
              12:05:22 ++ awk '-F ' '{print $1 " " $3}'
              12:05:22 ++ grep -E DOWN
              12:05:24 + '[' 1 -eq 0 ']'
              12:05:24 ++ date -d '30 minutes ago' +%s
              12:05:24 + cutoff=1661250924
              12:05:24 + for port_ts in '"${os_ports_ts[@]}"'
              12:05:24 + created_at_isots=None
              12:05:24 + port_uuid=9a3c0385-a08d-4d6c-8546-fdde03b41d9e
              12:05:24 + echo 'checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None'
              12:05:24 checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None
              12:05:24 ++ date -d None +%s
              12:05:24 date: invalid date ‘None’
              12:05:24 + created_at_uxts=
              12:05:24 Build step 'Conditional step (single)' marked build as failure
              

              This is passing because there are no orphaned ports:

              ---> Orphaned ports
              11:05:04 + mapfile -t os_ports_ts
              11:05:04 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at
              11:05:04 ++ grep -E DOWN
              11:05:04 ++ awk '-F ' '{print $1 " " $3}'
              11:05:06 + '[' 0 -eq 0 ']'
              11:05:06 + echo 'No orphaned ports found.'
              11:05:06 No orphaned ports found.
              
              modesevenindustrialsolutions Matthew Watkins added a comment - - edited https://jenkins.onap.org/view/ci-management/job/ci-management-openstack-cron/ Occasional output due to build failures not parsing script output correctly? ---> Orphaned ports 12:05:22 + mapfile -t os_ports_ts 12:05:22 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at 12:05:22 ++ awk '-F ' '{print $1 " " $3}' 12:05:22 ++ grep -E DOWN 12:05:24 + '[' 1 -eq 0 ']' 12:05:24 ++ date -d '30 minutes ago' +%s 12:05:24 + cutoff=1661250924 12:05:24 + for port_ts in ' "${os_ports_ts[@]}" ' 12:05:24 + created_at_isots=None 12:05:24 + port_uuid=9a3c0385-a08d-4d6c-8546-fdde03b41d9e 12:05:24 + echo 'checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None' 12:05:24 checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None 12:05:24 ++ date -d None +%s 12:05:24 date: invalid date ‘None’ 12:05:24 + created_at_uxts= 12:05:24 Build step 'Conditional step (single)' marked build as failure This is passing because there are no orphaned ports: ---> Orphaned ports 11:05:04 + mapfile -t os_ports_ts 11:05:04 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at 11:05:04 ++ grep -E DOWN 11:05:04 ++ awk '-F ' '{print $1 " " $3}' 11:05:06 + '[' 0 -eq 0 ']' 11:05:06 + echo 'No orphaned ports found.' 11:05:06 No orphaned ports found.

              Another failure mode here:

              ---> Cleanup old images
              11:05:56 + lftools openstack --os-cloud vex image cleanup --days=30
              11:05:58 AttributeError: 'Image' object has no attribute 'protected'
              11:05:58 Build step 'Conditional steps (multiple)' marked build as failure
              
              modesevenindustrialsolutions Matthew Watkins added a comment - Another failure mode here: ---> Cleanup old images 11:05:56 + lftools openstack --os-cloud vex image cleanup --days=30 11:05:58 AttributeError: 'Image' object has no attribute ' protected ' 11:05:58 Build step 'Conditional steps (multiple)' marked build as failure

              Fix needs to go in:
              /Users/mwatkins/Repos/lf/ci-management/global-jjb/shell/openstack-cleanup-orphaned-ports.sh

              modesevenindustrialsolutions Matthew Watkins added a comment - Fix needs to go in: /Users/mwatkins/Repos/lf/ci-management/global-jjb/shell/openstack-cleanup-orphaned-ports.sh

              Initial fix for ports failure created on change:
              https://gerrit.linuxfoundation.org/infra/c/releng/global-jjb/+/70592
              Need to remove hard-coded value and add second fix for the cleaning of old images.

              modesevenindustrialsolutions Matthew Watkins added a comment - Initial fix for ports failure created on change: https://gerrit.linuxfoundation.org/infra/c/releng/global-jjb/+/70592 Need to remove hard-coded value and add second fix for the cleaning of old images.

              Bengt has observed that we should be consistent with capitalisation when creating and/or working with LDAP groups.

              modesevenindustrialsolutions Matthew Watkins added a comment - Bengt has observed that we should be consistent with capitalisation when creating and/or working with LDAP groups.

              People

                modesevenindustrialsolutions Matthew Watkins
                anusinha Anubha Sinha
                David McBride, Matthew Watkins
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated: