Skip to content

pf9-express references expired Keystone token #283

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

Open
rsoto91 opened this issue Aug 21, 2023 · 1 comment
Open

pf9-express references expired Keystone token #283

rsoto91 opened this issue Aug 21, 2023 · 1 comment
Assignees

Comments

@rsoto91
Copy link

rsoto91 commented Aug 21, 2023

SUMMARY

Pf9-express failed to deploy a new host with the pf9-cindervolume-base role as it referenced a Keystone token in /tmp/keystone-token.txt that contained an expired token.

ISSUE TYPE

Bug Report

OS / ENVIRONMENT
  • Platform9 v5.6
  • Ubuntu 20.04
STEPS TO REPRODUCE

These are the steps that took place (I haven't attempted to reproduce yet):

  1. 8/15/23: Deployed new hosts pf9-express (compute & image library roles only)
  2. 8/21/23: (almost a week later) Add a single entry to [cinder] in the inventory file with a host that was previously deployed a week prior with the compute/glance role.
  3. Playbook failed to execute with HTTP 401 Unauthorized error
EXPECTED RESULTS

The playbook to successfully complete by using a token that is valid or one that has been refreshed upon expiration or execution of the playbook.

ACTUAL RESULTS

It was observed that express is referencing a file /tmp/keystone-token.txt that should contain a valid token but is expired. We were able to work around this by updating the /tmp/keystone-token.txt file with a valid token. We had also attempted to delete the file and see if pf9-express would recreate it with a valid token but that didn't work.
image

@snimje snimje self-assigned this Aug 24, 2023
@snimje
Copy link
Contributor

snimje commented Aug 24, 2023

#284

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

No branches or pull requests

2 participants