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

Deleting vhost controller when purging the VM failed #853

Open
pykello opened this issue Nov 8, 2023 · 0 comments
Open

Deleting vhost controller when purging the VM failed #853

pykello opened this issue Nov 8, 2023 · 0 comments
Labels

Comments

@pykello
Copy link
Contributor

pykello commented Nov 8, 2023

This is probably a race condition and systemctl stop vm12345 takes time.

/home/rhizome/host/lib/spdk_rpc.rb:18:in `rescue in rpc_call': Device or resource busy (SpdkRpcError)
	from /home/rhizome/host/lib/spdk_rpc.rb:15:in `rpc_call'
	from /home/rhizome/host/lib/spdk_rpc.rb:61:in `vhost_delete_controller'
	from /home/rhizome/host/lib/storage_volume.rb:73:in `purge_spdk_artifacts'
	from /home/rhizome/host/lib/vm_setup.rb:113:in `block in purge_storage'
	from /home/rhizome/host/lib/vm_setup.rb:111:in `each'
	from /home/rhizome/host/lib/vm_setup.rb:111:in `purge_storage'
	from /home/rhizome/host/lib/vm_setup.rb:96:in `purge'
	from host/bin/deletevm.rb:12:in `<main>'
/home/rhizome/host/lib/json_rpc_client.rb:39:in `call': Device or resource busy (JsonRpcError)
	from /home/rhizome/host/lib/spdk_rpc.rb:16:in `rpc_call'
	from /home/rhizome/host/lib/spdk_rpc.rb:61:in `vhost_delete_controller'
	from /home/rhizome/host/lib/storage_volume.rb:73:in `purge_spdk_artifacts'
	from /home/rhizome/host/lib/vm_setup.rb:113:in `block in purge_storage'
	from /home/rhizome/host/lib/vm_setup.rb:111:in `each'
	from /home/rhizome/host/lib/vm_setup.rb:111:in `purge_storage'
	from /home/rhizome/host/lib/vm_setup.rb:96:in `purge'
	from host/bin/deletevm.rb:12:in `<main>'
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

1 participant