Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Status error manila

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/ 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 "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1340, in read 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters first_packet = self.connection._read_packet() 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 1014, in _read_packet 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters packet.check_error() 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 393, in check_error 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters err.raise_mysql_exception(self._data) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/err.py", line 107, in raise_mysql_exception 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters raise errorclass(errno, errval) 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters IntegrityError: (1048, u"Column 'value' cannot be null") 2018-06-06 17:18:25.094 1687 ERROR oslo_db.sqlalchemy.exc_filters 2018-06-06 17:18:25.150 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, 150061), 'updated_at': None, 'value': None, 'share_server_id': '4c363f91-02fd-4703-a616-0540ad244d06', 'key': 'router_id', 'deleted_at': None}]: IntegrityError: (1048, u"Column 'value' cannot be null") 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last): 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters context) 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters) 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query) 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q) 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2018-06-06 17:18:25.150 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.150 1687 ERROR oslo_db.sqlalchemy.exc_filters result.read() 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1340, in read 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters first_packet = self.connection._read_packet() 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1014, in _read_packet 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters packet.check_error() 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 393, in check_error 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters err.raise_mysql_exception(self._data) 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/err.py", line 107, in raise_mysql_exception 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters raise errorclass(errno, errval) 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters IntegrityError: (1048, u"Column 'value' cannot be null") 2018-06-06 17:18:25.150 1687 ERROR oslo_db.sqlalchemy.exc_filters 2018-06-06 17:18:25.253 1687 ERROR manila.share.manager [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] Creation of share instance 07a007b9-1613-45b0-9782-94c052c9df5f failed: failed to get share server.: NetworkException: Unable to find 'security_group' in request body Neutron server returns request_ids: ['req-1f4b0e4a-f478-439e-8338-d21eeb4b6ba8'] 2018-06-06 17:18:25.275 1687 INFO manila.message.api [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] Creating message record for request_id = req-bb362a14-3bdb-48ba-8465-3d4083c20a1a 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server [req-bb362a14-3bdb-48ba-8465-3d4083c20a1a dc4607499e384202a756769b51d821fb 6e19aa3d3e2e4d728031debbc2488349 - - -] Exception during message handling: NetworkException: Unable to find 'security_group' in request body Neutron server returns request_ids: ['req-1f4b0e4a-f478-439e-8338-d21eeb4b6ba8'] 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server result = func(ctxt, *new_args) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 186, in wrapped 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return f(self, *args, *kwargs) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/utils.py", line 560, in wrapper 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return func(self, args, *kwargs) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 1635, in create_share_instance 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server detail=message_field.Detail.NO_SHARE_SERVER) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 1617, in create_share_instance 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server share_group=share_group_ref, 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 537, in _provide_share_server_for_share 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return _wrapped_provide_share_server_for_share() 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return f(args, *kwargs) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 533, in _wrapped_provide_share_server_for_share 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server metadata=metadata)) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 549, in _create_share_server_in_backend 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server metadata=metadata) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 3427, in _setup_server 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server self.driver.deallocate_network(context, share_server['id']) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/manager.py", line 3378, in _setup_server 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server network_info, metadata=metadata) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/driver.py", line 893, in setup_server 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return self._setup_server(args, *kwargs) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/drivers/generic.py", line 878, in _setup_server 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server self.admin_context, network_info) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 407, in set_up_service_instance 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server context, instance_name, network_info) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 545, in _create_service_instance 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server security_group = self._get_or_create_security_group(context) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server return f(args, *kwargs) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 336, in _get_or_create_security_group 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server name, description)['security_group'] 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/manila/network/neutron/api.py", line 388, in security_group_create 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server code=e.status_code, message=e.message) 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server NetworkException: Unable to find 'security_group' in request body 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server Neutron server returns request_ids: ['req-1f4b0e4a-f478-439e-8338-d21eeb4b6ba8'] 2018-06-06 17:18:25.296 1687 ERROR oslo_messaging.rpc.server 2018-06-06 17:18:58.654 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Check for unused share servers to delete. 2018-06-06 17:18:58.785 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:19:58.685 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:20:58.684 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:21:58.684 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:22:58.673 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:23:58.721 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:24:58.675 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:25:58.673 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:26:58.686 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status 2018-06-06 17:27:58.689 1687 INFO manila.share.manager [req-0e4e6235-7958-49f8-8194-4f53ca09bc73 - - - - -] Updating share status