redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.17k stars 561 forks source link

CI Failure (`Quota 'NETWORKS' exceeded`) in `RollingRestartTest.test_rolling_restart` #16595

Open vbotbuildovich opened 4 months ago

vbotbuildovich commented 4 months ago

https://buildkite.com/redpanda/vtools/builds/11776 https://buildkite.com/redpanda/vtools/builds/11796 https://buildkite.com/redpanda/vtools/builds/11821 https://buildkite.com/redpanda/vtools/builds/11837

Module: rptest.redpanda_cloud_tests.rolling_restart_test
Class: RollingRestartTest
Method: test_rolling_restart
test_id:    RollingRestartTest.test_rolling_restart
status:     FAIL
run time:   44.668 seconds

RpkException('command /opt/redpanda/bin/rpk cloud byoc gcp apply --redpanda-id=cn2o8s6m2v5uhk75cka0 --project-id=devprod-cicd-infra -v returned 1, output: ', '2024-02-09T01:48:44.712Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tvalidation/validate.go:68\tChecking project... PASSED\n2024-02-09T01:48:45.558Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tgcp/apply.go:76\tReconciling agent infrastructure...\n2024-02-09T01:48:46.134Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:190\tRunning apply\t{"provisioner": "bootstrap"}\n2024-02-09T01:48:52.008Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:200\tFinished apply\t{"provisioner": "bootstrap"}\n2024-02-09T01:48:52.008Z\t\x1b[34mINFO\x1b[0m\t.rpk.managed-byoc\tcli/cli.go:190\tRunning apply\t{"provisioner": "network"}\n2024-02-09T01:49:11.098Z\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 Network: Error waiting for Creating Network: Quota \'NETWORKS\' exceeded.  Limit: 30.0 globally.\\n\\tmetric name = compute.googleapis.com/networks\\n\\tlimit name = NETWORKS-per-project\\n\\tlimit = 30\\n\\tdimensions = map[global:global]\\n\\n\\n  with google_compute_network.redpanda[0],\\n  on main.tf line 53, in resource \\"google_compute_network\\" \\"redpanda\\":\\n  53: resource \\"google_compute_network\\" \\"redpanda\\" {\\n\\n"}\nFailed to apply provisioners: failed to apply provisioner network: failed running terraform apply: exit status 1\n\nError: Error waiting to create Network: Error waiting for Creating Network: Quota \'NETWORKS\' exceeded.  Limit: 30.0 globally.\n\tmetric name = compute.googleapis.com/networks\n\tlimit name = NETWORKS-per-project\n\tlimit = 30\n\tdimensions = map[global:global]\n\n\n  with google_compute_network.redpanda[0],\n  on main.tf line 53, in resource "google_compute_network" "redpanda":\n  53: resource "google_compute_network" "redpanda" {\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 "/home/ubuntu/redpanda/tests/rptest/tests/redpanda_cloud_test.py", line 40, in setup
    super().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 1638, in start
    cluster_id = self._cloud_cluster.create(superuser=superuser)
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda_cloud.py", line 901, 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=cn2o8s6m2v5uhk75cka0 --project-id=devprod-cicd-infra -v returned 1, output: ; stderr: 2024-02-09T01:48:44.712Z   ^[[34mINFO^[[0m .rpk.managed-byoc   validation/validate.go:68   Checking project... PASSED
2024-02-09T01:48:45.558Z    ^[[34mINFO^[[0m .rpk.managed-byoc   gcp/apply.go:76 Reconciling agent infrastructure...
2024-02-09T01:48:46.134Z    ^[[34mINFO^[[0m .rpk.managed-byoc   cli/cli.go:190  Running apply   {"provisioner": "bootstrap"}
2024-02-09T01:48:52.008Z    ^[[34mINFO^[[0m .rpk.managed-byoc   cli/cli.go:200  Finished apply  {"provisioner": "bootstrap"}
2024-02-09T01:48:52.008Z    ^[[34mINFO^[[0m .rpk.managed-byoc   cli/cli.go:190  Running apply   {"provisioner": "network"}
2024-02-09T01:49:11.098Z    ^[[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 Network: Error waiting for Creating Network: Quota 'NETWORKS' exceeded.  Limit: 30.0 globally.\n\tmetric name = compute.googleapis.com/networks\n\tlimit name = NETWORKS-per-project\n\tlimit = 30\n\tdimensions = map[global:global]\n\n\n  with google_compute_network.redpanda[0],\n  on main.tf line 53, in resource \"google_compute_network\" \"redpanda\":\n  53: resource \"google_compute_network\" \"redpanda\" {\n\n"}
Failed to apply provisioners: failed to apply provisioner network: failed running terraform apply: exit status 1

Error: Error waiting to create Network: Error waiting for Creating Network: Quota 'NETWORKS' exceeded.  Limit: 30.0 globally.
    metric name = compute.googleapis.com/networks
    limit name = NETWORKS-per-project
    limit = 30
    dimensions = map[global:global]

  with google_compute_network.redpanda[0],
  on main.tf line 53, in resource "google_compute_network" "redpanda":
  53: resource "google_compute_network" "redpanda" {

; returncode: 1>

JIRA Link: CORE-1784

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11854

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11878

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11889

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11898

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11908

vbotbuildovich commented 4 months ago

*https://buildkite.com/redpanda/vtools/builds/11935

andrewhsu commented 4 months ago

fixed in issue https://github.com/redpanda-data/cloudv2/issues/12825

vbotbuildovich commented 3 months ago

*https://buildkite.com/redpanda/vtools/builds/12453

vbotbuildovich commented 3 months ago

https://buildkite.com/redpanda/vtools/builds/12529 https://buildkite.com/redpanda/vtools/builds/12533

vbotbuildovich commented 3 months ago

https://buildkite.com/redpanda/vtools/builds/12676 https://buildkite.com/redpanda/vtools/builds/12677 https://buildkite.com/redpanda/vtools/builds/12680 https://buildkite.com/redpanda/vtools/builds/12691 https://buildkite.com/redpanda/vtools/builds/12710 https://buildkite.com/redpanda/vtools/builds/12680

vbotbuildovich commented 3 months ago

https://buildkite.com/redpanda/vtools/builds/12730 https://buildkite.com/redpanda/vtools/builds/12731 https://buildkite.com/redpanda/vtools/builds/12735 https://buildkite.com/redpanda/vtools/builds/12734