sunbeam configure fails with Error: Unable to query openstack_identity_role_v3: Bad Gateway

Bug #2071481 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
New
Undecided
Unassigned

Bug Description

2024-06-28-11:58:11 root ERROR [localhost] Command failed: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null solqa-lab1-server-01.nosilo.lab1.solutionsqa -- sunbeam configure -m manifest.yaml
2024-06-28-11:58:11 root ERROR 1[localhost] STDOUT follows:

2024-06-28-11:58:11 root ERROR 2[localhost] STDERR follows:
Warning: Permanently added 'solqa-lab1-server-01.nosilo.lab1.solutionsqa' (ED25519) to the list of known hosts.
terraform apply failed: data.openstack_identity_role_v3.member: Reading...

Error: Unable to query openstack_identity_role_v3: Bad Gateway

  with data.openstack_identity_role_v3.member,
  on main.tf line 104, in data "openstack_identity_role_v3" "member":
 104: data "openstack_identity_role_v3" "member" {

Error configuring cloud
Traceback (most recent call last):
  File "/snap/openstack/539/lib/python3.10/site-packages/sunbeam/commands/terraform.py", line 200, in apply
    process = subprocess.run(
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/snap/openstack/539/bin/terraform', 'apply', '-auto-approve', '-no-color']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/snap/openstack/539/lib/python3.10/site-packages/sunbeam/commands/configure.py", line 547, in run
    self.tfhelper.apply()
  File "/snap/openstack/539/lib/python3.10/site-packages/sunbeam/commands/terraform.py", line 214, in apply
    raise TerraformException(str(e))
sunbeam.commands.terraform.TerraformException: Command '['/snap/openstack/539/bin/terraform', 'apply', '-auto-approve', '-no-color']' returned non-zero exit status 1.
Error: Command '['/snap/openstack/539/bin/terraform', 'apply', '-auto-approve', '-no-color']' returned non-zero exit status 1.

logs - https://oil-jenkins.canonical.com/artifacts/4fd4e4fb-29e8-418e-bfbb-32a1feada514/index.html

Tags: cdo-qa
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.