redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

CI Failure (`Quota 'ROUTERS' exceeded`) in `RollingRestartTest.test_restart_pod`

Open vbotbuildovich opened this issue 1 year ago • 0 comments

https://buildkite.com/redpanda/vtools/builds/11764

Module: rptest.redpanda_cloud_tests.rolling_restart_test
Class: RollingRestartTest
Method: test_restart_pod
test_id:    RollingRestartTest.test_restart_pod
status:     FAIL
run time:   78.103 seconds

RpkException('command /opt/redpanda/bin/rpk cloud byoc gcp apply --redpanda-id=cn25pfmm2v5uhk75c810 --project-id=devprod-cicd-infra -v returned 1, output: ', '2024-02-08T04:47:03.348Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tvalidation/validate.go:68\tChecking project... PASSED\n2024-02-08T04:47:04.194Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tgcp/apply.go:76\tReconciling agent infrastructure...\n2024-02-08T04:47:04.457Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:190\tRunning apply\t{"provisioner": "bootstrap"}\n2024-02-08T04:47:10.564Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:200\tFinished apply\t{"provisioner": "bootstrap"}\n2024-02-08T04:47:10.564Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:190\tRunning apply\t{"provisioner": "network"}\n2024-02-08T04:47:51.242Z\t\x1b[31mERROR\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:193\tFailed to apply provisioner\t{"provisioner": "network", "error": "failed running terraform apply: exit status 1\\n\\nError: Error waiting to create Router: Error waiting for Creating Router: Quota \'ROUTERS\' exceeded.  Limit: 20.0 globally.\\n\\tmetric name = compute.googleapis.com/routers\\n\\tlimit name = ROUTERS-per-project\\n\\tlimit = 20\\n\\tdimensions = map[global:global]\\n\\n\\n  with google_compute_router.nat[0],\\n  on nat.tf line 7, in resource \\"google_compute_router\\" \\"nat\\":\\n   7: resource \\"google_compute_router\\" \\"nat\\" {\\n\\n"}\nFailed to apply provisioners: failed to apply provisioner network: failed running terraform apply: exit status 1\n\nError: Error waiting to create Router: Error waiting for Creating Router: Quota \'ROUTERS\' exceeded.  Limit: 20.0 globally.\n\tmetric name = compute.googleapis.com/routers\n\tlimit name = ROUTERS-per-project\n\tlimit = 20\n\tdimensions = map[global:global]\n\n\n  with google_compute_router.nat[0],\n  on nat.tf line 7, in resource "google_compute_router" "nat":\n   7: resource "google_compute_router" "nat" {\n\n\n', 1, '')
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 182, in _do_run
    self.setup_test()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 260, in setup_test
    self.test.setup()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/test.py", line 91, in setup
    self.setUp()
  File "/home/ubuntu/redpanda/tests/rptest/tests/redpanda_test.py", line 38, in setUp
    self.__redpanda.start()
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda.py", line 1631, in start
    cluster_id = self._cloud_cluster.create(superuser=superuser)
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda_cloud.py", line 889, in create
    self._create_new_cluster()
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda_cloud.py", line 686, in _create_new_cluster
    self.utils.rpk_cloud_apply(_cluster_id)
  File "/home/ubuntu/redpanda/tests/rptest/services/cloud_cluster_utils.py", line 132, in rpk_cloud_apply
    out = self._exec(cmd, timeout=1800)
  File "/home/ubuntu/redpanda/tests/rptest/services/cloud_cluster_utils.py", line 103, in _exec
    return self.rpk._execute(cmd, env=self.env, timeout=timeout)
  File "/home/ubuntu/redpanda/tests/rptest/clients/rpk.py", line 1082, in _execute
    raise RpkException(
rptest.clients.rpk.RpkException: RpkException<command /opt/redpanda/bin/rpk cloud byoc gcp apply --redpanda-id=cn25pfmm2v5uhk75c810 --project-id=devprod-cicd-infra -v returned 1, output: ; stderr: 2024-02-08T04:47:03.348Z	[34mINFO[0m	.rpk.managed-byoc	validation/validate.go:68	Checking project... PASSED
2024-02-08T04:47:04.194Z	[34mINFO[0m	.rpk.managed-byoc	gcp/apply.go:76	Reconciling agent infrastructure...
2024-02-08T04:47:04.457Z	[34mINFO[0m	.rpk.managed-byoc	cli/cli.go:190	Running apply	{"provisioner": "bootstrap"}
2024-02-08T04:47:10.564Z	[34mINFO[0m	.rpk.managed-byoc	cli/cli.go:200	Finished apply	{"provisioner": "bootstrap"}
2024-02-08T04:47:10.564Z	[34mINFO[0m	.rpk.managed-byoc	cli/cli.go:190	Running apply	{"provisioner": "network"}
2024-02-08T04:47:51.242Z	[31mERROR[0m	.rpk.managed-byoc	cli/cli.go:193	Failed to apply provisioner	{"provisioner": "network", "error": "failed running terraform apply: exit status 1\n\nError: Error waiting to create Router: Error waiting for Creating Router: Quota 'ROUTERS' exceeded.  Limit: 20.0 globally.\n\tmetric name = compute.googleapis.com/routers\n\tlimit name = ROUTERS-per-project\n\tlimit = 20\n\tdimensions = map[global:global]\n\n\n  with google_compute_router.nat[0],\n  on nat.tf line 7, in resource \"google_compute_router\" \"nat\":\n   7: resource \"google_compute_router\" \"nat\" {\n\n"}
Failed to apply provisioners: failed to apply provisioner network: failed running terraform apply: exit status 1

Error: Error waiting to create Router: Error waiting for Creating Router: Quota 'ROUTERS' exceeded.  Limit: 20.0 globally.
	metric name = compute.googleapis.com/routers
	limit name = ROUTERS-per-project
	limit = 20
	dimensions = map[global:global]


  with google_compute_router.nat[0],
  on nat.tf line 7, in resource "google_compute_router" "nat":
   7: resource "google_compute_router" "nat" {


; returncode: 1>

vbotbuildovich avatar Feb 13 '24 20:02 vbotbuildovich