Status error manila

asked 2018-06-06 10:42:54 -0600

I installed manila, I executed 'manila create NFS 1 --name demo-share1 --share-network demo-share-network1', then when I check manila list I get

demo-share1 | 1 | NFS | error | False | default_share_type | | nova
The status is error.

But inside http://localhost/horizon/admin/instances/ (http://localhost/horizon/admin/instan...) image is active and running. This is the log of manila-share.log:

2018-06-06 17:17:25.862 1687 WARNING manila.share.drivers.service_instance [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] 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 "e8c5f800-7712-472c-bf85-03f39c27014d", host is "sharenode@generic" and status in "creating" or "active". 2018-06-06 17:17:33.241 1687 WARNING manila.network.linux.interface [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] Device ns-b11a61b2-3d already exists.: NetworkException: Bad router request: Router already has a port on subnet 400f2d93-63f5-4a3f-8cdc-cbb01ad2ca1f. Neutron server returns request_ids: ['req-860d76bf-d1b7-4bf3-8893-d2afbb5164e4'] 2018-06-06 17:17:58.682 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] 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, 6, 6, 15, 18, 25, 92289), 'updated_at': None, 'value': None, 'share_server_id': '4c363f91-02fd-4703-a616-0540ad244d06', 'key': 'subnet_id', 'deleted_at': None}]: IntegrityError: (1048, u"Column 'value' cannot be null") 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last): 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters context) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 470, in do_execute 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 166, in execute 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 322, in _query 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 856, in query 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1057, in _read_query_result 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters result.read() 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File ... (more)

edit retag flag offensive close merge delete