-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[csi,hcloud] failed to stage volume: exit status 1 #7775
Comments
Hi @mkrueger-sabio! It's possible that #7754 is to blame here. It looks like mounting process is getting an error from the plugin but it's not giving us a lot of information about what went wrong. Can you pull up the allocation logs for the plugin? Often the plugin writes more useful information into its logs than it provides Nomad via the CSI API. |
I already posted the allocation logs for the plugin for standard output. This is from stderr:
|
It looks like we're getting to the node mounting step, so by that point the disk should be physically attached to your instance (by the monolith plugin's controller steps). When the plugin attempts to mount the volume, does |
As far as I can see this method is called by nomad, and this method is called by the plugin. Yes, before I start the plugin, add the volume, ..., I detached the volume from the server instance on hcloud. Otherwise, I would get an error that the volume is already attached. When I start the httpd job the volume I do not understand where the target path |
It's a path in the plugin's allocation, created by the Nomad client in |
Perhaps my prerequisites are wrong. I started the nomad server in a vagrant box. But does the nomad server must run on the hcloud server instance where the volume is attached to? |
The Nomad client node needs to run on the hcloud instance where the volume is attached. The Nomad server nodes do not. (Having the server in a separate network than the client is unusual though!) |
ok, then this was a misunderstanding. thx. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Plugin
Volume
httpd job
hcloud csi plugin logs
Register volume:
Run httpd job:
As you can see, the volume cannot be staged:
err="rpc error: code = Internal desc = failed to stage volume: exit status 1"
Is this problem in the nomad setup or in the csi plugin? Or is this problem caused by #7754 (although, I set the
id
to theexternal id
involume.hcl
)?The text was updated successfully, but these errors were encountered: