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

Error while running cleanup #30

Open
bregman-arie opened this issue Mar 31, 2016 · 2 comments
Open

Error while running cleanup #30

bregman-arie opened this issue Mar 31, 2016 · 2 comments
Labels

Comments

@bregman-arie
Copy link

Command: janitor.py --cloud my_cloud --cleanup

Traceback (most recent call last):
File "./janitor.py", line 143, in
cleanup_resources(cloud, cleanup, dry_run=False)
File "/home/abregman/dev/shade_janitor/shade_janitor/cleanup.py", line 142, in cleanup_resources
cloud.remove_router_interface(router, uuid)
File "/tmp/janitor4/lib/python2.7/site-packages/shade/openstackcloud.py", line 1887, in remove_router_interface
_tasks.RouterRemoveInterface(router=router['id'], body=body)
File "/usr/lib64/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/tmp/janitor4/lib/python2.7/site-packages/shade/_utils.py", line 543, in neutron_exceptions
"{msg}: {exc}".format(msg=error_message, exc=str(e)))
shade.exc.OpenStackCloudResourceNotFound: Error detaching interface from router a73744a7-75c9-43fa-9853-29774a104be1: Router a73744a7-75c9-43fa-9853-29774a104be1 has no interface on subnet 65619c6f-f1d1-4c8f-9fba-7363ccfc2af7
Neutron server returns request_ids: ['req-e17ccafa-34bf-4f4a-8f5f-728f60ced656']

@yazug
Copy link
Collaborator

yazug commented Apr 27, 2016

I have seen this happen when janitor was not able to select all the resources, or if it tries to delete a resource it can't control. Also this form of the command is the --Armageddon option (blow it all away)

@yazug yazug added the question label Apr 27, 2016
@yazug
Copy link
Collaborator

yazug commented Apr 27, 2016

If you see something like this or have more context as to the resource names it was trying to clean up it would be useful. Otherwise will have to close this as can not reproduce.

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

No branches or pull requests

2 participants