Samba not configured to use registry configuration

Bug #1370216 reported by David Disseldorp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Valeriy Ponomaryov

Bug Description

CIFSHelper in the Generic Manila driver attempts to use "net conf" for the dynamic configuration of Samba shares. However, Samba doesn't pick up any of these changes, as the generic file server VM is not configured to accept registry based configuration.

To fix this, the following should be added to the global section in smb.conf:
include = registry

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Hi David,

mentioned thing is image-dependent, it should be preconfigured in image as well as existence of samba in general.

What image was used for it?

Revision history for this message
David Disseldorp (ddiss-6) wrote :

Hi Vakeriy,

I used the default ubuntu_1204_nfs_cifs generic file-server image.

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Thanks David, fix for it will be done in image itself, without change of Manila code.

Revision history for this message
David Disseldorp (ddiss-6) wrote :

Thanks, feel free to close the bug when the image has been updated.

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

David, image has been reuploaded, link stays the same, name the same, diff: old image was 291MB, new one is about 306MB

We have image-candidate "cirros" with nfs and samba onboard, but not used due to presense of bugs, I added this issue fot it too, see: https://github.com/csabahenk/cirros/issues/11

Link to built image-candidate: http://people.redhat.com/chenk/cirros/

Changed in manila:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Fix released as updated image on link: https://www.dropbox.com/s/vi5oeh10q1qkckh/ubuntu_1204_nfs_cifs.qcow2

To replace old image with new one within devstack - need to delete old image located in "%devstack_dir%/files" and palce there new one - it if for "restack"ing. Or register new image via glance and set it in manila.conf file.

Changed in manila:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.