unable to discover shares for nfs drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Mehdi Abaakouk | ||
Grizzly |
Fix Released
|
Medium
|
Eric Harney |
Bug Description
For NFS drivers, the available shares are not discovered.
C-VOL logs:
-------------
2013-03-21 05:17:51 DEBUG [cinder.utils] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/
2013-03-21 05:17:51 WARNING [cinder.
2013-03-21 05:17:51 DEBUG [cinder.
2013-03-21 05:18:51 DEBUG [cinder.manager] Running periodic task VolumeManager.
2013-03-21 05:18:51 DEBUG [cinder.manager] Notifying Schedulers of capabilities ...
2013-03-21 05:18:51 DEBUG [cinder.
2013-03-21 05:18:51 DEBUG [cinder.
2013-03-21 05:18:51 DEBUG [cinder.manager] Running periodic task VolumeManager.
2013-03-21 05:18:51 INFO [cinder.
2013-03-21 05:18:51 DEBUG [cinder.
2013-03-21 05:18:51 DEBUG [cinder.utils] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/
2013-03-21 05:18:51 WARNING [cinder.
2013-03-21 05:18:51 DEBUG [cinder.
2013-03-21 05:19:51 DEBUG [cinder.manager] Running periodic task VolumeManager.
2013-03-21 05:19:51 DEBUG [cinder.manager] Notifying Schedulers of capabilities ...
2013-03-21 05:19:51 DEBUG [cinder.
2013-03-21 05:19:51 DEBUG [cinder.
2013-03-21 05:19:51 DEBUG [cinder.manager] Running periodic task VolumeManager.
2013-03-21 05:19:51 INFO [cinder.
2013-03-21 05:19:51 DEBUG [cinder.
2013-03-21 05:19:51 DEBUG [cinder.utils] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/
2013-03-21 05:19:51 WARNING [cinder.
2013-03-21 05:19:51 DEBUG [cinder.
Changed in cinder: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
milestone: | havana-1 → 2013.2 |
The bug comes after change done in the common nfs at cinder. volume. drivers. nfs.py in the class NfsDriver. The change replaced Flags with oslo configuration. To read option nfs_mount_options, Flag is replaced by cfg.CONF. I am not clear why is it done this way, is it to place option nfs_mount_options as a common option ? in that case it needs to be present in the common options at cfg.CONF. Or if thats not the case then is it required to be specified in conder.conf while configuring, this will require change in NfsDriver as well. Mentioning the change number for the author to reply on this. This causes dependent nfs drivers to fail mounting nfs exports.
https:/ /github. com/openstack/ cinder/ commit/ c47bf9bc3835d43 99185376ac07920 ef903d79e8# cinder/ volume/ drivers/ nfs.py