Ask Your Question
0

manila service error

asked 2018-08-20 05:19:43 -0500

anonymous user

Anonymous

I took kolla-ansible tool to deploy pike openstack platform and enable manila service, and created the manila type and network with manila permission. Finally I got manila service error status. It is confirmed that provided manila service instance creating, but confused why do not start up volume in instance, I have check manila_share log , I have found the error issue, but I do not konw how to fix it.

I refer the website on docs.openstack.org/mitaka/install-guide-ubuntu/launch-instance-manila-dhss-true-option2.html to build manila service.

LOG:

2018-08-03 05:20:41.906 25 WARNING manila.share.drivers.service_instance [req-9958fce2-e2f6-41b0-9df0-f96a7beb9f4d 98b7a4537bf542e6a1d5447493ca9a06 5c725221beca48c88e77c956c0139ce6 - - -] No key path is available. May be non-existent key path is provided. Check path_to_private_key (current value None) and path_to_public_key (current value ~/.ssh/id_rsa.pub) in manila configuration file.: ShareServerNotFoundByFilters: Share server could not be found by filters: share_network_id is "052e2687-3f4a-4332-838c-c484fd8359ca", host is "openstack2@generic" and status in "creating" or "active".

2018-08-03 05:20:45.308 25 WARNING manila.network.linux.interface [req-9958fce2-e2f6-41b0-9df0-f96a7beb9f4d 98b7a4537bf542e6a1d5447493ca9a06 5c725221beca48c88e77c956c0139ce6 - - -] Device tap656ec089-aa already exists.: NetworkException: Bad router request: Router already has a port on subnet 8a6e6f64-01b6-4d72-bbda-27efb87a2aff. Neutron server returns request_ids: ['req-b3f83ab5-a492-4b5c-a6a9-eb78688eb561']

2018-08-03 05:21:05.542 25 INFO manila.share.manager [req-972a6f11-6c92-4d2e-86d2-8cf1e9f04abb - - - - -] Updating share status

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters [req-9958fce2-e2f6-41b0-9df0-f96a7beb9f4d 98b7a4537bf542e6a1d5447493ca9a06 5c725221beca48c88e77c956c0139ce6 - - -] DBAPIError exception wrapped from (pymysql.err.IntegrityError) (1048, u"Column 'value' cannot be null") [SQL: u'INSERT INTO share_server_backend_details (created_at, updated_at, deleted_at, deleted, key, value, share_server_id) VALUES (%(created_at)s, %(updated_at)s, %(deleted_at)s, %(deleted)s, %(key)s, %(value)s, %(share_server_id)s)'] [parameters: {'deleted': 'False', 'created_at': datetime.datetime(2018, 8, 3, 9, 21, 7, 754910), 'updated_at': None, 'value': None, 'share_server_id': 'a61c26b8-ca35-4bd9-9d63-ca0273dbbc42', 'key': 'subnet_id', 'deleted_at': None}]: IntegrityError: (1048, u"Column 'value' cannot be null")

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters context)

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters)

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query)

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q)

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/lib/python2.7/site-packages/pymysql/connections.py", line 856, in query

2018-08-03 05:21:07.755 25 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered)

2018-08-03 ... (more)

edit retag flag offensive close merge delete

Comments

Please see the answer to https://ask.openstack.org/en/question/115779/manila-service-error/ (https://ask.openstack.org/en/question...)

tpb gravatar imagetpb ( 2019-01-12 05:19:44 -0500 )edit

@tpb Your first link is this page. Your second link is only a partiial URL. Where is the answer to this issue?

alpha23 gravatar imagealpha23 ( 2019-03-29 16:45:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-09-13 04:37:23 -0500

zzu_david gravatar image

installiton docc on website http://docs.openstack.org is error when set lock_path,in the website lock_path = /var/lock/manila start manila-api and create access-lst ,you will find "permission denied" to /var/lock/manila ;

resolved solution

change lock_path = /var/lock/manila to lock_path = /var/lib/manila/tmp restart manila-api,manila-scheduler and manila-share service.

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-08-20 05:18:37 -0500

Seen: 129 times

Last updated: Sep 13