It is Ansible task which is working with the remote repo, but I think it would be possible to download this repo from Github and use it like this.
My question is the old way with python would work after the fix ? I’m asking because Im not the autor of the ansible tasks. Thank you Ondrej From: Jessica Wagantall <[email protected]> Sent: štvrtok, 23. apríla 2020 21:03 To: FRINDRICH Ondrej OSK <[email protected]> Cc: [email protected]; TIMONEY, DAN <[email protected]>; FRANEY, JOHN J <[email protected]>; Krzysztof Opasiak ([email protected]) <[email protected]>; onap-release <[email protected]>; onap-tsc <[email protected]> Subject: Re: [onap-discuss] [Onap-release] Gerrit usage too heavy with local HTTP calls Is this something that can potentially be customized to pull from Github? Or the AP mirror? Sorry I am not familiar on how this is written, but is that something possible to do? Thanks! Jess On Thu, Apr 23, 2020 at 11:49 AM FRINDRICH Ondrej OSK <[email protected]<mailto:[email protected]>> wrote: Hi everyone, I’m doing the python request because I was currently deploying elalto via OOM and I get The requested URL returned error: 403 At 16:00 European time it was working without any error. The full traceback is: WARNING: The below traceback may *not* be related to the actual failure. File "/tmp/ansible_git_payload_yMFc1V/__main__.py", line 452, in clone os.makedirs(dest_dirname) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) fatal: [control01-elalto]: FAILED! => changed=false cmd: /usr/bin/git ls-remote https://gerrit.onap.org/r/oom -h refs/heads/elalto invocation: module_args: accept_hostkey: false archive: null bare: false clone: true depth: 1 dest: /opt/oom executable: null force: false key_file: null recursive: true reference: null refspec: null remote: origin repo: https://gerrit.onap.org/r/oom separate_git_dir: null ssh_opts: null track_submodules: false umask: null update: true verify_commit: false version: elalto msg: 'fatal: unable to access ''https://gerrit.onap.org/r/oom/'': The requested URL returned error: 403' rc: 128 stderr: |- fatal: unable to access 'https://gerrit.onap.org/r/oom/': The requested URL returned error: 403 stderr_lines: <omitted> stdout: '' stdout_lines: <omitted> Will this way work after the fix or what should I use instead of it ? Thank you Best regards Ondrej From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Jessica Wagantall Sent: štvrtok, 23. apríla 2020 20:40 To: TIMONEY, DAN <[email protected]<mailto:[email protected]>> Cc: FRANEY, JOHN J <[email protected]<mailto:[email protected]>>; Krzysztof Opasiak ([email protected]<mailto:[email protected]>) <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; onap-release <[email protected]<mailto:[email protected]>>; onap-tsc <[email protected]<mailto:[email protected]>> Subject: Re: [onap-discuss] [Onap-release] Gerrit usage too heavy with local HTTP calls Will need to take a look into that.. I think Kenny can give me some information on that. That seems to be the most active IP earlier. We had others causing noise 2 hrs ago which were the cause for the 1st drop. Also, we noticed one python client making HTTP calls too but they were getting rejected. Not sure if this also happened before the service went down.. We continue to keep an eye on it.. On Thu, Apr 23, 2020 at 11:22 AM TIMONEY, DAN <[email protected]<mailto:[email protected]>> wrote: Jess, Out of curiosity, I did a reverse DNS lookup on 142.93.109.98 and got this: $ host 142.93.109.98 98.109.93.142.in-addr.arpa domain name pointer comoros.bitergia.net<http://comoros.bitergia.net>. So maybe biterga is the culprit? Can that be updated to do its pulls from github maybe? Dan From: <[email protected]<mailto:[email protected]>> on behalf of "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, April 23, 2020 at 1:47 PM To: "FRANEY, JOHN J" <[email protected]<mailto:[email protected]>>, "Krzysztof Opasiak ([email protected]<mailto:[email protected]>)" <[email protected]<mailto:[email protected]>> Cc: onap-discuss <[email protected]<mailto:[email protected]>>, onap-release <[email protected]<mailto:[email protected]>>, onap-tsc <[email protected]<mailto:[email protected]>> Subject: Re: [Onap-release] Gerrit usage too heavy with local HTTP calls @Krzysztof Opasiak ([email protected])<mailto:[email protected]> , the most active IP is 142.93.109.98 @FRANEY, JOHN J<mailto:[email protected]> we encourage the local usage of Github and APAC as much as possible. If you need to push code, you can always add a local remote to gerrit even if you fetched the code using Github. Thanks! Jess On Thu, Apr 23, 2020 at 10:34 AM FRANEY, JOHN J <[email protected]<mailto:[email protected]>> wrote: Jess, Under which use case should I use which link? Sorry, I was using only: https://wiki.onap.org/display/DW/Resources+and+Repositories<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Resources-2Band-2BRepositories&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qLcfee4a2vOwYSub0bljcQ&m=vSnzsAVDO6A68AjXDRs9iguvenOZPugxgP3mlVBcYzw&s=1lFWuTO11eB2Kaq7SqiWmr0dgDJtxJAvbOljDRcvj18&e=> John From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of [email protected]<mailto:[email protected]> Sent: Thursday, April 23, 2020 1:16 PM To: [email protected]<mailto:[email protected]>; onap-release <[email protected]<mailto:[email protected]>>; onap-tsc <[email protected]<mailto:[email protected]>> Subject: [Onap-release] Gerrit usage too heavy with local HTTP calls Dear team, We have noticed several times that ONAP Gerrit is being flooded with HTTP requests which causes the server to be overloaded and drop causing backlogs in Jenkins too and requiring a lot of work to restore these services. I would like to remind you to please use Github for cloning the repos you need instead. Also, please remember we have the APAC mirror too: git://gerrit-mirror-ap.onap.org/mirror/${PROJECT}<https://urldefense.proofpoint.com/v2/url?u=http-3A__gerrit-2Dmirror-2Dap.onap.org_mirror_-24-257BPROJECT-257D&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=kPKOKzg4Z4tIa1Jcwm6xxA&m=p0m6CvwAFOSKaekPjYbnUKxHcRuO5t1ISrujXrv-0ho&s=ClB5Ws7aE7Ea2hjaLHUZQHSzfxITu51XlcaPIlg1Yx0&e=> Example clone: git clone git://gerrit-mirror-ap.onap.org/mirror/ci-management.git<https://urldefense.proofpoint.com/v2/url?u=http-3A__gerrit-2Dmirror-2Dap.onap.org_mirror_ci-2Dmanagement.git&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=kPKOKzg4Z4tIa1Jcwm6xxA&m=p0m6CvwAFOSKaekPjYbnUKxHcRuO5t1ISrujXrv-0ho&s=-lLWoABb1AXc-mD85RbmtPkJPCtOps7z35F-KrgxYXM&e=> Thanks so much! Jess -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20836): https://lists.onap.org/g/onap-discuss/message/20836 Mute This Topic: https://lists.onap.org/mt/73223413/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
