Ask Your Question
0

Error creating share instances Manila Mitaka

asked 2016-05-26 11:43:29 -0500

daikk115 gravatar image

updated 2016-05-27 21:58:08 -0500

Hi, I'm facing a problem with Manila option2.

I have a controller node, a compute node and storage node contain Cinder and Manila

I install follow option2 Manila. but after I create a share instance, I run command

. demo-openrc
manila list

Unfortunately, I got ERROR status, even I have to use manila force-delete <id> to delete share instance.

And this is manila-scheduler.log:


2016-05-26 23:25:16.333 1198 WARNING manila.context [-] Arguments dropped when creating context: {u'read_only': False, u'domain': None, u'show_deleted': False, u'user_identity': u'- - - - -', u'project_domain': None, u'resource_uuid': None, u'user_domain': None}.

manila-share.log:

2016-05-27 00:38:40.818 53115 WARNING manila.context [-] Arguments dropped when creating context: {u'read_only': False, u'domain': None, u'show_deleted': False, u'user_identity': u'98c600072d58450894f30c0466c205bc a10c281791764f0d8da1502640be0dde - - -', u'project_domain': None, u'resource_uuid': None, u'user_domain': None}.

2016-05-27 00:38:42.681 53115 WARNING manila.share.drivers.service_instance [req-12ce4b2c-4095-46fa-90cc-038e5658b9ea 98c600072d58450894f30c0466c205bc a10c281791764f0d8da1502640be0dde - - -] 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.

2016-05-27 00:38:45.329 53115 WARNING manila.network.linux.interface [req-12ce4b2c-4095-46fa-90cc-038e5658b9ea 98c600072d58450894f30c0466c205bc a10c281791764f0d8da1502640be0dde - - -] Device ns-6ad87d97-c1 already exists.

2016-05-27 00:39:16.320 53115 INFO manila.share.manager [req-6fcb0e49-498a-4b28-91f1-55e1213dd7d6 - - - - -] Check for unused share servers to delete.

2016-05-27 00:39:16.391 53115 INFO manila.share.manager [req-6fcb0e49-498a-4b28-91f1-55e1213dd7d6 - - - - -] Updating share status

Can anyone help me?

NOTE: my Cinder is working well and I can attach/detach it to instances.

UPDATE:

Now, when I create share instance on option 2(that requirements: Cinder, Nova, Neutron). I see share-server is running on dashboard, I can using VNC to connect it, ping 8.8.8.8 from it.

But I met a new problem:

2016-05-28 09:14:35.991 54365 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/manila/share/drivers/service_instance.py", line 432, in set_up_service_instance

2016-05-28 09:14:35.991 54365 ERROR oslo_messaging.rpc.dispatcher     raise e

2016-05-28 09:14:35.991 54365 ERROR oslo_messaging.rpc.dispatcher ServiceInstanceException: SSH connection has not been established to 10.254.0.11 in 300s. Giving up.
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-05-26 19:51:31 -0500

m-shr logs suggest that you may not have a valid configuration of private and public ssh keys in your manila.conf

path_to_private_key and path_to_public_key seem to be missing/have the wrong value... Please check whether you have redefined these keys and if they have the correct value.

edit flag offensive delete link more

Comments

Yes, I know it. I see it on mitaka docs that we can user-password or key. But when I try to using them,It's still not working.

daikk115 gravatar imagedaikk115 ( 2016-05-27 21:53:22 -0500 )edit
0

answered 2016-06-04 04:38:36 -0500

daikk115 gravatar image

updated 2016-06-04 04:44:37 -0500

Hum!!

I have fixed my own problem as follows:

  • The first of all, I config neutron-linux-bridge like compute node (openstack mitaka docs is not contain it). After that:

  • Run brctl show on manila-share node (option2) and I see one bridge like "brqba908a69-41" added "vxlan-78" but it's not have "tab12345..."

  • Use ifconfig I see "tab1234..." (with me: tap6235430e-05)

  • Now, I add tap6235430e-05 to vxlan-78 by brctl addif brqba908a69-41 tap6235430e-05 with root privilege

And I have gotten manila-share option2.

edit flag offensive delete link more

Comments

It solved my problem. After add the tap to the bridge, ping to 10.254.0.1 is OK, but why the tap interface not be added to the bridge automatically during share creation?

fanchao gravatar imagefanchao ( 2016-09-02 03:44:59 -0500 )edit

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

2 followers

Stats

Asked: 2016-05-26 11:43:29 -0500

Seen: 1,041 times

Last updated: Jun 04 '16