Page MenuHomePhabricator

components-api failing to connect to internal api
Closed, ResolvedPublicBUG REPORT

Description

Deployments:

  • 20260604-221112-gh1x39kyle
  • 20260604-221508-uz9kuzoba5
  • 20260604-221902-c3j2g2emcg
  • 20260604-222120-85mxn8qwb5
  • 20260604-222612-b8x95li2oj

All failed due to an internal api issue, example

tools.cluebotng@tools-bastion-15:~$ toolforge components deployment show 20260604-222612-b8x95li2oj
Deployment ID: 20260604-222612-b8x95li2oj
Created: 20260604-222612
Status: failed
Long status: 
  Got exception: Some builds failed to start: backup-database(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)) core(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)) grafana-alloy(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)) pushgateway(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)) redis(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)) report-interface(error:HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20))

Builds:
  backup-database(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  bot(skipped): id:cluebotng-buildpacks-pipelinerun-xcspw Reusing existing build
  core(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  grafana-alloy(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  irc-relay(skipped): id:cluebotng-buildpacks-pipelinerun-q9tsb Reusing existing build
  prune-backups(skipped): id:no-build-needed Component re-uses build from backup-database
  pushgateway(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  redis(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  report-interface(failed): id:no-id-yet unexpected HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
  report-review-import(skipped): id:no-build-needed Component re-uses build from report-interface
  report-send-whitelisted-to-review(skipped): id:no-build-needed Component re-uses build from report-interface

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is still happening, so doesn't appear to be a transient issue.

Unfortunately it makes deploying new release quite painful as the process needs to be done step-by-step-by-hand to work around this.

Also getting failures when interacting with the build api directly;

tools.cluebotng@tools-bastion-15:~$ toolforge build start --ref main -i core https://github.com/cluebotng/external-core.git
ReadTimeout: HTTPSConnectionPool(host='api.svc.tools.eqiad1.wikimedia.cloud', port=30003): Read timed out. (read timeout=20)
Please report this issue to the Toolforge admins if it persists: https://w.wiki/6Zuu

I think this has been resolved @DamianZaremba . can you check on your end?

I can't replicate this at the moment on any tool, so it appears to have resolved it's self.

It would be good to understand why it happened, especially given the direct API usage was also affected.

aputhin subscribed.

Resolving for now. If it happens again we can dig deeper, as we would also have more data available from logs.