New Question
0

cinder.volume.drivers.remotefs error

asked 2018-01-15 10:12:16 +0300

keyi gravatar image

updated 2018-01-15 10:17:51 +0300

cinder node windows2012 Mitaka

2018-01-15 16:05:42.447 3260 DEBUG oswin.utils.storage.smbutils [req-1ce1ac0b-bc0a-4362-ae32-b5b169bfe2bd - - - - -] Mounting share: \172.16.30.8\sharevolumes mountsmbshare C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\os_win\utils\storage\smbutils.py:56

2018-01-15 16:05:42.463 3260 ERROR cinder.volume.drivers.remotefs [req-1ce1ac0b-bc0a-4362-ae32-b5b169bfe2bd - - - - -] Exception during mounting Unable to mount SMBFS share: \\172.16.30.8\share_volumes WMI exception: <x_wmi: The specified login session does not exist. May have been terminated. >

Why is there such a mistake? I use the smb shared folder?

cinder.conf

[DEFAULT]

auth_strategy=keystone

volumenametemplate=volume-%s

glanceapiservers=172.16.50.20:9292

sqlconnection=mysql://cinder:CINDERDBPASS@172.16.50.20/cinder

imageconversiondir=C:\ImageConversionDir

verbose=false

debug=true

lock_path=C:\OpenStack\Lock\

rabbit_host=172.16.50.20

rabbit_port=5672

rabbit_userid=openstack

rabbitpassword=RABBITPASS

log_dir=C:\OpenStack\Log\

log_file=cinder-volume-smb.log

enabled_backends=myWindowsSMBBackend

[myWindowsSMBBackend]

volume_driver=cinder.volume.drivers.windows.smbfs.WindowsSmbfsDriver

smbfsdefaultvolume_format=vhd

smbfsoversubratio=1.0

smbfsusedratio=1.0

smbfsmountpoint_base=D:\OpenStack\mnt\

smbfssharesconfig=C:\Program Files\Cloudbase Solutions\OpenStack\etc\cinder\smbfsshareslist

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2018-01-15 13:10:25 +0300

lpetrut gravatar image

Hi,

Could you please also include the content of your smb shares config file (after masking passwords)?

A group policy or host setting may prevent Cinder from mounting the share using a password. Who's exposing the SMB share? Is it a Windows host? When deploying Cinder, we're usually avoiding password based authentication, granting share access per node (using computer accounts), also granting access to the user running the OpenStack services (e.g. nova, cinder), in which case the share config file does not have to include passwords.

If you do need to use share passwords, here are some troubleshooting steps:

  • check if the following GPO is enabled:

    Network access: Do not allow storage of passwords and credentials for network authentication Location: GPO_name\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options

  • check the following registry key: Get-ItemProperty HKLM:\system\CurrentControlSet\Control\Lsa -name disabledomaincreds

  • the Windows event log may also include some useful information, you could restart the service and use the following: get-winevent -FilterHashtable @{LogName="Microsoft-Windows-SmbClient*"} -MaxEvents 100 | ft -AutoSize -Wrap

edit flag offensive delete link more
0

answered 2018-01-24 07:43:58 +0300

wow this is very nice post.

For Supplement Reviews please check this :- http://fitwaychoice.soup.io/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-15 10:12:16 +0300

Seen: 25 times

Last updated: Jan 24