Cinder service stops

asked 2017-03-06 21:30:32 +0300

John T'Jampens gravatar image

I have installed the Openstack controller with the V-Magine installer. My hyper-v cluster and Storage Spaces Direct with SOFS is working. Tried to install the CINDER SMB installer, but it keeps failing after installing, the service keeps stopping.

I checked also the user root with ~/.my.cnf and also used this password, nothing is working.

Please help.

[DEFAULT] authstrategy=keystone volumenametemplate=volume-%s glanceapiservers=192.168.1.69:9292 sqlconnection=mysql://cinder:cinder@192.168.1.69/cinder imageconversiondir=C:\ImageConversionDir verbose=false lockpath=C:\OpenStack\Lock\ rabbithost=192.168.1.69 rabbitport=5672 rabbituserid=guest rabbitpassword=guest logdir=C:\OpenStack\Log\ logfile=cinder-volume-smb.log enabledbackends=S2D

[coordination] backend_url=file:///C:/OpenStack/Lock/

[S2D] volumedriver=cinder.volume.drivers.windows.smbfs.WindowsSmbfsDriver smbfsdefaultvolumeformat=vhdx smbfsoversubratio=1.0 smbfsusedratio=1.0 smbfsmountpointbase=C:\OpenStack\mnt\ smbfssharesconfig=C:\Program Files\Cloudbase Solutions\OpenStack\etc\cinder\smbfsshares_list

2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\sqlalchemy\pool.py", line 323, in createconnection 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume return ConnectionRecord(self) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\sqlalchemy\pool.py", line 449, in init 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume self.connection = self.connect() 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\sqlalchemy\pool.py", line 607, in _connect 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume connection = self.pool.invokecreator(self) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\sqlalchemy\engine\strategies.py", line 97, in connect 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume return dialect.connect(cargs, *cparams) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 385, in connect 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume return self.dbapi.connect(cargs, *cparams) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\MySQLdb_init.py", line 81, in Connect 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume return Connection(*args, **kwargs) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume File "C:\Program Files\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\MySQLdb\connections.py", line 204, in _init 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume super(Connection, self).init(args, *kwargs2) 2017-03-06 19:48:26.424 4052 ERROR cinder.cmd.volume OperationalError: (mysqlexceptions.OperationalError) (1045, "Access denied for user 'root'@'192.168.1.80' (using password: YES)") 2017-03-06 19 ... (more)

edit retag flag offensive close merge delete

Comments

Hi. Could you please repaste your cinder configuration file and the errors in something like http://paste.openstack.org/? It would do my work a lot easier. Thank you.

danardelean gravatar imagedanardelean ( 2017-03-07 00:43:08 +0300 )edit

Please edit the cinder.conf file and set debug=true and verbose=true. Who is IP 192.168.1.80?

danardelean gravatar imagedanardelean ( 2017-03-08 16:30:52 +0300 )edit

Hi, The ip 192.168.1.80 is one of my hyper-v hosts. I've set debug=true and verbose=true My logging in cinder-volume-smb.log doesn't show more info. The error seems like it's connecting to 192.168.1.80 for the mysql connection, but my v-magine openstack installation is ip 192.168.1.69.

John T'Jampens gravatar imageJohn T'Jampens ( 2017-03-12 22:41:02 +0300 )edit