-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Nomad CSI volume status UI page never shows allocations depending on the volume #9215
Comments
This is exactly the issue. My question (for @tgross) is why did that happen? I suspect this has something to do with the CSI driver, but that's just me speculating. |
I haven't tested with any other drivers yet so I can't help with any insight there unfortunately. If you need any additional information from the cinder driver just let me know and I'll round it up. |
What's interesting here is that the allocation is live, so we're not running into the usual set of tricky conditions where we have an allocation that's terminal but hasn't had its volume claim reaped yet. I know we made some changes to how that API response is getting populated in #8590 to fix a very similar-looking bug #8362. There may be a regression here... I'll dig in and see what I can come up with. |
I am also seeing this with a 120 line custom made CSI driver that implements the bare minimum of the API. Not sure if this is in nomad or if my plugin needs to provide some info for this view. I am on nomad 0.12.5 and my CSI plugin implements all of the identity service and just |
I dug into this a bit more and this is definitely a regression of #8362. This was supposed to have been fixed in #8590 but the ReadAllocs/WriteAllocs that were mentioned as the root cause in #8362 (comment) still aren't being filled. This API issue is also related to one of the remaining pieces of #9230 so this should be next on my plate. |
I'm also seeing this with the AWS EBS and EFS drivers (with 0.12.7) |
Fixed in #9377, which will ship in Nomad 1.0 GA. |
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. |
Nomad version
Output from
nomad version
nomad version
Nomad v1.0.0-beta2 (3acb12b)
Operating system and Environment details
[root@devbox examples]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
Issue
The Nomad UI is not displaying active allocations despite the API calls returning the information about the allocations currently utilizing the volume.
Below is a partial response from the
/v1/volume/csi
API call made by the browser when loading the/ui/csi/volumes/influx_data
endpoint.I'm guessing the root of the issue is being caused by the allocation that is currently using the volume not being registered as a
WriteAllocs
orReadAllocs
and the UI is only using those data points to populate the interface.Reproduction steps
/ui/csi/volumes/:volume-id
page in the interface and notice that there are no active allocations being shownJob file (if appropriate)
Volume Registration
Nomad Client/Server logs (if appropriate)
Debug Logs Sent via Email.
Images of the Volume details page and the allocation page are attached and show the volume in use by an allocation while the details page for the volume show no active allocations.
The text was updated successfully, but these errors were encountered: