Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GITHUB_ENV for OIDC_TOKEN #63

Merged
merged 7 commits into from
Sep 19, 2024
Merged

Use GITHUB_ENV for OIDC_TOKEN #63

merged 7 commits into from
Sep 19, 2024

Conversation

sebastian-luna-valero
Copy link
Member

Summary

It looks like we are not passing the correct value for the token currently:

TASK [grycap.motley_cue : Execute contextualise_ssh_server command] ************
fatal: [147.213.76.217]: FAILED! => {"changed": true, "cmd": ["contextualise_ssh_server", "$(mytoken"], "delta": "0:00:00.584423", "end": "2024-09-19 11:29:06.407431", "msg": "non-zero return code", "rc": 1, "start": "2024-09-19 11:29:05.823008", "stderr": "", "stderr_lines": [], "stdout": "[2024-09-19 11:29:06,369] WARNING - No trusted OP produced a user info for access token\n[2024-09-19 11:29:06,370]   ERROR - Failed to get userinfos for the provided access token", "stdout_lines": ["[2024-09-19 11:29:06,369] WARNING - No trusted OP produced a user info for access token", "[2024-09-19 11:29:06,370]   ERROR - Failed to get userinfos for the provided access token"]}

Trying to pass it in a different way with this PR.


Related issue :

@sebastian-luna-valero sebastian-luna-valero requested a review from a team as a code owner September 19, 2024 12:30
Copy link
Contributor

@enolfc enolfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan
terraform
Acquiring state lock. This may take a few moments...
openstack_networking_floatingip_v2.fip: Refreshing state... [id=1a2e1285-0a20-4582-aab9-27255607a862]
openstack_compute_secgroup_v2.secgroup: Refreshing state... [id=47779555-2ce1-400c-ba68-d177683c7228]
openstack_compute_instance_v2.dashboard: Refreshing state... [id=064c65fc-135c-4fd0-be47-758eabc12e9c]
openstack_compute_floatingip_associate_v2.fip: Refreshing state... [id=147.213.76.217/064c65fc-135c-4fd0-be47-758eabc12e9c/]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Deprecated Resource

  with openstack_compute_secgroup_v2.secgroup,
  on main.tf line 12, in resource "openstack_compute_secgroup_v2" "secgroup":
  12: resource "openstack_compute_secgroup_v2" "secgroup" {

use openstack_networking_secgroup_v2 resource instead

(and 3 more similar warnings elsewhere)

Pusher: @sebastian-luna-valero, Action: pull_request

Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan
terraform
Acquiring state lock. This may take a few moments...
openstack_networking_floatingip_v2.fip: Refreshing state... [id=1a2e1285-0a20-4582-aab9-27255607a862]
openstack_compute_secgroup_v2.secgroup: Refreshing state... [id=47779555-2ce1-400c-ba68-d177683c7228]
openstack_compute_instance_v2.dashboard: Refreshing state... [id=064c65fc-135c-4fd0-be47-758eabc12e9c]
openstack_compute_floatingip_associate_v2.fip: Refreshing state... [id=147.213.76.217/064c65fc-135c-4fd0-be47-758eabc12e9c/]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Deprecated Resource

  with openstack_compute_secgroup_v2.secgroup,
  on main.tf line 12, in resource "openstack_compute_secgroup_v2" "secgroup":
  12: resource "openstack_compute_secgroup_v2" "secgroup" {

use openstack_networking_secgroup_v2 resource instead

(and 3 more similar warnings elsewhere)
Releasing state lock. This may take a few moments...

Pusher: @sebastian-luna-valero, Action: pull_request

@sebastian-luna-valero
Copy link
Member Author

Merging to get the dashboard back up and running asap.

@sebastian-luna-valero sebastian-luna-valero merged commit 3ba5fba into main Sep 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants