-
Notifications
You must be signed in to change notification settings - Fork 29
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
VNX: alu_hlu cache having entries for deleted luns #305
Labels
Comments
Murray-LIANG
added a commit
that referenced
this issue
Mar 26, 2020
This commit first reverts "Fix alu/hlu cache issue (#181)", the commit id is e82db79. The root cause of #181 was `sg.update()` would flush the alu-hlu mapping which was not returned by `sg.update()` but the LUN/alu was attached successfully on VNX. VNX was slow, which caused the info returnd by `sg.update()` was not the latest one. To fix the issue of #181, a retry is added to `detach_alu`. That is, when it found the alu-hlu is not in the cache, it will update sg's alu-hlu-map and try to get the hlu again.
|
Murray-LIANG
added a commit
that referenced
this issue
Jun 4, 2020
Murray-LIANG
added a commit
that referenced
this issue
Jun 8, 2020
Use `persist-queue.PDict` to share the cache of storage group between differen processes running on the same machine, i.e. different OpenStack Cinder backends. `PDict` leverages `pickle` to serialize and deserialize Python objects. Objects are modified to be picklable in this commit.
Murray-LIANG
added a commit
that referenced
this issue
Jun 9, 2020
Use `persist-queue.PDict` to share the cache of storage group between differen processes running on the same machine, i.e. different OpenStack Cinder backends. `PDict` leverages `pickle` to serialize and deserialize Python objects. Objects are modified to be picklable in this commit.
Murray-LIANG
added a commit
that referenced
this issue
Jul 28, 2020
Use `persist-queue.PDict` to share the cache of storage group between differen processes running on the same machine, i.e. different OpenStack Cinder backends. `PDict` leverages `pickle` to serialize and deserialize Python objects. Objects are modified to be picklable in this commit.
Murray-LIANG
added a commit
that referenced
this issue
Jul 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenStack VNX tempest CI always failed. This issue was not always reproducible.
When the CI failed, you could see below log keeping printing:
Cinder/Nova host cannot find the device because it even wasn't attached:
The ALU found in the cache will not be attached on VNX. So, the problem is the alu-hlu cache is dirty.
When there are more than two pools in OpenStack VNX Cinder, there will be more than backends running, one per pool. In each running backend, there is an sg cache. And inside the sg cache, there is an alu-hlu-mapping cache.
This issue occurred in the below scenario:
The text was updated successfully, but these errors were encountered: