Loop on mount nfs share on cinder-volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Rushil Chugh |
Bug Description
If state_path variable is configured with a final '/' on path then mount_path variable is create with a wrong syntax and then when try to check if filesystem is already mounted ( file remotefs.py function mount) this code failed:
if mount_path in self._read_
...
and then at every check remount same filesystem also if already mounted.
For example:
state_path = /var/lib/cinder/
mount_path variable on remotefs.py will be:
/var/lib/
and then key on dictionary returned by _read_mounts functions that has correctly path
/var/lib/
without additional slash will never match.
I think that could be useful add a check that escape last slash from state_path.
description: | updated |
Changed in cinder: | |
assignee: | nobody → Rushil Chugh (rushil) |
Changed in cinder: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/163032
Review: https:/