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

aicli wait on cluster ends with an error AttributeError: 'AssistedClient' object has no attribute 'token' #25

Closed
vu3oim opened this issue Jun 14, 2022 · 1 comment

Comments

@vu3oim
Copy link

vu3oim commented Jun 14, 2022

We have a cluster with 5 hosts (3 Control and 2 Compute). OCP version is 4.8.
Once we trigger the installation we tried to use the following command but it ends up with AttributeError as below =>

$ aicli wait cluster sprintlab696
Waiting 5s for cluster sprintlab696 to reach state installed
Traceback (most recent call last):
File "/home/admin/.local/bin/aicli", line 11, in
sys.exit(cli())
File "/home/admin/.local/lib/python3.6/site-packages/ailib/cli.py", line 1042, in cli
args.func(args)
File "/home/admin/.local/lib/python3.6/site-packages/ailib/cli.py", line 445, in wait_cluster
ai.wait_cluster(args.cluster, args.status)
File "/home/admin/.local/lib/python3.6/site-packages/ailib/init.py", line 731, in wait_cluster
self.refresh_token(self.token, self.offlinetoken)
AttributeError: 'AssistedClient' object has no attribute 'token'

AI offline is used (latest AI container images are in use).
Its a disconnected installation.

Any hints why it ends up in that error?

@vu3oim vu3oim changed the title aicli wait on cluster to finish installation ends with an error AttributeError: 'AssistedClient' object has no attribute 'token' aicli wait on cluster ends with an error AttributeError: 'AssistedClient' object has no attribute 'token' Jun 14, 2022
@karmab
Copy link
Owner

karmab commented Jun 26, 2022

i believe it was fixed by f05af3d

@karmab karmab closed this as completed Jun 30, 2022
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