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

ONAP sdnc-oam can not replicate to github

Issue XMLXMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • Q2 2023 RE Operations
    • None
    • None
    • None

      Give the replication command

      ssh bthuree@gerrit.onap.org replication start --wait sdnc/oam
      
      Error: Failed replicate of refs/changes/37/102937/meta to git@github.com:onap/sdnc-oam.git, reason: pre-receive hook declined

      Verifying with https://confluence.linuxfoundation.org/display/RELEN/Gerrit  that the replication is configured properly.

      I even deleted the github:sdnc-oam repository and re-created it again. No change.

      After googling, I found one possible reason. Some large files in the repo.

       

      [bengt@fedora oam]$ pwd
      /home/bengt/Work/git/ONAP/sdnc/oam
      
      [bengt@fedora oam]$ du -sh *
      2.6M    admportal
      1.1M    configbackuprestore
      708K    csit
      560K    docs
      4.0K    INFO.yaml
      1.7M    installation
      4.0K    LICENSE.txt
      29M    platform-logic
      8.0K    pom.xml
      4.0K    README.md
      72K    releases
      800K    SdncReports
      4.0K    version.properties
      

       

      Ok, no large files currently.

      How about earlier?

      git rev-list --objects --all \
      | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
      | sed -n 's/^blob //p' \
      | sort --numeric-sort --key=2 \
      | tail -n 10 \
      | cut -c 1-12,41- \
      | $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
      
      
      2cf8ee17b28a  522KiB platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-aai-vf-module-put.xml
      63a6ca268843  751KiB platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-aai-vf-module-put.xml
      c64485bc0e8b  751KiB platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-aai-vf-module-put.xml
      65973df80be7  919KiB installation/sdnc/src/main/resources/mysql.tgz
      26864e49beb5  942KiB dgbuilder/svclogic/lib/mysql-connector-java-5.1.31.jar
      c152830e863a  1.3MiB admportal/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar
      81039db1a50a  1.4MiB admportal/lib/antlr4-4.5.1.jar
      3a3d9258e3b9  2.1MiB dgbuilder/tools/guava-14.0.1.jar
      e3c6abcc979f  282MiB installation/sdnc/src/main/resources/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz
      b6c13a8f784e  404MiB installation/sdnc/src/main/resources/distribution-karaf-0.5.1-Boron-SR1.tar.gz

      Ok, we have two very large files in the history. Lets see when

      • installation/sdnc/src/main/resources/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz

      Added 15 Feb 2017, and removed 31 March 2017

      • installation/sdnc/src/main/resources/distribution-karaf-0.5.1-Boron-SR1.tar.gz

      Added 31 March 2017, and removed 1 May 2017

       

      [bengt@fedora oam]$ git log -- installation/sdnc/src/main/resources/distribution-karaf-0.5.1-Boron-SR1.tar.gz
      commit 90ed6f02f881d5598c24a17a02b602abe0e1c342
      Author: Dan Timoney <dtimoney@att.com>
      Date:   Mon May 1 09:25:23 2017 -0400
      
          [SDNC-7] Remove ODL tarball
      
          Remove OpenDaylight release tarball from Gerrit and instead use dependency plugin to pull from OpenDaylight nexus
      
          Change-Id: Ie9071b3d5f5dbf18455d857815ec9927e6aa5a54
          Signed-off-by: Dan Timoney <dtimoney@att.com>
      
      commit c7fb7db31a50d5f0005251d41f497fbd4fb2ae4b
      Author: Dan Timoney <dtimoney@att.com>
      Date:   Fri Mar 31 17:47:19 2017 -0400
      
          [SDNC-5] Rebase sdnc-oam
      
          Port to OpenDaylight Boron and sync updates since 16.10
      
          Change-Id: I9f6febe0bd3d50c3d27c775e5a41806ee3d2e6cb
          Signed-off-by: Dan Timoney <dtimoney@att.com>
      
      
      [bengt@fedora oam]$ git log -- installation/sdnc/src/main/resources/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz
      commit c7fb7db31a50d5f0005251d41f497fbd4fb2ae4b
      Author: Dan Timoney <dtimoney@att.com>
      Date:   Fri Mar 31 17:47:19 2017 -0400
      
          [SDNC-5] Rebase sdnc-oam
      
          Port to OpenDaylight Boron and sync updates since 16.10
      
          Change-Id: I9f6febe0bd3d50c3d27c775e5a41806ee3d2e6cb
          Signed-off-by: Dan Timoney <dtimoney@att.com>
      
      commit 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
      Author: Timoney, Daniel (dt5972) <dtimoney@att.com>
      Date:   Wed Feb 15 10:37:53 2017 -0500
      
          Initial commit for OpenECOMP SDN-C OA&M
      
          Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680
          Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>

       

      GitHub do not allow larger files than 100mb

              modesevenindustrialsolutions Matthew Watkins
              bthuree Bengt Thuree
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: