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

leftover hybrid instance "awx" in Instances view after upgrade from ancient AWX version that can't be deleted #14400

Open
5 of 11 tasks
benapetr opened this issue Aug 31, 2023 · 3 comments

Comments

@benapetr
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Since I upgraded our ancient AWX (pre k8s version) and ran all migrations I can see "hybrid" instance in Instances view called just "awx" that lists all the jobs that were executed in old times.

This instance is marked as unavailable and can't be deleted from the view. It's also cluttering the topology map with some weird arrows

image

How can we get rid of it?

AWX version

23.0.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

minikube

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

Upgrade from very old AWX (like 12.0.0)

Expected results

No zombie instances

Actual results

Zombie instance

Additional information

No response

@fosterseth
Copy link
Member

can you try shelling into the task container and running awx-manage deprovision_instance, and target that old hybrid node?

to shell into task container, kubectl exec -it deploy/awx-task -c awx-task -- bash

did that remove it?

@benapetr
Copy link
Author

benapetr commented Oct 6, 2023

yes that works! thanks

this can probably be closed, although until this can be done from UI there might be more people hitting this issue

@mimianddaniel
Copy link

bump, this should be done from GUI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants