[Openstack] [manila] Cannot access Manila instance from compute node

Francesc Pinyol Margalef francesc.pinyol.m at gmail.com
Mon Aug 10 11:59:52 UTC 2015


Hi,

I have configured Manila and I have a problem when trying to access Manila
instance by ssh.

I run the command:
manila create --name myshare --share-network
a27c2174-b59c-4c17-a2fd-fcc98f97571b NFS 1

But I end up with an error:
[root at controller-node ~]# manila list
+--------------------------------------+---------+------+-------------+--------+-----------+--------------------+-----------------+------------------------------------------------------+
| ID | Name | Size | Share Proto | Status | Is Public | Share Type | Export
location | Host |
+--------------------------------------+---------+------+-------------+--------+-----------+--------------------+-----------------+------------------------------------------------------+
| 41ec4adb-8f5b-4c62-a6f8-301c1a3e8d79 | myshare | 1 | NFS | error | False
| default_share_type | None | compute-node at backend1#backend1 |
+--------------------------------------+---------+------+-------------+--------+-----------+--------------------+-----------------+------------------------------------------------------+

Logs on compute-node (/var/log/manila/share.log) says that it could not
establish SSH connection to the instance:
2015-08-06 19:20:47.912 5938 TRACE oslo_messaging.rpc.dispatcher
ServiceInstanceException: SSH connection has not been established to
10.254.0.13 in 300s. Giving up.

>From network node I can access the instance:

[root at network-node ~]# ip netns exec
qdhcp-cf8ad94e-8b9a-4973-ac53-0f303dac281f ssh manila at 10.254.0.13
manila at 10.254.0.13's password:
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-53-generic i686)

* Documentation: https://help.ubuntu.com/
Last login: Thu Aug 6 17:16:28 2015 from 10.0.1.2
$

But the instance is not visible from compute node:

[root at compute-node ~]# ssh manila at 10.254.0.13
ssh: connect to host 10.254.0.13 port 22: No route to host
[root at compute-node ~]# ping 10.254.0.13
PING 10.254.0.13 (10.254.0.13) 56(84) bytes of data.
>From 10.254.0.4 icmp_seq=1 Destination Host Unreachable
...
[root at compute-node ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.3.254 0.0.0.0 UG 0 0 0 PRIVATE
10.0.10.0 192.168.3.254 255.255.255.0 UG 0 0 0 PRIVATE
10.10.10.0 192.168.3.254 255.255.255.0 UG 0 0 0 PRIVATE
10.172.0.0 192.168.3.254 255.255.255.0 UG 0 0 0 PRIVATE
10.254.0.0 0.0.0.0 255.255.255.240 U 0 0 0 tapacedd7d3-6f
172.17.0.0 192.168.3.254 255.255.255.0 UG 0 0 0 PRIVATE
192.168.0.0 0.0.0.0 255.255.252.0 U 0 0 0 PRIVATE
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 TUNNEL
192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 STORAGE

Any idea?


-- 
Francesc Pinyol Margalef
http://www.francescpinyol.cat/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150810/eda44097/attachment.html>


More information about the Openstack mailing list